Commit Graph

121 Commits

Author SHA1 Message Date
6d4a8e760b Blur keys by default 2023-06-30 21:25:41 +02:00
757cec7438 Add key management to admin settings 2023-06-30 20:52:36 +02:00
78cec1c24f 🚸 Show Ids in timetable editor 2023-06-30 19:51:52 +02:00
0ae553cca8 🚧 Add admin api and ui for timetable management 2023-06-20 23:10:52 +02:00
0e2cc70a6b 🐛 Don't show delete button for remote timetables 2023-06-20 20:33:44 +02:00
41c0d329fb Allow updating remote timetables with permission 2023-06-20 20:22:51 +02:00
5d9317ac01 🛂 Add key-based permission system 2023-06-20 19:53:34 +02:00
1bfd156a03 🚸 Improve UX in timetable editor 2023-06-20 15:25:16 +02:00
76b7946b13 🩹 Properly center info-card component 2023-06-20 00:36:59 +02:00
cd6801d625 Implement importing and exporting of timetables 2023-06-19 23:58:17 +02:00
9afae9b2cc 🐛 Fix bugs in timetable editor
- Turn off autocorrect / spellcheck
- Prevent some browsers from jumping to the start of the text field
- Correctly handle lesson lengths
2023-06-19 16:14:10 +02:00
67ac435331 🚑 Fix scrolling issue 2023-06-19 00:20:31 +02:00
4d4a92bff3 Implement timetable editing 2023-06-18 23:43:08 +02:00
46b235ba91 🎨 Make bottomnav hiding configurable in router 2023-06-18 21:18:00 +02:00
211d1d2b2f 🎨 Make date selector modular 2023-06-18 18:18:26 +02:00
3a8ce74f53 🎨 Move lesson card to seperate component 2023-06-18 16:33:58 +02:00
956058eef9 Implement duplication and deletion of timetables 2023-06-18 15:04:51 +02:00
f19d43396c Add basic handling for local timetables 2023-06-18 14:45:12 +02:00
48364d4c59 Add support for multiple remote timetables
- Add timetable "title" column to db
- Make API return array of timetables
- Add settings page for selecting a timetable
- Add InfoCard if no timetable is selected
2023-06-18 14:30:36 +02:00
dac0d09167 🐛 Fix issues with UTC time handling
- Using `.setUTCHours` can cause the day to shift at specific times
2023-06-11 23:54:18 +02:00
dee01cc21a 🩹 Fix double locale translation 2023-06-11 23:08:47 +02:00
1938b618d4 🚑 Fix timetable groups not getting saved 2023-06-06 23:54:53 +02:00
f12c59800a Add language options to appearance settings 2023-06-06 23:37:07 +02:00
89c1f18f0e Add timetable group settings 2023-06-06 23:23:11 +02:00
1ed9af766d 🚧 💄 Implement new settings menu and 3 subpages
- Implement new main settings menu
- Implement "filtering" page
- Implement "appearance" page
- Implement "about" page
- Make the Git hash a link to the Git repo
2023-06-06 22:39:08 +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
0e5e693422 🧑‍💻 Add UI for generating API tokens (/token) 2023-02-20 01:03:52 +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
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
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