Commit Graph

4123 Commits (48a033b87f4fdc1ce14ff86cc019e1c703cd2741)
 

Author SHA1 Message Date
Sander Saarend 6d67f88603
Add support for sslmode=require for diesel-async DB connections (#3189) 1 year ago
cetra3 d7da911a48
Remove `actix_rt` & use standard tokio spawn (#3158)
* Remove `actix_rt` & use standard tokio spawn

* Adjust rust log back down

* Format correctly

* Update cargo lock

* Add DB settings

* Change name and update to latest rev

* Clean up formatting changes

* Move `worker_count` and `worker_retry_count` to settings

* Update defaults

* Use `0.4.4` instead of git branch
1 year ago
Dessalines 63d3759c48 Version 0.18.0 1 year ago
Dessalines cb3b9b1a66 Version 0.18.0-rc.8 1 year ago
Dessalines 1f1c0ad17a
Revert "feat: re-added captcha checks (#3249)" (#3288)
This reverts commit 8a086c8240.
1 year ago
Dessalines dce79b83bf
Fixing removed posts showing. Fixes #2875 (#3279)
* Fixing removed posts showing. Fixes #2875

* Fixing clippy.
1 year ago
Kresten Laust 39572e1c3e
Reversed requirement question logic (#3283)
* Reversed requirement question logic

* Changed required state to 'true'
1 year ago
TKilFree 8a086c8240
feat: re-added captcha checks (#3249) 1 year ago
Vijay Ramesh 418bca78e1
Merge branch 'main' into clear_deleted_posts_comments 1 year ago
Dessalines 60baebcb14 Version 0.18.0-rc.6 1 year ago
Nutomic ffce66abb8
Update apub library to 0.4.4 (#3258)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
kartikynwa 4f2fb68d6b
Add migration to mark local communities as such (#3257) 1 year ago
Nutomic 08e25d0e63
Remove translation part from docs links (#3260)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
Nutomic 434beadb58
Use Rust 1.70 for Docker and CI (#3265) 1 year ago
ShittyKopper 862ceefc56
docker-compose: Add init to UI (#3248)
* docker-compose: Add init to UI

Prevents waiting 10 seconds to shutdown

* docker-compose: Update to version 3.7
1 year ago
Óliver García Albertos 985359918f
logger: Use forwarded instead of peer IP address (#3223) 1 year ago
Vijay Ramesh 0d576a8f23
Merge branch 'main' into clear_deleted_posts_comments 1 year ago
kartikynwa ef3544bac4
Put /admin/purge routes before /admin routes (#3244) 1 year ago
Bnyro c9d1fec117
docs: Add Lemoa to lemmy projects section (#3247) 1 year ago
Scott da3e3b6d8a
Ensure site can only either be a private instance or federated when creating or editing site (#3237)
* Add site visibility validation

* Fix formatting

* linter changes

* Update error message to match existing check

* Remove existing check

---------

Co-authored-by: Scott Merchant <97430840+scottmerchant@users.noreply.github.com>
1 year ago
Dessalines 289052f261 Version 0.18.0-rc.5 1 year ago
Vijay Ramesh 4db65c191c after 30 days post deletion, replace comment.content and post.body with 'Permanently Deleted' 1 year ago
Dessalines d4f52b78b3
Trying to fix version again. (#3246) 1 year ago
Michał 4cdb9583e9
feat: allow overriding smtp_password with the LEMMY_SMTP_PASSWORD env var (#3154)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
Dessalines 3775418952 Version 0.18.0-rc.4 1 year ago
Nutomic 8fb4760e02
Dont publish to crates.io (#3239) 1 year ago
Nutomic e3eda68147
Correct error messages if user registers with taken user/email (#3093)
* Correct error messages if user registers with taken user/email (fixes #2955)

* exists
1 year ago
Dessalines 1ef095dd96
Fixing cross_post duplicates. Fixes #3233 (#3234) 1 year ago
JP Moresmau a1beccf353
Add test to check reading and listing posts return my_vote (#3215) 1 year ago
dullbananas 45818fb4c5
Reduce memory usage of rate limiting (#3111)
* Reduce Vec allocations

* Optimize stuff

* Move embedded migrations to separate crate

* Revert "Move embedded migrations to separate crate"

This reverts commit 44b1049970.

* clippy, fmt

* Shrink rate limit allowance to f32

* Initialize rate limit allowance directly

* Add removal of old rate limit buckets

* Improve readability

* Remove usage of is_okay_and for Rust 1.67 compatibility

* Add dhat-heap feature

* Fix api_benchmark.sh and add run_and_benchmark.sh

* Revert "Fix api_benchmark.sh and add run_and_benchmark.sh"

This reverts commit b4528e5b85.

* Revert "Add dhat-heap feature"

This reverts commit 08e835d487.

* Manually revert remaining stuff

* Use Ipv6Addr in RateLimitStorage

* Shrink last_checked in RateLimitBucket to 32 bits

* Fix rate_limit::get_ip

* Stuff (#1)

* Update rate_limiter.rs

* Update mod.rs

* Update scheduled_tasks.rs

* Fix rate_limiter.rs

* Dullbananas patch 1 (#2)

* Update rate_limiter.rs

* Update mod.rs

* Update scheduled_tasks.rs

* Fix rate_limiter.rs

* Rate limit IPv6 addresses in groups

* Fmt lib.rs

* woodpicker trigger

* Refactor and comment `check_rate_limit_full`

* Add `test_split_ipv6`

* Replace -2.0 with UNINITIALIZED_TOKEN_AMOUNT

* Add `test_rate_limiter`

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
Dessalines b214d3dc00
Adding current domain from settings to CORs. (#3231) 1 year ago
Joel Beckmeyer 8179b0daf2
remove debugging println (#3227) 1 year ago
Dessalines 5ff221a2e4
Fixing comment_view unit tests. (#3224) 1 year ago
Sander Saarend 8ed3f3530e
Fix parameter ordering for new_report_subject string (#3210) 1 year ago
Nutomic b37c30ffae
Move cors default to source code (#3219) 1 year ago
Dessalines 154a85cc36
Fixing tag deploys. (#3216)
* Fixing tag deploys.

* Fixing tag deploys 2.

* Try to comment build_args.

* Fixing tag deploys 3.

* Fixing build args again.

* Last fix.
1 year ago
Ivo Barros 4d160461ce
Feature add hours as sorting options backend (#3161)
* add hours as sorting options

* ran cargo +nightly fmt

* woodpicker trigger
1 year ago
kartikynwa dc36d9ed89
Don't check verified email when an admin logs in (#3209)
Workaround for instance admins getting locked out when they turn on
the email verification requirement without having verified their
own email.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
Andrew DeLisa bfc0c0e7d3
fix: add CORS origin environment variable (#3191)
* fix: add CORS origin environment variable

* chore: formatting

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
Joel Beckmeyer 06a3f9c5aa
make embedded pict-rs port configurable (#3201) 1 year ago
Dessalines 981c111567
Move connection creation into scheduler. (#3120)
* Move connection creation into scheduler.

- #3076

* Fix clippy.
1 year ago
Felix Ableitner 56de68c77a Update translations 1 year ago
Sander Saarend e23621c2cd
Calculate initial hot_rank and hot_rank_active for posts and comments from other instances (#3131)
* Calculate initial hot_rank when receiving posts and comments from other instances

* Move hot rank update logic into db_schema
1 year ago
ludrol d97ff65fe1
Changed github issue template to align logically with the question asked (#3135) 1 year ago
Chethan bb27339e68
Update README.md (#3137)
The Ace of Spades video linked in the README was private, have replaced it with a public video.
1 year ago
Sander Saarend 007c7d5812
Remove e-mail verification success e-mails (#3124) 1 year ago
Alex Maras becf75d1f9
Fix Hidden communities showing in community list (#3094)
* Only show hidden communities when explicitly searching for them rather then in "all"

* dont set hidden to false when creating and updating - let DB set default

* lint

---------

Co-authored-by: Alex Maras <alexmaras@gmail.com>
1 year ago
Nutomic b5dba17426
Update all dependencies (#3091) 1 year ago
Wyatt Smith 744153eee6
Prevent making an instance private if federation is enabled. (#3074)
* Prevent making an instance private if federation is enabled.

* Added case where federation is enabled, check if the alternative setting is changed

* Merged the error messages for private instance/federation.

---------

Co-authored-by: Wyatt Smith <wys@dropbox.com>
1 year ago
Sander Saarend 68d814b9b1
Handle scheduled task errors (#3090)
* Add --disable-scheduled-tasks CLI flag

* Add error handling for scheduled tasks
1 year ago