Commit Graph

4516 Commits (f76499674578ba49e2f07e9e9b0cc4488627f12a)
 

Author SHA1 Message Date
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
Dessalines 5af831c6fa
Fix unapproved users being able to log in after registration mode set to closed. (#3096)
- Fixes #3095
1 year ago
Nutomic ebd8c86f0e
Link tafkars in readme (#3087) 1 year ago
Divided by Zer0 14b990e006
doc: Added pythorhead library in readme (#3114) 1 year ago
adisbladis e0af3a292e
Only create ltree postgres extension in migration if doesn't already exist (#3092) 1 year ago
Raymond Berger 53fe93db47
add issue template yml from lemmy-ui (#3086)
* add issue template yml from lemmy-ui

* prettier

* Empty-Commit for CI

* improve Qs

* add instance question

* delete hexbear

* backend version
1 year ago
Neshura 558035b128
Fix Issue #3075 by using None for local fields instead of Some(false) (#3088)
* Set insert and update form "local" to None

* Extra space to retrigger woodpecker

* Resolve code review request

https://github.com/LemmyNet/lemmy/pull/3088#discussion_r1229336958

* Remove extra space after None,
1 year ago
Charles Hall f43bb454c3
stop requiring superuser to run migrations (#3002)
Fixes <https://github.com/LemmyNet/lemmy/issues/2863>.
1 year ago