Commit Graph

556 Commits (simplify-config)

Author SHA1 Message Date
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 3022c00a0b Version 0.11.2 3 years ago
Dessalines 12d50e42b4
Change join.lemmy.ml to join-lemmy.org (#1628) 3 years ago
Dessalines 7fb4508fa1
Upgrade pictrs. Fixes #1599 (#1600) 3 years ago
Dessalines 100a56e8ef Version 0.11.1 3 years ago
Dessalines f67b0e9ff8
Updating to rust 1.51.0 (#1598) 3 years ago
Dessalines 6eed6cf362 Fixing release doc. 3 years ago
Dessalines c1cbcdc253 Version 0.11.0 3 years ago
Felix Ableitner 78eee7dc9e Improved logging 3 years ago
Felix Ableitner b7d1d91309 For untagged commits, include hash in version name (fixes #1563) 3 years ago
Nutomic b8a6592369
Drone release main (ref #1556) (#1557)
* publish docker images from main

* try with separate step

* redo, lots of boilerplate

* try to fix syntax

* unique step names

* fix docker tags, remove cargo-chef

* only build dev image on main branch

* use `ref` for condition, as `branch` uses the target branch for PRs

* consistent indents

* fix tag

* use lemmy-ui:dev image for `docker/dev` and `docker/federation`
3 years ago
Dessalines 831ab76152 Version 0.10.3 3 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)
3 years ago
Felix Ableitner ccdf117c8f Make some of the database config values optional (fixes #1550) 3 years ago
Nutomic 98216d8a3b
Merge pull request #1535 from LemmyNet/rust_captcha_features
Rust captcha features
3 years ago
Dessalines 89b96511bf Version 0.10.2 3 years ago
Nutomic 74a63804dc
Fix test failure due to config loading error (#1547)
* Crash if config fails to load

* fix previous commit

* Fix test failure due to config loading error

* Adding test fix to drone.

* Logging line.

* Trying to fix drone 2

* Fixing deploy script.

Co-authored-by: Dessalines <tyhou13@gmx.com>
3 years ago
Dessalines 458767e3a8 Version 0.10.1 3 years ago
Dessalines ba517249e8 Version 0.10.0 3 years ago
Dessalines 1ba570092e Adding more rust captcha features. Fixes #1248 3 years ago
Dessalines 36a79e18cd Version 0.10.0-rc.13 3 years ago
Dessalines c2f8695c9a Version 0.10.0-rc.12 3 years ago
Dessalines 3ca2453fc6 Merge branch 'main' into move_matrix_and_admin_to_person 3 years ago
Dessalines 8a10a9079f Merge remote-tracking branch 'yerba/federated-moderation' 3 years ago
Dessalines 7051207495 Version 0.10.0-rc.10 3 years ago
Dessalines 8543092b9f Merge branch 'remove_cargo_cache_v2' into move_matrix_and_admin_to_person 3 years ago
Dessalines 6758922a63 Version 0.10.0-rc.9 3 years ago
Dessalines 77f8dc9675 Fixing docker deploy script. Fixes #1507 3 years ago
Dessalines 4b92e35edc Reverting docker versions until deploy.sh fix. 3 years ago
Dessalines e9eca35816 Version 0.10.0-rc.8 3 years ago
Felix Ableitner 05b07b8cbb Fix conflicts in docker-compose.yml 3 years ago
Felix Ableitner 4f54108a9c Merge branch 'main' into federated-moderation 3 years ago
Dessalines f55ef1d7ef Version 0.10.0-rc.7 3 years ago
Dessalines 8d9fab0389 Merge branch 'main' into split_user_table 3 years ago
Dessalines b9f483bc27 Version 0.10.0-rc.5 3 years ago
Dessalines 0a7271a185 Upgrading pictrs. 3 years ago
Felix Ableitner 803aad3b3e Add check so only author or mods can edit posts/comments 3 years ago
Felix Ableitner beb8b9fe69 Use collection for moderators, instead of `attributedTo` (ref #1061) 3 years ago
Dessalines ff2c71a74a Adding more mem limits 3 years ago
Avery Pierce 126c6a23bb bump memory limit of iframely 3 years ago
Dessalines 817b4ff08e Fixing wrong user_ and community icon and banner urls.
- Fixes #1477
3 years ago
Felix Ableitner 66946117e1 Upgrade Rust version 3 years ago
Dessalines 462c4a2954
Rewrite settings implementation. Fixes #1270 (#1433)
* A first attempt at using deser-hjson. Fixes #1270

* Trying to fix tests, try 1

* Trying to fix tests, try 2

* A few fixes to deser_hjson

- Removing unwrap_or_defaults, using impl functions.
- Reorganized settings

* Make clippy happy

* hjson list strings must be quoted.

* Adding support for env vars.

* Moving to structs and defaults file.

* Moving settings default and struct.
3 years ago
Dessalines 723ec65ac6 Use more recent version of cargo chef. 3 years ago
Dessalines c81435c994 Version 0.9.9 3 years ago
Dessalines bcc8dae16b Fixing deploy version. 3 years ago
Dessalines a806493bc2 Version 0.9.8 3 years ago
Dessalines a920bf768e Closing open lemmy-ui prod port. Fixes #1430 3 years ago
Dessalines 5656db3e3d Version 0.9.7 3 years ago