Commit Graph

75 Commits

Author SHA1 Message Date
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
Araozu
adae0bd028 Work on online classroom user creation 2023-10-03 17:55:58 -05:00
Araozu
816e26b790 Link classroom user id to a person 2023-10-03 11:43:30 -05:00
Araozu
b7684e193b [BE] Restore working state 2023-10-03 10:07:38 -05:00
Araozu
9007994fc1 [Broken][BE] Attempt to refactor register creation 2023-10-02 22:17:51 -05:00
Araozu
659f2483fb Fix pnpm lock 2023-10-02 21:39:13 -05:00
Araozu
367bf1e62a [FE] Refactor register list: spinner & error msg 2023-10-02 21:19:46 -05:00
Araozu
2fb6ddc5f6 [FE] Add spinner to person search 2023-10-02 21:00:35 -05:00
Araozu
943875bd0d Add axios. Refactor search person 2023-10-02 20:47:09 -05:00
Araozu
3d60f11f43 [BE] Replace once_cell with RwLock. Fix classroom empty users error 2023-10-02 11:24:19 -05:00
Araozu
525c72a9f6 [FE] Improve UI for classroom 2023-10-02 11:22:38 -05:00
Araozu
4d70e7c428 [BE] Correctly get & store online classroom cookie 2023-09-30 12:22:55 -05:00
Araozu
495c60c323 [BE] Broken scrappin with reqwest 2023-09-30 11:16:20 -05:00
Araozu
8c1883d5dd [BE] Parse HTML and get users from online classroom 2023-09-29 17:12:58 -05:00