Commit Graph

4093 Commits (9406c3ad2bc0cd265b766632d143945bc3c93989)
 

Author SHA1 Message Date
cetra3 9406c3ad2b
Adjust the config check to be a separate faster to compile binary (#3313) 1 year ago
Felix Ableitner a39e948b52 Remove unused actix_rt dependency 1 year ago
wiki-me 83ff9adee5
Add Liftoff to README.md (#3357) 1 year ago
perillamint 3d7d6b2530
Respond with `Content-Type: application/activity+json` (#3353)
As per ActivityPub specification, the return type should be
`application/activity+json`, not `application/json`.
1 year ago
anonion 01dc1efe77
Fix lemmy UI environment variable (#3299) 1 year ago
Peter Dave Hello 2f3d60a63b
Leave no apk cache in Docker image (#3327) 1 year ago
Nutomic ddfa112e0b
Allow wildcard imports in schema.rs (#3293)
Dont mess with auto-generated code, this avoids problems with
clippy after running diesel commands
1 year ago
Scott c5886404ef
Update DB local_user.theme type to text (#3266)
* Update local_user.theme type to text

* fix default value

* Undo auto generate changes
1 year ago
TKilFree 21d5349785
feat: allow all admins to purge content (#3271) 1 year ago
Neshura 203e35899e
Add separate Post check for is_valid_body_field (#3263)
* Add separate Post check for is_valid_body_field

* Modify is_valid_body_check for posts only

* Fix check var reinit in validation.rs

* Extra empty line to rerun woodpecker with changes

* Change Option to bool, add false to non-post calls

* Woodpecker trick.. again

* Probable rust_fmt fail fixed

* cargo_clippy changes

* Missing space between = and if

* Remove ; after body length checks
1 year ago
Felix Ableitner 206789af67 Merge branch 'vijaykramesh_clear_deleted_posts_comments' 1 year ago
Felix Ableitner ce0cf0e41b Remove DELETED_REPLACEMENT_URL 1 year ago
Sander Saarend 6b28f8c616 Add support for sslmode=require for diesel-async DB connections (#3189) 1 year ago
cetra3 d6b580a530 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 e4d78b0974 Version 0.18.0 1 year ago
Dessalines 3f6e9a7f23 Version 0.18.0-rc.8 1 year ago
Dessalines 37a47de3a8 Revert "feat: re-added captcha checks (#3249)" (#3288)
This reverts commit 8a086c8240.
1 year ago
Dessalines b6cd1bde8e Fixing removed posts showing. Fixes #2875 (#3279)
* Fixing removed posts showing. Fixes #2875

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

* Changed required state to 'true'
1 year ago
TKilFree 9537878519 feat: re-added captcha checks (#3249) 1 year ago
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