Commit Graph

48 Commits

Author SHA1 Message Date
Lukas Hirt 5fa91c4a1d Accept 204 response status as valid 2020-09-09 13:53:49 +02:00
Lukas Hirt ebbf1c8262 Add acceptance tests 2020-09-09 13:52:47 +02:00
Lukas Hirt 51c39bbceb Submit new user by hitting enter 2020-09-09 13:16:57 +02:00
Lukas Hirt b13d323af8 Add delete action 2020-09-09 13:15:37 +02:00
Lukas Hirt 15da3462ac Use payload when inserting created account 2020-09-09 13:01:22 +02:00
Lukas Hirt c9efbbd6b8 Merge branch 'feature/create-delete-accounts' of github.com:owncloud/ocis-accounts into feature/create-delete-accounts 2020-09-09 12:30:54 +02:00
Lukas Hirt 0a6f502037 Fix password input alignment 2020-09-09 12:30:21 +02:00
Benedikt Kulmann 729fd3b5c8 Add preferred_name to request payload when creating account 2020-09-09 10:57:39 +02:00
Lukas Hirt 1965469ae6 Add create/delete capabilities and UI 2020-09-09 10:35:28 +02:00
Lukas Hirt 7cd554bf41 Refactor 2020-09-07 17:49:35 +02:00
Lukas Hirt b95b9800e8 Add acceptance tests 2020-09-07 17:17:23 +02:00
Lukas Hirt 3980084c53 Use correct request and update changed account 2020-09-06 21:40:15 +02:00
Lukas Hirt 3dc3dda570 Add label to account select checkbox 2020-09-06 21:40:15 +02:00
Lukas Hirt 3fd44de84f Handle disable and enable actions 2020-09-06 21:40:15 +02:00
Lukas Hirt 45c170729e Add batch actions UI 2020-09-06 21:40:15 +02:00
swoichha 3910f37c87 tests for non-admin user and guest user 2020-09-03 16:44:43 +05:45
Benedikt Kulmann 89d0b66465 Revert "Try to run with ocis-accounts uuids"
This reverts commit e2a7a9fc01.
2020-09-01 08:24:49 +02:00
Benedikt Kulmann c0e230fa7f Remove user creation step. Used user is already created. 2020-08-31 14:03:40 +02:00
Benedikt Kulmann e2a7a9fc01 Try to run with ocis-accounts uuids 2020-08-31 11:47:30 +02:00
Benedikt Kulmann 03621d42a0 Run ui tests as our default admin user 2020-08-31 10:18:13 +02:00
Benedikt Kulmann 6511321873 Fix accounts ui with new settings API 2020-08-27 10:33:04 +02:00
Benedikt Kulmann a2cca6391a Remove page reload step definition
Apparently the step definition for the page reload gets reused from phoenix.
2020-08-21 16:27:30 +02:00
Benedikt Kulmann 3abf2bb110 Add a page reload to the role selection test 2020-08-21 16:18:25 +02:00
Benedikt Kulmann 15f2df6997 Fix typo in step definition 2020-08-21 16:16:33 +02:00
Benedikt Kulmann 0e4e211123 Use role selection response for setting role
Previously we were fetching the role assignments again. Not necessary,
as the request for setting a role already returns the resulting
assignment object as a response.
2020-08-21 16:15:06 +02:00
Benedikt Kulmann eb05ba253a Translate error message when setting a role 2020-08-21 16:05:16 +02:00
Benedikt Kulmann 60957d9216 Fix element selectors for role selection tests 2020-08-21 11:45:05 +02:00
Benedikt Kulmann 6b04954c02 Update changed role name 2020-08-21 11:45:04 +02:00
Benedikt Kulmann 6b011fb91c Add account uuid to request body for fetching roles 2020-08-21 11:45:04 +02:00
Lukas Hirt f8fa36381c Add basic test scenario 2020-08-21 11:45:04 +02:00
Lukas Hirt 74bb429a34 Turn roles buttons into radio inputs 2020-08-21 11:45:04 +02:00
Lukas Hirt 2b9e93dcfd Fixed typo in eslint 2020-08-21 11:45:04 +02:00
Lukas Hirt 662817af0a Use settings client 2020-08-21 11:45:04 +02:00
Lukas Hirt b65c6925ed Stop removing previous assignments
The assignments are now removed through the server. No need to do this via JS anymore
2020-08-21 11:45:04 +02:00
Lukas Hirt ee047d8739 Use generated API to fetch roles 2020-08-21 11:45:04 +02:00
Lukas Hirt d61babe1de Add settings client 2020-08-21 11:45:03 +02:00
Lukas Hirt 72c31b4ebf Add basic role management UI 2020-08-21 11:45:03 +02:00
Artur Neumann 3a2699149f don't use the proxy config file 2020-08-21 15:01:56 +05:45
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
jasson99 f924285cf8 Add tests infrastructure and tests for ocis-accounts 2020-07-06 16:53:22 +05:45
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 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