24c02
433597368b
zenv item sync for admins?
2026-01-15 17:53:50 -05:00
24c02
8732add41b
dammit
2025-12-31 12:36:49 -05:00
24c02
939aa09b8b
fix oauth2 token loss?
2025-12-30 13:07:14 -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
cc19ab2bb0
lol, lmao
2025-12-19 20:27:12 -05:00
24c02
665bc1dcd2
disallow hq-usps-ops on payment accounts
2025-12-18 17:11:39 -05:00
24c02
df01c91baa
waoaw
2025-12-18 15:57:40 -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
e5132db647
more acct requirements
2025-12-18 15:08:50 -05:00
24c02
97a1267f95
fix pacc
2025-12-18 15:05:51 -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
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
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