A.Unger
3704bb5be3
add defensive code on type assertion
2020-07-22 09:24:42 +02:00
Benedikt Kulmann
f7a1128d8a
Check in updated embed.go
2020-07-02 08:14:04 +02:00
Benedikt Kulmann
7faf5ca52f
Fix server naming
2020-07-02 08:13:24 +02:00
Benedikt Kulmann
35ccf26d65
Regenerate embed.go file
2020-06-09 09:49:56 +02:00
Benedikt Kulmann
f0ee8f8e1f
Upgrade ODS to 1.6.0
2020-06-08 13:00:29 +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
cf02e53703
Revert "Make use of the new dynamic navItems feature in phoenix"
...
This reverts commit cdf1d89a63 .
It was commited in this branch by accident.
2020-06-04 08:48:40 +02:00
Benedikt Kulmann
cdf1d89a63
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-04 08:37:58 +02:00
Benedikt Kulmann
86611f6e1c
Make sure that account uuids are lower case
2020-06-03 15:30:35 +02:00
Benedikt Kulmann
6baabf2148
Remove Nil validation on ListSettingsValues request
...
That validation was just wrong. It enforced identifier values to be
empty.
2020-06-03 15:24:39 +02:00
Benedikt Kulmann
aae6356138
Fix formatting
2020-06-03 13:26:09 +02:00
Benedikt Kulmann
5a59a0ccd3
Remove redundant variable declarations
2020-06-03 13:18:43 +02:00
Benedikt Kulmann
3a9efee815
Make linters happy
2020-06-03 13:15:12 +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
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