Commit Graph

26 Commits

Author SHA1 Message Date
Roberto Hidalgo 2c276d8fcd javascript harder 2023-10-02 19:30:56 -06:00
Roberto Hidalgo a8d18d8812 wrap async calls into promises
safari complains about bare async calls not being triggered by user action after a click
allow admins to have multiple open sessions
general webapp tweaks to background colors and button widths
2023-10-01 23:21:28 -06:00
Roberto Hidalgo 81fbcba5a0 sigh, javascript 2023-09-29 19:01:01 -06:00
Roberto Hidalgo 63da748c1b log auth errors 2023-06-16 10:00:16 -06:00
Roberto Hidalgo feb3973869 add webmanifest for public app, make timezone configurable to fix schedule hours comparison 2023-05-30 19:06:14 -06:00
Roberto Hidalgo a34457492c please the iOS gods 2023-04-16 17:03:18 -06:00
Roberto Hidalgo b768c878d6 update isNotified 2023-04-16 16:40:40 -06:00
Roberto Hidalgo 79464b08ec fix config parsing šŸ¤£ 2023-04-16 16:19:40 -06:00
Roberto Hidalgo 55df303d2b redirect on /admin, push tweaks 2023-04-16 16:00:21 -06:00
Roberto Hidalgo c75826e4c1 db migrations, push notification test 2023-04-16 15:17:36 -06:00
Roberto Hidalgo 038e09b202 lol, 64bit integer overflows are fun to debug
specially when running a multi-arch cluster and HA with poor observability. a `time.Duration` was being casted to an `int` (because I clearly have no clue of what I'm doing). All is well on 64-bit processors, but 32-bit processors choke on the very long micro-second precision int, overflow, and turn `7d`, around `604800` seconds into `-114753536` seconds, which the browser happily (and correctly) turns into a cookie sent to /dev/null. lol.
2023-02-11 12:01:16 -06:00
Roberto Hidalgo e57ebc7108 try without encoding maybe? 2023-01-04 16:07:10 -06:00
Roberto Hidalgo f558a35d3d padding? 2023-01-04 15:55:52 -06:00
Roberto Hidalgo 08f9671aaf encode as mdn tells me to 2023-01-04 14:04:37 -06:00
Roberto Hidalgo c6af2c8a98 use different webauthn for the browser 2023-01-04 13:44:20 -06:00
Roberto Hidalgo 9caab0ac94 rework cors, fix WAN origin 2023-01-04 01:08:02 -06:00
Roberto Hidalgo c4d226db22 actually test api before deploying 2023-01-04 00:30:32 -06:00
Roberto Hidalgo 96aa9b1b34 so close! 2023-01-04 00:11:17 -06:00
Roberto Hidalgo 9b75094613 even furhter sigh 2023-01-03 22:51:35 -06:00
Roberto Hidalgo 1af237bb2d sigh 2023-01-03 22:40:39 -06:00
Roberto Hidalgo 7e5dbed4f5 refactor and nice stuff 2023-01-03 22:21:49 -06:00
Roberto Hidalgo 63b9a753e8 moar webauthn and admin stuff 2023-01-03 01:40:38 -06:00
Roberto Hidalgo eee573eb47 fix webcomponent 2023-01-02 01:44:34 -06:00
Roberto Hidalgo bf7e3d7785 some user rest crud, refactor middleware, start admin 2023-01-02 00:57:17 -06:00
Roberto Hidalgo 8e844748c9 update deps 2022-12-31 23:16:25 -06:00
Roberto Hidalgo e20c05bc74 knock knock 2022-12-31 00:06:39 -06:00