Commit Graph

4154 Commits (50ab303c42fb8fa2a0684584ca98bf5162dd3fab)
 

Author SHA1 Message Date
dull b 50ab303c42 Merge remote-tracking branch 'upstream/main' into db-traits-refactor 1 year ago
dull b 2c47ac35a0 fix 1 year ago
JP Moresmau bbca6ef6dc
Do not decrement comment score twice when removing then deleting. (#3196)
Fixes #3004

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
dull b 8f46003ebc Merge remote-tracking branch 'upstream/main' into db-traits-refactor 1 year ago
perillamint 696cca4ce4
Remove excessive content_type header configuration (#3470) 1 year ago
dull b cf827b4d22 try to make ci start 1 year ago
dullbananas 243b777384
Merge branch 'main' into db-traits-refactor 1 year ago
Dessalines 935b0bf048
Adding rest of community sorts. Fixes #3374 (#3376)
* Adding rest of community sorts. Fixes #3374

* Addressing PR comments.
1 year ago
dullbananas 37bf1843c9
Merge branch 'main' into db-traits-refactor 1 year ago
Nutomic e1494d4683
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>
1 year ago
Simon Bordeyne b8ee9315bc
Add Open links in new tab setting (#3318)
* Add Open links in new tab setting

* reorder because it fixes tests ?
1 year ago
David BELEY efe98158c0
Fix awesome-lemmy owner (#3469) 1 year ago
David BELEY 050216eed9
Add awesome-lemmy to LemmyNet? (#3413)
* Add LemmyNet/awesome-lemmy

* Delete other apps/projects from README.md
1 year ago
Nutomic cb91eedd24
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
1 year ago
Nutomic 6405761891
Mark follow as pending when subscribing to remote community (fixes #3384) (#3406) 1 year ago
Felix Ableitner fc60b82f82 Fix formatting for latest nightly (#ref 3467) 1 year ago
Nutomic 3578dab67f
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
1 year ago
drumlinish 682ca55e0c
Fix quoting of max-file in docker-compose.yml (#3442) 1 year ago
dull b 41d7c72f41 Re-run CI 1 year ago
dull b 0957e2b319 Fix stuff 1 year ago
dull b 0d9db43b0a Remove more `&mut *` 1 year ago
dull b 5db6b556cc DbConn trait 1 year ago
dull b 6846210074 Merge remote-tracking branch 'upstream/main' into db-traits-refactor 1 year ago
dull b 106c315d47 Use DbConn for CaptchaAnswer methods 1 year ago
dull b cc1a725c8a Revert "Get rid of repetitive `&mut *context.conn().await?`"
This reverts commit d2c6263ea1.
1 year ago
dull b c1c17ab63b Revert "Add blank lines under each line with `conn =`"
This reverts commit 773a6d3beb.
1 year ago
dull b 3021e2c9b8 Revert "Fix style mistakes (partial)"
This reverts commit 48a033b87f.
1 year ago
dull b 48a033b87f Fix style mistakes (partial) 1 year ago
phiresky cb28af508d
don't strip, log trace if requested (#3425) 1 year ago
Lemmus.org 810762762f
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
1 year ago
Dominic Mazzoni fcc010b5dc
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
1 year ago
dullbananas 7d3894d5dd
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
1 year ago
dull b 773a6d3beb Add blank lines under each line with `conn =` 1 year ago
dull b d2c6263ea1 Get rid of repetitive `&mut *context.conn().await?` 1 year ago
dull b 9d54354af4 Fix stuff broken by merge 1 year ago
dull b a6cbbee3c7 Merge branch 'db-traits-refactor' of https://github.com/dullbananas/lemmy into db-traits-refactor 1 year ago
dull b 2c479314ce merge 1 year ago
dull b a8adf2dfb7 a lot 1 year ago
Dessalines 3159eedd99 Version 0.18.1-rc.4 1 year ago
Dessalines 6c64cb5233
Fixing release script. (#3398)
* Fixing release script.

* Version 0.18.1-rc.2

* Removing cargo update from release script.

* Fixing topdir location.
1 year ago
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>
1 year ago
Nutomic c216153dfb
Update activitypub-federation crate to 0.4.5 (#3379)
https://github.com/LemmyNet/activitypub-federation-rust/releases/tag/0.4.5
1 year ago
Sander Saarend ec18fd9869
Fix cargo warnings (#3397) 1 year ago
c-andy-candies ffc049078e
Fix missing sorting types (#3370)
* Fix missing sorting types

* Reordered sort_type_enum
1 year ago
Jan Klass 0f91759e4d
docs(api): Add api-common info on generating TypeScript bindings (#3330) 1 year 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 
1 year 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>
1 year ago
Dessalines ad6f244b61 Version 0.18.1-rc.1 1 year 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>
1 year ago
Domenic Horner d1d90af0eb
add new flag to api (#3363) 1 year ago