Commit graph

224 commits

Author SHA1 Message Date
caba7e4cf0 Rewrite remove/delete post/comment, fix tests, test manually 2021-07-12 05:28:27 +02:00
99f55a4627 fix post/comment create/update, rework voting 2021-07-11 16:14:45 +02:00
ddf480d6e2 rework following verify(), fix tests and test manually 2021-07-10 01:36:12 +02:00
184517c969 Merge branch 'main' into apub-receive-rewrite 2021-07-09 06:55:08 +02:00
e30a8b15b3 rework pm verify(), fix tests and confirm manually
also remove inbox username check which was broken
2021-07-09 06:46:52 +02:00
78aa717560 working activity routing! 2021-07-07 16:40:19 +02:00
9af57acfe5 implement a (very bad) derive macro for activityhandler 2021-07-07 03:29:31 +02:00
3d2e19f3c3 wip: try to fix activity routing 2021-07-07 01:58:31 +02:00
Dessalines
9840f5c1c1
Upgrading deps, running clippy fix on nightly 1.55.0 (#1638)
* Upgrading deps, running clippy fix on nightly 1.55.0

* Running clippy --fix

* Trying to fix transform

* Trying to fix another transform

* Upgrading http-signature-normalization-actix

* Fix app_data

* Fix pictrs uploading

* Fix unwrap
2021-07-06 13:26:46 +00:00
ff7c64ea6f Merge branch 'main' into apub-inbox-lib 2021-07-06 04:06:43 +02:00
Dessalines
f54209c451
Running clippy --fix (#1647) 2021-07-05 16:07:26 +00:00
David Sterry
1b1ebd2f70 make captcha case-insensitive 2021-07-04 17:51:08 -07:00
51bb80a966 cleanup and restructure apub_receive code 2021-07-01 03:59:05 +02:00
fa7778218f also use actor type for routing, VerifyActivity and SendActivity traits 2021-06-30 04:47:02 +02:00
6d447c81cf reimplement http signature verification and other checks 2021-06-29 06:28:27 +02:00
8a071b7b07 convert remaining activity receivers 2021-06-29 06:28:27 +02:00
e1e54672c6 move block/unblock activities 2021-06-29 06:28:27 +02:00
ab5b072e21 convert undo_delete and undo_remove receivers 2021-06-29 06:28:27 +02:00
004a07c41b convert undo like/dislike receivers 2021-06-29 06:28:27 +02:00
5460c658a7 convert inbox functions, add missing checks 2021-06-29 06:28:27 +02:00
074febb960 add cc field for all activities which i forgot before 2021-06-29 06:28:27 +02:00
27c12ce411 convert community receivers 2021-06-29 06:28:27 +02:00
fb0932e0e6 add verify trait 2021-06-29 06:28:27 +02:00
6abfa92a60 convert post receiver 2021-06-29 06:28:27 +02:00
26f4694b98 convert all comment receivers (except undo comment) 2021-06-29 06:28:26 +02:00
350ef7c2c6 convert private message handlers 2021-06-29 06:28:26 +02:00
dfce4b67ca move library code to separate crate (most of it) 2021-06-29 06:28:26 +02:00
b605057e85 implemented some more 2021-06-29 06:28:26 +02:00
d24f274cb7 it compiles! 2021-06-29 06:28:25 +02:00
a619a0d52a got something that almost works 2021-06-29 06:28:25 +02:00
388b80d64e start to implement apub inbox routing lib 2021-06-29 06:28:25 +02:00
f289374e70 Remove tracking params from post url (fixes #768) 2021-06-18 20:38:34 +02:00
Dessalines
12d50e42b4
Change join.lemmy.ml to join-lemmy.org (#1628) 2021-06-07 21:10:47 +00:00
Dessalines
ab2b8df1cb
Invalidate current logins on account deletion. Fixes #1602 (#1603) 2021-05-28 15:50:52 +00:00
Dessalines
b95bbe2fae
Fix nsfw posts showing for non-logged in users. Fixes #1614 (#1615) 2021-05-26 18:02:35 +00:00
Pavel Balashov
7008848f9c
Add additional slurs configuration option. Closes #1464. (#1612)
* Actualize a comment about config initialization

* Add additional slurs functionality.

It is possible to additional regex for slurs filtering.
It can be done through `additional_slurs` option in config file.
2021-05-26 13:39:38 +00:00
96488684e6
Better slur regex 2021-04-27 12:32:56 +00:00
Dessalines
c864dfadf6
Fixing regex. Fixes #1593 (#1594)
* Fixing regex. Fixes #1593

* Fixing test
2021-04-26 18:18:12 +00:00
880c51687a Merge branch 'main' into feature/mark_post_as_read 2021-04-26 10:44:19 -04:00
6d3778cafe Changing unwrap_default to unwrap_or(false) 2021-04-26 09:50:34 -04:00
5b2be6f9df Add show_read_posts filter. Fixes #1561 2021-04-24 18:26:50 -04:00
ed31deab00 Creator extra search results 2021-04-23 11:54:38 -04:00
ef7fe7586b Some formatting 2021-04-23 02:40:10 -04:00
51e181c529 Don't search for communities or users when the id is included. 2021-04-23 02:30:13 -04:00
f8cd6fd445 Making more fields optional in the API.
- Fixes #1569
2021-04-23 02:30:13 -04:00
c86f5472fb Adding listing_type to search. 2021-04-23 02:13:32 -04:00
a42ac3e58a Add creator id to search. Fixes #765 2021-04-23 02:12:29 -04:00
db1abff857
Add option to limit community creation to admins only (fixes #1586) (#1587)
* Add option to limit community creation to admins only (fixes #1586)

* address review
2021-04-22 19:42:58 -04:00
efee2062dd
Mark accounts as bot nutomic (#1565)
* Mark account as bot. Fixes #1357

* Fix clippy

* Federate bot status using actor `type` field

* fix clippy

Co-authored-by: Dessalines <tyhou13@gmx.com>
2021-04-21 17:41:14 -04:00
Dessalines
9dc5605663
Merge pull request #1588 from LemmyNet/improved-logging
Improved logging
2021-04-21 10:34:47 -04:00