24c02
6a2f683706
add usps:update_rates task
2025-12-18 17:10:11 -05:00
24c02
1548688119
add cui to user
2025-12-18 16:05:43 -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
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
97a1267f95
fix pacc
2025-12-18 15:05:51 -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
faa2c4644c
Add views and navigation for HCB payment accounts
...
- Payment accounts index, new, show views
- Add HCB payment link to settings navigation
2025-12-18 14:49:45 -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
Max Wofford
9dbe46bffe
Create letter template without db ( #172 )
2025-11-21 16:15:59 -08:00
Sam Liu
ee06f202a1
Merge pull request #177 from samdev-7/main
...
Add Blueprint template
2025-10-21 17:56:57 -04:00
24c02
54b145a3df
waow
2025-10-17 16:34:26 -04:00
Sam Liu
c91b963ae9
Add Blueprint template
2025-10-16 20:51:48 -04:00
24c02
53c66c2dee
FIX GD BATCH POLICY
2025-10-14 12:34:49 -04:00
24c02
0cd452ce9e
more rubber stamp support
2025-10-14 12:07:37 -04:00
Max Wofford
4c1058b57f
Fix page generation for jumpstart stickers template
2025-09-29 15:41:36 -04:00
Max Wofford
d09e669cca
Create jumpstart_stickers_template.rb
2025-09-29 11:45:43 -04:00
24c02
235d6227ee
one more newline
2025-09-23 16:49:13 -04:00
24c02
e7db15331d
add som magic happening
2025-09-23 16:46:11 -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
5074c17139
noqr?
2025-09-15 13:24:20 -04:00
24c02
e890840cca
add sinkening
2025-09-15 12:57:34 -04:00
Oliver
c7a99f8ea7
add ship mail
2025-09-08 15:19:38 -04:00
Max Wofford
d8702e143c
Add Japan to country name mapping
2025-09-01 13:31:22 -04:00
Max Wofford
6e5f5ea1ce
Add China to country name mapping
2025-09-01 12:52:15 -04:00
24c02
0b2da81f82
allow smaller font size? will that fix it?
2025-08-12 13:58:44 -04:00
24c02
03990b4018
preload more stuff when generating labels
2025-08-12 13:54:12 -04:00
24c02
bcd5bfd37c
neue tab
2025-08-06 16:03:00 -04:00
24c02
2645e5e9af
i was framed.
2025-08-06 15:37:27 -04:00
24c02
fcd0a2f355
only show backordered info on mailed packages
2025-08-05 16:25:42 -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
5dcc87a9cc
fix somf tmpl
2025-07-28 17:09:09 -04:00
24c02
66dbbb5dd0
add som fulfillment template
2025-07-28 17:00:12 -04:00
Aram
7f961a9f9e
Update geocoding_service.rb ( #147 )
2025-07-24 22:48:57 -04:00
24c02
2080bd2e24
wawa
2025-07-21 17:47:07 -04:00