Commit Graph

88 Commits

Author SHA1 Message Date
fernando
8fa36e00ec [BE] Fixes #39: Spawn a connection on every request rather than having a db pool 2024-01-30 16:58:24 -05:00
Araozu
b4616e0ba5 [Classroom] Disenroll user from a course 2023-12-23 10:42:34 -05:00
Araozu
54c61b8b2a [BE][Classroom] Parse & send courseid in the user courses list 2023-12-22 15:45:52 -05:00
Araozu
bc69762fb0 [Scans] Fixes #26: Generate & show a list of errors for individual scans 2023-12-22 10:49:09 -05:00
Araozu
3827605a36 [BE] Set limits on DB connection lifetime 2023-12-15 15:27:25 -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
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
99b02f30a2 [BE][Scans] Fixes #35. Rename file when there's an error detecting a QR 2023-12-05 15:39:43 -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
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
9fee445ef9 [BE][Scans] Differentiate between QR not found & errors. Convert scans without QR into PDF 2023-11-21 12:56:11 -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
Araozu
f86131d3a5 [BE] Use imagemagick instead of printpdf 2023-11-17 15:16:37 -05:00
Araozu
57f69a6096 Changes to UI 2023-11-16 17:02:22 -05:00
Araozu
16b9cecd73 Fix error with backend build in jenkins 2023-11-16 12:32:14 -05:00
Araozu
811f60fa0e [BE][Scans] Fix UI error with certs with only DNI. Add unix timestamp to the names of the PDF generated 2023-11-16 12:24:57 -05:00
Araozu
0fe2c53ffd [BE][Scans] Match records with db & convert to PDF 2023-11-16 12:06:53 -05:00
Araozu
605ee27b4f [BE] Detect QR, parse params & get data from DB 2023-11-16 10:35:38 -05:00
Araozu
9f5460f27f Scan UI changes. Rename files to be processed with unix timestamp 2023-11-14 16:39:15 -05:00
Araozu
645ad1f387 [BE] Search ESCANEOS directory for scans & get info from qr codes 2023-11-13 16:59:37 -05:00
Araozu
5939995477 Detect & read QR codes from certificate scans 2023-11-13 14:29:14 -05:00
Araozu
041d6e98d5 jenkins 2 2023-11-04 10:07:53 -05:00
Araozu
fe3541ac4c [BE] Add logging. Log /person/<dni> 2023-10-25 12:46:32 -05:00
Araozu
02e3521eb8 Fixes #13 Fix param parsing, change '1ros aux' cert length from 4 to 12 hours 2023-10-18 10:58:29 -05:00
Araozu
d474b8bb55 Fix error in SQL where a string was expected bit a number was provided
The SQL had to have quotes '', but it didn't.
This caused some DNIs that started with 0 (`09950031`) to be casted into `9950031`
2023-10-17 10:59:03 -05:00
Araozu
5f1a46747a [Classroom][BE] Fixes #8 Fix error setting expiration date 2023-10-09 09:32:02 -05:00
Araozu
34b6aab6b7 [Classroom] Show & update user's account expiration date 2023-10-07 11:04:20 -05:00
Araozu
595e2debea Bug fixes 2023-10-05 14:08:11 -05:00
Araozu
47f20b8920 Log login html response 2023-10-05 12:50:29 -05:00
Araozu
16bd38e6a7 [BE] Fix encoding of classroom credentials 2023-10-05 12:34:45 -05:00
Araozu
8dbb0cd940 [BE] Log http request responses made to the online classroom 2023-10-05 12:31:02 -05:00
Araozu
2dc1b6ba59 [Classroom][BE] Include classroom_username in the person entity. 2023-10-05 11:25:23 -05:00
Araozu
7a731ddea1 [Classroom][FE] Improve UI for courses list, messages 2023-10-04 21:11:00 -05:00
Araozu
968b69dfa6 [Classroom] Update UI when a classroom user is created 2023-10-04 17:49:37 -05:00
Araozu
f57c200163 [Classroom][FE] Request to enrollment to backend. Improve UI 2023-10-04 17:15:37 -05:00
Araozu
2f924d875c [Classroom][BE] Code for course enrollment 2023-10-04 16:54:25 -05:00
Araozu
60e461f3c0 [Classroom] Get course list for an user 2023-10-04 11:29:03 -05:00
Araozu
b5c6f9caca [FE] Fix error display for person search 2023-10-04 07:29:36 -05:00
Araozu
9ba5a71928 [BE] Create online classroom user 2023-10-04 07:06:58 -05:00