Commit Graph

177 Commits

Author SHA1 Message Date
Stefano Assenzo c83251c4d4
Remove inutil comments 2023-02-16 15:42:05 +00:00
Stefano Assenzo a3e27ec3d5
Now there is no need to take a screenshot every time 2023-02-16 15:41:02 +00:00
Stefano Assenzo 4e892bc95a
Now the api is no longer needed for the site, but can be used for future projects 2023-02-12 14:26:12 +00:00
Stefano Assenzo 0033914918
I forgot to put that it shows if le3 is busy or not 2023-02-12 14:21:42 +00:00
Stefano Assenzo 6175b33852
Simple homepage (WIP) 2023-02-12 13:22:33 +00:00
Stefano Assenzo a711bff703
Remove inutil file 2023-02-12 12:40:53 +00:00
Stefano Assenzo d7374d6f9d
Reorder some file 2023-02-12 11:44:29 +00:00
Stefano Assenzo ef80a64b12
Some test 2023-02-12 11:39:23 +00:00
Stefano Assenzo f908f4c116
Mini bug not caused by me but by whoever writes the school timetable, because instead of writing motor activities he wrote motor activity so the script did not find the class with which we will do motor activity.
Now I fixed
2023-02-12 11:24:54 +00:00
Stefano Assenzo 3fe56893b6
Simple login and registration in Flask with MongoDB 2023-02-12 11:08:57 +00:00
Stefano Assenzo e856c71eff
Now let us know if the two electrical and electronics lab rooms are occupied or not 2023-02-10 15:40:16 +00:00
Stefano Assenzo b135312aa0
Fix little bug 2023-02-04 11:21:05 +00:00
Stefano Assenzo e987685dce
I finally finished the table, I just have to make it small enough for Whatsapp 2023-01-31 17:46:33 +00:00
Stefano Assenzo 0788b337b7
New table for school time - Little test for Whatsapp Bot 2023-01-31 16:08:05 +00:00
Stefano Assenzo 931cf9975e
So now the script send me a photo 2023-01-29 16:01:53 +00:00
Stefano Assenzo 74da1235b4
Remove comments 2023-01-29 14:36:59 +00:00
Stefano Assenzo c6b54bda37
I try to make the Discord bot with little success, at the moment I focus on something else 2023-01-29 14:27:47 +00:00
Stefano Assenzo 177374a894
Ok 2023-01-28 17:42:28 +00:00
Stefano Assenzo 3f75138d16
Reorder libraries on app.py 2023-01-28 17:41:45 +00:00
Stefano Assenzo 23ac13f5d1
Now it's all about .env - I started making Whatsapp bot 2023-01-28 17:39:21 +00:00
Stefano Assenzo 76af099702
Now send a screenshot of the timetable when you find Italian language in the school time table and I have fixed the school time table so no one has trouble reading it 2023-01-28 15:28:50 +00:00
Stefano Assenzo 14b7a724ae
Remove inutil lines of code 2023-01-27 20:30:47 +00:00
Stefano Assenzo b4eb0a0b29
Now find the classes we do PE with even though we have multiple times a week 2023-01-27 20:30:11 +00:00
Stefano Assenzo aaae780530
Small code tidying up 2023-01-27 16:33:15 +00:00
Stefano Assenzo 01f83d6171
Add style on school time table - Remove inutile lines of code 2023-01-27 16:12:10 +00:00
Stefano Assenzo 6ad24a92a7
Fix little bug and simplified use 2023-01-27 15:27:13 +00:00
Stefano Assenzo 464152de50
Try new style for table 2023-01-26 17:19:45 +00:00
Stefano Assenzo 5ef9c4f0f9
Fix JSON database MongoDB 2023-01-26 17:12:51 +00:00
Stefano Assenzo debaf06011
Create simple table inteface with school time api 2023-01-26 17:06:43 +00:00
Stefano Assenzo 5c4b983e0e
Now api school time works! 2023-01-25 17:17:17 +00:00
Stefano Assenzo 54175f01cd
Now it's possible change school time table (testing) 2023-01-25 16:41:05 +00:00
Stefano Assenzo f58b8a06c6
Add comments on the code and add a simple slash commands 2023-01-25 16:00:49 +00:00
Stefano Assenzo d07dbac7f5
Add day on message Discord bot 2023-01-25 15:54:00 +00:00
Stefano Assenzo 6dfa4e3bb3
Fix little bug on Discord bot 2023-01-25 15:51:23 +00:00
Stefano Assenzo 061d0bee7e
Merge branch 'dev' of https://github.com/assenzostefano/class-website into dev 2023-01-25 15:47:58 +00:00
Stefano Assenzo f3a75fadc0
So now the Discord bot send a message when it find a subject call Lingua Italiana - I try to fix the api for school time table 2023-01-25 15:44:38 +00:00
Stefano Assenzo 88a5bcdb33 Little test 2023-01-24 15:10:19 +00:00
Stefano Assenzo 56b021398d Now reads classrooms correctly and uploads them to MongoDB 2023-01-24 14:57:16 +00:00
Stefano Assenzo bf041c0bbb
So now the bot found School Subject Italiano and send a message 2023-01-22 16:34:33 +00:00
Stefano Assenzo bb8a5d2dbc
Fix email check 2023-01-22 13:59:47 +00:00
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 fef82d882d Remove inutil files 2023-01-14 12:51:55 +00:00
Stefano Assenzo e4a7000399 Reoder the check homework, so now in more tidy 2023-01-14 12:48:04 +00:00
Stefano Assenzo 4fcfa71b49 Add library on requirements.txt 2023-01-13 20:45:26 +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 cfb9c229f9 Create requirements.txt (empty) 2023-01-13 16:16:57 +00:00