lemmy/crates/api/src/local_user
Dessalines 6bfbb9332d
Adding listMedia endpoint, to view all your local image uploads. (#4509)
* Adding listMedia endpoint, to view all your local image uploads.

- Fixes #4445

* Fix ts import.

* Forgot to order by published desc

* Adding an endpoint to list all images, for admins only.

* Forgot to add file.

* Add additional test.

* Use better logic for no-limit version.

* Better call sites.

* Adding another test.

* Fix tests.

* Moving list_media to /account action.

* Addressing PR comments.

* Removing pointless comment.

---------

Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
2024-03-26 12:06:11 -04:00
..
notifications Fix up convert more responses to SuccessResponse (#4066) 2023-10-19 20:15:55 -04:00
add_admin.rs Fix up convert more responses to SuccessResponse (#4066) 2023-10-19 20:15:55 -04:00
ban_person.rs When site banning a federated user, also remove their content from our local communities. (#4464) 2024-03-01 13:45:06 -05:00
block.rs Fix up convert more responses to SuccessResponse (#4066) 2023-10-19 20:15:55 -04:00
change_password.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
change_password_after_reset.rs Remove empty API responses (#3993) 2023-10-16 12:36:53 -04:00
generate_totp_secret.rs On registration, automatically set content languages from accept-language header (#4550) 2024-03-25 16:02:12 -04:00
get_captcha.rs Dont allow caching captcha response (#4381) 2024-01-19 10:41:05 -05:00
list_banned.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
list_logins.rs Add db table for login tokens which allows for invalidation (#3818) 2023-10-09 12:46:12 +02:00
list_media.rs Adding listMedia endpoint, to view all your local image uploads. (#4509) 2024-03-26 12:06:11 -04:00
login.rs Change 2FA to use hostname as issuer (fixes #4518) (#4525) 2024-03-11 16:27:05 -04:00
logout.rs Change logout endpoint to return SuccessResponse (#4121) 2023-10-31 08:41:52 -04:00
mod.rs Adding listMedia endpoint, to view all your local image uploads. (#4509) 2024-03-26 12:06:11 -04:00
report_count.rs Fixing issue with mods not being able to view reports. Fixes #4172 (#4174) 2023-11-21 16:33:49 +01:00
reset_password.rs Require verified email to reset password (#4482) 2024-02-29 09:12:45 -05:00
save_settings.rs Add a blocklist for URLs. (#4515) 2024-03-15 07:03:29 -04:00
update_totp.rs On registration, automatically set content languages from accept-language header (#4550) 2024-03-25 16:02:12 -04:00
validate_auth.rs Revert "Dont ignore errors during login (fixes #4319) (#4321)" (#4380) 2024-01-19 11:21:43 -05:00
verify_email.rs Remove empty API responses (#3993) 2023-10-16 12:36:53 -04:00