Commit Graph

47 Commits

Author SHA1 Message Date
c6120e5f68 🎨 Make the parser modular
- Move some DSB related functions from parser/index to parser/dsbmobile
- Make the dsb parser a fileProvider with the DSBClient class
- Initialize the parser with a fileProvider and documentParser instance
2023-06-02 16:59:20 +02:00
54fa25f3dd 🐛 Fix crash when trying to renew session 2023-06-02 14:23:40 +02:00
8d910118f7 ⬆️ Update dependencies 2023-06-02 14:19:23 +02:00
b254847e74 🐛 Renew session tokens on api requests 2023-01-12 23:36:57 +01:00
00c2ac9a56 Display times on the timetable 2023-01-03 00:21:08 +01:00
7f51e29e76 🔧 Generate jsconfig with npx jsconfig.json 2023-01-02 16:34:01 +01:00
e2e3113b5b ♻️ Rework authentication
- Move login endpoint `/login` to `/auth/login`
- Add logout route `/auth/logout`
- Add `/api/token` endpoint and `?token=` query parameter for auth
- Refactor `auth.js`
2023-01-01 17:11:42 +01:00
568bfb9782 ♻️ Refactor backend 2022-11-16 19:03:32 +01:00
3666492e90 ⬆️ Upgrade dependencies 2022-11-16 18:16:17 +01:00
4346aa23c5 Implement day navigation gestures with Swiper.js 2022-09-11 20:40:08 +02:00
8d9bcee279 Only use substitutions of first day in file 2022-09-04 22:04:01 +02:00
fa9de85eed 🚑 Fix parser crash if column order is different 2022-08-21 13:16:43 +02:00
6ec9e484eb ✏️ Fix typo 2022-08-21 00:53:24 +02:00
5fd7ae44fd Add "trusted" and "source" to Timetable 2022-08-21 00:50:06 +02:00
b879f48c61 ⬆️ Update dependencies 2022-08-21 00:49:21 +02:00
cc56c7ae7c ⬆️ Upgrade dependencies to the latest version 2022-06-07 12:53:14 +02:00
45f682a718 Store auth sessions in database 2022-06-02 23:18:53 +02:00
5489e6377c 🐛 Fix date parameter not accepting unix timestamp 2022-06-02 21:32:35 +02:00
5c4bf21a77 Save original teacher in substitution entries 2022-06-02 16:30:33 +02:00
50baefabfe 🐛 Fix lessons spanning over more than two lessons 2022-06-01 18:37:46 +02:00
f5795637cf 🛂 Disable auth if no password is set 2022-05-19 23:46:33 +02:00
4150766483 🔇 Stop logging unchanged substitutions 2022-05-19 21:51:47 +02:00
9fad079102 ♻️ Refactor backend and add comments 2022-05-19 00:22:55 +02:00
64196eeab2 Use Vue-based login page 2022-05-05 14:39:41 +02:00
7091cfddef Make session cookie last "forever" 2022-05-04 20:17:58 +02:00
b358796c04 🐛 Fix substitutions spanning over lessons 2022-05-04 14:35:46 +02:00
d9179cc611 🐛 Fix notes not being displayed 2022-05-04 14:34:27 +02:00
a04c7c627d 🐛 Fix missing data on deletion event 2022-05-04 14:33:52 +02:00
6261dbb04c Add basic auth functionality 2022-05-04 01:38:25 +02:00
6444f09ae3 Make history API compatible with frontend 2022-05-03 22:52:13 +02:00
96b1c0e959 Return history of future substitutions 2022-05-03 20:44:10 +02:00
aff1b5991c Return all future substitutions by default 2022-05-03 20:27:57 +02:00
b58a44392f Allow CORS 2022-05-03 20:27:04 +02:00
87e7df5f90 Update substitutions automatically 2022-05-03 18:56:00 +02:00
1c8a307815 Mark non-existent substitutions as removed 2022-05-03 18:36:07 +02:00
f1c71f6ef6 Find and handle changed substitutions 2022-05-03 17:23:12 +02:00
8a61620410 🐛 Fix comparing classes and matching some entries 2022-05-03 17:22:15 +02:00
e36c90786a Split substitution if it is longer than 1 lesson 2022-05-02 23:44:23 +02:00
b3f2ec52d4 🚧 Started working on processing of substitutions 2022-05-02 22:56:38 +02:00
9bd8132119 Add parser scripts 2022-05-02 00:47:04 +02:00
69c601ebe8 🐛 Fix typo 2022-05-01 23:58:49 +02:00
078d9f6c66 Add classes table and API enpoint 2022-05-01 23:35:21 +02:00
a47d913d6f Add timetable, substitutions and history API 2022-05-01 23:23:20 +02:00
0fbcd02169 🗃️ Add notes to database schema 2022-05-01 22:32:50 +02:00
e5f7948c46 🗃️ Add database schema 2022-05-01 20:58:27 +02:00
a7d197752f Add Prisma example 2022-05-01 17:00:38 +02:00
8da44976e1 Add express backend server 2022-05-01 16:49:45 +02:00