Commit graph

2701 commits

Author SHA1 Message Date
Felix Ableitner f842bbff8d Move user to lemmy_db_schema, create traits for impls 2020-12-18 19:38:32 +01:00
Felix Ableitner 114f3cbfb5 Move comment, post definitions into lemmy_db_schema 2020-12-18 18:27:25 +01:00
Felix Ableitner 089d812dc8 Split lemmy_db into separate workspaces 2020-12-18 17:17:44 +01:00
Dessalines 6d96f105c6 Dropping the unecessary views and table triggers. 2020-12-17 15:29:10 -05:00
Dessalines 4c79e26078 Updating deps. 2020-12-17 09:13:12 -05:00
Dessalines 4f5e51beb5 Removing fast tables and old views. 2020-12-16 22:42:25 -05:00
Dessalines 05c3e471ae Adding report views. 2020-12-16 22:03:03 -05:00
Dessalines 1cf520254d Adding private message view. 2020-12-16 17:16:48 -05:00
Dessalines 313f0467c8 Adding moderator views. 2020-12-16 16:28:18 -05:00
Dessalines bd6a4a54a9 Merge branch 'main' into move_views_to_diesel 2020-12-16 14:01:16 -05:00
Dessalines 57c2f2ef1c Getting rid of terrible boxedjoin types. 2020-12-16 13:59:43 -05:00
Felix Ableitner db0a51de2a Handle long activitystreams header in nginx config (ref #1322) 2020-12-16 18:24:14 +01:00
Dessalines 711db4c790 Removing old user_mention_view. 2020-12-16 11:09:21 -05:00
eiknat 036161cb38
add on_conflict clauses to common unique constraint failures (#1264)
* add on_conflict clauses to common unique constraint failures

* user mention: change create conflict to do_update
2020-12-16 09:42:57 -05:00
Nutomic c947539301
Add docs for creating custom lemmy frontend (#1319) 2020-12-16 09:03:21 -05:00
Dessalines 471abf7f29 Removing old comment_view. 2020-12-15 14:39:18 -05:00
Dessalines e4714627a4 Beginning to add new comment_view. 2020-12-15 10:28:25 -05:00
Felix Ableitner 998e824bd8 Add IP forwarding headers to nginx config (fixes #1318) 2020-12-15 15:01:37 +01:00
Dessalines 79a960d8a5 Merge branch 'main' into move_views_to_diesel 2020-12-13 12:07:11 -05:00
Dessalines f456f5da46 Re-organizing source tables into a different folder. 2020-12-13 12:04:42 -05:00
Dessalines bdd264cd5e Adding tests for post aggregates. 2020-12-11 13:07:27 -05:00
Dessalines 35bf50ab15 Removing old postview. 2020-12-11 10:27:33 -05:00
Dessalines afc79ce0e3 Adding a viewtovec trait. 2020-12-10 20:39:42 -05:00
Dessalines eef93440d0 Starting to add post_view. 2020-12-10 15:53:49 -05:00
Dessalines dabcfca67b Adding tests for current aggregates. 2020-12-09 11:52:10 -05:00
Felix Ableitner cb9a06e249 Minor grammar change in docs 2020-12-09 12:34:50 +01:00
Dessalines 742b78523a Merge branch 'main' into move_views_to_diesel 2020-12-08 13:31:25 -05:00
Dessalines a432f939b6 Merge remote-tracking branch 'yerba/main' into main 2020-12-08 13:31:09 -05:00
dessalines 6908feb3ba Merge pull request 'Some more minor docs changes' (#149) from more-docs into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/149
2020-12-08 18:31:45 +00:00
Dessalines 46e38bf714 Merge branch 'main' into move_views_to_diesel 2020-12-08 13:17:55 -05:00
Felix Ableitner 5010f693ba Some more minor docs changes 2020-12-08 19:09:11 +01:00
Felix Ableitner 08ab85a9d5 Remove logging to find bug (yerbamate.ml/LemmyNet/lemmy/pulls/146) 2020-12-08 12:48:18 -05:00
Dessalines 16deec7443 Merge remote-tracking branch 'yerba/main' into main 2020-12-08 12:38:21 -05:00
Nutomic 9cc1cfc973
Apub local object handling (#1297)
* Limit visibility of some traits and methods

* WIP: alternative way to handle non-local object parsing

* finish this

* cleanup

* Move check for locked post into Comment::from_apub()

* Mark user as updated after fetching

* Should set last_refreshed_at, not updated

* Add ApubObject trait in DB, with method read_from_apub_id()

* Create shared, generic implementation for `FromApub`, prefer local data

* Check for community ban when parsing post/comment (fixes #1287)

* Fix tests (changes in get_object_from_apub() prevented `Update` from working)

* Support parsing `like.object` either as URL or object

* Send out like.object as URL, instead of full object (fixes #1283)

* add todo
2020-12-08 12:38:48 -05:00
dessalines 860f2f3855 Merge pull request 'Rewrite federation docs' (#145) from federation-docs into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/145
2020-12-08 17:36:37 +00:00
Felix Ableitner 55e03c4eb4 Rewrite federation docs 2020-12-08 14:52:54 +01:00
Dessalines fc1d07fce6 Merge remote-tracking branch 'origin/main' into move_views_to_diesel 2020-12-07 16:22:09 -05:00
Dessalines e371ec1dc4 Adding user aggregates tests. 2020-12-07 15:58:53 -05:00
Nutomic 5e57f1bcad
Merge pull request #1311 from r0qstr/patch-1
Update lemmy_council.md
2020-12-07 12:17:15 +00:00
Dessalines 9884927b8a Adding site aggregates unit test. 2020-12-06 22:17:52 -05:00
Dessalines f5bef3980a Adding hot rank function, possibly fixing views. 2020-12-06 16:44:36 -05:00
Dessalines 36f7b20784 Removing old communityviews 2020-12-06 09:12:51 -05:00
Dessalines 5e510e7a67 Adding other community views. 2020-12-05 23:37:16 -05:00
Dessalines caedb7fcc4 Community view halfway done. 2020-12-05 22:49:15 -05:00
r0qstr 0a12cb0281
Update lemmy_council.md
added myself as a council member
2020-12-05 21:02:19 +01:00
Dessalines 2400a078d7 Merge branch 'main' into move_views_to_diesel 2020-12-05 08:10:25 -06:00
Dessalines 028d1d0efc Userview safe updated. 2020-12-04 23:18:30 -05:00
Dessalines efdcbc44c4 Starting to work on community view, 2 2020-12-04 16:35:46 -05:00
Dessalines cf3a98afcc
Merge pull request #1308 from LemmyNet/update_cargo_deps
Updating cargo deps, fixing image if_some deprecation.
2020-12-04 13:07:43 -05:00
Dessalines 88d7b0a83c Starting to work on community view 2020-12-04 11:29:44 -05:00