Commit Graph

156 Commits

Author SHA1 Message Date
Laura Hausmann 9f7aca5971
Decrease SPI frequency to 100khz 2023-07-14 23:00:46 +02:00
Laura Hausmann 0d12b201f1
Proper powerdown command 2023-07-05 23:54:24 +02:00
Lilian ab3e73c389
Fix button layout on edit user page 2023-05-22 14:21:46 +02:00
Lilian 98be7a1ba0
Fix search? 2023-05-21 00:46:39 +02:00
Lilian 1a66dbd41f
Remove redundant nav from navbar
Add current location to navbar
Remove giant header on edit user page
2023-05-21 00:25:58 +02:00
Lilian 7409c4e948
Minor layout tweaks, comments, css cleanup 2023-05-21 00:25:54 +02:00
Lilian 7caf9aec8a
Improve layout of main page on small viewports 2023-05-21 00:25:48 +02:00
Laura Hausmann be957242f6
Improve EditUser card link auto refresh 2023-05-20 01:00:31 +02:00
Laura Hausmann dfbece632c
Auto refresh index page without dropping form input 2023-05-20 00:57:00 +02:00
Laura Hausmann ce319914e6
Redirect back to index after inactivity 2023-05-20 00:49:01 +02:00
Laura Hausmann da653053cd
Add kiosk mode 2023-05-20 00:24:20 +02:00
Laura Hausmann 27bb6a4bc6
Add magic card identifier '@username' for transaction and balance api calls 2023-05-19 23:50:49 +02:00
Laura Hausmann 9ba88decfb
Cleanup code 2023-05-19 23:42:53 +02:00
Laura Hausmann 843afb926d
Enable swagger in production 2023-05-19 23:38:38 +02:00
Laura Hausmann 335822966e
Fix deletion of user 2023-05-19 23:28:30 +02:00
Laura Hausmann e5e1c344dc
Make EditUser redirects more useful 2023-05-19 23:16:38 +02:00
Lilian f377205532
improve contrast 2023-05-19 23:04:04 +02:00
Lilian 7031b6ff4a
Web UI refresh 2023-05-19 22:54:07 +02:00
Laura Hausmann 5ee9b802ea
Backup database before deployment 2023-05-19 22:43:11 +02:00
embr d1d8d795c0 deploy.sh: the afrapay user can sudo now 2023-05-19 22:10:26 +02:00
embr 8c435a130b deploy.sh: don't hardcode username + IP 2023-05-19 21:44:59 +02:00
embr 4175bbca99 deploy.sh: more portable interpreter + safety flags
This works on platforms that don't put bash there, and doesn't try to ship a broken build if it fails.
2023-05-19 21:44:09 +02:00
Laura Hausmann 74ffce7b6d
Remove cards column 2023-05-19 20:03:45 +02:00
Laura Hausmann 63e261c9be
Option to compile without buzzer support 2023-05-19 19:43:51 +02:00
Laura Hausmann b44e7c300d
Update card detection logic 2023-05-19 19:02:01 +02:00
Laura Hausmann c389d0c440
Remove ov-chipkaart special handler 2023-05-19 16:57:38 +02:00
Laura Hausmann 19f7075e8c
Remove unreliable card type detections 2023-05-19 16:45:19 +02:00
Laura Hausmann b665d13184
Add card type detection & display 2023-05-19 04:35:26 +02:00
Laura Hausmann 6c1aa7a445
Make balance db update async 2023-05-18 23:50:01 +02:00
Laura Hausmann dfcfd3b5cb
Add basic card/reader type identification 2023-05-18 23:42:54 +02:00
Laura Hausmann 15215f02d0
Add deposit functionality 2023-05-18 23:04:50 +02:00
Laura Hausmann 49c26b7ed4
Debounce button 2023-05-18 22:27:20 +02:00
Laura Hausmann 0b1e6f069c
Add 2€ price level 2023-05-18 22:19:56 +02:00
Laura Hausmann 4c928fcd5b
Add deploy script 2023-05-18 21:56:45 +02:00
Laura Hausmann 2f90af21ba
Auto detect card type 2023-05-18 21:54:51 +02:00
Laura Hausmann cce63b8d87
Only show last three digits for 125khz tokens 2023-05-18 21:42:14 +02:00
Laura Hausmann 67a2c51a1b
Add balance override to EditUser 2023-05-16 23:35:09 +02:00
Laura Hausmann babb809019
Don't boot if PN532 is not detected 2023-05-16 02:31:28 +02:00
Laura Hausmann 2e46344757
Fix PN532 debug calls 2023-05-16 02:31:08 +02:00
Laura Hausmann 075062d26d
Fix typo 2023-05-16 01:06:12 +02:00
Laura Hausmann d0624f8b26
Fix culture 2023-05-16 00:26:57 +02:00
Laura Hausmann 6f5439d1b9
Emit suica beeps on FeliCa touch 2023-04-22 16:28:26 +02:00
Laura Hausmann faa7d29451
Display fake yen balance properly 2023-04-22 15:28:25 +02:00
Laura Hausmann 70c3499e02
Japan mode 2023-04-22 15:10:26 +02:00
Laura Hausmann 58d04bbed7
Reset timer when toggling pn532 nfc mode 2023-04-22 03:43:14 +02:00
Laura Hausmann 1f9bc1b7d3
Don't reset mode on pn532 rescan 2023-04-22 03:39:55 +02:00
Laura Hausmann 23dfc31c74
Fix timer not being set correctly for unstable identifier error screen 2023-04-22 03:39:41 +02:00
Laura Hausmann 9fe4ee9862
Implement stub methods for the other card reader types 2023-04-22 03:13:28 +02:00
Laura Hausmann f29a8ed4fd
Remove redundant HSPI pins from PN532 constructor 2023-04-22 03:10:58 +02:00
Laura Hausmann 9b2818f11b
Add FeliCa toggle button 2023-04-22 03:08:11 +02:00