Commit graph

44 commits

Author SHA1 Message Date
24c02
98ea7e3c9d now or later? 2026-01-22 15:55:04 -05:00
24c02
0bc70de3e5 allow taking amount from queue 2026-01-21 21:47:31 -05:00
nora
5e5e23868c
no mark-as-mailed unless coming from QR (#192) 2026-01-21 14:20:22 -05:00
24c02
b544ee4653 POs? 2026-01-15 18:10:35 -05:00
24c02
433597368b zenv item sync for admins? 2026-01-15 17:53:50 -05:00
24c02
f2433418af preview mode 2026-01-14 17:49:38 -05:00
24c02
939aa09b8b fix oauth2 token loss? 2025-12-30 13:07:14 -05:00
24c02
555b8e7ac3 awawa 2025-12-30 12:37:36 -05:00
24c02
9c9afb79b5 event_id >_< 2025-12-30 12:22:11 -05:00
24c02
92ef482132 move to sentry? 2025-12-29 10:39:37 -05:00
24c02
bff51d85cb include key names in revocation response 2025-12-28 21:21:02 -05:00
24c02
dfc0ae6122 actually revoke em lmao 2025-12-28 16:11:36 -05:00
24c02
2ebe149872 add revocation ctl 2025-12-28 16:07:56 -05:00
24c02
cc19ab2bb0 lol, lmao 2025-12-19 20:27:12 -05:00
24c02
3f225e0d77 fix 2025-12-19 13:23:00 -05:00
24c02
665bc1dcd2 disallow hq-usps-ops on payment accounts 2025-12-18 17:11:39 -05:00
24c02
8ba8b36e26 memos! 2025-12-18 15:43:27 -05:00
24c02
c89d3fc95b awawawa 2025-12-18 15:18:48 -05:00
24c02
b375b265b9 no destroy 2025-12-18 15:13:21 -05:00
24c02
0f8b36f7de i dunno, can you? 2025-12-18 15:10:44 -05:00
24c02
e5132db647 more acct requirements 2025-12-18 15:08:50 -05:00
24c02
958878dc18 Skip Pundit authorization for HCB payment accounts controller 2025-12-18 14:57:39 -05:00
24c02
9aea7b8ec8 Use env vars for all HCB credentials
- HCB_CLIENT_ID
- HCB_CLIENT_SECRET
- HCB_RECIPIENT_ORG_ID
- HCB_API_BASE (optional, defaults to https://hcb.hackclub.com)
2025-12-18 14:55:40 -05:00
24c02
36355e931e Fix OAuth callback URL helper name 2025-12-18 14:52:38 -05:00
24c02
85f03b60ba relative URL 2025-12-18 14:51:40 -05:00
24c02
c6458c3bd7 Use HCB_API_BASE env var instead of credentials 2025-12-18 14:50:38 -05:00
24c02
b860c9d112 Add batch-level HCB disbursement support
- HCB::BatchPurchaseService for single disbursement per batch
- Add hcb_payment_account and hcb_transfer_id to batches
- Wire into Letter::Batch#process! and batches controller
2025-12-18 14:48:22 -05:00
24c02
11c5f53074 Add HCB payment integration for indicia purchases
- USPS::IndiciumPolicy to check can_use_indicia?
- HCB::IndiciumPurchaseService for disbursement + purchase flow
- Add hcb_payment_account to letter_queues and usps_indicia
- Wire HCB payment into LettersController#buy_indicia
- Wire HCB payment into Letter::InstantQueue
2025-12-18 14:45:50 -05:00
24c02
b574d57a80 Add HCB OAuth and payment account controllers
- OAuth flow for linking HCB accounts
- CRUD for payment accounts (user/org pairs)
- Routes under /back_office/hcb/
- Use HCBV4::Client.from_credentials with proper token persistence
2025-12-18 14:42:55 -05:00
nora
b1c8b2f91a
Sign in with Hack Club for back_office users (#185)
* add HCA for back office users

* maybe better initializer?
2025-12-11 17:03:19 -05:00
24c02
f2acb68255 publiclyidentify batches 2025-12-11 16:37:22 -05:00
Max Wofford
9dbe46bffe
Create letter template without db (#172) 2025-11-21 16:15:59 -08:00
24c02
53c66c2dee FIX GD BATCH POLICY 2025-10-14 12:34:49 -04:00
24c02
8929334d31 fuckass 2025-09-15 16:44:13 -04:00
24c02
900f3b9b3a allow api lettering via indicium id 2025-09-15 15:17:40 -04:00
24c02
2645e5e9af i was framed. 2025-08-06 15:37:27 -04:00
24c02
cba8017a6f add tracking iframe! 2025-08-05 11:45:11 -04:00
nora
5da418169d
add opt-out from anonymous map (#149)
* add field & ui for map opt out

* no opters out in map data gen
2025-07-29 17:11:37 -04:00
24c02
5e659baace prefer endless defs where it makes sense 2025-07-10 16:12:50 -04:00
nora
a93149380e
phlex mf'in pdf! (#125) 2025-06-24 15:32:58 -04:00
24c02
cfad4c58a7 fix 2025-06-05 22:22:23 -04:00
24c02
911c6787e0 warehouse api! 2025-06-05 17:21:56 -04:00
24c02
1ad81bcd9f search by tracking number on publicID 2025-06-01 16:16:29 -04:00
24c02
c405c68a7d INITIAL GOSH DANG COMMIT :3333 2025-05-31 23:25:41 -04:00