Felix Ableitner
3d2e19f3c3
wip: try to fix activity routing
2021-07-07 01:58:31 +02: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
Dessalines
f8cd6fd445
Making more fields optional in the API.
...
- Fixes #1569
2021-04-23 02:30:13 -04:00
Dessalines
c86f5472fb
Adding listing_type to search.
2021-04-23 02:13:32 -04:00
Dessalines
a42ac3e58a
Add creator id to search. Fixes #765
2021-04-23 02:12:29 -04:00
Nutomic
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
Nutomic
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
Nutomic
8bb3ba4a16
Add option to disable strict allowlist ( fixes #1486 ) ( #1581 )
...
* Add option to disable strict allowlist (fixes #1486 )
* adjust docs
2021-04-21 09:36:07 -04:00
Felix Ableitner
78eee7dc9e
Improved logging
2021-04-21 14:45:10 +02:00
Nutomic
65a11a7239
Use .map_err in api code ( fixes #1573 ) ( #1575 )
...
* Use .map_err in api code (fixes #1573 )
* forgot some
2021-04-16 09:10:43 -04:00
Felix Ableitner
c572dc0cc6
Remote mods can update/delete/undelete communities
2021-04-13 15:19:17 +02:00
Felix Ableitner
b7d1d91309
For untagged commits, include hash in version name ( fixes #1563 )
2021-04-12 13:47:58 +02:00
Nutomic
aa79c5131f
Implement federated bans ( fixes #1298 ) ( #1553 )
...
* Implement federated bans (fixes #1298 )
* mod actions should always be federated to affected user, in addition to followers
* Make Undo/Block work for remote mods
* clippy fix
* fix federation test
* vscodium doesnt auto-save changes...
2021-04-09 11:01:26 -04:00
Dessalines
2e16b11db8
Forgot to remove extra fields for changepassword.
2021-04-08 21:14:26 -04:00
Dessalines
c3d64f996e
Removing community.creator column. Fixes #1504 ( #1541 )
...
* Removing community.creator column. Fixes #1504
* Fixing unit tests.
* Fixing federation tests.
2021-04-08 11:29:08 +00:00