Commit Graph

4435 Commits (45bed71c368fe3c72a182025505d6e1ca49bfdd9)
 

Author SHA1 Message Date
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 a57b116431 Merge branch 'comment-fix' of https://github.com/SleeplessOne1917/lemmy into comment-fix 1 year ago
SleeplessOne1917 553c5bda88 Update versions to correct version 1 year ago
Dessalines 3812c8bf81 Force update 2 1 year ago
Dessalines dc6dee61b9 Force update 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
phiresky 990445bf84 tmp tail lemmy log 1 year ago
phiresky a19b1d2606 ci 1 year ago
phiresky afde8e7576 tweak more tests 1 year ago
phiresky dff54d5e39 tweak tests more 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 7dd857e00b log result 1 year ago
phiresky 2f0ad53b60 wait longer for fed init 1 year ago
phiresky 9868065089 minor test improvement 1 year ago
phiresky d58e2e9db7 minor test improvement 1 year ago
phiresky 007f4f5319 wait on score 1 year ago
phiresky 954b3f443d fix wait 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 943b960c32 fix waits after all follow actions 1 year ago
phiresky 48496599b2 ci 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
SleeplessOne1917 7118200cab Use up to date default UI container for dev 1 year ago
SleeplessOne1917 6d02a9914c Update translation 1 year ago
SleeplessOne1917 05b1ebdc7c Fix comments created by ser not showing up 1 year ago
SleeplessOne1917 eab1862e9a Make deleted and removed comments show when they have childern 1 year ago
phiresky fc1f9c1ec3 ci 1 year ago
phiresky c86173577d fix export location 1 year ago
phiresky 7ee707e78b ci 1 year ago
phiresky b09ffa7197 instead of changing fed delays in debug mode, change them via env variable 1 year ago
phiresky dca43dcfd9 fix a bug where after an hour community follows would be overwritten completely by an incremental upgrade 1 year ago
Dessalines 4f1240487e Fixing high CPU usage on federation worker recheck. Fixes #3958 1 year 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
1 year 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>
1 year 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
1 year 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.
1 year ago
SorteKanin 4121fc4d56
Include domain in errors (#3944) 1 year ago
SorteKanin 722027ce2e
Bump ts_rs version (#3947)
Co-authored-by: Nutomic <me@nutomic.com>
1 year ago