lemmy/crates/api/src
Dessalines 9c3efe32e7
First pass at adding comment trees. (#2362)
* First pass at adding comment trees.

- Extracted comment replies into its own table.
- Added ltree column to comment
- Added parent_id param to GetComments to fetch a tree branch
- No paging / limiting yet

* Adding child_count to comment_aggregates.

* Adding parent comment update counts

* Fix unit tests.

* Comment tree paging mostly done.

* Fix clippy

* Fix drone tests wrong postgres version.

* Fix unit tests.

* Add back in delete in unit test.

* Add postgres upgrade script.

* Fixing some PR comments.

* Move update ltree into Comment::create

* Updating based on comments.

* Fix send soft fail.
2022-07-30 05:55:59 +02:00
..
comment First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
comment_report Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
community Fix a few form options for diesel. Fixes #2287 (#2376) 2022-07-29 15:04:21 +02:00
local_user First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
post Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
post_report Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
private_message Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00
site First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
lib.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
websocket.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00