lemmy.git
16 months agoImprove api response times by doing send_activity asynchronously (#3493)
phiresky [Mon, 10 Jul 2023 10:27:49 +0000 (12:27 +0200)]
Improve api response times by doing send_activity asynchronously (#3493)

* do send_activity after http response

* move to util function

* format

* fix prometheus

* make synchronous federation configurable

* cargo fmt

* empty

* empty

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
16 months agoVersion 0.18.1
Dessalines [Fri, 7 Jul 2023 13:24:49 +0000 (09:24 -0400)]
Version 0.18.1

16 months agoRevert "Make sure hot rank sorts for post and community filter by positive hot ranks...
Dessalines [Fri, 7 Jul 2023 09:29:07 +0000 (05:29 -0400)]
Revert "Make sure hot rank sorts for post and community filter by positive hot ranks. (#3497)" (#3521)

This reverts commit 6840fd64f9bee9fff263ed797350a316ebdb98c6.

16 months agoMake hot rank not crash on future (#3517)
phiresky [Fri, 7 Jul 2023 09:27:47 +0000 (11:27 +0200)]
Make hot rank not crash on future (#3517)

* make hot rank zero for future

* parallel safe

16 months agoUpgrade crossbeam-channel (#3512)
Nutomic [Thu, 6 Jul 2023 18:21:11 +0000 (20:21 +0200)]
Upgrade crossbeam-channel (#3512)

16 months agoUpdate prettier to 3.0.0 (#3509)
Dessalines [Thu, 6 Jul 2023 13:10:38 +0000 (09:10 -0400)]
Update prettier to 3.0.0 (#3509)

* Update prettier to 3.0.0

* Updating prettier dep.

* Explicity 3.0.0 version.

16 months agoVersion 0.18.1-rc.10
Felix Ableitner [Thu, 6 Jul 2023 12:46:46 +0000 (14:46 +0200)]
Version 0.18.1-rc.10

16 months agoimprove admin and mod check to not do seq scans and return unnecessary data (#3483)
phiresky [Thu, 6 Jul 2023 12:44:26 +0000 (14:44 +0200)]
improve admin and mod check to not do seq scans and return unnecessary data (#3483)

* improve admin and mod check

* fix clippy

* move admin index to existing code

* Revert "move admin index to existing code"

This reverts commit d0c58d5f4021e1775d0c1d30d8df6c7df87557c4.

* third attempt at the migration

* fix formatting

* rebuild

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
16 months agoOnly allow http(s) scheme for urls (ref #3505) (#3508)
Nutomic [Thu, 6 Jul 2023 12:29:51 +0000 (14:29 +0200)]
Only allow http(s) scheme for urls (ref #3505) (#3508)

With this change only http(s) schemes are allowed for post.url
field. This is checked for incoming api and federation requests.
Existing posts in database which are sent to clients are not
checked. Neither does it check urls in markdown.

16 months agoChange security contact mail (#3506)
Nutomic [Thu, 6 Jul 2023 11:27:47 +0000 (13:27 +0200)]
Change security contact mail (#3506)

Old one isnt working apparently

16 months agoAllow cross-origin requests (#3421)
Diamond [Thu, 6 Jul 2023 11:25:19 +0000 (04:25 -0700)]
Allow cross-origin requests (#3421)

Co-authored-by: pfg <pfg@pfg.pw>
16 months agoMake sure hot rank sorts for post and community filter by positive hot ranks. (#3497)
Dessalines [Thu, 6 Jul 2023 11:22:48 +0000 (07:22 -0400)]
Make sure hot rank sorts for post and community filter by positive hot ranks. (#3497)

* Make sure hot rank sorts for post and community filter by positive hot ranks.

- Context #2994

* Adding a comment.

16 months agoFixes wrong community moderator ordering. (#3495)
Dessalines [Thu, 6 Jul 2023 10:27:25 +0000 (06:27 -0400)]
Fixes wrong community moderator ordering. (#3495)

16 months agoUse fixed prettier version for CI (#3507)
Nutomic [Thu, 6 Jul 2023 10:23:51 +0000 (12:23 +0200)]
Use fixed prettier version for CI (#3507)

3.0.0 was pushed to docker hub 2 hours ago, thats probably why
builds are breaking now.

16 months agoupgrade markdown-it to fix panic (#3490)
phiresky [Wed, 5 Jul 2023 17:08:53 +0000 (19:08 +0200)]
upgrade markdown-it to fix panic (#3490)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
16 months agoimprove performance of community followers inbox query (#3482)
phiresky [Wed, 5 Jul 2023 15:50:26 +0000 (17:50 +0200)]
improve performance of community followers inbox query (#3482)

* improve performance of community followers inbox query

* nightly format

* force woodpecker to retry

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
16 months agoCache federation blocklist (#3486)
Nutomic [Wed, 5 Jul 2023 15:08:02 +0000 (17:08 +0200)]
Cache federation blocklist (#3486)

* Cache federation blocklist

* revert submodule change

16 months agoAdd Prometheus endpoint (#3456)
Andrew Fields [Wed, 5 Jul 2023 11:25:19 +0000 (06:25 -0500)]
Add Prometheus endpoint (#3456)

Add a server for serving Prometheus metrics. Include a configuration
block in the config file. Provide HTTP metrics on the API, along with
process-level metrics and DB pool metrics.

16 months agoAdding a person.admin index, and featured_local/community indexes. (#3479)
Dessalines [Wed, 5 Jul 2023 11:00:41 +0000 (07:00 -0400)]
Adding a person.admin index, and featured_local/community indexes. (#3479)

16 months agoAdd feature for enabling json logging (#3462)
Lemmus.org [Tue, 4 Jul 2023 11:11:47 +0000 (04:11 -0700)]
Add feature for enabling json logging (#3462)

16 months agofix(posts/comments/search): return error on invalid community name (#3418)
Louis GERARD [Tue, 4 Jul 2023 11:04:38 +0000 (13:04 +0200)]
fix(posts/comments/search): return error on invalid community name (#3418)

16 months agoImproved validation of display names (Fixes #3436) (#3437)
Josephos [Tue, 4 Jul 2023 10:41:58 +0000 (12:41 +0200)]
Improved validation of display names (Fixes #3436) (#3437)

* Fixed validation of display names

Fixed validation of display names: reject names beginning with invisible unicode characters.

* Formatting

Formatting fix.

* Expanded list of forbidden Unicode characters. Validation now checks for disallowed characters anywhere in the name.

* Formatting

* Added a comment detailing source of the list of invisible chars.

16 months agoFixing clippy. (#3471)
Dessalines [Tue, 4 Jul 2023 10:15:27 +0000 (06:15 -0400)]
Fixing clippy. (#3471)

16 months agoRemove not needed anymore http-signature-normalization-actix dependency (#3458)
Piotr Juszczyk [Tue, 4 Jul 2023 10:14:37 +0000 (12:14 +0200)]
Remove not needed anymore  http-signature-normalization-actix dependency (#3458)

16 months ago300 comment limit. (#3306)
Dessalines [Mon, 3 Jul 2023 22:02:57 +0000 (18:02 -0400)]
300 comment limit. (#3306)

* 300 comment limit.

* Another fix.

16 months agoVersion 0.18.1-rc.9
Dessalines [Mon, 3 Jul 2023 21:16:48 +0000 (17:16 -0400)]
Version 0.18.1-rc.9

16 months agoDo not decrement comment score twice when removing then deleting. (#3196)
JP Moresmau [Mon, 3 Jul 2023 18:13:53 +0000 (20:13 +0200)]
Do not decrement comment score twice when removing then deleting. (#3196)

Fixes #3004

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
16 months agoRemove excessive content_type header configuration (#3470)
perillamint [Mon, 3 Jul 2023 17:43:45 +0000 (02:43 +0900)]
Remove excessive content_type header configuration (#3470)

16 months agoAdding rest of community sorts. Fixes #3374 (#3376)
Dessalines [Mon, 3 Jul 2023 17:09:15 +0000 (13:09 -0400)]
Adding rest of community sorts. Fixes #3374 (#3376)

* Adding rest of community sorts. Fixes #3374

* Addressing PR comments.

16 months agoDont compare db string errors (fixes #1393) (#3424)
Nutomic [Mon, 3 Jul 2023 15:59:49 +0000 (17:59 +0200)]
Dont compare db string errors (fixes #1393) (#3424)

* Dont compare db string errors (fixes #1393)

* cargo fmt

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
16 months agoAdd Open links in new tab setting (#3318)
Simon Bordeyne [Mon, 3 Jul 2023 15:10:25 +0000 (17:10 +0200)]
Add Open links in new tab setting (#3318)

* Add Open links in new tab setting

* reorder because it fixes tests ?

16 months agoFix awesome-lemmy owner (#3469)
David BELEY [Mon, 3 Jul 2023 14:44:55 +0000 (16:44 +0200)]
Fix awesome-lemmy owner (#3469)

16 months agoAdd awesome-lemmy to LemmyNet? (#3413)
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

16 months agoUse serde(skip) instead of skip_serializing, add placeholder values (#3362)
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

16 months agoMark follow as pending when subscribing to remote community (fixes #3384) (#3406)
Nutomic [Mon, 3 Jul 2023 10:03:20 +0000 (12:03 +0200)]
Mark follow as pending when subscribing to remote community (fixes #3384) (#3406)

16 months agoFix formatting for latest nightly (#ref 3467)
Felix Ableitner [Mon, 3 Jul 2023 09:45:53 +0000 (11:45 +0200)]
Fix formatting for latest nightly (#ref 3467)

16 months agoRemove PerformApub trait (#3423)
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

16 months agoFix quoting of max-file in docker-compose.yml (#3442)
drumlinish [Mon, 3 Jul 2023 08:59:07 +0000 (10:59 +0200)]
Fix quoting of max-file in docker-compose.yml (#3442)

16 months agodon't strip, log trace if requested (#3425)
phiresky [Fri, 30 Jun 2023 13:32:43 +0000 (15:32 +0200)]
don't strip, log trace if requested (#3425)

16 months agoUpdate federated posts to not cache sensitive images if not allow by local site ...
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

16 months agoFix concatenation of audio captcha wav files (#3350)
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

16 months agoAutomatically manage database when running scripts/test.sh (#3389)
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

16 months agoVersion 0.18.1-rc.4
Dessalines [Thu, 29 Jun 2023 14:45:59 +0000 (10:45 -0400)]
Version 0.18.1-rc.4

16 months agoFixing release script. (#3398)
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.

16 months agoAdded gitattributes to normalize all files to lf (#3386)
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>
16 months agoUpdate activitypub-federation crate to 0.4.5 (#3379)
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

16 months agoFix cargo warnings (#3397)
Sander Saarend [Wed, 28 Jun 2023 16:57:49 +0000 (19:57 +0300)]
Fix cargo warnings (#3397)

16 months agoFix missing sorting types (#3370)
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

16 months agodocs(api): Add api-common info on generating TypeScript bindings (#3330)
Jan Klass [Wed, 28 Jun 2023 09:25:46 +0000 (11:25 +0200)]
docs(api): Add api-common info on generating TypeScript bindings (#3330)

16 months agoRemove redundant calls to `Iterator::collect` (#3365)
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 

16 months agoRun cargo update as part of release script (#3369)
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>
16 months agoVersion 0.18.1-rc.1
Dessalines [Tue, 27 Jun 2023 12:14:46 +0000 (08:14 -0400)]
Version 0.18.1-rc.1

16 months agoFixes #2900 - Checks slur regex to see if it is too permissive (#3146)
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>
16 months agoadd new flag to api (#3363)
Domenic Horner [Tue, 27 Jun 2023 10:45:26 +0000 (18:45 +0800)]
add new flag to api (#3363)

16 months agofeat: re-added captcha checks (#3289)
TKilFree [Tue, 27 Jun 2023 10:38:53 +0000 (11:38 +0100)]
feat: re-added captcha checks (#3289)

16 months agoLimit password resets (#3344)
Sander Saarend [Tue, 27 Jun 2023 09:20:53 +0000 (12:20 +0300)]
Limit password resets (#3344)

16 months agoFixing the release script. (#3295)
Dessalines [Tue, 27 Jun 2023 08:28:56 +0000 (04:28 -0400)]
Fixing the release script. (#3295)

* Fixing the release script.

* Updating the submodules.

16 months agoBatch hot rank updates (#3175)
Sander Saarend [Tue, 27 Jun 2023 08:13:51 +0000 (11:13 +0300)]
Batch hot rank updates (#3175)

16 months agoFeature add three six and nine months options backend (#3226)
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>
16 months agoFetch community outbox and moderators in parallel (#3360)
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

16 months agoRemove networks from docker-compose.yml (#3356)
Nutomic [Mon, 26 Jun 2023 16:10:38 +0000 (18:10 +0200)]
Remove networks from docker-compose.yml (#3356)

16 months agoItem URL should point to post URL (#3345)
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.

16 months agoSite Metadata: resolve relative URLs for embedded images/videos (#3338)
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

16 months agoUse compression middleware (#3343)
dullbananas [Mon, 26 Jun 2023 10:54:41 +0000 (03:54 -0700)]
Use compression middleware (#3343)

16 months agoRemove another unused dev dependency
Felix Ableitner [Mon, 26 Jun 2023 10:46:44 +0000 (12:46 +0200)]
Remove another unused dev dependency

16 months agoAdjust the config check to be a separate faster to compile binary (#3313)
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)

16 months agoRemove unused actix_rt dependency
Felix Ableitner [Mon, 26 Jun 2023 10:14:27 +0000 (12:14 +0200)]
Remove unused actix_rt dependency

16 months agoAdd Liftoff to README.md (#3357)
wiki-me [Mon, 26 Jun 2023 10:12:38 +0000 (13:12 +0300)]
Add Liftoff to README.md (#3357)

16 months agoRespond with `Content-Type: application/activity+json` (#3353)
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`.

16 months agoFix lemmy UI environment variable (#3299)
anonion [Mon, 26 Jun 2023 10:07:22 +0000 (04:07 -0600)]
Fix lemmy UI environment variable (#3299)

16 months agoLeave no apk cache in Docker image (#3327)
Peter Dave Hello [Mon, 26 Jun 2023 09:59:02 +0000 (17:59 +0800)]
Leave no apk cache in Docker image (#3327)

16 months agoAllow wildcard imports in schema.rs (#3293)
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

16 months agoUpdate DB local_user.theme type to text (#3266)
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

16 months agofeat: allow all admins to purge content (#3271)
TKilFree [Mon, 26 Jun 2023 08:47:39 +0000 (09:47 +0100)]
feat: allow all admins to purge content (#3271)

16 months agoAdd separate Post check for is_valid_body_field (#3263)
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

16 months agoMerge branch 'vijaykramesh_clear_deleted_posts_comments'
Felix Ableitner [Mon, 26 Jun 2023 08:45:49 +0000 (10:45 +0200)]
Merge branch 'vijaykramesh_clear_deleted_posts_comments'

16 months agoRemove DELETED_REPLACEMENT_URL
Felix Ableitner [Mon, 26 Jun 2023 08:45:37 +0000 (10:45 +0200)]
Remove DELETED_REPLACEMENT_URL

16 months agoAdd support for sslmode=require for diesel-async DB connections (#3189)
Sander Saarend [Mon, 26 Jun 2023 08:25:38 +0000 (11:25 +0300)]
Add support for sslmode=require for diesel-async DB connections (#3189)

16 months agoRemove `actix_rt` & use standard tokio spawn (#3158)
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

16 months agoVersion 0.18.0
Dessalines [Fri, 23 Jun 2023 12:41:20 +0000 (08:41 -0400)]
Version 0.18.0

16 months agoVersion 0.18.0-rc.8
Dessalines [Fri, 23 Jun 2023 11:07:51 +0000 (07:07 -0400)]
Version 0.18.0-rc.8

16 months agoRevert "feat: re-added captcha checks (#3249)" (#3288)
Dessalines [Fri, 23 Jun 2023 11:02:05 +0000 (07:02 -0400)]
Revert "feat: re-added captcha checks (#3249)" (#3288)

This reverts commit 8a086c82405bc8e2c8cb2fbbcceb10418f231d1b.

16 months agoFixing removed posts showing. Fixes #2875 (#3279)
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.

16 months agoReversed requirement question logic (#3283)
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'

16 months agofeat: re-added captcha checks (#3249)
TKilFree [Fri, 23 Jun 2023 09:47:12 +0000 (10:47 +0100)]
feat: re-added captcha checks (#3249)

16 months agoAdd support for sslmode=require for diesel-async DB connections (#3189)
Sander Saarend [Mon, 26 Jun 2023 08:25:38 +0000 (11:25 +0300)]
Add support for sslmode=require for diesel-async DB connections (#3189)

16 months agoRemove `actix_rt` & use standard tokio spawn (#3158)
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

16 months agoVersion 0.18.0
Dessalines [Fri, 23 Jun 2023 12:41:20 +0000 (08:41 -0400)]
Version 0.18.0

16 months agoVersion 0.18.0-rc.8
Dessalines [Fri, 23 Jun 2023 11:07:51 +0000 (07:07 -0400)]
Version 0.18.0-rc.8

16 months agoRevert "feat: re-added captcha checks (#3249)" (#3288)
Dessalines [Fri, 23 Jun 2023 11:02:05 +0000 (07:02 -0400)]
Revert "feat: re-added captcha checks (#3249)" (#3288)

This reverts commit 8a086c82405bc8e2c8cb2fbbcceb10418f231d1b.

16 months agoFixing removed posts showing. Fixes #2875 (#3279)
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.

16 months agoReversed requirement question logic (#3283)
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'

16 months agofeat: re-added captcha checks (#3249)
TKilFree [Fri, 23 Jun 2023 09:47:12 +0000 (10:47 +0100)]
feat: re-added captcha checks (#3249)

16 months agoMerge branch 'main' into clear_deleted_posts_comments
Vijay Ramesh [Thu, 22 Jun 2023 16:59:43 +0000 (09:59 -0700)]
Merge branch 'main' into clear_deleted_posts_comments

16 months agoVersion 0.18.0-rc.6
Dessalines [Thu, 22 Jun 2023 12:55:08 +0000 (08:55 -0400)]
Version 0.18.0-rc.6

16 months agoUpdate apub library to 0.4.4 (#3258)
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>
16 months agoAdd migration to mark local communities as such (#3257)
kartikynwa [Thu, 22 Jun 2023 11:52:31 +0000 (17:22 +0530)]
Add migration to mark local communities as such (#3257)

16 months agoRemove translation part from docs links (#3260)
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>
16 months agoUse Rust 1.70 for Docker and CI (#3265)
Nutomic [Thu, 22 Jun 2023 11:46:07 +0000 (13:46 +0200)]
Use Rust 1.70 for Docker and CI (#3265)

16 months agodocker-compose: Add init to UI (#3248)
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