521cd55913
Add more clippy lints, remove dbg!() statement
2021-01-12 13:34:00 +01:00
a2f36d4aef
Delete local object on fetch when receiving HTTP 410, split fetcher ( fixes #1256 )
2021-01-09 14:34:00 +01:00
1e0c32f7a3
Merge branch 'main' into move_views_to_diesel
2021-01-05 23:55:02 -05:00
d300968ee8
Return http status code 410 with apub tombstone (ref #1256 )
2021-01-04 19:53:15 +01: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
e5a65d5807
Upgrading deps.
2020-12-21 09:34:59 -05: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
d767dd998e
Merge branch 'drone-io-dess' into move_views_to_diesel_drone
2020-12-20 21:48:29 -05:00
2d7d9cf7d8
Some API cleanup, adding site_id to site aggregates.
2020-12-19 20:10:47 -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
dessalines
44b72ccbd6
Merge pull request 'Create empty inbox collections for actors (ref #1322 )' ( #151 ) from actor-inbox into main
...
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/151
2020-12-17 14:51:23 +00:00
4c79e26078
Updating deps.
2020-12-17 09:13:12 -05:00
4bf0ec94c8
Create empty inbox collections for actors (ref #1322 )
2020-12-17 14:22:51 +01:00
1cf520254d
Adding private message view.
2020-12-16 17:16:48 -05:00
313f0467c8
Adding moderator views.
2020-12-16 16:28:18 -05:00
cbd02f2a87
Use correct content-type headers for apub inbox (ref #1220 )
2020-12-16 16:30:44 +01:00
471abf7f29
Removing old comment_view.
2020-12-15 14:39:18 -05:00
d5955b60c0
silence lemmy output in federation logs
2020-12-14 18:01:12 +01:00
f33577b317
send activities sync for tests
2020-12-14 17:44:27 +01:00
f456f5da46
Re-organizing source tables into a different folder.
2020-12-13 12:04:42 -05:00
35bf50ab15
Removing old postview.
2020-12-11 10:27:33 -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
2400a078d7
Merge branch 'main' into move_views_to_diesel
2020-12-05 08:10:25 -06:00
b92e7eb781
Updating cargo deps, fixing image if_some deprecation.
2020-12-04 09:00:15 -05:00
2d4099577f
Removing old user_view.
2020-12-03 19:47:58 -05:00
7731479607
Adding SiteAggregates.
2020-12-02 22:39:31 -05:00
nutomic
2b5c69d678
Add check to make sure that inbox doesnt receive local activities (ref #1283 ) ( #147 )
...
Fixed comparison
Add check to make sure that inbox doesnt receive local activities (ref #1283 )
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/147
2020-12-01 18:30:15 +00: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
405ea38959
Add TODO about populating user outbox
2020-11-19 13:50:43 +01:00
48f506277a
Create empty outbox for user (ref #1220 )
2020-11-18 17:04:35 +01:00
14bf45d099
Dont handle activities twice in inbox
2020-11-16 21:43:52 +01:00
8675fed49c
Reduce visibility of some structs and methods (replaces #1266 )
2020-11-16 16:44:04 +01:00
fb16f47f2f
Add user_inbox check that activities are really addressed to local users
2020-11-11 17:40:45 +01:00
964d95de5c
Fix unit tests
2020-11-11 17:28:30 +01:00
06e82fe761
Add pending status for federated follows
2020-11-10 16:45:10 +01:00
dessalines
94dd335fac
Merge pull request 'Enforce post lock in federation inbox' ( #129 ) from enforce-post-lock into main
...
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/129
2020-11-10 13:16:13 +00:00
e1fd614dd1
Fixed bug where comments with mentions were treated as private message
2020-11-09 19:18:23 +01:00
3b4c3ec074
Enforce post lock in federation inbox
2020-11-09 17:06:54 +01:00
8803e7834f
Enforce site and community bans for federated users
2020-11-09 15:29:36 +01:00