lemmy/lemmy_db/src
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
..
activity.rs Fix unit tests 2020-11-11 17:28:30 +01:00
category.rs Isomorphic docker (#1124) 2020-09-15 15:26:47 -04:00
comment.rs Apub local object handling (#1297) 2020-12-08 12:38:48 -05:00
comment_report.rs Minor cleanup on reports PR 2020-11-26 13:28:58 +01:00
comment_view.rs For community_name API parameters, only search locally (fixes #1271) 2020-11-26 13:24:12 +01:00
community.rs Apub local object handling (#1297) 2020-12-08 12:38:48 -05:00
community_view.rs Isomorphic docker (#1124) 2020-09-15 15:26:47 -04:00
lib.rs Apub local object handling (#1297) 2020-12-08 12:38:48 -05:00
moderator.rs Fix unit tests 2020-11-11 17:28:30 +01:00
moderator_views.rs Isomorphic docker (#1124) 2020-09-15 15:26:47 -04:00
password_reset_request.rs Fix unit tests 2020-11-11 17:28:30 +01:00
post.rs Apub local object handling (#1297) 2020-12-08 12:38:48 -05:00
post_report.rs Minor cleanup on reports PR 2020-11-26 13:28:58 +01:00
post_view.rs Fixing community local filter. #1302 2020-12-02 16:04:13 -05:00
private_message.rs Apub local object handling (#1297) 2020-12-08 12:38:48 -05:00
private_message_view.rs Isomorphic docker (#1124) 2020-09-15 15:26:47 -04:00
schema.rs Better account deletion (fixes #730) (#143) 2020-11-27 21:00:18 +00:00
site.rs Isomorphic docker (#1124) 2020-09-15 15:26:47 -04:00
site_view.rs Isomorphic docker (#1124) 2020-09-15 15:26:47 -04:00
user.rs Apub local object handling (#1297) 2020-12-08 12:38:48 -05:00
user_mention.rs Fix unit tests 2020-11-11 17:28:30 +01:00
user_mention_view.rs Isomorphic docker (#1124) 2020-09-15 15:26:47 -04:00
user_view.rs GetUserDetails doesnt return users own email (#1240) 2020-10-30 18:19:47 -04:00