Dessalines
c6357f3c86
Deletion on fetch ( #1345 )
...
* Delete local object on fetch when receiving HTTP 410, split fetcher (fixes #1256 )
* Removing submodules
* Trying to re-init submodule
* Trying to re-init submodule 2
* Trying to re-init submodule 3
* Logging line.
* Removing submodules
* Adding again.
* Adding again 2.
* Adding again 3.
* Adding again 4.
* Adding again 5.
* Adding again 6.
* Adding again 7.
* Adding again 8.
* Adding again 9.
* Add more clippy lints, remove dbg!() statement
* Adding again 10.
* Adding again 11.
* Adding again 12.
Co-authored-by: Felix Ableitner <me@nutomic.com>
2021-01-12 11:12:41 -05:00
95e30f0e08
Split up lemmy_db_views, put lemmy_rate_limit into lemmy_utils
2020-12-22 00:34:54 +01:00
d5efebbf47
Split lemmy_db into lemmy_db_queries, lemmy_db_aggregates and lemmy_db_views
2020-12-21 17:39:11 +01:00
1a0d1f64f0
Merge remote-tracking branch 'origin/split-db-workspace' into move_views_to_diesel_split
2020-12-21 09:28:20 -05:00
5231666465
Move remaining structs from lemmy_db::source to lemmy_db_schema
2020-12-21 14:38:34 +01:00
a7e231b35b
Move community to lemmy_db_schema
2020-12-21 13:28:12 +01:00
e25436576a
Fixing some clippy warnings.
2020-12-20 23:00:33 -05:00
f842bbff8d
Move user to lemmy_db_schema, create traits for impls
2020-12-18 19:38:32 +01:00
114f3cbfb5
Move comment, post definitions into lemmy_db_schema
2020-12-18 18:27:25 +01:00
313f0467c8
Adding moderator views.
2020-12-16 16:28:18 -05:00
f456f5da46
Re-organizing source tables into a different folder.
2020-12-13 12:04:42 -05:00
46e38bf714
Merge branch 'main' into move_views_to_diesel
2020-12-08 13:17:55 -05:00
08ab85a9d5
Remove logging to find bug (yerbamate.ml/LemmyNet/lemmy/pulls/146)
2020-12-08 12:48:18 -05:00
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
36f7b20784
Removing old communityviews
2020-12-06 09:12:51 -05:00
8fc4e1ecfe
Add logging to find bug (ref #1283 )
...
Also simplify check_object_domain()
2020-11-30 18:24:10 +01:00
a7b72ed5c4
Set valid context for our extra fields (ref #1220 )
2020-11-25 18:44:49 +01:00
b2288fcb9a
Make changes on content
field backwards compatible
2020-11-25 14:07:04 +01:00
cd3f20e49b
Populate content
with HTML, and source
with markdown (ref #1220 )
2020-11-24 18:53:43 +01:00
48f506277a
Create empty outbox for user (ref #1220 )
2020-11-18 17:04:35 +01:00
8675fed49c
Reduce visibility of some structs and methods (replaces #1266 )
2020-11-16 16:44:04 +01:00
8803e7834f
Enforce site and community bans for federated users
2020-11-09 15:29:36 +01:00
3d5647b16f
Limit amount of HTTP requests to handle activities ( fixes #1221 )
2020-10-22 20:27:32 +02:00
Dessalines
18b3eab909
Merge pull request #1209 from LemmyNet/fix-actor-name-confusion
...
Swap name and preferredUsername apub fields
2020-10-19 11:52:35 -04:00
695272f980
Create rustdoc for activitypub code
2020-10-19 16:29:35 +02:00
06a6bab2c1
Swap name and preferredUsername apub fields
2020-10-16 22:44:40 +02:00
Dessalines
571c71392e
Adding API and APUB URL checks for banners and icons. Fixes #1199 ( #1200 )
...
* Adding API and APUB URL checks for banners and icons. Fixes #1199
* Adding a check optional url.
* Missed a few.
2020-10-15 18:23:56 +00:00
39cbe5f31f
Add method verify_activity_domains_valid() (ref #1196 )
2020-10-15 15:38:03 +02:00
0dda2577e1
Refactor apub code, split up large files
2020-10-12 16:10:09 +02:00