lemmy/crates/api_common/src
Dessalines 4e12e25c59
Adding admin purging of DB items and pictures. #904 #1331 (#1809)
* First pass at adding admin purge. #904 #1331

* Breaking out purge into 4 tables for the 4 purgeable types.

* Using CommunitySafe instead in view

* Fix db_schema features flags.

* Attempting to pass API key.

* Adding pictrs image purging

- Added pictrs_config block, for API_KEY
- Clear out image columns after purging

* Remove the remove_images field from a few of the purge API calls.

* Fix some suggestions by @nutomic.

* Add separate pictrs reqwest client.

* Update defaults.hjson

Co-authored-by: Nutomic <me@nutomic.com>
2022-06-13 19:15:04 +00:00
..
comment.rs Derive default for api request structs, move type enums (#2245) 2022-05-06 20:55:07 +00: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 Derive default for api request structs, move type enums (#2245) 2022-05-06 20:55:07 +00:00
post.rs Embed Peertube videos (#2261) 2022-06-02 21:44:47 +00:00
request.rs Adding admin purging of DB items and pictures. #904 #1331 (#1809) 2022-06-13 19:15:04 +00:00
sensitive.rs Derive default for api request structs, move type enums (#2245) 2022-05-06 20:55:07 +00:00
site.rs Adding admin purging of DB items and pictures. #904 #1331 (#1809) 2022-06-13 19:15:04 +00:00
utils.rs Adding admin purging of DB items and pictures. #904 #1331 (#1809) 2022-06-13 19:15:04 +00:00
websocket.rs Derive default for api request structs, move type enums (#2245) 2022-05-06 20:55:07 +00:00