Commit Graph

108 Commits

Author SHA1 Message Date
Benedikt Kulmann
99ee6f1011 Add changelog item 2020-06-05 08:33:03 +02:00
Benedikt Kulmann
a01cb60f5a Small improvements 2020-06-05 08:31:03 +02:00
Benedikt Kulmann
19e7edfd6b Add settings values to glossary 2020-06-05 08:26:17 +02:00
Benedikt Kulmann
46f48d22f3 Add settings values documentation 2020-06-05 08:26:02 +02:00
Benedikt Kulmann
a69d4e0421 Improve settings docs overview page 2020-06-05 07:43:50 +02:00
Benedikt Kulmann
3a12bff114 Merge pull request #22 from owncloud/input-validation
Input validation (part 1)
2020-06-04 14:24:09 +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
551d7d73f5 Add changelog item 2020-06-03 13:13:27 +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
Benedikt Kulmann
d10179c1aa Merge pull request #21 from owncloud/gRPC-tests
[tests-only] grpc tests
2020-06-02 13:59:16 +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
268d304d1a Automated changelog update [skip ci] 2020-06-02 07:42:25 +00:00
Benedikt Kulmann
486621cb30 Merge pull request #14 from owncloud/use-account-uuid
Use account UUID from x-access-token for `me` replacement
2020-06-02 09:23:46 +02:00
Benedikt Kulmann
04837d5bcb Fix import formatting 2020-05-27 16:05:50 +02:00
Benedikt Kulmann
e341835c7d Add changelog item 2020-05-27 15:46: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
a39bd39bac Upgrade dependencies 2020-05-27 15:36:03 +02:00
Benedikt Kulmann
ecabcd15be Use regenerated settings.pb.web.go with request context 2020-05-27 15:35:05 +02:00
Alex Unger
c1adfd2c26 Automated changelog update [skip ci] 2020-05-22 10:21:42 +00:00
Alex Unger
46ea310263 Merge pull request #1 from owncloud/basic-service 2020-05-22 12:13:20 +02:00
Alex Unger
81c06d3ab7 Merge branch 'master' into basic-service 2020-05-22 12:05:28 +02:00
Alex Unger
730c1b957d Merge pull request #3 from owncloud/settings-ui 2020-05-22 12:04:59 +02:00
A.Unger
707fe53f28 undo removing arm64, remove flagset parsing from server action 2020-05-22 11:55:51 +02:00
A.Unger
0c1c783d7a remove arm64 2020-05-22 11:48:54 +02:00
A.Unger
d1c59937ce fix syntax 2020-05-22 11:48:21 +02:00
A.Unger
83af9492d2 ignore arm64 2020-05-22 11:47:01 +02:00
A.Unger
1747231bb0 add frontend step to docker binary 2020-05-22 10:45:07 +02:00
Benedikt Kulmann
97359589f1 Remove package.json and rollup.config.js from codacy 2020-05-22 10:40:00 +02:00
A.Unger
aaa49e329f add frontend step to docker 2020-05-22 10:36:52 +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