Commit Graph

571 Commits

Author SHA1 Message Date
Ferdinand Thiessen 17e203b5c9 Revert usage of flatRoutes, use an empty parent component instead 2020-11-24 18:35:37 +01:00
Ferdinand Thiessen d4795a549f Fixed interface for Backend, allow redirect mainLinks
* Fixed the Backend interface to match the returned data structure
* Allow empty parents in RouteConfig, use flatRoutes
2020-11-24 17:35:11 +01:00
Ferdinand Thiessen c05fc5d877 Use yarn and updated dependencies
* Default to use yarn instead of npm
* Fixed eslintignore (do not lint hidden files)
* Replaced deprecated eslint-loader with eslint-webpack-plugin
* Use current eslint (v7) and upgraded vue plugin
* Set node to 12, as 11 is not supported anymore (12 is the LTS version)
* TODO: Drop package-lock.json as soon as we do not use npm anymore
2020-11-24 17:34:12 +01:00
Ferdinand Thiessen 0b7c6feeb3 Fixed issue with avatar upload 2020-11-18 03:11:34 +01:00
Ferdinand Thiessen 7612ccde7b Definition from current backend 2020-11-18 02:49:19 +01:00
Ferdinand Thiessen bda58426e3 Fixed code style, sorry 2020-11-18 00:33:26 +01:00
Ferdinand Thiessen 4be0f56820 Fixed some vue errors and send less requests if (no need to fetch own edits) 2020-11-18 00:27:44 +01:00
Ferdinand Thiessen 06b259cd74 Fixed birthday is not a Date 2020-11-17 18:09:05 +01:00
Ferdinand Thiessen 4c9fb07f7d Show notification if unsupported filetype 2020-11-17 03:43:34 +01:00
Ferdinand Thiessen 82d88f50d0 Fixed some ts errors 2020-11-17 03:34:05 +01:00
Ferdinand Thiessen 5061d18956 Better handling of invalid credentials on login
* Notify on page as this is more appropriate
* Reset entered password
2020-11-16 14:17:26 +01:00
Ferdinand Thiessen 967458a51b Use same style for all notifications, better error message 2020-11-16 13:44:38 +01:00
Ferdinand Thiessen 1471f1a660 Limit avatar size and cleanup dependencies
* Limit avatar size to 200 KiB (really no body needs 4K resolution avatars
* Dropped cryptojs dependency as we do not use gravatar anymore
2020-11-16 13:36:55 +01:00
Ferdinand Thiessen 939dde3651 Implemented Avatar 2020-11-16 02:28:03 +01:00
Ferdinand Thiessen 01826fbc8b Show todays birthdays 2020-11-15 20:08:24 +01:00
Ferdinand Thiessen 9b19dc225b Allow setting the birthday 2020-11-15 19:47:05 +01:00
Ferdinand Thiessen c8708be39d Better offline detection (e.g. if database is offline) 2020-11-15 18:51:30 +01:00
Tim Gröger 97b60298ec Dynamische LoadingBar hinzugefügt
* mit setLoadingBoar, kann ein WatcherSource mitgeliefert werden, sodass eine LoadingBar erscheint.
* muss jeweils einmal! für alle loadings angewendet werden.
2020-11-15 14:18:28 +01:00
Tim Gröger 63b25bb3d6 [User] Rollen können umbenannt werden 2020-11-15 01:22:23 +01:00
Ferdinand Thiessen e4378af76e Retrieve users when using the UserSelector 2020-11-15 00:23:20 +01:00
Tim Gröger 9f2f632a67 Fix color of logo 2020-11-14 21:35:54 +01:00
Tim Gröger 9cdc041b13 [Notify] Fehlermeldung wenn etwas nicht ausgeführt werden konnte 2020-11-14 15:04:42 +01:00
Tim Gröger 306ae7648d [Login] Fehlermeldung bei falschen Credentials 2020-11-14 14:41:46 +01:00
Tim Gröger 60417f6585 [Plugin] Überprüfung der Abhängigkeiten geändert
* werden als promise außerhalb von loadplugins geprüft.
* TODO: version muss geprüft werden.
2020-11-14 10:58:21 +01:00
Tim Gröger d5e4571b73 [Plugin] Errorpage wenn Plugins nicht verfügbar sind. 2020-11-13 18:48:50 +01:00
Tim Gröger 5f7c515228 [Plugin] Notification, wenn Plugin im Backend nicht verfügbar.
Fixed Typo
2020-11-13 13:42:15 +01:00
Ferdinand Thiessen fde2682681 Simplyfied login guard, fixed exception in RoleSettings 2020-11-13 04:30:05 +01:00
Ferdinand Thiessen 19f91d2abf Allow multiple widgets and minor improvements
* Allow mulitple widgets for plugins, allow setting required permissions
* Split datetime formatter code for reuse
2020-11-13 04:02:25 +01:00
Tim Gröger 7b1a1c3656 [Admin] Fix einge Rollen
* rollen im store aufgeräumt
* clear-icon hinzugefügt
2020-11-13 00:04:56 +01:00
Tim Gröger 4ea0bce19d [Admin] neuer User kann hinzugefügt werden 2020-11-12 22:48:19 +01:00
Tim Gröger 338fbb97b3 [Admin] Designänderung der Adminpage 2020-11-12 14:28:02 +01:00
Tim Gröger 1ce02a67a9 [Login] Fix, Outseiten wieder öffnen
* man kann wieder auf seiten zugreifen, die garkeine berechtigungen benötigen.
2020-11-12 12:47:47 +01:00
Tim Gröger 70575c94c3 [About] Designänderung
* Es werden nur noch bei Developer Cards benutzt
* Logo wird geändert, wenn darkmode aktiv ist
* Pluginfarbe wird geändert, wenn darkmode aktiv ist
2020-11-12 12:07:40 +01:00
Ferdinand Thiessen b069361c1a Fixed issue where the login guard starts an endless loop 2020-11-12 01:55:43 +01:00
Ferdinand Thiessen e26dc6c3a9 Update current API description, added dateTime filter alias.
* Build only for iOS since 12.1 (IPhone 5s+) so babel uses more recent ECMAScript and filesizes get reduced
2020-11-11 23:53:44 +01:00
Ferdinand Thiessen 296245457d Improved Mi 11. Nov 13:22:28 CET 2020 and filter 2020-11-11 13:22:28 +01:00
Ferdinand Thiessen 390e0fc95b Fixed TS errors and warnings 2020-11-10 01:40:50 +01:00
Ferdinand Thiessen cfc46dddd3 Added Dashboard as start page
* Plugins can register widgets on the dashboard
* Added dummy widget for schedule and user ("greeting")
* Added simple widget for balance
2020-11-10 01:33:55 +01:00
Ferdinand Thiessen 31620f9681 Fixed typo that prevents permissions from being loaded, enable dark mode
if requested.
2020-11-09 04:35:07 +01:00
Ferdinand Thiessen 63e9de01e2 Fix issue where store is not cleared properly 2020-11-09 03:59:17 +01:00
Ferdinand Thiessen b479e3ad48 Some work on login process
* Forward already autheticated users
* If not auteticated forward back to login
* Clear current user if no valid session
2020-11-09 03:40:51 +01:00
Ferdinand Thiessen 8c1dffc003 Added RoleSettings, now users can edit and create roles 2020-11-09 03:39:31 +01:00
Ferdinand Thiessen e566a89860 Add warning if backend is offline (implements #416) 2020-11-06 10:52:51 +01:00
Ferdinand Thiessen 458cf81a91 Fixed order of date and time in datetime filter 2020-11-06 10:52:13 +01:00
Ferdinand Thiessen d4bc385833 Fixed users can set role in frontend without permission 2020-11-06 01:31:46 +01:00
Ferdinand Thiessen edf56c1094 Fixed permission issue with menue 2020-11-06 01:28:35 +01:00
Ferdinand Thiessen 8689e84d47 Reworked user and session store, added Admin function for user.
* Sync Login with backend
* Split Main into MainUserSettins and Settings
* Added AdminSetting to change other users, added UserSelector Component
for selecting users (can be reused for other stuff ;-) ).
* Split hasPermission into helper file for code reuse
2020-11-06 01:17:04 +01:00
Ferdinand Thiessen 5c11e02b2c Axios: Intercept 401 and logut (session expired or revoked) 2020-11-06 01:15:40 +01:00
Ferdinand Thiessen bdcf9668b7 Sync with backend 2020-11-06 01:12:03 +01:00
Ferdinand Thiessen 1d598b5787 Update dependencies 2020-11-06 01:09:03 +01:00