Commit Graph

693 Commits (dislike-undo-vote)

Author SHA1 Message Date
Dessalines f53902ecff Version 0.15.1 2 years ago
Dessalines bccb4f068d Version 0.15.0 2 years ago
Marty a860e22b85
uses compatable images - fixes GLIBC_2.29 not found issue on (at least) arm machines (#2028) 2 years ago
Riley 41b90bb162
Add console-subscriber (#2003)
* Add console-subscriber

* Add larg event buffer capacity

* Add console port to lemmy prod container

* Expose pict-rs console port

* Update pictrs
2 years ago
Riley 3032a2745b
Opentelemetry (#1992)
* Add otlp export

* Add jaeger to dev docker

* More instrument

* Update deps

* Merge from main.

* Add comment about viewing traces

* Fixing reqwest-tracing dep.

* Update pre-commit regex

* Move imports to top

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2 years ago
Dessalines 1880d64235
Upgrading pictrs. (#1996) 3 years ago
Marty 8ce0c6d618
added deps - git and ca-certificates (for federation to work) and changed adduser to useradd so that user can be added non-interactively (#1976) 3 years ago
Dessalines 97b8b9c255 Version 0.14.3 3 years ago
Dessalines 7f01d8cde6 Version 0.14.2 3 years ago
Dessalines a56853be05
Merge pull request #1907 from not-layla/main
Implement rate limits on comments
3 years ago
layla 7fe7062c47 Implement rate limits on comments 3 years ago
Dessalines 66ba91de8c Fixing arm dockerfile. 3 years ago
Dessalines f4616789a7 Version 0.14.1 3 years ago
Dessalines 8b45ca0da2 Fixing prod deploy not adding other docker-compose.yml files. 3 years ago
Dessalines c29366328e Version 0.14.0 3 years ago
Felix Ableitner 135fd6864b Add docker setup for testing Pleroma federation 3 years ago
Dessalines 5b3be5c102 Updating rust musl images 3 years ago
Dessalines 44b5fe0631
Stop using lemmy-ui:dev images (#1880)
* Stop using lemmy-ui:dev images

* Dont publish dev docker images with drone.
3 years ago
Felix Ableitner 0bde2d595e Add tests for parsing activities and collections 3 years ago
Dessalines b18ea3e0cc
Renaming to slur_filter. Fixes #1773 (#1801)
* Renaming to slur_filter. Fixes #1773

* Fixing config

* Updating doku for slur filter.

* Updating doku for slur filter again.

* Remove comment.
3 years ago
Dessalines 90a5febd38
Remove ansible from this repo. (#1829)
* Remove ansible from this repo.

* Adding a git push.
3 years ago
Felix Ableitner f24999027e Merge crates db_schema and db_queries 3 years ago
Nutomic b96ce81f89
Move code to apub library (#1795)
* Remove dependency of apub_lib on LemmyContext

* Move ApubObject trait to library

* Reorganize files in apub lib

* Move ActorType, signatures, activity_queue to apub library
3 years ago
Dessalines a99ba2de24 Version 0.13.0 3 years ago
Felix Ableitner cf214ff583 Move jwt secret from config to database (fixes #1728) 3 years ago
Dessalines 0fbc342fe3 Fix tests 3 years ago
Nutomic e84e1193fc
Dont pass accept-encoding header to pictrs (ref #1734) (#1738)
* Allow image upload in docker/dev/ (replaces #1765)

* Dont pass accept-encoding header to pictrs (ref #1734)

* Fix clippy errors
3 years ago
Dessalines a9a65a0f4f Try fixing arm build 3 years ago
Dessalines df997dff49 Version 0.12.0 3 years ago
Dessalines c654aa3416
Use more generic docker deps. Fixes #1759 (#1762)
* Use more generic docker deps. Fixes #1759

* Don't use slim
3 years ago
Dessalines 46b223e3c5
Fixing docker-compose prod (#1741) 3 years ago
Dessalines af225a42d0
Fix prod deploy script and clippy (#1724)
* Updating lemmy-js-client.

* Fix prod deploy script and clippy

* Try using buster.

* Using more generic and updated images.

* again.

* again.

* Try alternate env

* again.

* again.

* Version 0.11.4-rc.24

* again.

* Better old_tag

* Version 0.11.4-rc.27

* Updating cargo.lock

* Trying to run a cargo check to update the lock

* Version 0.11.4-rc.28
3 years ago
Dessalines 1ee0c0c291
Adding more site setup vars. Fixes #678 (#1718) 3 years ago
Dessalines 6af75492a9
Swap out iframely (#1706)
* Replace Iframely. Fixes #1681

* Add post_link_tags to nginx

* Adding post_link_tags route

* Cleaning up post_link_tags

* Changing PostLink to SiteMetadata, adding it to the API.

* Fixing issue when local has no openssl certs.

* Fixing an issue with pictrs errors

* Revert "Fixing issue when local has no openssl certs."

This reverts commit dbf7d1b1ee03846e5ef7b7156e618424f1150e1d.

* Add ca-certs to dockerfile for volume mount.

* Cleaning up fetch_pictrs request

* Changing to fetch_site_data
3 years ago
Dessalines 1f64db6a33 Upgrading deps 3 years ago
Felix Ableitner a44b5c9c36 publish to crates.io with normal release script 3 years ago
Dessalines 15a11c13a2 Updating ansible version. 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 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
Dessalines f198f281cf Version 0.9.6 3 years ago
Dessalines d5d99fa3b9
Moving docs to join.lemmy.ml . Fixes #1396 (#1410)
* Moving docs to join.lemmy.ml . Fixes #1396

* Removing submodule fetch from drone.
3 years ago
Dessalines 8a7e50381f Version 0.9.5 3 years ago
Dessalines 9415bec557 Version 0.9.4 3 years ago
Dessalines 3a05817b41 Version 0.9.3 3 years ago
Dessalines 2322534648 Version 0.9.2 3 years ago
Dessalines e6a16f08a3 Version 0.9.1 3 years ago
Dessalines 1addbe361a Version 0.9.0 3 years ago
Dessalines 97617d699d
Docker manifest arm amd64 deploy (#1367)
* A first try at docker manifest. 1.

* Fixing api version location

* Version 0.9.0-rc.13

* Test docker.

* Test docker 2.

* Test docker 3.

* Test docker 4.

* Test docker 5.

* Test docker 6.

* Test docker 7.

* Test docker 8.

* Test docker 9.

* Test docker 10.

* Test docker 11.

* Test docker 12.

* Version 0.9.0-rc.14

* Test docker 13.

* Test docker 14.

* Version 0.9.0-rc.15

* Test docker 15.

* Version 0.9.0-rc.16

* Test docker 16.

* Version 0.9.0-rc.17
3 years ago
Dessalines 856802ef35 Version 0.9.0-rc.12 3 years ago
Dessalines 25dd1a21e2
Try arm fix (#1356)
* Trying to fix arm build.

* Version 0.9.0-rc.8

* Trying to fix arm build 2.

* Version 0.9.0-rc.9

* Checking time when removing lto.

* Version 0.9.0-rc.10

* Adding back in arm tests.

* Version 0.9.0-rc.11
3 years ago
Dessalines 6f2954dffd Version 0.9.0-rc.7 3 years ago
Dessalines 8cfee9ca7d Trying to fix arm build. 3 years ago
Dessalines b124a29e05 Version 0.9.0-rc.6 3 years ago
Dessalines fe4b516bd9 Adding back in federation docker-compose lemmy-ui writing 3 years ago
Dessalines edf0fd4381 Merge branch 'move_views_to_diesel' into remove_travis_and_federation_docker 3 years ago
Felix Ableitner f06b71d961 Add drone CI for arm 3 years ago
Dessalines 15c5e5c502 Merge branch 'move_views_to_diesel' into remove_travis_and_federation_docker 3 years ago
Dessalines 116d908002 Restoring docker-compose and nginx in federation folder. 3 years ago
Dessalines cd19a72c41 Version 0.9.0-rc.4 3 years ago
Dessalines eafdf3033f Version v0.9.0-rc.2 3 years ago
Dessalines a1e5d0fd00 Version v0.9.0-rc.1 3 years ago
Dessalines d4e800175f Merge branch 'move_views_to_diesel' into remove_travis_and_federation_docker 3 years ago
Dessalines 39001af9a0 Merge remote-tracking branch 'yerba/move_views_to_diesel' into move_views_to_diesel 3 years ago
Dessalines c6357f3c86
Deletion on fetch (#1345)
* Delete local object on fetch when receiving HTTP 410, split fetcher (fixes #1256)

* Removing submodules

* Trying to re-init submodule

* Trying to re-init submodule 2

* Trying to re-init submodule 3

* Logging line.

* Removing submodules

* Adding again.

* Adding again 2.

* Adding again 3.

* Adding again 4.

* Adding again 5.

* Adding again 6.

* Adding again 7.

* Adding again 8.

* Adding again 9.

* Add more clippy lints, remove dbg!() statement

* Adding again 10.

* Adding again 11.

* Adding again 12.

Co-authored-by: Felix Ableitner <me@nutomic.com>
3 years ago
Dessalines 3d4cc32525 Adding back start-local-instances. 3 years ago
Dessalines 7db754e94c Revert "Revert "Removing docker/federation and docker/travis folders.""
This reverts commit e483b6b51f.
3 years ago
Dessalines e483b6b51f Revert "Removing docker/federation and docker/travis folders."
This reverts commit 689f5c1306.
3 years ago
Dessalines 689f5c1306 Removing docker/federation and docker/travis folders. 3 years ago
Felix Ableitner fec77d583f Include fix for mdbook xss vulnerability 3 years ago
Dessalines 86dfe456fd Merge branch 'main' into move_views_to_diesel 4 years ago
Nutomic 50e7275c3b
Move docs into submodule (fixes #1342) (#1343) 4 years ago
Dessalines 1e0c32f7a3 Merge branch 'main' into move_views_to_diesel 4 years ago
Dessalines d767dd998e Merge branch 'drone-io-dess' into move_views_to_diesel_drone 4 years ago
Felix Ableitner 4bf0ec94c8 Create empty inbox collections for actors (ref #1322) 4 years ago
Dessalines 4f5e51beb5 Removing fast tables and old views. 4 years ago
Felix Ableitner db0a51de2a Handle long activitystreams header in nginx config (ref #1322) 4 years ago
Nutomic c947539301
Add docs for creating custom lemmy frontend (#1319) 4 years ago
Felix Ableitner f33577b317 send activities sync for tests 4 years ago
Dessalines eed7eac10b Version v0.8.10 4 years ago
Dessalines b587e147b0 Version v0.8.9 4 years ago
Dessalines 2e9164584b Version v0.8.8 4 years ago
Dessalines 5e10cf69b7 Merge remote-tracking branch 'yerba/main' into main 4 years ago
Dessalines 01a14e3b3c
Change references of dev.lemmy.ml to lemmy.ml (#1281)
* Change references of dev.lemmy.ml to lemmy.ml

* Remove the dev.lemmy.ml refs in RELEASES.md
4 years ago
Felix Ableitner a7b72ed5c4 Set valid context for our extra fields (ref #1220) 4 years ago
Dessalines d26a7ad337
Trying out cargo chef and a travis docker image cache. (#1238)
* Trying out cargo chef and a travis docker image cache.

* trying to change internal target.

* Use latest cargo-chef with --target

* Remove caching for now.

* Adding back in chowns

* Adding back in cache.

* Remove travis caching.

* Switching dev dockerfile to match prod, using cargo-chef and alpine.

* Make travis happy

* Trying a chown rust.

* Caching cargo-chef first.

* Moving the chowns

* Removing many copy commands.

* Go back to rust 1.47.0 due to config-rs breaking.

* Adding the old volume mount version.

* Adding some script comments.

Co-authored-by: Luca Palmieri <lpalmieri@truelayer.com>
4 years ago
Dessalines bffc82f752 Version v0.8.7 4 years ago
Dessalines e2693a4192 Version v0.8.6 4 years ago
Dessalines b8dc3c11c1 Version v0.8.5 4 years ago
Dessalines 0dcff2e647 Version v0.8.4 4 years ago
Dessalines 64ac4e382a Version v0.8.3 4 years ago
Dessalines 7e13970a4f Version v0.8.2 4 years ago
nutomic b7d2dac9bf Fix federation of community removal/deletion, added docs (#125)
Adding a federation test for community deletes / removes.

Add missing docs for community deletion/removal (fixes #1250)

Fix federation of community deletion/removal (fixes #1253)

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/125
4 years ago
Dessalines 5e2a5c0266
Upgrading pictrs to v0.2.5 (#1249) 4 years ago
Dessalines 77b17c6737 Fixing cache dev dockerfile 4 years ago
Felix Ableitner 91d073c2e8 Use docker cache for docker/dev/ 4 years ago
Dessalines 2e922d602d Trying a target fix. 4 years ago
Dessalines 3100e8bf21 Trying a target fix. 4 years ago
Dessalines b42b461418 Trying a permissions fix. 4 years ago
Dessalines ba0680f5e6 Simplifying prod build, using musl stable. 4 years ago
Dessalines 134d66924e Version v0.8.1 4 years ago
Dessalines 295c209c67 Updating lemmy.hjson config. 4 years ago
Iron Oxidizer ac79496036 Removed docker root prefix, add pictrs dir 4 years ago