lemmy/lemmy_api/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
..
claims.rs Move websocket code into workspace (#107) 2020-09-24 13:53:21 +00:00
comment.rs Better account deletion (fixes #730) (#143) 2020-11-27 21:00:18 +00:00
community.rs Apub local object handling (#1297) 2020-12-08 12:38:48 -05:00
lib.rs Minor cleanup on reports PR 2020-11-26 13:28:58 +01:00
post.rs Better account deletion (fixes #730) (#143) 2020-11-27 21:00:18 +00:00
site.rs Remove `dbg!` to avoid spamming logs 2020-11-30 18:28:31 +01:00
user.rs Better account deletion (fixes #730) (#143) 2020-11-27 21:00:18 +00:00
version.rs Version v0.8.10 2020-12-03 08:28:58 -06:00