lemmy/crates/api_common/src
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>
2023-09-18 15:44:48 +02:00
..
build_response.rs Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
comment.rs Allow filtering posts and comments by whether they were liked/disliked - fixes #3401 (#3523) 2023-08-08 11:40:28 +02:00
community.rs add new flag to api (#3363) 2023-06-27 06:45:26 -04:00
context.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
custom_emoji.rs Improve api response times by doing send_activity asynchronously (#3493) 2023-07-10 12:27:49 +02:00
lib.rs Remove SendActivity and Perform traits, rely on channel (#3596) 2023-07-19 09:49:41 -04:00
person.rs Change AddAdmin to use person_id instead of local_user_id (#3941) 2023-09-06 11:37:03 +02:00
post.rs Fix Posts List Performance + cursor-based pagination (#3872) 2023-09-18 15:44:48 +02:00
private_message.rs Allow filtering PMs by sender (#3770) 2023-08-08 11:07:41 +02:00
request.rs Add logging for pictrs uploads (#3927) 2023-09-06 09:13:30 -04:00
send_activity.rs Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
sensitive.rs Upgrade api_test deps (#2850) 2023-05-10 16:31:37 -04:00
site.rs Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 2023-09-05 05:33:46 -04:00
utils.rs Replace ammonia lib with manual html escaping (fixes #3774) (#3938) 2023-09-06 10:56:26 -04:00