Benedikt Kulmann
8e011b7eb2
Add recompiled assets
2020-08-21 16:19:03 +02:00
Benedikt Kulmann
6b011fb91c
Add account uuid to request body for fetching roles
2020-08-21 11:45:04 +02:00
Lukas Hirt
2cf9e918ba
Add vuex as direct dependency instead of peerDependency
2020-08-21 11:45:03 +02:00
Benedikt Kulmann
e695ccc440
Make linter happy
2020-08-19 17:33:18 +02:00
Benedikt Kulmann
2ae2cf40c9
Add permissions for language to default roles of settings service
2020-08-19 17:33:17 +02:00
Benedikt Kulmann
f5f356f001
Rename variable to comply with golang var naming rules
2020-08-19 11:54:57 +02:00
Benedikt Kulmann
45b486c68e
Update to new data model of ocis-settings
2020-08-19 11:53:56 +02:00
A.Unger
7c29818921
undo group changes
2020-08-07 14:27:38 +02:00
A.Unger
a4e8a8f09e
typo
2020-08-07 14:15:08 +02:00
A.Unger
510007d402
update groups
2020-08-07 14:13:16 +02:00
A.Unger
9a9745837f
atomic requests
2020-08-07 14:10:18 +02:00
Vincent Petry
bb03734c38
Merge pull request #76 from owncloud/fix-prefix-query
...
Unescape value for prefix query
2020-08-05 10:40:37 +02:00
Parajuli Kiran
2cf9639e68
Tagged test example with the mail validation issue
2020-08-03 13:45:26 +05:45
Parajuli Kiran
56583430ed
Added account update unit test
2020-08-03 12:30:10 +05:45
Jörn Friedrich Dreyer
8ebb5ce0ab
Unescape value for prefix query
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-07-31 23:10:36 +02:00
Jörn Friedrich Dreyer
20a577dc15
fix index mapping
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-07-31 11:25:57 +02:00
A.Unger
c432f296eb
set lock on read
2020-07-30 10:10:52 +02:00
A.Unger
4074565a6b
use global mutex
2020-07-30 10:06:29 +02:00
Jörn Friedrich Dreyer
52c2781548
Add write mutexes
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-07-30 08:49:03 +02:00
A.Unger
b6ab351c0b
make go vet happy
2020-07-28 16:58:17 +02:00
A.Unger
c717105a49
override out with acc
2020-07-28 16:28:17 +02:00
Jörn Friedrich Dreyer
694fe677aa
Add cli-subbcomands to mange users
...
ocis-accounts [list|delete|update|add|inspect]
Implements UpdateMask for the update request. Changed server-handler accordingly.
The commands use service-discovery to discover the backend.
2020-07-27 18:43:59 +02:00
Jörn Friedrich Dreyer
fbaa7e08de
use NewNumericRangeInclusiveQuery for numeric literals
...
Some LDAP properties like `uidnumber` and `gidnumber` are numeric. When an OS tries to look up a user it will not only try to lookup the user by username, but also by the `uidnumber`: `(&(objectclass=posixAccount)(uidnumber=20000))`. The accounts backend for glauth was sending that as a string query `uid_number eq '20000'` and has been changed to send it as `uid_number eq 20000`. The removed quotes allow the parser in ocis-accounts to identify the numeric literal and use the NewNumericRangeInclusiveQuery instead of a TermQuery.
Related:
https://github.com/owncloud/ocis-glauth/issues/28
https://github.com/owncloud/ocis-glauth/pull/29
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-07-27 09:00:15 +02:00
Jörn Friedrich Dreyer
65e3df2b1e
tighten the screws
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-07-23 12:52:41 +02:00
Jörn Friedrich Dreyer
de01b8773b
update TestCreateAccountInvalidUserName
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-07-23 11:38:43 +02:00
Jörn Friedrich Dreyer
bf3581c914
fix password related segfaults
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-07-23 11:17:58 +02:00
Dipak Acharya
3152c52845
[Tests-Only] Add gRPC tests for user and group related actions
2020-07-21 09:06:49 +05:45
Dipak Acharya
43effc0cba
Fix the account and group id mismatch in delete group method
2020-07-16 10:32:36 +05:45
Benedikt Kulmann
00ea1f186a
Refactor indexing of new entities into own function
...
This also fixes that on Create and Update calls the index was not
updated properly.
2020-07-15 08:25:27 +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
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
David Christofas
db7afb8872
change grpc api errors
...
Signed-off-by: David Christofas <dchristofas@owncloud.com >
2020-07-08 11:37:17 +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
fb3b6dcd5f
Fix generate target in Makefile
2020-07-01 11:40:00 +02:00
Benedikt Kulmann
4e1d6b4557
Add fake imports to make fileb0x work
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