]>
Untitled Git - lemmy.git/log
David BELEY [Mon, 3 Jul 2023 13:15:45 +0000 (15:15 +0200)]
Add awesome-lemmy to LemmyNet? (#3413)
* Add LemmyNet/awesome-lemmy
* Delete other apps/projects from README.md
Nutomic [Mon, 3 Jul 2023 13:14:01 +0000 (15:14 +0200)]
Use serde(skip) instead of skip_serializing, add placeholder values (#3362)
* Use serde(skip) instead of skip_serializing
The latter breaks lemmy_crawler as the field is not included in
the Lemmy API, but is required when attempting to parse API responses.
Should only use serde(skip) to avoid this problem
* use option
* add placeholders
* no unwrap
Nutomic [Mon, 3 Jul 2023 10:03:20 +0000 (12:03 +0200)]
Mark follow as pending when subscribing to remote community (fixes #3384) (#3406)
Felix Ableitner [Mon, 3 Jul 2023 09:45:53 +0000 (11:45 +0200)]
Fix formatting for latest nightly (#ref 3467)
Nutomic [Mon, 3 Jul 2023 09:01:41 +0000 (11:01 +0200)]
Remove PerformApub trait (#3423)
* Remove PerformApub trait
This is completely useless now that websocket is gone. In the future
I also plan to remove Perform and PerformCrud traits, but it will be
difficult to do that while still compiling crates in parallel.
* params need to use query
drumlinish [Mon, 3 Jul 2023 08:59:07 +0000 (10:59 +0200)]
Fix quoting of max-file in docker-compose.yml (#3442)
phiresky [Fri, 30 Jun 2023 13:32:43 +0000 (15:32 +0200)]
don't strip, log trace if requested (#3425)
Lemmus.org [Fri, 30 Jun 2023 10:42:42 +0000 (03:42 -0700)]
Update federated posts to not cache sensitive images if not allow by local site (#3253)
* Update federated posts to not cache sensitive images if not allow by local site
* Refactor thumbnail match to simplify logic
Dominic Mazzoni [Fri, 30 Jun 2023 10:36:38 +0000 (03:36 -0700)]
Fix concatenation of audio captcha wav files (#3350)
* Fix concatenation of audio captcha wav files
* Log errors rather than crashing
* Return Result from captcha_as_wav_base64
* Change to return LemmyError
* Check for wav write error, format
* Remove unused import
* Rewrite to avoid clippy warnings
dullbananas [Fri, 30 Jun 2023 07:50:30 +0000 (00:50 -0700)]
Automatically manage database when running scripts/test.sh (#3389)
* Update .gitignore
* Create start-dev-db.sh
* Rename start-dev-db.sh to start_dev_db.sh
* Update .gitignore
* Update start_dev_db.sh
* Update start_dev_db.sh
* Update start_dev_db.sh
* Update start_dev_db.sh
* h
* Update test.sh
* Update start_dev_db.sh
* made it work
* Make test.sh work when run from scripts dir
Dessalines [Thu, 29 Jun 2023 14:45:59 +0000 (10:45 -0400)]
Version 0.18.1-rc.4
Dessalines [Thu, 29 Jun 2023 14:17:59 +0000 (10:17 -0400)]
Fixing release script. (#3398)
* Fixing release script.
* Version 0.18.1-rc.2
* Removing cargo update from release script.
* Fixing topdir location.
Nick Shockey [Thu, 29 Jun 2023 08:16:11 +0000 (04:16 -0400)]
Added gitattributes to normalize all files to lf (#3386)
This makes it less annoying to build on windows/mac
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Nutomic [Wed, 28 Jun 2023 16:58:23 +0000 (18:58 +0200)]
Update activitypub-federation crate to 0.4.5 (#3379)
https://github.com/LemmyNet/activitypub-federation-rust/releases/tag/0.4.5
Sander Saarend [Wed, 28 Jun 2023 16:57:49 +0000 (19:57 +0300)]
Fix cargo warnings (#3397)
c-andy-candies [Wed, 28 Jun 2023 16:44:16 +0000 (18:44 +0200)]
Fix missing sorting types (#3370)
* Fix missing sorting types
* Reordered sort_type_enum
Jan Klass [Wed, 28 Jun 2023 09:25:46 +0000 (11:25 +0200)]
docs(api): Add api-common info on generating TypeScript bindings (#3330)
dullbananas [Wed, 28 Jun 2023 09:19:26 +0000 (02:19 -0700)]
Remove redundant calls to `Iterator::collect` (#3365)
* Remove redundant calls to `Iterator::collect`
* Update mentions.rs
* Add clippy lints and run fmt
* CI ran on the wrong commit again
Nutomic [Tue, 27 Jun 2023 12:59:58 +0000 (14:59 +0200)]
Run cargo update as part of release script (#3369)
To get newest dependency patches and get rid of yanked deps
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Dessalines [Tue, 27 Jun 2023 12:14:46 +0000 (08:14 -0400)]
Version 0.18.1-rc.1
Nina Blanson [Tue, 27 Jun 2023 11:03:30 +0000 (06:03 -0500)]
Fixes #2900 - Checks slur regex to see if it is too permissive (#3146)
* Fixes #2900 - Checks slur regex to see if it is too permissive along with small validation organization
* Clean up variable names, add handler for valid empty string usecase
* Update tests
* Create validation function and add tests
* Test clean up
* Use payload value vs local site value to prevent stunlocking
* Remove println added while testing
* Fall back to local site regex if not provided from request
* Attempt clean up of flaky comment_view tests
* Pull in latest submodule
* Move application, post check into functions, add more tests and improve test readability
---------
Co-authored-by: Nutomic <me@nutomic.com>
Domenic Horner [Tue, 27 Jun 2023 10:45:26 +0000 (18:45 +0800)]
add new flag to api (#3363)
TKilFree [Tue, 27 Jun 2023 10:38:53 +0000 (11:38 +0100)]
feat: re-added captcha checks (#3289)
Sander Saarend [Tue, 27 Jun 2023 09:20:53 +0000 (12:20 +0300)]
Limit password resets (#3344)
Dessalines [Tue, 27 Jun 2023 08:28:56 +0000 (04:28 -0400)]
Fixing the release script. (#3295)
* Fixing the release script.
* Updating the submodules.
Sander Saarend [Tue, 27 Jun 2023 08:13:51 +0000 (11:13 +0300)]
Batch hot rank updates (#3175)
c-andy-candies [Mon, 26 Jun 2023 19:03:35 +0000 (21:03 +0200)]
Feature add three six and nine months options backend (#3226)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Nutomic [Mon, 26 Jun 2023 16:14:50 +0000 (18:14 +0200)]
Fetch community outbox and moderators in parallel (#3360)
This will speedup first time fetching of a remote community
Nutomic [Mon, 26 Jun 2023 16:10:38 +0000 (18:10 +0200)]
Remove networks from docker-compose.yml (#3356)
Simon Lundström [Mon, 26 Jun 2023 13:11:16 +0000 (15:11 +0200)]
Item URL should point to post URL (#3345)
If the post is an URL post the item link should point to the URL of the
link that is being posted.
Otto Rottier [Mon, 26 Jun 2023 13:07:57 +0000 (15:07 +0200)]
Site Metadata: resolve relative URLs for embedded images/videos (#3338)
* Site Metadata: resolve relative URLs for embedded images/videos
* api_common: relax version requirement of `webpage` dependency
With this change we opt into next (non breaking) versions of webpage-rs
* cargo +nightly fmt
* Add tests for resolving absolute urls in SiteMetadata
dullbananas [Mon, 26 Jun 2023 10:54:41 +0000 (03:54 -0700)]
Use compression middleware (#3343)
Felix Ableitner [Mon, 26 Jun 2023 10:46:44 +0000 (12:46 +0200)]
Remove another unused dev dependency
cetra3 [Mon, 26 Jun 2023 10:23:21 +0000 (19:53 +0930)]
Adjust the config check to be a separate faster to compile binary (#3313)
Felix Ableitner [Mon, 26 Jun 2023 10:14:27 +0000 (12:14 +0200)]
Remove unused actix_rt dependency
wiki-me [Mon, 26 Jun 2023 10:12:38 +0000 (13:12 +0300)]
Add Liftoff to README.md (#3357)
perillamint [Mon, 26 Jun 2023 10:10:04 +0000 (19:10 +0900)]
Respond with `Content-Type: application/activity+json` (#3353)
As per ActivityPub specification, the return type should be
`application/activity+json`, not `application/json`.
anonion [Mon, 26 Jun 2023 10:07:22 +0000 (04:07 -0600)]
Fix lemmy UI environment variable (#3299)
Peter Dave Hello [Mon, 26 Jun 2023 09:59:02 +0000 (17:59 +0800)]
Leave no apk cache in Docker image (#3327)
Nutomic [Mon, 26 Jun 2023 09:18:29 +0000 (11:18 +0200)]
Allow wildcard imports in schema.rs (#3293)
Dont mess with auto-generated code, this avoids problems with
clippy after running diesel commands
Scott [Mon, 26 Jun 2023 08:53:04 +0000 (18:23 +0930)]
Update DB local_user.theme type to text (#3266)
* Update local_user.theme type to text
* fix default value
* Undo auto generate changes
TKilFree [Mon, 26 Jun 2023 08:47:39 +0000 (09:47 +0100)]
feat: allow all admins to purge content (#3271)
Neshura [Mon, 26 Jun 2023 08:47:01 +0000 (10:47 +0200)]
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
Felix Ableitner [Mon, 26 Jun 2023 08:45:49 +0000 (10:45 +0200)]
Merge branch 'vijaykramesh_clear_deleted_posts_comments'
Felix Ableitner [Mon, 26 Jun 2023 08:45:37 +0000 (10:45 +0200)]
Remove DELETED_REPLACEMENT_URL
Sander Saarend [Mon, 26 Jun 2023 08:25:38 +0000 (11:25 +0300)]
Add support for sslmode=require for diesel-async DB connections (#3189)
cetra3 [Mon, 26 Jun 2023 08:24:11 +0000 (17:54 +0930)]
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
Dessalines [Fri, 23 Jun 2023 12:41:20 +0000 (08:41 -0400)]
Version 0.18.0
Dessalines [Fri, 23 Jun 2023 11:07:51 +0000 (07:07 -0400)]
Version 0.18.0-rc.8
Dessalines [Fri, 23 Jun 2023 11:02:05 +0000 (07:02 -0400)]
Revert "feat: re-added captcha checks (#3249)" (#3288)
This reverts commit
8a086c82405bc8e2c8cb2fbbcceb10418f231d1b .
Dessalines [Fri, 23 Jun 2023 10:53:46 +0000 (06:53 -0400)]
Fixing removed posts showing. Fixes #2875 (#3279)
* Fixing removed posts showing. Fixes #2875
* Fixing clippy.
Kresten Laust [Fri, 23 Jun 2023 09:50:35 +0000 (11:50 +0200)]
Reversed requirement question logic (#3283)
* Reversed requirement question logic
* Changed required state to 'true'
TKilFree [Fri, 23 Jun 2023 09:47:12 +0000 (10:47 +0100)]
feat: re-added captcha checks (#3249)
Sander Saarend [Mon, 26 Jun 2023 08:25:38 +0000 (11:25 +0300)]
Add support for sslmode=require for diesel-async DB connections (#3189)
cetra3 [Mon, 26 Jun 2023 08:24:11 +0000 (17:54 +0930)]
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
Dessalines [Fri, 23 Jun 2023 12:41:20 +0000 (08:41 -0400)]
Version 0.18.0
Dessalines [Fri, 23 Jun 2023 11:07:51 +0000 (07:07 -0400)]
Version 0.18.0-rc.8
Dessalines [Fri, 23 Jun 2023 11:02:05 +0000 (07:02 -0400)]
Revert "feat: re-added captcha checks (#3249)" (#3288)
This reverts commit
8a086c82405bc8e2c8cb2fbbcceb10418f231d1b .
Dessalines [Fri, 23 Jun 2023 10:53:46 +0000 (06:53 -0400)]
Fixing removed posts showing. Fixes #2875 (#3279)
* Fixing removed posts showing. Fixes #2875
* Fixing clippy.
Kresten Laust [Fri, 23 Jun 2023 09:50:35 +0000 (11:50 +0200)]
Reversed requirement question logic (#3283)
* Reversed requirement question logic
* Changed required state to 'true'
TKilFree [Fri, 23 Jun 2023 09:47:12 +0000 (10:47 +0100)]
feat: re-added captcha checks (#3249)
Vijay Ramesh [Thu, 22 Jun 2023 16:59:43 +0000 (09:59 -0700)]
Merge branch 'main' into clear_deleted_posts_comments
Dessalines [Thu, 22 Jun 2023 12:55:08 +0000 (08:55 -0400)]
Version 0.18.0-rc.6
Nutomic [Thu, 22 Jun 2023 12:35:12 +0000 (14:35 +0200)]
Update apub library to 0.4.4 (#3258)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
kartikynwa [Thu, 22 Jun 2023 11:52:31 +0000 (17:22 +0530)]
Add migration to mark local communities as such (#3257)
Nutomic [Thu, 22 Jun 2023 11:46:37 +0000 (13:46 +0200)]
Remove translation part from docs links (#3260)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Nutomic [Thu, 22 Jun 2023 11:46:07 +0000 (13:46 +0200)]
Use Rust 1.70 for Docker and CI (#3265)
ShittyKopper [Thu, 22 Jun 2023 08:22:15 +0000 (11:22 +0300)]
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
Óliver García Albertos [Thu, 22 Jun 2023 07:34:51 +0000 (08:34 +0100)]
logger: Use forwarded instead of peer IP address (#3223)
Vijay Ramesh [Wed, 21 Jun 2023 20:35:37 +0000 (13:35 -0700)]
Merge branch 'main' into clear_deleted_posts_comments
kartikynwa [Wed, 21 Jun 2023 20:32:06 +0000 (02:02 +0530)]
Put /admin/purge routes before /admin routes (#3244)
Bnyro [Wed, 21 Jun 2023 20:15:10 +0000 (22:15 +0200)]
docs: Add Lemoa to lemmy projects section (#3247)
Scott [Wed, 21 Jun 2023 20:14:12 +0000 (05:44 +0930)]
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>
Dessalines [Wed, 21 Jun 2023 20:02:42 +0000 (16:02 -0400)]
Version 0.18.0-rc.5
Vijay Ramesh [Tue, 20 Jun 2023 06:17:54 +0000 (23:17 -0700)]
after 30 days post deletion, replace comment.content and post.body with 'Permanently Deleted'
Dessalines [Wed, 21 Jun 2023 19:46:32 +0000 (15:46 -0400)]
Trying to fix version again. (#3246)
Michał [Wed, 21 Jun 2023 17:36:42 +0000 (19:36 +0200)]
feat: allow overriding smtp_password with the LEMMY_SMTP_PASSWORD env var (#3154)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Dessalines [Wed, 21 Jun 2023 12:05:15 +0000 (08:05 -0400)]
Version 0.18.0-rc.4
Nutomic [Wed, 21 Jun 2023 11:57:01 +0000 (13:57 +0200)]
Dont publish to crates.io (#3239)
Nutomic [Wed, 21 Jun 2023 09:26:07 +0000 (11:26 +0200)]
Correct error messages if user registers with taken user/email (#3093)
* Correct error messages if user registers with taken user/email (fixes #2955)
* exists
Dessalines [Wed, 21 Jun 2023 08:56:44 +0000 (04:56 -0400)]
Fixing cross_post duplicates. Fixes #3233 (#3234)
JP Moresmau [Wed, 21 Jun 2023 08:48:39 +0000 (10:48 +0200)]
Add test to check reading and listing posts return my_vote (#3215)
dullbananas [Wed, 21 Jun 2023 08:28:20 +0000 (01:28 -0700)]
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
44b104997016ee2a1f2c0bb735b75e654666860d .
* 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
b4528e5b85dd3f13cea43d72ada9382200c8fc77 .
* Revert "Add dhat-heap feature"
This reverts commit
08e835d487b983c44ce2570d8c396d570d426916 .
* 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>
Dessalines [Wed, 21 Jun 2023 00:29:48 +0000 (20:29 -0400)]
Adding current domain from settings to CORs. (#3231)
Joel Beckmeyer [Tue, 20 Jun 2023 18:20:20 +0000 (14:20 -0400)]
remove debugging println (#3227)
Dessalines [Tue, 20 Jun 2023 18:14:08 +0000 (14:14 -0400)]
Fixing comment_view unit tests. (#3224)
Sander Saarend [Tue, 20 Jun 2023 15:24:04 +0000 (18:24 +0300)]
Fix parameter ordering for new_report_subject string (#3210)
Nutomic [Tue, 20 Jun 2023 15:19:03 +0000 (17:19 +0200)]
Move cors default to source code (#3219)
Dessalines [Tue, 20 Jun 2023 14:29:24 +0000 (10:29 -0400)]
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.
Ivo Barros [Tue, 20 Jun 2023 14:05:43 +0000 (15:05 +0100)]
Feature add hours as sorting options backend (#3161)
* add hours as sorting options
* ran cargo +nightly fmt
* woodpicker trigger
kartikynwa [Tue, 20 Jun 2023 12:52:21 +0000 (18:22 +0530)]
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>
Andrew DeLisa [Tue, 20 Jun 2023 12:29:38 +0000 (08:29 -0400)]
fix: add CORS origin environment variable (#3191)
* fix: add CORS origin environment variable
* chore: formatting
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Joel Beckmeyer [Tue, 20 Jun 2023 11:07:18 +0000 (07:07 -0400)]
make embedded pict-rs port configurable (#3201)
Dessalines [Tue, 20 Jun 2023 09:33:03 +0000 (05:33 -0400)]
Move connection creation into scheduler. (#3120)
* Move connection creation into scheduler.
- #3076
* Fix clippy.
Felix Ableitner [Tue, 20 Jun 2023 08:59:27 +0000 (10:59 +0200)]
Update translations
Sander Saarend [Tue, 20 Jun 2023 08:52:51 +0000 (11:52 +0300)]
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
ludrol [Fri, 16 Jun 2023 15:56:21 +0000 (17:56 +0200)]
Changed github issue template to align logically with the question asked (#3135)
Chethan [Fri, 16 Jun 2023 15:54:12 +0000 (21:24 +0530)]
Update README.md (#3137)
The Ace of Spades video linked in the README was private, have replaced it with a public video.
Sander Saarend [Fri, 16 Jun 2023 15:53:33 +0000 (18:53 +0300)]
Remove e-mail verification success e-mails (#3124)
Alex Maras [Thu, 15 Jun 2023 11:39:58 +0000 (19:39 +0800)]
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>