Commit Graph
295 Commits
Author SHA1 Message Date
David ChristofasandGitHub fa35a81beb Merge pull request #56 from owncloud/tweak-sonar-config
tweak sonar config
2020-07-10 17:27:24 +02:00
David Christofas 277e092367 tweak sonar config
only set pullrequest config if the build was triggered by a pull request

Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-10 17:10:29 +02:00
Jörn Friedrich DreyerandGitHub f27eea2363 Merge pull request #50 from butonic/initial-group-implementation
initial group api implementation
2020-07-10 16:31:13 +02:00
Jörn Friedrich Dreyer 523f704034 document bleve type
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer b4f1a908a9 index with type
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 0f64397e79 update ui
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 9d63ca148a use on_premises_sam_account_name instead of preferred_name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 31f9cca78b satisfy staticcheck
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 379becff5b delete relationships
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer c8451c0436 generate default groups
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer eb140be50f update generated files
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer ebaf39f0af address review
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich Dreyer 0d4e6a4a16 initial group api implementation
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-10 15:51:13 +02:00
Jörn Friedrich DreyerandGitHub 0fba2186f6 Merge pull request #55 from owncloud/sonar-code-analyzer
add sonar analyzer
2020-07-10 15:50:10 +02:00
David Christofas c1dd1f78e5 add sonar analyzer
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-10 13:59:41 +02:00
David Christofas 56ed1cc8f7 Automated changelog update [skip ci] 2020-07-08 12:27:17 +00:00
David ChristofasandGitHub 9d895f96e3 Merge pull request #53 from owncloud/add-error-message-to-responses
change grpc api errors
2020-07-08 14:15:28 +02:00
David Christofas db7afb8872 change grpc api errors
Signed-off-by: David Christofas <dchristofas@owncloud.com>
2020-07-08 11:37:17 +02:00
Artur NeumannandGitHub bec0844955 Merge pull request #52 from owncloud/acceptanceTestsInfrastructure
[Tests-Only] Add tests infrastructure and tests for ocis-accounts
2020-07-06 17:19:17 +05:45
jasson99 f924285cf8 Add tests infrastructure and tests for ocis-accounts 2020-07-06 16:53:22 +05:45
Jörn Friedrich Dreyer b2d891c751 Automated changelog update [skip ci] 2020-07-02 11:30:09 +00:00
Jörn Friedrich DreyerandGitHub b4f967cf6a Merge pull request #51 from owncloud/user-list-ui
User list ui
2020-07-02 13:20:41 +02:00
Benedikt Kulmann d6c5127761 Bind to 0.0.0.0 instead of localhost 2020-07-02 12:55:41 +02:00
Benedikt Kulmann e38f0a491c Work with pointers instead of copying sync.Mutex 2020-07-01 15:42:30 +02:00
Benedikt Kulmann 7bbbcc126f Build js assets on drone 2020-07-01 13:04:24 +02:00
Benedikt Kulmann 2e102066db Build container has no yarn 2020-07-01 11:44:21 +02:00
Benedikt Kulmann fb3b6dcd5f Fix generate target in Makefile 2020-07-01 11:40:00 +02:00
Benedikt Kulmann 30a0742d2a Update flagset docs 2020-07-01 11:11:10 +02:00
Benedikt Kulmann 4e1d6b4557 Add fake imports to make fileb0x work 2020-07-01 11:05:34 +02:00
Benedikt Kulmann 8158999cd1 Ignore package.json and rollup.config.js on codacy 2020-07-01 11:05:34 +02:00
Benedikt Kulmann 58cb3da61f Add changelog entries 2020-07-01 11:05:34 +02:00
Benedikt Kulmann 5b3ef18903 Copy over Avatar component from phoenix
This component should move to ODS soon, so that we can just use it. At
the moment we have to copy it here to get proper avatars loaded.
2020-07-01 11:05:34 +02:00
Benedikt Kulmann 907d6cf58b Prevent text wrapping in list headers 2020-07-01 11:05:34 +02:00
Benedikt Kulmann e23615c764 Sort accounts by preferredName field 2020-07-01 11:05:33 +02:00
Benedikt Kulmann a8922f62c2 Change accounts service requests to POST
Microweb only supports POST requests. So as long as we're using that, we
need to have everything as POST.
2020-07-01 11:05:33 +02:00
Benedikt Kulmann 48d28cf7dd Add more information to accounts list 2020-07-01 11:05:33 +02:00
Benedikt Kulmann 352b633e84 Show very basic account list
This is the first step. Only shows name and email so far (because we
don't have more data). Was necessary to change the request type of the
list request to POST because it is not supported by microweb to have GET
requests.
2020-07-01 11:05:33 +02:00
Benedikt Kulmann f883c5bd0b Set up reflex for make watch 2020-07-01 11:05:33 +02:00
Benedikt Kulmann 28e72bc5ad Remove obsolete config vars 2020-07-01 11:05:32 +02:00
Benedikt Kulmann 3f04adf4ff Set up http server
- set up http server for a) handling the service requests and b)
serving the static assets for the ocis-web extension
- align the server command with other ocis-extensions, including config
variable naming
2020-07-01 11:05:32 +02:00
Benedikt Kulmann b58ddeeb62 Add stubs for three missing service interface functions 2020-07-01 11:05:32 +02:00
Benedikt Kulmann b1ba52f02b Add asset generation from javascript bundle
On `make generate` the `pkg/assets/embed.go` will be generated from the
current state of the javascript app bundle in `assets/accounts.js`. So
you'll have to run `yarn build` first and then `make generate`.
2020-07-01 11:05:32 +02:00
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 ChristofasandGitHub 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 ChristofasandGitHub 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