Dessalines
7b8cbbba85
Simplify config using macros ( #1686 )
...
Co-authored-by: Felix Ableitner <me@nutomic.com>
2021-08-04 21:13:51 +00:00
Nutomic
b8d7f00d58
Rewrite voting ( #1685 )
...
* Merge like/dislike activity handlers into vote
* Rewrite vote sending code
* Remove old send_create, send_update functions
2021-08-02 16:33:40 -04:00
Dessalines
1664cb326a
Merge pull request #1677 from LemmyNet/remove-fat-deps
...
Remove brotli, zstd dependencies
2021-08-02 16:21:33 -04:00
Felix Ableitner
abd26aeab2
Remove brotli, zstd dependencies
2021-08-02 14:05:39 +02:00
Felix Ableitner
6b57d716e1
Rewrite private message apub and merge create/update
2021-07-31 22:58:11 +02:00
Felix Ableitner
dc363c8f35
Merge logic for post create and update
2021-07-31 19:26:17 +02:00
Felix Ableitner
3eb46868ff
Merge logic for comment create and update
2021-07-31 17:47:08 +02:00
Felix Ableitner
43ad99bbe8
Rewrite apub comment (de)serialization using structs (ref #1657 )
2021-07-31 16:57:37 +02:00
Felix Ableitner
433ab1e78b
Add docs for MediaType, PublicUrl values
2021-07-30 23:16:33 +02:00
Felix Ableitner
57b6ecaf40
Simplify lemmy_context() function (dont return errors)
2021-07-30 23:16:33 +02:00
Felix Ableitner
ff265c7ebc
Rewrite apub post (de)serialization using structs (ref #1657 )
2021-07-30 23:16:32 +02:00
Dessalines
d85f0d087e
Blank out extra info for deleted or removed content. Fixes #1679 ( #1680 )
2021-07-30 18:44:15 +00:00
Dessalines
6ffa291ec9
Actor name length config dess ( #1672 )
...
* Make length of user/community name configurable (fixes #1306 )
* use single config value, fix migrations, increase displayname length
* remove debug statements
* add helper method for setting actor_name_max_length
* move function
* Fixing some defaults
Co-authored-by: Felix Ableitner <me@nutomic.com>
2021-07-22 21:53:44 -04:00
Dessalines
fcae2189eb
Add show_new_posts_notifs setting. Fixes #1664 ( #1665 )
2021-07-22 20:07:40 +00:00
Dessalines
7d3b90d711
Fix issue with protocol string in actor id generation ( #1668 )
2021-07-20 16:55:04 +00:00
Dessalines
5fe7de2bff
Adding shortname fetching for users and communities. Fixes #1662 ( #1663 )
2021-07-20 04:29:50 +00:00
Felix Ableitner
c1db86925f
Merge apub, apub_receive crates ( fixes #1621 )
2021-07-17 18:20:44 +02:00
Nutomic
c7de1fcf24
Apub inbox rewrite ( #1652 )
...
* start to implement apub inbox routing lib
* got something that almost works
* it compiles!
* implemented some more
* move library code to separate crate (most of it)
* convert private message handlers
* convert all comment receivers (except undo comment)
* convert post receiver
* add verify trait
* convert community receivers
* add cc field for all activities which i forgot before
* convert inbox functions, add missing checks
* convert undo like/dislike receivers
* convert undo_delete and undo_remove receivers
* move block/unblock activities
* convert remaining activity receivers
* reimplement http signature verification and other checks
* also use actor type for routing, VerifyActivity and SendActivity traits
* cleanup and restructure apub_receive code
* wip: try to fix activity routing
* implement a (very bad) derive macro for activityhandler
* working activity routing!
* rework pm verify(), fix tests and confirm manually
also remove inbox username check which was broken
* rework following verify(), fix tests and test manually
* fix post/comment create/update, rework voting
* Rewrite remove/delete post/comment, fix tests, test manually
* Rework and fix (un)block user, announce, update post
* some code cleanup
* rework delete/remove activity receivers (still quite messy)
* rewrite, test and fix add/remove mod, update community handlers
* add docs for ActivityHandler derive macro
* dont try to compile macro comments
2021-07-17 12:08:46 -04: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
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
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
Dessalines
1a70477fc7
Better DB default fields. ( #1560 )
...
* Better DB default fields.
* Fixing clippy
2021-04-08 11:19:58 +00:00
Dessalines
831ab76152
Version 0.10.3
2021-04-07 14:23:09 -04:00
Dessalines
727fa610d4
Merge pull request #1552 from LemmyNet/feature/1550-optional-config-values
...
Make some of the database config values optional (fixes #1550 )
2021-04-07 13:16:28 -04:00
Dessalines
7bd474a843
Adding a short site description. Fixes #1496 ( #1532 )
...
* Adding a short site description. Fixes #1496
- Renaming old description to sidebar
* Adding a back end site desc length check.
2021-04-07 11:40:35 +00:00
Dessalines
5fff927dc4
Adding matrix id validation check. Fixes #1520 ( #1538 )
2021-04-07 11:38:00 +00:00
Dessalines
d97129e7ae
Merge branch 'main' into change_password_api
2021-04-06 12:09:26 -04:00
Felix Ableitner
ccdf117c8f
Make some of the database config values optional ( fixes #1550 )
2021-04-06 14:57:37 +02:00
Nutomic
a4c2421e74
Merge pull request #1537 from LemmyNet/add_users_active_monthly_community_sort
...
Adding users active monthly for community sort. Fixes #1527
2021-04-06 12:03:11 +00:00
Nutomic
bcdbced0dd
Merge pull request #1536 from LemmyNet/change_preferred_to_display_name
...
Changing preferred to display name. Fixes #1211
2021-04-06 12:02:50 +00:00
Nutomic
98216d8a3b
Merge pull request #1535 from LemmyNet/rust_captcha_features
...
Rust captcha features
2021-04-06 11:58:48 +00:00
Nutomic
7daee06383
Merge pull request #1529 from LemmyNet/show_score_setting
...
Adding a setting to show / hide scores. Fixes #1503
2021-04-06 11:47:31 +00:00
Dessalines
89b96511bf
Version 0.10.2
2021-04-05 13:21:08 -04:00
Dessalines
458767e3a8
Version 0.10.1
2021-04-05 10:29:14 -04:00
Nutomic
f0c96c28bf
Crash if config fails to load ( #1545 )
...
* Crash if config fails to load
* fix previous commit
2021-04-05 10:23:32 -04:00
Dessalines
ba517249e8
Version 0.10.0
2021-04-05 08:53:28 -04:00
Dessalines
f33f763278
Moving ChangePassword to its own API action. Fixes #1471
2021-04-01 17:39:01 -04:00
Dessalines
b893085d1f
Adding users active monthly for community sort. Fixes #1527
2021-04-01 14:34:27 -04:00
Dessalines
799ab94af3
Don't allow zero-space char in display name. Fixes #1317
2021-04-01 14:09:53 -04:00
Dessalines
bf7558830f
Changing preferred to display name. Fixes #1211
2021-04-01 13:57:45 -04:00
Dessalines
1ba570092e
Adding more rust captcha features. Fixes #1248
2021-04-01 13:30:24 -04:00
Dessalines
2f63fdbde0
Adding a setting to show / hide scores. Fixes #1503
2021-03-31 06:54:46 -04:00
Felix Ableitner
722cdb78ba
Split lemmy_apub crate into two parts apub and apub_receive
2021-03-30 22:29:16 +02:00
Dessalines
36a79e18cd
Version 0.10.0-rc.13
2021-03-29 18:10:04 -04:00
Dessalines
4da6e42fc1
Fix websocket location to /api/vX
2021-03-29 17:48:37 -04:00
Dessalines
4c8f2e976e
Merge remote-tracking branch 'yerba/split-api-crate' into test_merge_api_crates_reorg
2021-03-29 16:24:50 -04:00
Felix Ableitner
01fc1228d5
Fix API and clippy warnings
2021-03-29 20:55:08 +02:00
Dessalines
2309088b03
Renaming to api/v3
2021-03-29 11:26:15 -04:00
Dessalines
c2f8695c9a
Version 0.10.0-rc.12
2021-03-25 15:22:07 -04:00
Felix Ableitner
249fcc5066
Split api crate into api_structs and api
2021-03-25 20:19:40 +01:00
Felix Ableitner
34bdf4c7c5
Federate Matrix ID ( fixes #1438 )
2021-03-24 17:56:13 +01:00
Dessalines
3ca2453fc6
Merge branch 'main' into move_matrix_and_admin_to_person
2021-03-24 11:51:34 -04:00
Dessalines
8a10a9079f
Merge remote-tracking branch 'yerba/federated-moderation'
2021-03-24 11:48:02 -04:00
Felix Ableitner
c7524d924b
Fix federation tests
2021-03-24 16:33:04 +01:00
Dessalines
7051207495
Version 0.10.0-rc.10
2021-03-23 14:46:18 -04:00
Dessalines
6758922a63
Version 0.10.0-rc.9
2021-03-23 14:17:44 -04:00
Dessalines
baab2e88a5
Merge branch 'main' into move_matrix_and_admin_to_person
2021-03-23 14:16:54 -04:00
Dessalines
b4276341af
Adding saved_only to GetComments and GetPosts. Fixes #1513
2021-03-22 10:39:54 -04:00
Dessalines
e4ead96d3a
Merge branch 'main' into move_matrix_and_admin_to_person
2021-03-22 10:29:10 -04:00
Dessalines
eb45bf2d0a
Moving admin to person table. Fixes #1515
2021-03-22 10:28:00 -04:00
Felix Ableitner
d6bd072ea1
Make federation compatible with Lemmy v0.9.9
2021-03-22 15:08:06 +01:00
Felix Ableitner
a5a0d90349
Address review comments
2021-03-22 13:52:00 +01:00
Felix Ableitner
459b95bc7e
Make previous commit compile
2021-03-22 13:11:32 +01:00
Grishka
115b986edc
uh
2021-03-21 04:03:53 +03:00
Grishka
c14a505456
Fix JSON-LD contexts
2021-03-21 04:00:32 +03:00
Dessalines
c884510173
Creating default DB forms. Fixes #1511
2021-03-20 16:59:07 -04:00
Dessalines
1745b64ceb
Moving matrix_user_id to person table. #1438
2021-03-20 15:21:51 -04:00
Felix Ableitner
4f54108a9c
Merge branch 'main' into federated-moderation
2021-03-19 17:11:34 +01:00
Dessalines
f55ef1d7ef
Version 0.10.0-rc.7
2021-03-19 11:46:46 -04:00
Dessalines
493598c1ba
A few suggestion fixes.
2021-03-19 10:02:58 -04:00
Dessalines
05b485b678
Merge branch 'Mart-Bogdan-1462-jwt-revocation-on-pwd-change' into jwt_revocation_dess
2021-03-19 00:31:49 -04:00
Dessalines
360d4ea8d1
Merge branch '1462-jwt-revocation-on-pwd-change' of https://github.com/Mart-Bogdan/lemmy into Mart-Bogdan-1462-jwt-revocation-on-pwd-change
2021-03-18 21:41:00 -04:00
Dessalines
9930c7288a
Merge branch 'split_user_table' into strictly_type_db_ids
2021-03-18 16:30:42 -04:00