Commit Graph

951 Commits (b7d570cf3575602c75be72e993aa37aca8024718)

Author SHA1 Message Date
Nutomic b7d570cf35
Make input length checks consistent with HTML maxlength attribute (#4009)
* Make input length checks consistent with HTML maxlength attr (fixes #3688)

* ci

* Extricating min and max length checks (#4018)

* revert string change

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
Dessalines a5b8583aab Version 0.19.0-beta.7 1 year ago
Nutomic 0115613f90
Specify password length limits in error (fixes #3284) (#4007)
* Specify password length limits in error (fixes #3284)

* convert to comment
1 year ago
Nutomic 6950dd90e5
Return HTTP status 503 to all requests during startup (fixes #3780) (#4005)
* Return HTTP status 503 to all requests during startup (fixes #3780)

* add message

* fmt

* remove err

* dont run startup server if http disabled

* ci
1 year ago
Nutomic 626c7ebc85
Handle empty reason for registration application denial (fixes #3485) (#4008)
* Handle empty reason for registration application denial (fixes #3485)

* clippy

* clippy
1 year ago
Nutomic 50b7322ff3
Mention max length for site name in config (fixes #3006) (#4010)
* Mention max length for site name in config (fixes #3006)

* ci
1 year ago
Nutomic d45a2a6441
Increase timeout for image upload to 30s (fixes #3920) (#3998) 1 year ago
Nutomic 210c470ebd
Notify admin about registration application after email verification (fixes #3024) (#3995) 1 year ago
Nutomic 9bb99bec5e
Increase default database connections (fixes #3394) (#3994) 1 year ago
Dessalines 9275041f42 Version 0.19.0-rc.1 1 year ago
Nutomic 50589115e0
Fix federation of admin actions (fixes #3980) (#3988)
* Fix federation of admin actions (fixes #3980)

* clippy

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
1 year ago
SleeplessOne1917 bee6b7a1bb Update translations 1 year ago
SleeplessOne1917 13b20b0502 Address PR feedback 1 year ago
SleeplessOne1917 ed8dae99f1 Merge branch 'main' into bearer-token 1 year ago
SleeplessOne1917 37655f0f18 chore: Run rust format 1 year ago
SleeplessOne1917 519e800b33 feat: Replace ad hoc auth header with internet standard bearer token
auth header
1 year ago
Dessalines b16661a17d
Merge branch 'main' into comment-fix 1 year ago
phiresky 5941dc2924 Merge remote-tracking branch 'origin/main' into add_federation_worker_index 1 year ago
phiresky 2c283d90ca Revert "Revert "re-remove debug comments""
This reverts commit 6d519ef376.
1 year ago
phiresky dec25f9ee8 ensure overlap 1 year ago
phiresky 6d519ef376 Revert "re-remove debug comments"
This reverts commit ae37ca0137.
1 year ago
Nutomic f858d8cbce
Remove explicit auth params (#3946)
* Remove explicit auth params (ref #3725)

Only take auth via header or cookie. This requires a new version
of lemmy-js-client for api tests to pass.

* rework api_crud

* remove remaining auth params, move logic to session middleware

* fmt, fix test

* update js client

* remove auth param from api tests

* Pass auth as header

* add !

* url vars, setHeader

* cleanup

* fmt

* update

* Updating for new lemmy-js-client.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
SleeplessOne1917 bb552d7659
Merge branch 'main' into comment-fix 1 year ago
phiresky 2dbaf67b7c
Merge branch 'main' into add_federation_worker_index 1 year ago
phiresky ae37ca0137 re-remove debug comments 1 year ago
phiresky a808d3208a use max(id) instead of seq max value to prevent uncommitted transactions from causing skipped activities 1 year ago
Nutomic 22608ae983
Rework the way 2FA is enabled/disabled (fixes #3309) (#3959)
* Rework the way 2FA is enabled/disabled (fixes #3309)

* postgres format

* change algo to sha1 for better compat

* review comments

* review

* clippy

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
phiresky 3d649e1d3e remove synchronous federation flag 1 year ago
phiresky 1a0c866b51 logging temporary 1 year ago
Dessalines 77b2d236b9
Forgot to add ts export to pagination cursor. (#3971) 1 year ago
phiresky a59a94492d more debug log 1 year ago
phiresky 78a8a7b8b7 clippy 1 year ago
phiresky 2e7d2d1956 wait for post api test function, better announce activity id 1 year ago
Nutomic 50f81cf157
User can block instances (fixes #2397) (#3869)
* User can block instances (fixes #2397)

* update comments

* review comments

* use route

* update

* add api test

* update tests

* fix

* fix test

* ci

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago
Dessalines 89b7c981f5
Fixing GetPostsResponse serialization. (#3967) 1 year ago
SleeplessOne1917 671676d7e4 Remove unused import 1 year ago
SleeplessOne1917 c471692949
Merge branch 'main' into comment-fix 1 year ago
SleeplessOne1917 be961075c7 Do not filter removed and deleted comments on the backend 1 year ago
Dessalines c25734e4ca
Merge branch 'main' into add_federation_worker_index 1 year ago
Dessalines 8c419103b2 Fixing formatting. 1 year ago
Dessalines 4f85adc393
Merge branch 'main' into add_federation_worker_index 1 year ago
SleeplessOne1917 f93d08a147 Make moderators be able to see removed comments in communities they moderate 1 year ago
Apple Sheeple c05458adcd Sanitize registration application answer
Signed-off-by: Apple Sheeple <AppleSheeple@github>
1 year ago
Apple Sheeple 5fff7504e5 Reject registration application if sanitizing the username modifies it
This removes the possibility of using a mix of sanitized and
 non-sanitized values for `username` in code.

Signed-off-by: Apple Sheeple <AppleSheeple@github>
1 year ago
phiresky 9e886fba4a delay shorter 1 year ago
phiresky 88931227b0 Merge remote-tracking branch 'origin/main' into add_federation_worker_index 1 year ago
phiresky 27141553b6 fix after revert 1 year ago
phiresky 08401fc85f Revert "remove synchronous federation"
This reverts commit 2767ab4a6f.
1 year ago
Apple Sheeple b431c9bdf9 Sanitize apub post body
Signed-off-by: Apple Sheeple <AppleSheeple@github>
1 year ago
phiresky 544d30f0d4
Fix Posts List Performance + cursor-based pagination (#3872)
* add token-based pagination + fast subscribed post view

* add migrations

* fix failing heuristic

* revert

* output pagination token as next_page, fix off-by-one, restructure

* more cleanup

* clean

* format sql

* fix comment

* fix tests

* e

* empty

* move last page thing

* restructure a bit for readability

* rename page_cursor

* update for scaled sort

* fix

* sql format

* fix

* get rid of macros

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
1 year ago