]>
Untitled Git - lemmy.git/log
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>
Nutomic [Thu, 15 Jun 2023 09:37:05 +0000 (11:37 +0200)]
Update all dependencies (#3091)
Wyatt Smith [Thu, 15 Jun 2023 09:35:09 +0000 (02:35 -0700)]
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>
Sander Saarend [Thu, 15 Jun 2023 09:29:12 +0000 (12:29 +0300)]
Handle scheduled task errors (#3090)
* Add --disable-scheduled-tasks CLI flag
* Add error handling for scheduled tasks
Dessalines [Wed, 14 Jun 2023 23:02:17 +0000 (19:02 -0400)]
Fix unapproved users being able to log in after registration mode set to closed. (#3096)
- Fixes #3095
Nutomic [Wed, 14 Jun 2023 21:41:20 +0000 (23:41 +0200)]
Link tafkars in readme (#3087)
Divided by Zer0 [Wed, 14 Jun 2023 21:40:49 +0000 (23:40 +0200)]
doc: Added pythorhead library in readme (#3114)
adisbladis [Wed, 14 Jun 2023 21:03:10 +0000 (09:03 +1200)]
Only create ltree postgres extension in migration if doesn't already exist (#3092)
Raymond Berger [Wed, 14 Jun 2023 20:21:03 +0000 (22:21 +0200)]
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
Neshura [Wed, 14 Jun 2023 12:34:45 +0000 (14:34 +0200)]
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,
Charles Hall [Wed, 14 Jun 2023 11:54:12 +0000 (04:54 -0700)]
stop requiring superuser to run migrations (#3002)
Fixes <https://github.com/LemmyNet/lemmy/issues/2863>.
Nina Blanson [Wed, 14 Jun 2023 11:15:59 +0000 (06:15 -0500)]
Fixes #1884 - Support Spoiler Tags (#3018)
* Fixes #1884 - Switches markdown libraries and creates a custom rule to manage spoiler blocks
* Add tests to cover invalid spoiler input
* Consolidate tests, add comments
* Make immutable, static instance of markdown parser
---------
Co-authored-by: Nutomic <me@nutomic.com>
Felix Ableitner [Wed, 14 Jun 2023 09:34:29 +0000 (11:34 +0200)]
Fix compilation
Patrick Roe [Tue, 13 Jun 2023 20:23:07 +0000 (04:23 +0800)]
Align default DB password with documentation (#3068)
JetpackJackson [Tue, 13 Jun 2023 20:17:02 +0000 (16:17 -0400)]
Update RSS url (#3053)
* Update RSS url
* Fixed next line
* making sure this thing uploads
* Update feeds.rs
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Edgar Alvarado [Tue, 13 Jun 2023 12:37:06 +0000 (08:37 -0400)]
Docker yaml anchors and docker logs (#3027)
* Use anchor for duplicated compose properties
* Include docker log max
* Run prettier
Edgar Alvarado [Mon, 12 Jun 2023 22:38:27 +0000 (18:38 -0400)]
Fix ports used by docker (#3012)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Jared Schneiderman [Mon, 12 Jun 2023 21:48:02 +0000 (17:48 -0400)]
Add limit and pagination to feeds (#2980)
* adds limit and pagination to all rss feeds
* consistent ordering
* refactor page and limit and add after
* revert back to using page
* remove offset change
* refactor to impl adding helper methods
* clippy
Nutomic [Mon, 12 Jun 2023 18:12:15 +0000 (20:12 +0200)]
Upgrade activitypub-federation to 0.4.1 (#3039)
This improves logging so that its not necessary to enable debug
logs to find out that activity worker count needs to be increased.
Charlie Fish [Mon, 12 Jun 2023 13:31:27 +0000 (07:31 -0600)]
Adding Lemmy-Swift-Client to README.md (#3026)
Andy Brandt [Mon, 12 Jun 2023 13:29:15 +0000 (08:29 -0500)]
use usize::MAX for line wrap length, since lettre does it for us (#3034)
fixes #2921
Charles Hall [Mon, 12 Jun 2023 09:55:47 +0000 (02:55 -0700)]
update doku (#3003)
Fixes malformed documentation generated by previous version.
Nathan Schulzke [Mon, 12 Jun 2023 09:04:47 +0000 (03:04 -0600)]
Fix contributing link (#3015)
Dessalines [Fri, 9 Jun 2023 21:08:27 +0000 (17:08 -0400)]
Better issue templates. (#2991)
* Better issue templates.
* Fixing bug report.
Charles Hall [Fri, 9 Jun 2023 12:18:22 +0000 (05:18 -0700)]
allow specifying db uri in config file (#2956)
* allow specifying db uri in config file
* succumb to a bug in doku
See <https://github.com/anixe/doku/issues/33>.
Dessalines [Thu, 8 Jun 2023 20:15:15 +0000 (16:15 -0400)]
Adding hot_rank columns in place of function sorting. (#2952)
* Adding hot_rank columns in place of function sorting.
- Creates hot_rank columns for post, comment, and community.
- Fixes #2932
* Updating all hot ranks on startup.
* Fixing post.url migration.
* Removing update_instance_software from startup.
* Adding post_rank query
Charles Hall [Thu, 8 Jun 2023 19:38:26 +0000 (12:38 -0700)]
make shebangs posix compliant (#2974)
Previously, these scripts wouldn't work on exotic systems such as NixOS.
```
fd '\.sh$' -t f --exec sed -i 's@#!/bin/bash@#!/usr/bin/env bash@'
```
Andy Brandt [Thu, 8 Jun 2023 17:42:32 +0000 (12:42 -0500)]
Fix private message e-mail notification subject and body (#2963)
It used to say:
Subject: Private message from [your username]
Body: [your username] - [private message]
It now display the correct username that it's from.
Anon [Thu, 8 Jun 2023 14:31:26 +0000 (09:31 -0500)]
Add comment depth check (#2940)
* Add comment depth check
* Move comment depth code
* linter fix
Jason Watkins [Thu, 8 Jun 2023 12:30:16 +0000 (05:30 -0700)]
Add `lemmyexternalproxy` to `lemmy` so that it can talk to the internet (#2960)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Nutomic [Thu, 8 Jun 2023 11:12:40 +0000 (13:12 +0200)]
Fix translation build error (fixes #2967) (#2968)
Nutomic [Wed, 7 Jun 2023 19:18:17 +0000 (21:18 +0200)]
Activitypub breaking changes for Lemmy 0.18 (#2705)
* Remove deprecated field `group.moderators`
* Drop column local_site.federation_debug
* Remove backwards compatibility code for feature/lock post
https://github.com/LemmyNet/lemmy/pull/2716
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Nutomic [Wed, 7 Jun 2023 15:31:24 +0000 (17:31 +0200)]
Add db index for post.url column (#2929)
* Add db index for post.url column
As mentioned in https://github.com/LemmyNet/lemmy/issues/2877#issuecomment-
1576439829
Not sure if its preferable to do this, or make a combined index
which includes post.nsfw, post.removed, post.deleted
* remove unique
derivator [Wed, 7 Jun 2023 13:38:46 +0000 (15:38 +0200)]
Fall back to String for Comment::path when not using the full feature (#2941)
Carlrs [Wed, 7 Jun 2023 10:54:40 +0000 (10:54 +0000)]
update diesel to 2.1.0 and diesel-async to 0.3.0 (issue #2882) (#2895)
* update diesel to 2.1.0 and diesel-async to 0.3.0 (issue #2882)
* get rid of deprecated RawValue type alias usage, explicitly import diesel types instead of using wildcard import
* Update diesel-derive-enum and diesel-derive-newtype libraries
* Revert manual changes to schema.rs
* Update to newer diesel-cli image in CI, run fix-clippy before schema comparison, update schema to one generated with diesel-cli 2.1.0 and clippyfixed
* Remove wildcard import lint, fix diesel schema pipeline
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Dessalines [Wed, 7 Jun 2023 02:22:21 +0000 (22:22 -0400)]
Fix dev setups. (#2944)
Nutomic [Wed, 7 Jun 2023 00:24:06 +0000 (02:24 +0200)]
Set version name for crates.io release (#2928)
* Set version name for crates.io release
ref https://github.com/LemmyNet/lemmy-ui/issues/1052
* fix yml
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
vpzomtrrfrt [Tue, 6 Jun 2023 22:33:38 +0000 (16:33 -0600)]
Fix handling of follows addressed to single value (#2920)
* Fix handling of follows addressed to single value
* Switch to deserialize_skip_error for Follow to
* Also use deserialize_skip_error for AcceptFollow and UndoFollow
* actually import deserialize_skip_error
Nutomic [Tue, 6 Jun 2023 16:27:22 +0000 (18:27 +0200)]
Remove chatserver (#2919)
* Remove chatserver
* fix clippy
* Remove captchas (fixes #2922)
* fix prettier
* fix api_common build
* cargo fmt
Dessalines [Tue, 6 Jun 2023 12:59:34 +0000 (08:59 -0400)]
Adding taglines to SiteResponse. Fixes #2925 (#2926)
* Adding taglines to SiteResponse. Fixes #2925
* Fixing CI line.
Dessalines [Tue, 6 Jun 2023 09:01:48 +0000 (05:01 -0400)]
Fix *All* reports not showing. Fixes #2902 (#2903)
* Fix *All* reports not showing. Fixes #2902
* Fix *All* reports not showing. Fixes #2902
* Fixing tests.
Matt Pusch [Mon, 5 Jun 2023 15:34:15 +0000 (08:34 -0700)]
README updates (#2913)
* Updated readme to remove unsecure sunchid lemming article - replaced with wikipedia article.
Commented out sponsor list as page DNE.
Commented out Contributing section as all sites DNE. Added simple instructions for git contribution. Cleaned up formatting for Contributing section.
TODO: update join-lemmy.org/docs, uncomment removed lines
* Implemented suggested changes