Commit Graph

32 Commits

Author SHA1 Message Date
Benedikt Kulmann ec89de9130 Use roleIDs from context instead of loading them again
The roleIDs are coming in as json string from the metadata context and can be extracted
using a helper function from the roles middleware. Instead of re-loading
those roleIDs again on every permission related request, we now just use
the roleIDs from the context. This is also more future-proof for when we
decide to move away the role assignments from the settings service into
the accounts service.
2020-09-01 11:22:14 +02:00
Dipak Acharya 6512403a2f Add ui tests infrastructure and tests for language setting 2020-08-31 10:22:30 +05:45
Benedikt Kulmann 0f9e141699 Add filtering by bundleID to listing roles and bundles 2020-08-27 15:42:19 +02:00
Benedikt Kulmann 27980cc513 Fix fetching bundles in settings UI 2020-08-26 18:02:22 +02:00
Benedikt Kulmann a987d53702 Fix boolean modification payload 2020-08-19 13:18:29 +02:00
Benedikt Kulmann 5780df7058 Fix endpoint urls 2020-08-19 13:17:09 +02:00
Benedikt Kulmann cb578e5039 Update generated js client 2020-08-19 12:55:11 +02:00
Benedikt Kulmann 0e8be0e195 Adapt UI app to new data model 2020-08-19 10:27:06 +02:00
Benedikt Kulmann 3cb272e76e Switch to uuids and simplify names
- bundles, settings and values now have uuids as identifier
- removed unnecessary name parts (SettingsBundle -> Bundle,
SettingsValue -> Value, ...)
2020-08-19 10:20:51 +02:00
Benedikt Kulmann 6f57e42859 Use server URL from ocis-web config.json 2020-07-02 08:05:47 +02:00
Benedikt Kulmann 3b0f220775 Make ui more failsafe 2020-06-09 09:48:28 +02:00
Benedikt Kulmann d22d06c84e Fix route paths of nav items 2020-06-09 09:48:28 +02:00
Benedikt Kulmann ce5550d73e Remove a leftover debug output 2020-06-09 09:48:28 +02:00
Benedikt Kulmann f57d31b7ba Add hardcoded extension icons for navItems 2020-06-09 09:48:28 +02:00
Benedikt Kulmann ceb44eedda Make use of the new dynamic navItems feature in phoenix
Phoenix core now has the ability to add navItems dynamically. With this
we can add navItems for the extensions which have at least one settings
bundle.
2020-06-09 09:48:27 +02:00
Benedikt Kulmann 2f8cf78963 Upgrade go-micro to 2.6.0 2020-05-18 12:13:36 +02:00
Benedikt Kulmann d5390e442b Move responsibility of providing settings values away to phoenix 2020-05-15 13:52:46 +02:00
Benedikt Kulmann 56bbab28e7 Set up an axios interceptor to inject the auth token on all requests 2020-05-12 15:46:33 +02:00
Benedikt Kulmann 0fddb624d0 Generate new ui api client and adapt to changed function names 2020-05-11 11:39:40 +02:00
Benedikt Kulmann 03f7c8dd7d Implement loading/saving multi and single select 2020-05-07 17:57:09 +02:00
Benedikt Kulmann d6cd343b62 Implement single choice value load/save 2020-05-07 11:29:51 +02:00
Benedikt Kulmann e44654dc9d Integrate loaded settings values into ui
Not yet done for single choice and multi choice, but getting there...
2020-05-07 07:42:50 +02:00
Benedikt Kulmann 8a6a06fcb8 Settings values protobuf and service 2020-04-29 09:51:22 +02:00
Benedikt Kulmann 2ea182243f Add settings value protobuf and store implementation 2020-04-28 19:47:04 +02:00
Benedikt Kulmann 92d03ffeb3 Fix title change on route change 2020-04-24 09:47:16 +02:00
Benedikt Kulmann ea58fd46ef Add extension selection through route param 2020-04-24 07:43:59 +02:00
Benedikt Kulmann 1739d542ff fix styling of single and multi choice drops 2020-04-24 07:08:03 +02:00
Benedikt Kulmann 1635e5d92f Fix layout on empty settings 2020-04-24 07:01:02 +02:00
Benedikt Kulmann ac67fee09a Add multi choice list support and fix single choice list
single choice list now
- uses raw radio input instead of the one from ODS because it's broken
- implements default value selection if no value is set
2020-04-23 19:49:40 +02:00
Benedikt Kulmann 48f79ad03f Render form elements 2020-04-23 15:23:51 +02:00
Benedikt Kulmann ea37e22f55 Set up reflex and fix make watch 2020-04-22 09:27:55 +02:00
Benedikt Kulmann 39fa211b5a Generate http endpoints and add empty vue app entry point. 2020-04-21 15:24:27 +02:00