Ferdinand Thiessen
e9c0086859
feat(api): Add component for displaying an users avatar with fallback image
2021-12-05 23:35:32 +01:00
Ferdinand Thiessen
b2c70a6657
feat(api): user store decides if data is outdated based on the last update rather then last local changes.
2021-12-05 20:57:57 +01:00
Ferdinand Thiessen
f27212f60e
feat(api): user store now handels deleted users.
...
`.users` now is a getter that filters out deleted users.
For all users, including deleted, use `_users` property (should not be needed as `getUser` will return the needed information as well).
2021-12-05 20:57:15 +01:00
Ferdinand Thiessen
9eb5412c14
fix(api): Session is required to load current user
2021-12-05 20:51:44 +01:00
Ferdinand Thiessen
8e552ba508
feat(app): Set lifetime to 14 days on capacitor.
...
Do not annoy users on capacitory apps with daily logging in again
2021-12-05 13:45:50 +01:00
Ferdinand Thiessen
49c3ec74ba
fix(api): Load current user in login function of mainStore
2021-12-05 13:45:50 +01:00
Ferdinand Thiessen
83f32ea82a
feat(api): Get current session
2021-12-05 13:30:44 +01:00
Ferdinand Thiessen
656d7a9e3c
feat(api): Add delete user function to user store
2021-12-02 21:32:43 +01:00
Ferdinand Thiessen
8fca175d39
chore(api) Tag a new api version
2021-11-29 18:18:00 +01:00
Ferdinand Thiessen
6c219c5226
feat(api) Added function to get the URL of an user avatar
2021-11-29 17:23:55 +01:00
Ferdinand Thiessen
cb43b8a39b
fix(core) Token should be added to headers instead of replacing them
2021-11-29 17:20:26 +01:00
Tim Gröger
acf1816b55
[core] logout on capicitor in drawer
2021-11-28 14:46:00 +01:00
Ferdinand Thiessen
02f60335d4
[api] tag new version
2021-11-27 02:47:14 +01:00
Ferdinand Thiessen
d9267bcc0a
[api] Save whole session in PersistantStore.
2021-11-27 02:44:40 +01:00
Ferdinand Thiessen
6732921ff7
[core] Improved backend setup on login page
2021-11-27 01:31:43 +01:00
Ferdinand Thiessen
7a705d5f9a
[core] Ensure everything is initialized in the correct order.
...
Make sure api is initialized before making any requests.
2021-11-27 01:18:58 +01:00
Ferdinand Thiessen
368ca23c56
General cleanup of unused code and small fixes
2021-11-27 00:49:12 +01:00
Tim Gröger
d82e025700
Merge branch 'capacitor' into develop
2021-11-26 22:14:51 +01:00
Tim Gröger
07e1966471
[capacitor] disable allowLinkPreview for ios
2021-11-26 22:13:35 +01:00
Ferdinand Thiessen
29c085bd2c
[core] Save baseURL into PersistentStorage
2021-11-26 20:55:45 +01:00
Ferdinand Thiessen
1b152b52f5
[core] Save session token in PersistentStorage.
2021-11-26 20:40:35 +01:00
Ferdinand Thiessen
6769e18ffa
[api] Add PersistentStorage
...
Wrapper for LocalStorage on browsers and Storage plugin on capacitor
2021-11-26 20:40:35 +01:00
Ferdinand Thiessen
88dd96c937
[app] Use capacitor instead of cordova
2021-11-26 20:40:26 +01:00
Ferdinand Thiessen
4887bc261b
[stores] Minor cleanup
2021-11-26 18:11:18 +01:00
Ferdinand Thiessen
d516839ad4
[utils] Add placeholder to datetime utils
2021-11-26 11:14:15 +01:00
Ferdinand Thiessen
c9df257bbf
[core] Fix minor linting error
2021-11-26 01:39:09 +01:00
Tim Gröger
053fdae384
[api] revert user ssp
2021-11-25 12:32:50 +01:00
Ferdinand Thiessen
6fd3f045f8
[core] Fix notifications dismiss function
2021-11-24 15:54:42 +01:00
Ferdinand Thiessen
2d167ebbae
[deps] yarn.lock is not needed as it is overwritten when adding plugins
2021-11-24 15:35:26 +01:00
Ferdinand Thiessen
a8578e2803
[core] Notifications can now be dismissed without triggering a reject
2021-11-24 15:28:53 +01:00
Ferdinand Thiessen
e4889ddac2
[api] Add datetime util for start-end ranges
2021-11-23 16:00:18 +01:00
Ferdinand Thiessen
664def40fc
[docs] Add notes on cordova, different browser targets
2021-11-23 15:59:16 +01:00
Ferdinand Thiessen
ade6d06eb6
[core] Minify requests
2021-11-22 22:59:50 +01:00
Tim Gröger
53f053a294
[api] add filter for get_users
2021-11-22 15:08:28 +01:00
Tim Gröger
cc29893e04
Merge remote-tracking branch 'origin/develop' into develop
2021-11-21 19:43:49 +01:00
Ferdinand Thiessen
42800a9d99
[deps] Update dependencies, node 12 is close to unmaintained
2021-11-21 15:31:02 +01:00
Ferdinand Thiessen
f4650ffdeb
[api] update dependencies + new release
2021-11-21 15:11:25 +01:00
Ferdinand Thiessen
1158525abb
[api] Add clone function to utils
2021-11-21 15:08:58 +01:00
Ferdinand Thiessen
04e3c57397
[clean] Replace unneeded computed with initialized ref
2021-11-21 11:19:08 +01:00
Tim Gröger
2fc411d51d
[UI] Show menu drawer if on desktop
2021-11-21 11:13:51 +01:00
Tim Gröger
6061b37887
[users] delete avatar
2021-11-20 22:59:51 +01:00
Tim Gröger
efde9a2ee7
[cleanup] remove logs
2021-11-19 23:12:30 +01:00
Tim Gröger
e96d15bc66
[chore] show menu drawer auto if on desktop
2021-11-19 23:10:56 +01:00
Tim Gröger
dad88ec766
[api][fix] fixed setting roles
2021-11-19 23:10:28 +01:00
Ferdinand Thiessen
3e091fd02b
[plugins] Fix bug where not all plugins are loaded
2021-11-19 14:06:29 +01:00
Ferdinand Thiessen
fca79c36ef
[api] Pass Date objects to IsoDateInput validators instead of string.
2021-11-16 23:57:57 +01:00
Ferdinand Thiessen
34fcdbdb7f
[deps] Match dependencies with API
2021-11-16 21:40:56 +01:00
Ferdinand Thiessen
d84796b09d
[api] Fix dependencies and release new version
2021-11-16 21:36:42 +01:00
Ferdinand Thiessen
62af4f5026
[cleaup] No need for computed if directly derefed
2021-11-16 14:23:18 +01:00
Tim Gröger
36d6fdfb94
[fix] return correct permissions
2021-11-16 11:20:11 +01:00