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
24c02
c0071a7593
Add HCB models and user associations
...
- HCB::OauthConnection for storing encrypted OAuth tokens
- HCB::PaymentAccount for user/org payment pairs
- User#can_use_indicia? and #hcb_connected? helpers
2025-12-18 14:41:15 -05:00
24c02
417c1f0e8f
Add migrations for HCB payment integration
...
- Add can_use_indicia boolean to users table
- Create hcb_oauth_connections table for storing OAuth tokens
- Create hcb_payment_accounts table for user/org pairs
2025-12-18 14:40:06 -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
24c02
53c66c2dee
FIX GD BATCH POLICY
2025-10-14 12:34:49 -04:00
24c02
03990b4018
preload more stuff when generating labels
2025-08-12 13:54:12 -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
24c02
c98a91d1f0
add max length to public api keys
2025-07-01 12:32:44 -04:00
24c02
d58e0c72d0
fix set_postage?
2025-06-27 15:49:09 -04:00
nora
a93149380e
phlex mf'in pdf! ( #125 )
2025-06-24 15:32:58 -04:00
24c02
8cd1d39734
don't break in the middle of address name
2025-06-24 14:10:37 -04:00
24c02
911c6787e0
warehouse api!
2025-06-05 17:21:56 -04:00
24c02
c405c68a7d
INITIAL GOSH DANG COMMIT :3333
2025-05-31 23:25:41 -04:00