24 Commits

Author SHA1 Message Date
Stefano Assenzo
a945d9e72b
Upload all document on archive collection 2023-01-22 13:44:00 +00:00
Stefano Assenzo
bf1f7bbf9b
Now loads teachers and school subjects correctly - I rearranged the JSON in preparation for the Discord bot. 2023-01-22 13:35:13 +00:00
Stefano Assenzo
8b65584ac3 Now it checks if the file has already been downloaded and if it is an .xlsx, and automatically starts the automatic generation of the school schedule 2023-01-14 16:36:29 +00:00
Stefano Assenzo
0f8a83c9c5 Now before uploading tasks to MongoDB check if they have already been uploaded 2023-01-14 15:23:00 +00:00
Stefano Assenzo
e4a7000399 Reoder the check homework, so now in more tidy 2023-01-14 12:48:04 +00:00
Stefano Assenzo
85c669be38 Delete my test file (ops i accidently upload the file with the other commit) 2023-01-13 20:39:37 +00:00
Stefano Assenzo
092e3c4f84 New structure JSON for DB and split date (no current test) 2023-01-13 20:37:18 +00:00
Stefano Assenzo
0306dc700f Now it works correctly and loads everything to the database- TO-DO: Create the api for the homework school and add the various controls before adding the homework. 2023-01-10 16:05:59 +00:00
Stefano Assenzo
8b3ce90566 So now i send all homework data to database (MongoDB) 2023-01-08 18:28:41 +00:00
Stefano Assenzo
073ccd5dfe Add publication date homework 2023-01-08 17:47:35 +00:00
Stefano Assenzo
dc06dbc3c2 Now the script can even take the school subject from Nuvola 2023-01-08 17:00:51 +00:00
Stefano Assenzo
f4341ea442 It finally takes homework automatically, I just have to enter the dates and upload them to the database - I started a very basic but still very broken login system. 2023-01-08 15:33:16 +00:00
Stefano Assenzo
7c30cf9b8f Fixed the .env and started Nuvola web-scraping to take homework 2023-01-07 11:38:10 +00:00
Stefano Assenzo
607d371534 Reordering comments and functions 2023-01-06 18:33:24 +00:00
Stefano Assenzo
02afe8bace I fixed the email auto check and added the comments 2023-01-06 18:29:07 +00:00
Stefano Assenzo
af806c4f16 Now it works correctly, I just have to rename the file it downloads and I'm done 2023-01-05 11:40:54 +00:00
Stefano Assenzo
bced0ee355 Now I can download and convert the file automatically, but the automatic generation of the school timetable doesn't work correctly at the moment 2023-01-04 16:33:28 +00:00
Stefano Assenzo
6f05b82a77 I just reordered the files 2022-12-28 15:06:45 +00:00
Stefano Assenzo
6b7f0f86b6 Now it reads my emails and writes down the sender and content, I just need to implement that it only reads emails sent from my school and downloads the attachment to pass to 'update_time_school.py' which will do the rest of the work. 2022-12-28 15:04:42 +00:00
Stefano Assenzo
74d1ef52c6 Finaly fix auto update school time table and fix API for school time table! 2022-12-27 17:19:04 +00:00
Stefano Assenzo
f9b9de9a3d I moved some stuff around and fixed the api (I'm stupid) 2022-12-27 16:25:33 +00:00
Stefano Assenzo
0cd208930b Now the API is ready and everything works correctly 2022-12-24 16:38:40 +00:00
Stefano Assenzo
a0c2b9382e Change name variable 2022-12-23 16:00:07 +00:00
Stefano Assenzo
40ec324e02 So now i generate automaticaly the time school 2022-12-23 15:57:48 +00:00