Commit Graph

2968 Commits

Author SHA1 Message Date
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
Dessalines b92e7eb781 Updating cargo deps, fixing image if_some deprecation. 2020-12-04 09:00:15 -05:00
Dessalines 2d4099577f Removing old user_view. 2020-12-03 19:47:58 -05:00
Dessalines 6d8f93d8a1 More user aggregates. 2020-12-03 13:39:56 -05:00
Dessalines d66f4e8ac0 Finishing up user aggregates. 2020-12-03 10:18:17 -05:00
Dessalines 5d44dedfda Merge branch 'main' into move_views_to_diesel 2020-12-03 09:34:45 -05:00
Dessalines eed7eac10b Version v0.8.10 2020-12-03 08:28:58 -06:00
Dessalines 37e7f1a9a8 Starting to work on user aggs. 2020-12-03 08:27:22 -06:00
Nutomic 4a94d9182e
Merge pull request #1304 from LemmyNet/fix_community_local_filter
Fixing community local filter. #1302
2020-12-03 11:55:16 +00:00
Dessalines 7731479607 Adding SiteAggregates. 2020-12-02 22:39:31 -05:00
Dessalines 8a0336c2ff Fixing community local filter. #1302 2020-12-02 16:04:13 -05:00
Dessalines ca7224c086 Starting on siteview. 2020-12-02 13:32:47 -06:00
Nutomic df8a696bb5
Merge pull request #1300 from Tafiti/patch-1
Added council member
2020-12-02 12:55:46 +00:00
Tafiti d06b59c92b
Added a council member. 2020-12-01 18:22:17 -05:00
Tafiti df913326bd
typo 2020-12-01 18:18:47 -05:00
Dessalines b587e147b0 Version v0.8.9 2020-12-01 12:54:44 -06:00
Dessalines e8116f21cd Merge remote-tracking branch 'yerba/main' into main 2020-12-01 13:29:51 -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
Dessalines 4079235b0d
Fix post ranking docs in about guide. Fixes #1294 (#1295)
* Fix post ranking docs in about guide. Fixes #1294

* Shortening lines to refer to not just posts.

* Fixing top line.
2020-12-01 17:54:37 +00:00
Dessalines 45efa94ba4
Making sure image uploads have jwt cookie. Fixes #1291 (#1299) 2020-12-01 17:48:39 +00:00
Dessalines cc8a6bea65 Merge branch 'patch-1' of https://github.com/Whayme/lemmy into Whayme-patch-1 2020-12-01 11:32:27 -06:00
Porrumentzio 4aa3180027
Update lemmy_council.md (#1290)
Removed line saying that council members are administrators on official instances, as it is unclear that currently only https://lemmy.ml is a official instance.
2020-12-01 16:25:04 +00:00
Scarlett 7f1ab6a5cd
Replaced table 2020-11-30 13:53:08 -06:00
Dessalines 3a90f69efc Revert "Short intro explanation, reformatted as a table"
This reverts commit 961fc9d0ce.
2020-11-30 14:24:09 -05:00
Dessalines 2e9164584b Version v0.8.8 2020-11-30 12:56:05 -06:00
dessalines 9435994405 Merge pull request 'Add logging to find bug (ref #1283)' (#146) from debug-1283 into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/146
2020-11-30 18:49:11 +00:00
Felix Ableitner 8d12c77e26 Remove `dbg!` to avoid spamming logs 2020-11-30 18:28:31 +01:00
Felix Ableitner 8fc4e1ecfe Add logging to find bug (ref #1283)
Also simplify check_object_domain()
2020-11-30 18:24:10 +01:00
Dessalines 7d7fe5962a
Merge pull request #1285 from Whayme/patch-1
Short intro explanation, reformatted as a table
2020-11-28 16:16:43 -05:00
Scarlett 961fc9d0ce
Short intro explanation, reformatted as a table
More explanation from someone who understands the benefits of the log scale would be helpful.
2020-11-28 00:29:56 -06:00
nutomic 3ceeecc63e Better account deletion (fixes #730) (#143)
Also clear bio

Better account deletion (fixes #730)

Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/143
2020-11-27 21:00:18 +00:00
Dessalines 5b66e4860c Merge remote-tracking branch 'yerba/main' into main 2020-11-27 16:00:15 -05:00
Dessalines 5e10cf69b7 Merge remote-tracking branch 'yerba/main' into main 2020-11-27 15:58:22 -05:00
dessalines 050ca88085 Merge pull request 'Set valid context for our extra fields (ref #1220)' (#142) from apub-context into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/142
2020-11-27 20:28:52 +00:00