Admin page for payout review #305

Merged
parabitdev merged 7 commits from parabit/payout-review-page into master 2025-12-11 20:48:41 +00:00
parabitdev commented 2025-12-11 16:36:30 +00:00 (Migrated from github.com)
  • closes #303
    • adds a html page for admin review of payouts
      • display pending payouts info and table
      • display failed payouts info and table
      • allow single-click download of json payout data
    • add test to make sure that page is protected identically to underlying endpoint
    • add test that accept-encoding header is respected
image
- [x] closes #303 - [x] adds a html page for admin review of payouts - [x] display pending payouts info and table - [x] display failed payouts info and table - [x] allow single-click download of json payout data - [x] add test to make sure that page is protected identically to underlying endpoint - [x] add test that accept-encoding header is respected <img width="648" height="538" alt="image" src="https://github.com/user-attachments/assets/9c67eaa2-3659-4ef1-bde6-191232fc41f9" />
parabitdev (Migrated from github.com) reviewed 2025-12-11 18:02:29 +00:00
@ -392,3 +392,3 @@
let res: Response = server.get_json_async_raw("/split").await;
let res = server.get_json_async_raw("/split").await;
assert!(!res.status().is_success());
parabitdev (Migrated from github.com) commented 2025-12-11 18:02:28 +00:00

Copied it from the test above and didn't think to verify it was even needed there. Removed from all server_with_db tests it was not needed on.

Copied it from the test above and didn't think to verify it was even needed there. Removed from all server_with_db tests it was not needed on.
parabitdev (Migrated from github.com) reviewed 2025-12-11 18:02:32 +00:00
parabitdev (Migrated from github.com) commented 2025-12-11 18:02:32 +00:00

Having both query and header gives optionality which is VERY nice to have for cases where headers can be annoying to deal with.

Having both query and header gives optionality which is VERY nice to have for cases where headers can be annoying to deal with.
Sign in to join this conversation.
No description provided.