Commit Graph

155 Commits

Author SHA1 Message Date
7183f467b4 ♻️ Use vite define instead of GitRevision package 2023-06-06 21:46:54 +02:00
baa4c19f1a 🐛 Default classList to an array 2023-06-06 21:07:29 +02:00
55517f6c1b ♻️ Replace relative paths with "@" alias 2023-06-06 21:02:09 +02:00
9164f56172 Support subroutes of settings 2023-06-06 19:35:02 +02:00
e416e599fa 🎨 Define data routes in router config 2023-06-06 19:32:48 +02:00
d3bfb379c4 🐛 Fix circular import in router 2023-06-05 19:45:48 +02:00
7928e4941f 🚸 🐛 Fix HMR issues & change lang without reload
- Fix HMR issues due to circular import of "language" and "i18n"
- Move i18n to seperate file
- Dynamically update language instead of doing a full page reload
2023-06-05 19:11:15 +02:00
d1910a7877 🐛 Still try loading timetable after initial fetch
If the user triggers a new data fetch
and there is no timetable data available,
the app now tries to request the timetable
again instead of just doing a partial fetch.
2023-06-04 20:05:12 +02:00
2837255552 🚸 Show infocard on loading failure 2023-06-04 19:58:03 +02:00
776a7d1a42 🐛 Correctly copy objects
- Fixes timetable data corruption on timetable group change
2023-06-04 16:34:30 +02:00
8cdf5a691c 🐛 Fix z-index of loading bar 2023-06-04 16:12:21 +02:00
a5fcd2a25d 💬 Add missing strings for loading indicator 2023-06-04 16:11:28 +02:00
626fdcb46c 🚸 Add loading indicator to timetable view 2023-06-04 16:10:54 +02:00
819e63cf31 🎨 Improve CSS around Swiper component 2023-06-04 16:04:26 +02:00
4508ba3fbd 💄 Make loading bar an overlay 2023-06-04 12:49:48 +02:00
1ad6fc5e3a ♻️ Move from .vue files to Lucide for icons 2023-06-04 00:08:30 +02:00
7b04760a7d 🚑 Fix swiperjs not working correctly after update 2023-06-03 19:49:19 +02:00
4dc83e92ce 📝 Add screenshots to README 2023-06-03 18:46:04 +02:00
16f693fff0 📝 Improve documentation 2023-06-03 14:51:09 +02:00
44f416366f 🔨 Make eslint work for nodejs in server/ 2023-06-03 14:17:38 +02:00
4ada825718 📄 License under GPL v3 2023-06-03 14:14:27 +02:00
0b9c8a5552 Migrate from DSB Mobile to BOLLE 2023-06-02 21:15:52 +02:00
d3b1bacacd Add support for BOLLE 2023-06-02 21:14:33 +02:00
68dfb7cb7c 🥅 Better error-handling on DSB request failure 2023-06-02 20:47:36 +02:00
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
0e5e693422 🧑‍💻 Add UI for generating API tokens (/token) 2023-02-20 01:03:52 +01: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
4057e4c88b 🚸 Add text if there is no entry for selected day
- Overlay if substitutions / history view is still loading
- Overlay if no substitution exists for current day
- Overlay if no history exists for current day
2023-01-02 23:07:28 +01:00
99864696f3 🐛 Make full data fetch after changing preferences 2023-01-02 22:24:33 +01:00
46657359f0 🚸 Improve substitution texts 2023-01-02 20:02:15 +01:00
ef7f755613 🐛 Fix data fetch after changing settings 2023-01-02 19:55:00 +01:00
7f51e29e76 🔧 Generate jsconfig with npx jsconfig.json 2023-01-02 16:34:01 +01:00
d22755d8c3 🚸 ♻️ Refactor store and improve UX
- Move view related functions out of the store
- Restructure the store.js file
- Improve error handling of `/check`
- Show red loading spinner if data fetch failed
- Prefetch current, next and previous day instead of only current
- Refactor some other frontend file
2023-01-01 23:09:53 +01:00
951a8c51f0 🔧 Add jsconfig file 2023-01-01 17:16:18 +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
8c8a45aae3 🚑️ Revert development changes 2022-12-10 16:13:07 +01:00
f243137145 ♻️ Refactor frontend 2022-12-10 16:10:10 +01:00
568bfb9782 ♻️ Refactor backend 2022-11-16 19:03:32 +01:00
3666492e90 ⬆️ Upgrade dependencies 2022-11-16 18:16:17 +01:00
f5884fdfe5 🔨 Add Extensions to workspace recommendations
Add Prettier and Prisma to the list of recommended VSCode extensions
2022-11-16 18:00:46 +01:00
f6e4bd2ec1 🚑 Fix last entry partially covered by bottom nav 2022-10-03 15:21:14 +02:00
2e4039cd70 Replace circular with linear loading indicator 2022-10-03 14:28:40 +02:00
257f665ce6 Add theme support 2022-10-03 12:05:44 +02:00
394d86a13a 🔨 Proxy backend server with vite 2022-10-03 11:32:17 +02:00
ae4249f1f0 🌐 Add translation for configureTimetableGroup 2022-09-30 18:00:33 +02:00
debe5025dd 🚑 Add missing calls to getDateSkippingWeekend 2022-09-30 15:42:08 +02:00
f8257f06e5 🐛 Skip weekend in navigation 2022-09-28 21:14:46 +02:00