Commit Graph

181 Commits

Author SHA1 Message Date
Araozu
b8296164c5 [FE][Certs] Refactor custom label to use context 2023-12-16 11:20:43 -05:00
Araozu
b3bfa4a82c [FE][Certs] Refactor courses context to its own file 2023-12-16 10:29:33 -05:00
Araozu
1feeb70af8 [FE][Certs] Fixes #16: Reject cert generation if a custom label is missing 2023-12-16 09:40:43 -05:00
Araozu
a97690c518 [FE][Certs] Replace global course list with context 2023-12-16 09:36:36 -05:00
Araozu
89dc57daa8 [FE] Cache the course list 2023-12-15 15:37:32 -05:00
Araozu
3827605a36 [BE] Set limits on DB connection lifetime 2023-12-15 15:27:25 -05:00
Araozu
fc411f4ec2 [FE][Certs] Fixes #15: Handle error of loading courses list 2023-12-15 15:26:50 -05:00
Araozu
16efa06639 [FE] Use resources & context to load courses, instead of global state 2023-12-14 17:38:14 -05:00
Araozu
1a236dc505 [FE] Fixes #25: Load cert images lazily 2023-12-14 15:30:30 -05:00
Araozu
840ed0187d [FE] Remove artificial 2s delay on register creation 2023-12-14 10:42:48 -05:00
Araozu
ad20a991e0 [BE] Log number of active/idle connections to investigate #37 2023-12-13 16:30:13 -05:00
Araozu
bc671ea789 [BE] Re-enable database pool for latency measuring 2023-12-13 15:05:17 -05:00
Araozu
39ab479ad5 [BE] Track time spent in DB to many operations 2023-12-13 14:22:16 -05:00
Araozu
f87263d9b7 [BE] Log interface time with DB 2023-12-13 12:47:32 -05:00
Araozu
ecdf900299 [BE][Certs] Batch create registers in a single SQL query 2023-12-13 12:35:17 -05:00
Araozu
ffb7518ef6 [FE] Fixes #38: Use axios. Fix error not showing on Scans 2023-12-13 09:56:44 -05:00
Araozu
ad7d224207 [BE] Use single connections instead of a Pool 2023-12-13 09:23:39 -05:00
Araozu
673cd96a01 [FE] Fixes #34, #23: Fix online username generation 2023-12-11 16:05:56 -05:00
Araozu
fd4d31e0a5 [FE] Fixes #36: Make cert presets into buttons instead of div 2023-12-11 15:59:29 -05:00
Araozu
27a088eb1e Fixes #37 2023-12-11 15:53:15 -05:00
Araozu
8e3f43a2a8 [RS-FE] Icons for navrail 2023-12-07 15:14:36 -05:00
Araozu
26b55988ec [RS-FE] Add color schemes 2023-12-07 12:47:19 -05:00
Araozu
ceca19377a [RS-FE] Begin work on sidebar 2023-12-07 12:45:13 -05:00
Araozu
6def82b452 [RS-FE] Start FE rewrite in Dioxus 2023-12-07 10:24:31 -05:00
Araozu
66de3aedc6 [BE] Remove unstable feature flag 2023-12-06 11:45:12 -05:00
Araozu
64007d39bd [BE] Remove panics from DB code 2023-12-06 11:39:31 -05:00
Araozu
4db7c19409 [BE] Fixes #21: Attempt to connect to DB on each query, if no connection is present 2023-12-06 09:50:42 -05:00
Araozu
26c5472fcf [FE][Certs] Fix LUCHA CONTRA INCENDIOS, had wrong label & n° of hours 2023-12-05 16:14:29 -05:00
Araozu
99b02f30a2 [BE][Scans] Fixes #35. Rename file when there's an error detecting a QR 2023-12-05 15:39:43 -05:00
Araozu
78ddd5a1f9 [FE][Classroom] Fixes #33: Sort generated message 2023-12-02 09:41:37 -05:00
Araozu
16910c9add [FE][Classroom] Fixes #32: Use fullname for searching for existing classroom accounts 2023-12-01 17:44:35 -05:00
Araozu
576ba579b7 [BE][Scans] Fixes #29: Don't throw error if a QR is not found 2023-11-30 14:26:43 -05:00
Araozu
cead15a33d [FE][Certs] Fix generated file name for carnets 2023-11-28 16:33:38 -05:00
Araozu
c52d4620c7 [FE][Certs] Generate carnets for machineries 2023-11-28 16:31:55 -05:00
Araozu
7706254e90 [FE][Certs] Autogenerate Extintores 2023-11-28 15:30:53 -05:00
Araozu
dae9b57710 [FE][Certs] Auto generate Minicargador & Tractor Oruga cert 2023-11-28 15:15:46 -05:00
Araozu
37045f9c79 [FE][Certs] Move button to download carnet to the main UI 2023-11-25 12:20:37 -05:00
Araozu
e00a0f7c81 Add new path, /reports 2023-11-22 12:41:56 -05:00
Araozu
571831891f [FE][Certs] Add '6 Sibia' preset 2023-11-22 12:32:41 -05:00
Araozu
853cc3eb99 [FE][Classroom] Add a warning if the expiration date is in less than a month 2023-11-22 12:00:24 -05:00
Araozu
8d8c5b0cca [FE][Classroom] Fixes #17 - Add button to increase expiry date by 2 months 2023-11-22 11:21:20 -05:00
Araozu
930c4ef56e [FE][Classroom] Fixes #19 - Show when an account is expired 2023-11-22 10:00:48 -05:00
Araozu
d966cf04a5 [FE][Scans] Fixes #24 2023-11-22 09:37:36 -05:00
Araozu
ee74e628ec [BE] Add comments 2023-11-21 17:04:13 -05:00
Araozu
b8fc1bb951 [BE][Scans] Apply thresholding before trying to detect QR codes 2023-11-21 14:53:43 -05:00
Araozu
1b7c9591ca [FE][Scans] Show message when conversion is successful 2023-11-21 14:35:23 -05:00
Araozu
9fee445ef9 [BE][Scans] Differentiate between QR not found & errors. Convert scans without QR into PDF 2023-11-21 12:56:11 -05:00
Araozu
88da49a052 [FE][Scans] Improve UI to display relevant information 2023-11-21 12:11:09 -05:00
Araozu
a1bae5e795 [BE][Scans] Disable cert. rotation 2023-11-17 15:49:43 -05:00
Araozu
42df2815c3 [BE][Scans] Delete files after conversion 2023-11-17 15:25:40 -05:00