Commit Graph

261 Commits (federate-reports)

Author SHA1 Message Date
Felix Ableitner abd26aeab2 Remove brotli, zstd dependencies 3 years ago
Felix Ableitner 6b57d716e1 Rewrite private message apub and merge create/update 3 years ago
Felix Ableitner dc363c8f35 Merge logic for post create and update 3 years ago
Felix Ableitner 3eb46868ff Merge logic for comment create and update 3 years ago
Felix Ableitner 43ad99bbe8 Rewrite apub comment (de)serialization using structs (ref #1657) 3 years ago
Felix Ableitner 433ab1e78b Add docs for MediaType, PublicUrl values 3 years ago
Felix Ableitner 57b6ecaf40 Simplify lemmy_context() function (dont return errors) 3 years ago
Felix Ableitner ff265c7ebc Rewrite apub post (de)serialization using structs (ref #1657) 3 years ago
Dessalines d85f0d087e
Blank out extra info for deleted or removed content. Fixes #1679 (#1680) 3 years ago
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>
3 years ago
Dessalines fcae2189eb
Add show_new_posts_notifs setting. Fixes #1664 (#1665) 3 years ago
Dessalines 7d3b90d711
Fix issue with protocol string in actor id generation (#1668) 3 years ago
Dessalines 5fe7de2bff
Adding shortname fetching for users and communities. Fixes #1662 (#1663) 3 years ago
Felix Ableitner c1db86925f Merge apub, apub_receive crates (fixes #1621) 3 years ago
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
3 years ago
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
3 years ago
Dessalines f54209c451
Running clippy --fix (#1647) 3 years ago
David Sterry 1b1ebd2f70 make captcha case-insensitive 3 years ago
Felix Ableitner f289374e70 Remove tracking params from post url (fixes #768) 3 years ago
Dessalines 12d50e42b4
Change join.lemmy.ml to join-lemmy.org (#1628) 3 years ago
Dessalines ab2b8df1cb
Invalidate current logins on account deletion. Fixes #1602 (#1603) 3 years ago
Dessalines b95bbe2fae
Fix nsfw posts showing for non-logged in users. Fixes #1614 (#1615) 3 years ago
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.
3 years ago
Nutomic 96488684e6
Better slur regex 3 years ago
Dessalines c864dfadf6
Fixing regex. Fixes #1593 (#1594)
* Fixing regex. Fixes #1593

* Fixing test
3 years ago
Dessalines 880c51687a Merge branch 'main' into feature/mark_post_as_read 3 years ago
Dessalines 6d3778cafe Changing unwrap_default to unwrap_or(false) 3 years ago
Dessalines 5b2be6f9df Add show_read_posts filter. Fixes #1561 3 years ago
Dessalines ed31deab00 Creator extra search results 3 years ago
Dessalines ef7fe7586b Some formatting 3 years ago
Dessalines 51e181c529 Don't search for communities or users when the id is included. 3 years ago
Dessalines f8cd6fd445 Making more fields optional in the API.
- Fixes #1569
3 years ago
Dessalines c86f5472fb Adding listing_type to search. 3 years ago
Dessalines a42ac3e58a Add creator id to search. Fixes #765 3 years ago
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
3 years ago
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>
3 years ago
Dessalines 9dc5605663
Merge pull request #1588 from LemmyNet/improved-logging
Improved logging
3 years ago
Nutomic 8bb3ba4a16
Add option to disable strict allowlist (fixes #1486) (#1581)
* Add option to disable strict allowlist (fixes #1486)

* adjust docs
3 years ago
Felix Ableitner 78eee7dc9e Improved logging 3 years ago
Nutomic 65a11a7239
Use .map_err in api code (fixes #1573) (#1575)
* Use .map_err in api code (fixes #1573)

* forgot some
4 years ago
Felix Ableitner c572dc0cc6 Remote mods can update/delete/undelete communities 4 years ago
Felix Ableitner b7d1d91309 For untagged commits, include hash in version name (fixes #1563) 4 years ago
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...
4 years ago
Dessalines 2e16b11db8 Forgot to remove extra fields for changepassword. 4 years ago
Dessalines c3d64f996e
Removing community.creator column. Fixes #1504 (#1541)
* Removing community.creator column. Fixes #1504

* Fixing unit tests.

* Fixing federation tests.
4 years ago
Dessalines 1a70477fc7
Better DB default fields. (#1560)
* Better DB default fields.

* Fixing clippy
4 years ago
Dessalines 831ab76152 Version 0.10.3 4 years ago
Dessalines 727fa610d4
Merge pull request #1552 from LemmyNet/feature/1550-optional-config-values
Make some of the database config values optional (fixes #1550)
4 years ago
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.
4 years ago
Dessalines 5fff927dc4
Adding matrix id validation check. Fixes #1520 (#1538) 4 years ago
Dessalines d97129e7ae Merge branch 'main' into change_password_api 4 years ago
Felix Ableitner ccdf117c8f Make some of the database config values optional (fixes #1550) 4 years ago
Nutomic a4c2421e74
Merge pull request #1537 from LemmyNet/add_users_active_monthly_community_sort
Adding users active monthly for community sort. Fixes #1527
4 years ago
Nutomic bcdbced0dd
Merge pull request #1536 from LemmyNet/change_preferred_to_display_name
Changing preferred to display name. Fixes #1211
4 years ago
Nutomic 98216d8a3b
Merge pull request #1535 from LemmyNet/rust_captcha_features
Rust captcha features
4 years ago
Nutomic 7daee06383
Merge pull request #1529 from LemmyNet/show_score_setting
Adding a setting to show / hide scores. Fixes #1503
4 years ago
Dessalines 89b96511bf Version 0.10.2 4 years ago
Dessalines 458767e3a8 Version 0.10.1 4 years ago
Nutomic f0c96c28bf
Crash if config fails to load (#1545)
* Crash if config fails to load

* fix previous commit
4 years ago
Dessalines ba517249e8 Version 0.10.0 4 years ago
Dessalines f33f763278 Moving ChangePassword to its own API action. Fixes #1471 4 years ago
Dessalines b893085d1f Adding users active monthly for community sort. Fixes #1527 4 years ago
Dessalines 799ab94af3 Don't allow zero-space char in display name. Fixes #1317 4 years ago
Dessalines bf7558830f Changing preferred to display name. Fixes #1211 4 years ago
Dessalines 1ba570092e Adding more rust captcha features. Fixes #1248 4 years ago
Dessalines 2f63fdbde0 Adding a setting to show / hide scores. Fixes #1503 4 years ago
Felix Ableitner 722cdb78ba Split lemmy_apub crate into two parts apub and apub_receive 4 years ago
Dessalines 36a79e18cd Version 0.10.0-rc.13 4 years ago
Dessalines 4da6e42fc1 Fix websocket location to /api/vX 4 years ago
Dessalines 4c8f2e976e Merge remote-tracking branch 'yerba/split-api-crate' into test_merge_api_crates_reorg 4 years ago
Felix Ableitner 01fc1228d5 Fix API and clippy warnings 4 years ago
Dessalines 2309088b03 Renaming to api/v3 4 years ago
Dessalines c2f8695c9a Version 0.10.0-rc.12 4 years ago
Felix Ableitner 249fcc5066 Split api crate into api_structs and api 4 years ago
Felix Ableitner 34bdf4c7c5 Federate Matrix ID (fixes #1438) 4 years ago
Dessalines 3ca2453fc6 Merge branch 'main' into move_matrix_and_admin_to_person 4 years ago
Dessalines 8a10a9079f Merge remote-tracking branch 'yerba/federated-moderation' 4 years ago
Felix Ableitner c7524d924b Fix federation tests 4 years ago
Dessalines 7051207495 Version 0.10.0-rc.10 4 years ago
Dessalines 6758922a63 Version 0.10.0-rc.9 4 years ago
Dessalines baab2e88a5 Merge branch 'main' into move_matrix_and_admin_to_person 4 years ago
Dessalines b4276341af Adding saved_only to GetComments and GetPosts. Fixes #1513 4 years ago
Dessalines e4ead96d3a Merge branch 'main' into move_matrix_and_admin_to_person 4 years ago
Dessalines eb45bf2d0a Moving admin to person table. Fixes #1515 4 years ago
Felix Ableitner d6bd072ea1 Make federation compatible with Lemmy v0.9.9 4 years ago
Felix Ableitner a5a0d90349 Address review comments 4 years ago
Felix Ableitner 459b95bc7e Make previous commit compile 4 years ago
Grishka 115b986edc uh 4 years ago
Grishka c14a505456 Fix JSON-LD contexts 4 years ago
Dessalines c884510173 Creating default DB forms. Fixes #1511 4 years ago
Dessalines 1745b64ceb Moving matrix_user_id to person table. #1438 4 years ago
Felix Ableitner 4f54108a9c Merge branch 'main' into federated-moderation 4 years ago
Dessalines f55ef1d7ef Version 0.10.0-rc.7 4 years ago
Dessalines 493598c1ba A few suggestion fixes. 4 years ago
Dessalines 05b485b678 Merge branch 'Mart-Bogdan-1462-jwt-revocation-on-pwd-change' into jwt_revocation_dess 4 years ago
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 4 years ago
Dessalines 9930c7288a Merge branch 'split_user_table' into strictly_type_db_ids 4 years ago
Dessalines 8d9fab0389 Merge branch 'main' into split_user_table 4 years ago
Dessalines c3efb9f7cf Strictly typing DB id fields. Fixes #1498 4 years ago
Felix Ableitner 4f7dca7c2b Fix three federation test cases 4 years ago