Commit Graph

203 Commits

Author SHA1 Message Date
Benedikt Kulmann
a48334eaad Align root command with other ocis-extensions 2020-07-01 11:05:32 +02:00
Benedikt Kulmann
52c793b4a0 Add ocis-web extension boilerplate
This only renders an empty page but already has a navItem for ocis-web
integration.
2020-07-01 11:05:32 +02:00
Benedikt Kulmann
435104b5ff Add code generation for swagger and protoweb
Some of the Protobuf Messages were missing fields:
- RemoveMemberRequest was missing the `account_id` field for the account/member id
- ListMembersRequest was missing the `id` field for the group id

Some of the endpoint annotations were not correct regarding declared
bodies and the ids listed above.
2020-07-01 11:05:31 +02:00
David Christofas
92191ac597 Automated changelog update [skip ci] 2020-06-25 07:37:53 +00:00
David Christofas
50d083b514 Merge pull request #49 from owncloud/enable_accounts
enable accounts on creation
2020-06-25 09:32:27 +02:00
David Christofas
c01f4d1ed9 enable accounts on creation
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-06-24 11:40:25 +02:00
David Christofas
5b33eb22ab Automated changelog update [skip ci] 2020-06-23 15:42:31 +00:00
David Christofas
d3892687d1 Merge pull request #48 from owncloud/pass-correct-logger
pass around the correct logger to the services
2020-06-23 17:35:55 +02:00
David Christofas
630e2120e5 pass around the correct logger to the services
Also did some minor refactoring to make the code similar to the other
services.

Implements one task of owncloud/product#86

Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-06-23 17:29:28 +02:00
Jörn Friedrich Dreyer
58aef84dfd Merge pull request #38 from butonic/return-error
create default accounts when dir does not exist
2020-06-22 11:27:45 +02:00
Jörn Friedrich Dreyer
474cf53e3f fix typo 2020-06-22 10:54:03 +02:00
Jörn Friedrich Dreyer
ebee2c5443 create default accounts when dir does not exist
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-19 17:14:41 +02:00
Jörn Friedrich Dreyer
aa8ae58dd9 Merge pull request #37 from butonic/mock-and-deps
add mock account service
2020-06-18 18:31:28 +02:00
Jörn Friedrich Dreyer
74a62bb3bf add mock implementation of the accounts service
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 18:26:09 +02:00
Jörn Friedrich Dreyer
b65e0636aa update debendencies
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 18:18:11 +02:00
Jörn Friedrich Dreyer
3ca3bd4747 Merge pull request #36 from butonic/return-error
allow handler to return an error
2020-06-18 16:03:04 +02:00
Jörn Friedrich Dreyer
0cdeeb7f03 allow handler to return an error
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-18 14:08:41 +02:00
Jörn Friedrich Dreyer
02e759f95e Merge pull request #35 from butonic/handle-terms-as-keywords
handle terms as keywords, remove quotes
2020-06-17 17:23:11 +02:00
Jörn Friedrich Dreyer
a828b8242b handle terms as keywords, remove quotes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 17:02:48 +02:00
Jörn Friedrich Dreyer
5441647249 Automated changelog update [skip ci] 2020-06-17 13:38:12 +00:00
Jörn Friedrich Dreyer
d0bf391630 Merge pull request #34 from butonic/store-accounts
persist accounts
2020-06-17 15:31:19 +02:00
Jörn Friedrich Dreyer
0f938a8b10 drop redundant id for create requests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 15:15:18 +02:00
Jörn Friedrich Dreyer
f3a1d26d2d fix staticcheck
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-17 15:04:03 +02:00
Jörn Friedrich Dreyer
a27ca2fe5c implement create and delete api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-16 18:57:50 +02:00
Jörn Friedrich Dreyer
c2668daae8 persist accounts using json, index using bleve
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:04:35 +02:00
Jörn Friedrich Dreyer
e78c4395de Use reasonable set of properties
ocis-graph will be responsible for building graph api resources like
user and groups as well as their relationships. ocis accounts deals
users and groups with all properties necessary to provision user
accounts.

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:04:23 +02:00
Jörn Friedrich Dreyer
368d744b7c add filed mask
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:03:25 +02:00
Jörn Friedrich Dreyer
5ae2ef9b80 add graph api properties
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:03:12 +02:00
Jörn Friedrich Dreyer
810d2b6b34 parse odata query and build ldap filter
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:02:55 +02:00
Jörn Friedrich Dreyer
2fd05e2b6f rewrite API, talk to ldap
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:02:44 +02:00
Jörn Friedrich Dreyer
16c5d13e10 Update accounts API
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-06-15 16:02:28 +02:00
Alex Unger
81eef794c9 Automated changelog update [skip ci] 2020-06-12 16:32:09 +00:00
Alex Unger
f7ee51b6e4 Merge pull request #33 from owncloud/remove-timezone-setting 2020-06-12 18:23:22 +02:00
Benedikt Kulmann
5a4a5d8737 Add changelog item 2020-06-12 16:50:53 +02:00
Benedikt Kulmann
b63a7cd241 Remove timezone setting from profile settings bundle 2020-06-12 16:47:39 +02:00
Benedikt Kulmann
a5d5eac711 Automated changelog update [skip ci] 2020-05-22 10:31:04 +00:00
Benedikt Kulmann
8c7da92919 Merge pull request #22 from owncloud/feature/settings
Self reporting Settings Bundle
2020-05-22 12:26:15 +02:00
A.Unger
6ba5a34e2f update ocis-settings to 46ea310263 2020-05-22 12:21:21 +02:00
Benedikt Kulmann
868e95e2bf Remove notifications bundle and remove settings from profile bundle 2020-05-22 09:52:20 +02:00
Benedikt Kulmann
93325178f8 Move settings bundles into own file 2020-05-19 10:38:53 +02:00
Benedikt Kulmann
3714125213 Add more languages to language options 2020-05-15 13:52:32 +02:00
A.Unger
f537f420c4 use latest settings and get rid of replace 2020-05-11 12:42:21 +02:00
A.Unger
2f3d7cbc39 downgrade go-micro 2020-05-11 11:41:11 +02:00
A.Unger
ce9c74eb01 regenerate proto files 2020-05-11 10:01:19 +02:00
A.Unger
a656e67d8c fix merge conflicts 2020-05-11 09:59:23 +02:00
Benedikt Kulmann
bce6982920 Adapt creating settings bundles to most recent format 2020-05-07 18:10:47 +02:00
Jörn Friedrich Dreyer
899d2e0269 Merge pull request #28 from butonic/add-more-query-params
add query properties, add pb deps, fix pb target
2020-05-06 21:05:53 +02:00
Jörn Friedrich Dreyer
422ceb9080 disable checking deprecated packages in generated code
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-06 19:07:23 +02:00
Jörn Friedrich Dreyer
3b6951cc80 add query properties, add pb deps, fix pb target
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-05-06 18:08:21 +02:00
A.Unger
3bee0594b0 Merge branch 'master' into feature/settings 2020-05-04 14:00:55 +02:00