lemmy/crates/api_common/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.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
community.rs Revert "Add pending, and change use specific API response for FollowCommunity…" (#2283) 2022-05-26 11:17:04 -04:00
lib.rs Add pub use for db crates in api_common (#2305) 2022-06-08 11:30:20 -04:00
person.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
post.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
request.rs Config changes, remove unused image purge function (#2343) 2022-07-11 16:38:37 -04:00
sensitive.rs Derive default for api request structs, move type enums (#2245) 2022-05-06 20:55:07 +00:00
site.rs Remove update and read site config. Fixes #2306 (#2329) 2022-06-22 20:24:54 +00:00
utils.rs Dont allow login if account is banned or deleted (fixes #2372) (#2374) 2022-07-28 23:14:07 +02:00
websocket.rs Derive default for api request structs, move type enums (#2245) 2022-05-06 20:55:07 +00:00