Commit Graph

4114 Commits (0464c46d266be8ea657767b6c172576d78c316e8)
 

Author SHA1 Message Date
Nick Shockey 0464c46d26
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>
12 months ago
Nutomic c216153dfb
Update activitypub-federation crate to 0.4.5 (#3379)
https://github.com/LemmyNet/activitypub-federation-rust/releases/tag/0.4.5
12 months ago
Sander Saarend ec18fd9869
Fix cargo warnings (#3397) 12 months ago
c-andy-candies ffc049078e
Fix missing sorting types (#3370)
* Fix missing sorting types

* Reordered sort_type_enum
12 months ago
Jan Klass 0f91759e4d
docs(api): Add api-common info on generating TypeScript bindings (#3330) 12 months ago
dullbananas bef76630c5
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 
12 months ago
Nutomic e4b739320c
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>
12 months ago
Dessalines ad6f244b61 Version 0.18.1-rc.1 12 months ago
Nina Blanson e63aa80c3a
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>
12 months ago
Domenic Horner d1d90af0eb
add new flag to api (#3363) 12 months ago
TKilFree 2aef6a5a33
feat: re-added captcha checks (#3289) 12 months ago
Sander Saarend 76a4513774
Limit password resets (#3344) 12 months ago
Dessalines 98482b1564
Fixing the release script. (#3295)
* Fixing the release script.

* Updating the submodules.
12 months ago
Sander Saarend 211e76dc27
Batch hot rank updates (#3175) 12 months ago
c-andy-candies f5209fffc1
Feature add three six and nine months options backend (#3226)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
12 months ago
Nutomic 50efb1d519
Fetch community outbox and moderators in parallel (#3360)
This will speedup first time fetching of a remote community
12 months ago
Nutomic 8fbc630ce1
Remove networks from docker-compose.yml (#3356) 12 months ago
Simon Lundström c9e9ff46fa
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.
12 months ago
Otto Rottier 62c8ac1db5
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
12 months ago
dullbananas b2a9d4a335
Use compression middleware (#3343) 12 months ago
Felix Ableitner 73d2faa9f5 Remove another unused dev dependency 12 months ago
cetra3 9406c3ad2b
Adjust the config check to be a separate faster to compile binary (#3313) 12 months ago
Felix Ableitner a39e948b52 Remove unused actix_rt dependency 12 months ago
wiki-me 83ff9adee5
Add Liftoff to README.md (#3357) 12 months 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`.
12 months ago
anonion 01dc1efe77
Fix lemmy UI environment variable (#3299) 12 months ago
Peter Dave Hello 2f3d60a63b
Leave no apk cache in Docker image (#3327) 12 months 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
12 months 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
12 months ago
TKilFree 21d5349785
feat: allow all admins to purge content (#3271) 12 months 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
12 months ago
Felix Ableitner 206789af67 Merge branch 'vijaykramesh_clear_deleted_posts_comments' 12 months ago
Felix Ableitner ce0cf0e41b Remove DELETED_REPLACEMENT_URL 12 months ago
Sander Saarend 6b28f8c616 Add support for sslmode=require for diesel-async DB connections (#3189) 12 months 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
12 months ago
Dessalines e4d78b0974 Version 0.18.0 12 months ago
Dessalines 3f6e9a7f23 Version 0.18.0-rc.8 12 months ago
Dessalines 37a47de3a8 Revert "feat: re-added captcha checks (#3249)" (#3288)
This reverts commit 8a086c8240.
12 months ago
Dessalines b6cd1bde8e Fixing removed posts showing. Fixes #2875 (#3279)
* Fixing removed posts showing. Fixes #2875

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

* Changed required state to 'true'
12 months ago
TKilFree 9537878519 feat: re-added captcha checks (#3249) 12 months ago
Sander Saarend 6d67f88603
Add support for sslmode=require for diesel-async DB connections (#3189) 12 months 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
12 months ago
Dessalines 63d3759c48 Version 0.18.0 12 months ago
Dessalines cb3b9b1a66 Version 0.18.0-rc.8 12 months ago
Dessalines 1f1c0ad17a
Revert "feat: re-added captcha checks (#3249)" (#3288)
This reverts commit 8a086c8240.
12 months ago
Dessalines dce79b83bf
Fixing removed posts showing. Fixes #2875 (#3279)
* Fixing removed posts showing. Fixes #2875

* Fixing clippy.
12 months ago
Kresten Laust 39572e1c3e
Reversed requirement question logic (#3283)
* Reversed requirement question logic

* Changed required state to 'true'
12 months ago
TKilFree 8a086c8240
feat: re-added captcha checks (#3249) 12 months ago
Vijay Ramesh 418bca78e1
Merge branch 'main' into clear_deleted_posts_comments 12 months ago