Commit Graph

42 Commits

Author SHA1 Message Date
A.Unger
eb713b7a97 use micro error codes and id 2020-08-20 15:49:16 +02:00
A.Unger
e510229bc1 remove commented lines (OCIS-363) 2020-08-19 16:20:24 +02:00
A.Unger
e93a42fb83 use proper error assertion (OCIS-363) 2020-08-19 16:20:16 +02:00
A.Unger
9c8b505a2f adjust tests to deal with handled go-micro error (OCIS-363) 2020-08-19 16:20:00 +02:00
Benedikt Kulmann
5780df7058 Fix endpoint urls 2020-08-19 13:17:09 +02:00
Benedikt Kulmann
65d71bd6fd Add role service and manager 2020-08-19 12:55:11 +02:00
Benedikt Kulmann
143bf118fa Add RoleService and Permission to protobuf 2020-08-19 12:55:10 +02:00
Benedikt Kulmann
42ecee73d9 Fix grpc tests 2020-08-19 10:20:53 +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
33720f2b5a Fix path in go package for generated files 2020-08-19 10:18:46 +02:00
Benedikt Kulmann
17658df8b6 Allow + . and @ in account ids 2020-08-12 15:26:12 +02:00
Vincent Petry
12c1b96f6f Allow any user id format
The user id / account UUID should allow any format as in some cases a regular user name
could be used there.
2020-08-12 14:21:31 +02:00
Benedikt Kulmann
3a100258dc Fix formatting 2020-06-04 12:54:16 +02:00
Benedikt Kulmann
7158f762e0 Add test validating that spaces are allowed in display names. 2020-06-04 11:52:25 +02:00
Benedikt Kulmann
7907ae6708 Add test validating that UTF is allowed in display names 2020-06-04 11:49:02 +02:00
Benedikt Kulmann
6e2fe244ca Reuse dummy settings array 2020-06-04 11:37:36 +02:00
Benedikt Kulmann
baac21505a Use dummySettings on bundle properties test to simplify test scope 2020-06-04 11:30:22 +02:00
Benedikt Kulmann
4691cedb58 Add test validating that settings in a bundle cannot be empty 2020-06-04 10:57:13 +02:00
Benedikt Kulmann
aae6356138 Fix formatting 2020-06-03 13:26:09 +02:00
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
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
ecabcd15be Use regenerated settings.pb.web.go with request context 2020-05-27 15:35:05 +02:00
Benedikt Kulmann
2f8cf78963 Upgrade go-micro to 2.6.0 2020-05-18 12:13:36 +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
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
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
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
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
e8bc35ae03 Add protobuf definition for settings values 2020-04-16 11:51:42 +02:00
Benedikt Kulmann
5b89729d1e Basic service boilerplate for settings bundles 2020-04-16 10:07:45 +02:00