Commit Graph

55 Commits

Author SHA1 Message Date
Benedikt Kulmann
e7d3bb2063 Make get and list side effect free
Previously, Get and List requests could have the side effect of creating
folders. Creating required folders now only happens on save requests.
2020-06-03 13:00:14 +02:00
Benedikt Kulmann
b002720b03 Add validation for DisplayName and Settings being required in SettingsBundles 2020-06-03 12:43:32 +02:00
Benedikt Kulmann
cdafe48a62 Fix tests for invalid identifiers 2020-06-03 12:02:26 +02:00
Benedikt Kulmann
ac98d4b85b Adapt validation for list requests on bundles and values
There are certain scenarios where fields of the Identifier are allowed
to be empty. If they are not empty they still have to match our
requirements for the contents of those fields (alphanumeric, -, _). This
is taken into acccount as well now.
2020-06-03 11:23:24 +02:00
Benedikt Kulmann
718ec8e061 Set up input validation for Identifiers on settings bundles
Implemented first input validation steps by making static validation on
identifiers in settings bundle requests.
2020-06-03 10:50:28 +02:00
Artur Neumann
a922961f12 make staticcheck happy 1 2020-06-02 13:33:55 +02:00
Artur Neumann
72cfd4a89f gprc tests 2020-06-02 13:33:54 +02:00
Benedikt Kulmann
04837d5bcb Fix import formatting 2020-05-27 16:05:50 +02:00
Benedikt Kulmann
080384870a Use account uuid from request context in augmented identifier 2020-05-27 15:38:12 +02:00
Benedikt Kulmann
d6ab3ff6a8 Use account uuid extractor middleware from ocis-pkg 2020-05-27 15:37:47 +02:00
Benedikt Kulmann
f7cf214c08 Add JWTSecret to config and flagset 2020-05-27 15:36:40 +02:00
Benedikt Kulmann
ecabcd15be Use regenerated settings.pb.web.go with request context 2020-05-27 15:35:05 +02:00
A.Unger
707fe53f28 undo removing arm64, remove flagset parsing from server action 2020-05-22 11:55:51 +02:00
A.Unger
9f27fe2981 ...make lint passing 2020-05-22 10:29:42 +02:00
A.Unger
f5b45accb5 fix exported function comment 2020-05-22 10:28:35 +02:00
A.Unger
c219866c7a fix golangci offenses 2020-05-22 10:24:01 +02:00
A.Unger
b40048af13 go import config.go 2020-05-22 10:23:27 +02:00
Benedikt Kulmann
b2a9be81f3 Remove unused code 2020-05-22 09:30:14 +02:00
Benedikt Kulmann
88b0ecc643 Improve code doc 2020-05-22 09:19:06 +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
A.Unger
cac9cb8ecc downgrade go-micro to v1 2020-05-11 11:27:09 +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
4ce01fe8c0 Move settings bundles into appropriate sub folders 2020-04-28 12:31:25 +02:00
Benedikt Kulmann
92d03ffeb3 Fix title change on route change 2020-04-24 09:47:16 +02:00
Benedikt Kulmann
e16fa922ba Generated frontend bundle 2020-04-24 08:29:06 +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
5ac5a6c1db Parse bundles from files for list calls.
Side effect: get rid of code duplication for listing extensions.
2020-04-22 16:11:41 +02:00
Benedikt Kulmann
9355ba3d35 Fix protobuf var names 2020-04-22 15:51:55 +02:00
A.Unger
dafaa31d7e more explicit comment 2020-04-22 12:31:39 +02:00
A.Unger
96b97ec00d fix http middlewares 2020-04-22 12:31:12 +02:00
Benedikt Kulmann
55db2f72d0 Fixing http server 2020-04-22 11:27:42 +02:00
Benedikt Kulmann
ea37e22f55 Set up reflex and fix make watch 2020-04-22 09:27:55 +02:00
Benedikt Kulmann
2f42fcb35a Revive http service for serving assets. Streamlined flagset. 2020-04-21 22:43:22 +02:00
A.Unger
4b612965d9 add fileb0x manifest and generate assets 2020-04-21 21:10:21 +02:00
Benedikt Kulmann
39fa211b5a Generate http endpoints and add empty vue app entry point. 2020-04-21 15:24:27 +02:00
Benedikt Kulmann
4617e7c6cc Introduce file locking and fs abstraction 2020-04-21 12:00:34 +02:00
Benedikt Kulmann
d3412c965a Rename List to ListAll 2020-04-21 09:16:53 +02:00
A.Unger
f8f9d1b7b2 comment out http service for obvious reasons 2020-04-16 12:59:55 +02:00
A.Unger
a02480062f update branch 2020-04-16 12:52:35 +02:00