Commit Graph

4482 Commits (e58a167d642c3b285dd25a28917ec49846ad6b35)
 

Author SHA1 Message Date
SleeplessOne1917 a57b116431 Merge branch 'comment-fix' of https://github.com/SleeplessOne1917/lemmy into comment-fix 9 months ago
SleeplessOne1917 553c5bda88 Update versions to correct version 9 months ago
Dessalines 3812c8bf81 Force update 2 9 months ago
Dessalines dc6dee61b9 Force update 9 months ago
SleeplessOne1917 671676d7e4 Remove unused import 9 months ago
SleeplessOne1917 c471692949
Merge branch 'main' into comment-fix 9 months ago
SleeplessOne1917 be961075c7 Do not filter removed and deleted comments on the backend 9 months ago
Dessalines c25734e4ca
Merge branch 'main' into add_federation_worker_index 9 months ago
Dessalines 8c419103b2 Fixing formatting. 9 months ago
Dessalines 4f85adc393
Merge branch 'main' into add_federation_worker_index 9 months ago
SleeplessOne1917 f93d08a147 Make moderators be able to see removed comments in communities they moderate 9 months ago
phiresky 990445bf84 tmp tail lemmy log 9 months ago
phiresky a19b1d2606 ci 9 months ago
phiresky afde8e7576 tweak more tests 9 months ago
phiresky dff54d5e39 tweak tests more 9 months ago
Apple Sheeple c05458adcd Sanitize registration application answer
Signed-off-by: Apple Sheeple <AppleSheeple@github>
9 months 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>
9 months ago
phiresky 7dd857e00b log result 9 months ago
phiresky 2f0ad53b60 wait longer for fed init 9 months ago
phiresky 9868065089 minor test improvement 9 months ago
phiresky d58e2e9db7 minor test improvement 9 months ago
phiresky 007f4f5319 wait on score 9 months ago
phiresky 954b3f443d fix wait 9 months ago
phiresky 9e886fba4a delay shorter 9 months ago
phiresky 88931227b0 Merge remote-tracking branch 'origin/main' into add_federation_worker_index 9 months ago
phiresky 943b960c32 fix waits after all follow actions 9 months ago
phiresky 48496599b2 ci 9 months ago
phiresky 27141553b6 fix after revert 9 months ago
phiresky 08401fc85f Revert "remove synchronous federation"
This reverts commit 2767ab4a6f.
9 months ago
Apple Sheeple b431c9bdf9 Sanitize apub post body
Signed-off-by: Apple Sheeple <AppleSheeple@github>
9 months 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>
9 months ago
SleeplessOne1917 7118200cab Use up to date default UI container for dev 9 months ago
SleeplessOne1917 6d02a9914c Update translation 9 months ago
SleeplessOne1917 05b1ebdc7c Fix comments created by ser not showing up 9 months ago
SleeplessOne1917 eab1862e9a Make deleted and removed comments show when they have childern 9 months ago
phiresky fc1f9c1ec3 ci 10 months ago
phiresky c86173577d fix export location 10 months ago
phiresky 7ee707e78b ci 10 months ago
phiresky b09ffa7197 instead of changing fed delays in debug mode, change them via env variable 10 months ago
phiresky dca43dcfd9 fix a bug where after an hour community follows would be overwritten completely by an incremental upgrade 10 months ago
Dessalines 4f1240487e Fixing high CPU usage on federation worker recheck. Fixes #3958 10 months ago
Alex Roman 6735a98d35
Async scheduler (#3949)
* fix: switch to async scheduler

* fix: pass context to scheduled tasks

* Merge remote-tracking branch 'upstream/main' into async-scheduler

* retrigger ci

* retrigger ci
10 months ago
phiresky 375d9a2a3c
Persistent, performant, reliable federation queue (#3605)
* persistent activity queue

* fixes

* fixes

* make federation workers function callable from outside

* log federation instances

* dead instance detection not needed here

* taplo fmt

* split federate bin/lib

* minor fix

* better logging

* log

* create struct to hold cancellable task for readability

* use boxfuture for readability

* reset submodule

* fix

* fix lint

* swap

* remove json column, use separate array columns instead

* some review comments

* make worker a struct for readability

* minor readability

* add local filter to community follower view

* remove separate lemmy_federate entry point

* fix remaining duration

* address review comments mostly

* fix lint

* upgrade actitypub-fed to simpler interface

* fix sql format

* increase delays a bit

* fixes after merge

* remove selectable

* fix instance selectable

* add comment

* start federation based on latest id at the time

* rename federate process args

* dead instances in one query

* filter follow+report activities by local

* remove synchronous federation

remove activity sender queue

* lint

* fix federation tests by waiting for results to change

* fix fed test

* fix comment report

* wait some more

* Apply suggestions from code review

Co-authored-by: SorteKanin <sortekanin@gmail.com>

* fix most remaining tests

* wait until private messages

* fix community tests

* fix community tests

* move arg parse

* use instance_id instead of domain in federation_queue_state table

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: SorteKanin <sortekanin@gmail.com>
10 months ago
Nutomic 3b67642ec2
Add ts(skip) attributes to fix js client code generation (#3952)
* Add ts(skip) attributes to fix js client code generation

* use feature flag
10 months ago
Dessalines 9785b20843
Adding a scaled sort, to boost smaller communities. (#3907)
* Adding a scaled sort, to boost smaller communities.

- Previously referred to as *best* .
- Fixes #3622

* Fixing scheduled task update.

* Converting hot_rank integers to floats.

* Altering hot_rank psql function to default to zero after a week.

* Setting scaled_rank to zero, where hot_rank is zero.

* Adding image_upload table.
10 months ago
SorteKanin 4121fc4d56
Include domain in errors (#3944) 10 months ago
SorteKanin 722027ce2e
Bump ts_rs version (#3947)
Co-authored-by: Nutomic <me@nutomic.com>
10 months ago
Nutomic 71d61138bc
Replace ammonia lib with manual html escaping (fixes #3774) (#3938)
* Replace ammonia lib with manual html escaping (fixes #3774)

* prettier

* clippy

* remove sanitize unit test

* fix tests

* fix schema
10 months ago
Anon fe3ebea95a
Add logging for pictrs uploads (#3927)
* Add logging for pictrs uploads

* cleanup
10 months ago
Dessalines 797d26fdf4
Change AddAdmin to use person_id instead of local_user_id (#3941)
- Front ends don't have easy access to local_user_id on moddable
  items like comments and posts.
10 months ago