Commit graph

21 commits

Author SHA1 Message Date
Bat 68c7aad179 Big repository reorganization
The code is divided in three crates:
- plume-common, for the ActivityPub module, and some common utils
- plume-models, for the models and database-related code
- plume, the app itself

This new organization will allow to test it more easily, but also to create other tools that only reuse a little part of
the code (for instance a Wordpress import tool, that would just use the plume-models crate)
2018-06-23 17:36:11 +01:00
Bat b0e70a42a9 Merge branch 'master' of github.com:Plume-org/Plume 2018-06-21 11:31:17 +01:00
Bat e6b8943085 New pattern for comment creation in code
Use the builder design pattern to build a NewComment

Add a function to transform a NewComment into a Create activity

Virtually send this activity to the shared inbox of the instance
2018-06-21 11:28:42 +01:00
Bat ddd840d31d Add a list_by! macro 2018-06-20 19:23:54 +01:00
Bat e074af57ff Add a Mention model 2018-06-20 19:22:34 +01:00
Bat fa2435e725 Improve the find_by! macro to allow multiple columns 2018-06-18 16:13:09 +01:00
Bat cd1d0d9627 Introduce an insert! macro to avoid some code duplication 2018-06-18 14:57:38 +01:00
Bat 94af0b9a7d Introduce a get! macro to avoid some code duplication 2018-06-18 14:44:23 +01:00
Bat 3c9210a0ed Introduce a find_by! macro to avoid some code duplication 2018-06-18 14:37:49 +01:00
Bat 045e885821 Add a Reshare model 2018-05-19 10:23:02 +01:00
Bat 780a51157f Add a notification model 2018-05-13 13:44:18 +01:00
Bat 7b5f0f1704 Add a model for likes 2018-05-10 16:54:35 +01:00
Bat 0d96cbefe1 Comment model 2018-05-09 21:35:02 +01:00
Bat 78f3062f6d Add a follow model 2018-05-01 14:06:31 +01:00
Bat 656b201244 Pluralize model modules 2018-04-23 16:19:28 +01:00
Bat a816bb00b7 Add relation between posts and authors 2018-04-23 15:37:49 +01:00
Bat 268607da0e Add a model for posts 2018-04-23 14:41:43 +01:00
Bat 68db4a82cf Add relation between blogs and authors 2018-04-23 12:27:27 +01:00
Bat cadb33cc1a Add blog model 2018-04-23 11:29:27 +01:00
Bat a7774444fe User creation 2018-04-22 19:13:12 +01:00
Bat f060fa08af Initial commit
With instance configuration
2018-04-22 14:35:37 +01:00