78 Commits

Author SHA1 Message Date
etiennecollin
1e302e5c2c docs: replaced environment variable table 2025-09-07 20:20:37 -04:00
etiennecollin
d6e11f406c docs: improved readme security warnings 2025-09-07 19:05:59 -04:00
Etienne Collin
ef1e7a780e Merge pull request #8 from etiennecollin/feat/kiosk-mode
Release 1.4.0
1.4.0
2025-09-07 18:43:02 -04:00
etiennecollin
9084d2ef3e chore: updated compose for new recommended variables 2025-09-07 18:39:45 -04:00
etiennecollin
492e71fcc3 feat: restrict guest subnetwork access 2025-09-07 18:39:45 -04:00
etiennecollin
89a1421efb fix: ignore expired rolling vouchers on check 2025-09-07 17:17:35 -04:00
etiennecollin
a83be957df docs: updated readme with kiosk information 2025-09-07 17:09:41 -04:00
etiennecollin
74e824f834 refactor: cleanup of print page 2025-09-07 16:53:29 -04:00
etiennecollin
dacd6a9a5c refactor: voucher cards and voucher status 2025-09-07 15:54:24 -04:00
etiennecollin
b81efc3c87 style: removed interactive button text 2025-09-07 15:13:23 -04:00
etiennecollin
404d35b437 feat: improved welcome page 2025-09-07 15:10:32 -04:00
etiennecollin
fbff084818 fix: handle unavailable QR on kiosk page 2025-09-07 14:50:41 -04:00
etiennecollin
a8288d785d feat: added QR code to kiosk page 2025-09-07 14:37:44 -04:00
etiennecollin
d14e940563 refactor: made WiFi Qr code component modular 2025-09-07 14:34:51 -04:00
etiennecollin
14b3b408ea fix: some devices do not have the crypto.randomUUID() function 2025-09-07 14:10:26 -04:00
etiennecollin
7dd8218867 chore: renamed main <div> to <main> and minor tweaks 2025-09-07 13:27:14 -04:00
etiennecollin
c9e85d5172 fix: URL encoding for API request 2025-09-07 13:08:53 -04:00
etiennecollin
ce6c92edf4 feat: rolling vouchers daily purge 2025-09-07 13:08:53 -04:00
etiennecollin
486f384409 refactor: cleanup of backend 2025-09-07 11:13:05 -04:00
etiennecollin
04a6508554 fix: modal close button size and position 2025-09-07 02:54:06 -04:00
etiennecollin
f799a8575e chore: cleanup of tailwind utilities 2025-09-07 02:54:06 -04:00
etiennecollin
ee6b0d6109 fix: header was too wide on small screens 2025-09-07 02:54:06 -04:00
etiennecollin
b8a7ca808b fix: handle SSE reconnections 2025-09-07 02:54:06 -04:00
etiennecollin
562a314fc8 fix: updates work accross clients
Fixed issue where custom window events only worked within single browser
tabs. Implemented SSE with singleton pattern to broadcast updates across
all open tabs and users when voucher operations occur.

- Added SSE manager with globalThis singleton for cross-process
persistence
- Created server action to broadcast events via SSE after voucher
operations
- Updated client API calls to trigger server action notifications
- SSE automatically triggers existing vouchersUpdated window events
2025-09-07 02:54:06 -04:00
etiennecollin
4dddbe9b70 style: commenting and changed component names 2025-09-07 02:54:06 -04:00
etiennecollin
0b22b2277e feat: added frontend support for kiosk mode
- In the middleware, we pass the IP of the client updating the rolling
voucher to prevent other updates by reloading the page. In the future,
we should use the MAC address...
2025-09-07 02:54:06 -04:00
etiennecollin
7017308db9 chore: ignore runtime-config.js 2025-09-07 02:54:06 -04:00
etiennecollin
c639d7ce22 feat: added backend support for rolling vouchers 2025-09-07 02:54:06 -04:00
etiennecollin
1f534b45c3 fix: added connection retry for site-id 1.3.1 2025-08-22 13:27:51 -04:00
etiennecollin
ad42110722 chore: removed unused RenderInWindow file 1.3.0 2025-08-19 20:45:13 -04:00
Etienne Collin
5807162b25 Merge pull request #6 from etiennecollin/feat/printing
v1.3.0
2025-08-19 20:38:35 -04:00
Etienne Collin
ef451a4f0f Update issue templates 2025-08-20 00:31:33 +00:00
Etienne Collin
9f6edd1766 Update issue templates 2025-08-20 00:27:04 +00:00
etiennecollin
4b1c030268 refactor: removed "use client" from some components 2025-08-19 04:01:07 -04:00
etiennecollin
88bfa137e3 chore: bumped dependencies 2025-08-19 03:57:02 -04:00
etiennecollin
c74b682b00 feat: bulk printing of vouchers 2025-08-19 03:56:50 -04:00
etiennecollin
8f8fc49ba8 feat: basic printing of vouchers
Added a global context for the WiFi config.
2025-08-18 19:33:43 -04:00
etiennecollin
fdeb429c5a docs: improved template compose file and environment variables documentation 2025-08-16 23:14:26 -04:00
etiennecollin
4bc0c8b467 chore: removed release_docker script
Releases are now entirely managed by a github action.
2025-08-16 22:59:40 -04:00
etiennecollin
84b03faa9b feat: added image build cache to workflow 2025-08-16 22:40:48 -04:00
etiennecollin
ca94b4ce4d fix: unifi controller using http returns different response format
Closes sub issue of #3.
1.2.2
2025-08-16 22:20:51 -04:00
etiennecollin
0f0a0cc51a fix: allow using self-signed certs
Closes https://github.com/etiennecollin/unifi-voucher-manager/issues/3
1.2.1
2025-08-16 10:03:35 -04:00
Etienne Collin
40edea1d74 fix: readme title 2025-08-14 18:16:19 +00:00
etiennecollin
0c898b3682 fix: interactive styling 1.2.0 2025-08-14 14:03:10 -04:00
Etienne Collin
c7d9f6cc56 Merge pull request #4 from etiennecollin/feat/qr-code
Release 1.2.0
2025-08-14 13:33:52 -04:00
etiennecollin
603a0c11b2 fix: removed date formatting as it is done in the backend 2025-08-14 13:33:52 -04:00
etiennecollin
34f9ebd098 refactor: do not hardcode valid types 2025-08-14 13:33:52 -04:00
etiennecollin
83a39b3a37 feat: accept hidden boolean as true/false or 1/0 and default to false 2025-08-14 13:33:52 -04:00
etiennecollin
339e7bbc0a feat: replaced QR text button with small QR icon 2025-08-14 13:33:38 -04:00
etiennecollin
12a1b06d8a fix: tabs offset from top follows header height 2025-08-14 13:33:38 -04:00