Commit graph

230 commits

Author SHA1 Message Date
Felix Ableitner
48ed04efcb dont try to compile macro comments 2021-07-17 01:19:36 +02:00
Felix Ableitner
dc5ceb4cc3 add docs for ActivityHandler derive macro 2021-07-15 21:27:22 +02:00
Felix Ableitner
64c5ba3bd6 rewrite, test and fix add/remove mod, update community handlers 2021-07-14 07:33:31 +02:00
Felix Ableitner
186c0b93d1 rework delete/remove activity receivers (still quite messy) 2021-07-13 06:55:24 +02:00
Felix Ableitner
28e960bd9c some code cleanup 2021-07-12 06:19:48 +02:00
Felix Ableitner
e88ab170ef Rework and fix (un)block user, announce, update post 2021-07-12 05:29:33 +02:00
Felix Ableitner
caba7e4cf0 Rewrite remove/delete post/comment, fix tests, test manually 2021-07-12 05:28:27 +02:00
Felix Ableitner
99f55a4627 fix post/comment create/update, rework voting 2021-07-11 16:14:45 +02:00
Felix Ableitner
ddf480d6e2 rework following verify(), fix tests and test manually 2021-07-10 01:36:12 +02:00
Felix Ableitner
184517c969 Merge branch 'main' into apub-receive-rewrite 2021-07-09 06:55:08 +02:00
Felix Ableitner
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
Felix Ableitner
78aa717560 working activity routing! 2021-07-07 16:40:19 +02:00
Felix Ableitner
9af57acfe5 implement a (very bad) derive macro for activityhandler 2021-07-07 03:29:31 +02:00
Felix Ableitner
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
Felix Ableitner
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
Felix Ableitner
51bb80a966 cleanup and restructure apub_receive code 2021-07-01 03:59:05 +02:00
Felix Ableitner
fa7778218f also use actor type for routing, VerifyActivity and SendActivity traits 2021-06-30 04:47:02 +02:00
Felix Ableitner
6d447c81cf reimplement http signature verification and other checks 2021-06-29 06:28:27 +02:00
Felix Ableitner
8a071b7b07 convert remaining activity receivers 2021-06-29 06:28:27 +02:00
Felix Ableitner
e1e54672c6 move block/unblock activities 2021-06-29 06:28:27 +02:00
Felix Ableitner
ab5b072e21 convert undo_delete and undo_remove receivers 2021-06-29 06:28:27 +02:00
Felix Ableitner
004a07c41b convert undo like/dislike receivers 2021-06-29 06:28:27 +02:00
Felix Ableitner
5460c658a7 convert inbox functions, add missing checks 2021-06-29 06:28:27 +02:00
Felix Ableitner
074febb960 add cc field for all activities which i forgot before 2021-06-29 06:28:27 +02:00
Felix Ableitner
27c12ce411 convert community receivers 2021-06-29 06:28:27 +02:00
Felix Ableitner
fb0932e0e6 add verify trait 2021-06-29 06:28:27 +02:00
Felix Ableitner
6abfa92a60 convert post receiver 2021-06-29 06:28:27 +02:00
Felix Ableitner
26f4694b98 convert all comment receivers (except undo comment) 2021-06-29 06:28:26 +02:00
Felix Ableitner
350ef7c2c6 convert private message handlers 2021-06-29 06:28:26 +02:00
Felix Ableitner
dfce4b67ca move library code to separate crate (most of it) 2021-06-29 06:28:26 +02:00
Felix Ableitner
b605057e85 implemented some more 2021-06-29 06:28:26 +02:00
Felix Ableitner
d24f274cb7 it compiles! 2021-06-29 06:28:25 +02:00
Felix Ableitner
a619a0d52a got something that almost works 2021-06-29 06:28:25 +02:00
Felix Ableitner
388b80d64e start to implement apub inbox routing lib 2021-06-29 06:28:25 +02:00
Felix Ableitner
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
Nutomic
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
Dessalines
880c51687a Merge branch 'main' into feature/mark_post_as_read 2021-04-26 10:44:19 -04:00
Dessalines
6d3778cafe Changing unwrap_default to unwrap_or(false) 2021-04-26 09:50:34 -04:00
Dessalines
5b2be6f9df Add show_read_posts filter. Fixes #1561 2021-04-24 18:26:50 -04:00
Dessalines
ed31deab00 Creator extra search results 2021-04-23 11:54:38 -04:00
Dessalines
ef7fe7586b Some formatting 2021-04-23 02:40:10 -04:00
Dessalines
51e181c529 Don't search for communities or users when the id is included. 2021-04-23 02:30:13 -04:00