Commit Graph
96 Commits
Author SHA1 Message Date
Ralf HaferkampandRalf Haferkamp 288b76d955 Add config for setting search_min_length capability
This adds the "search_min_length" setting to the frontend service which
allows to set the search_min_length capabilty which is e.g. used by
web.

Partial: #547
2022-07-20 11:55:04 +02:00
Ralf HaferkampandRalf Haferkamp 6d47ee16c9 Allow configuration of substring search for searching sharees
This introduces new settings for the users and groups services.
"group_substring_filter_type" for the group services and
"user_substring_filter_type" for the users service. They allow to set
the type of LDAP filter that is used for substring user searches.
Possible values are: "initial", "final" and "any" to do either prefix,
suffix or full substring searches.

Fixes #547
2022-07-20 11:55:04 +02:00
Willy Kloucek 8312803c16 improve error log for "could not get user by claim" error 2022-07-19 13:58:39 +02:00
Willy Kloucek 7cbd1ad357 make graph service events optional 2022-07-15 07:51:30 +02:00
Willy KloucekandGitHub 7c8a85f54c Merge pull request #4180 from owncloud/fix-search-reva-addr-config
fix search reva addr config parsing
2022-07-15 07:28:56 +02:00
Willy KloucekandGitHub e0523796d9 Merge pull request #4204 from rhafer/cleanup
Remove unused BindEnv code
2022-07-15 07:14:06 +02:00
Ralf Haferkamp 946f3e8feb Remove unused BindEnv code
We dropped this in favour of envdecode a while ago.
2022-07-14 16:34:25 +02:00
Ralf HaferkampandRalf Haferkamp 0f257af6e4 Align default login attribute across services
Up to now the builtin lico was using the "username" as the login
attribute, while the proxy (and to some extend the auth-basic) service
tried to uniquely identify users by mail address. This aligns the
default configuration of the services to use the username everywhere.

Fixes: #4039
2022-07-14 14:21:34 +02:00
André Duffeck cfceb854b1 Fix rebase errors 2022-07-13 11:34:24 +02:00
André Duffeck b9919aa69b Return the range and number of total matches in a Content-Range header 2022-07-13 10:42:52 +02:00
André Duffeck a4ba79dc3e Compile one sorted list of matches and apply the limit if needed 2022-07-13 10:42:52 +02:00
André Duffeck 0fb8721da6 Return the number of total matches 2022-07-13 10:42:50 +02:00
Michael BarzandGitHub 2a5eb63e03 Merge pull request #4148 from owncloud/space-id
[full-ci] use spaceID
2022-07-12 15:25:24 +02:00
Jörn Friedrich Dreyer 52f11cfd80 fix search reva addr config parsing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-07-12 11:46:31 +00:00
Jörn Friedrich Dreyer 761a09247c log owner when machine auth fails
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-07-12 08:58:55 +00:00
Pascal WengerterandGitHub 2f339ce5ee [full-ci] Bump web to v5.7.0-rc.5 (#4166)
* Bump web to v5.7.0-rc.5

* Update expected failures
2022-07-11 16:17:52 +02:00
Michael Barz 09aee5ecfc Merge branch 'master' into space-id 2022-07-11 14:29:33 +02:00
Jörn Friedrich Dreyer f02e0c833e add missing storageid
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-07-11 11:32:10 +00:00
Pascal Wengerter 8dd0dd15fd Remove unused nightwatch-vrt dep 2022-07-11 12:47:18 +02:00
Michael Barz 2a113e9f7d use spaceID 2022-07-11 10:44:09 +02:00
Pascal WengerterandGitHub 82a7d4092f Merge pull request #4157 from owncloud/dependabot/npm_and_yarn/services/settings/rollup/plugin-replace-4.0.0
Bump @rollup/plugin-replace from 2.4.2 to 4.0.0 in /services/settings
2022-07-11 10:37:24 +02:00
Pascal WengerterandGitHub 139d6cb225 Merge pull request #4158 from owncloud/dependabot/npm_and_yarn/services/settings/babel/preset-env-7.18.6
Bump @babel/preset-env from 7.16.11 to 7.18.6 in /services/settings
2022-07-11 10:36:52 +02:00
Willy KloucekandGitHub 791f49d91a Merge pull request #4149 from wkloucek/fix-missing-descriptions
add missing config descriptions
2022-07-11 10:15:38 +02:00
dependabot[bot]andGitHub eeb09a2a60 Bump @babel/preset-env from 7.16.11 to 7.18.6 in /services/settings
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.11 to 7.18.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.6/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 06:32:12 +00:00
dependabot[bot]andGitHub f74576c3d0 Bump @rollup/plugin-replace from 2.4.2 to 4.0.0 in /services/settings
Bumps [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/HEAD/packages/replace) from 2.4.2 to 4.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/replace/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/url-v4.0.0/packages/replace)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-replace"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 06:31:50 +00:00
Benedikt KulmannandGitHub 981c448395 [full-ci] Bump web to v5.7.0-rc.3 (#4140)
* Bump web to v5.7.0-rc.4

* Switch default value for resharing in capabilities to true

* Fix access token usage in settings ui
2022-07-08 19:15:34 +02:00
MartinandGitHub d2ec1187bc Apply suggestions from code review 2022-07-08 16:03:17 +02:00
Willy Kloucek 02774a5378 add missing config descriptions 2022-07-08 15:32:26 +02:00
Phil DavisandGitHub af1a29d79f Merge pull request #4116 from owncloud/description_text_fixes
Env variable text fixes
2022-07-07 20:30:55 +05:45
Ralf HaferkampandRalf Haferkamp db634ae062 Remove non-working access_token parsing code
The removed code was broken is serveral ways:
- The key use for verification was always empty
- Using a static key for access_token verification is incompatible
  with key rotation
- The type assertion (which was never hit anyways) to convert
  the return MapClaims to StandardClaims can't really work
So in the end we were always using the default ttl for caching
the userinfo.
2022-07-07 16:18:10 +02:00
Ralf HaferkampandRalf Haferkamp bd4150ab01 Remove reduntant addtion of claims to context 2022-07-07 16:18:10 +02:00
Phil Davis 0dea5138fe More typo fixes 2022-07-07 19:53:28 +05:45
MartinandPhil Davis 95bf9caf23 Apply suggestions from code review 2022-07-07 19:53:28 +05:45
mmattelandPhil Davis 001a3eb275 fix two namings 2022-07-07 19:53:28 +05:45
mmattelandPhil Davis 246377b35b Env variable text fixes 2022-07-07 19:53:27 +05:45
Willy Kloucek 45f25ee845 remove unused GRAPH_SPACES_INSECURE 2022-07-07 15:29:06 +02:00
David ChristofasandGitHub ce6f85de61 Merge pull request #4117 from owncloud/ldap-escape-dn
escape DN attribute values
2022-07-07 09:25:23 +02:00
Andre DuffeckandGitHub edb8e85fb9 Merge pull request #4118 from aduffeck/webdav-search
Wire up the search service at the old webdav endpoint
2022-07-07 08:47:19 +02:00
André Duffeck 4f042aa071 Wire up the search service at the old webdav endpoint 2022-07-06 15:58:26 +02:00
David Christofas 2707c2f4b4 escape DN attribute values 2022-07-06 15:16:43 +02:00
mmattel 62a54a44b1 update resolution text 2022-07-06 11:13:02 +02:00
mmattel 96605163c8 fix description text for array 2022-07-06 10:12:50 +02:00
Andre DuffeckandGitHub 24fbb4a389 Merge pull request #4094 from aduffeck/polish-search
Polish search
2022-07-06 08:44:43 +02:00
Jörn Friedrich DreyerandGitHub 2e640424cf Merge pull request #4076 from aduffeck/enabled-machine-auth-in-ocdav
[full-ci] Enable machine auth in ocdav
2022-07-05 18:14:41 +00:00
Ralf Haferkamp 4a09d8a948 Remove redundant setting of cli.HelpFlag
The help flag is configured automatically by default already. We don't
need to redo that for every single service.

This also addresses one of the finding of "go race" (#4088)
2022-07-05 14:59:06 +02:00
André Duffeck 9b40b6b152 Fix setting the ocdav machine auth api key from the common config 2022-07-05 11:46:01 +02:00
David ChristofasandGitHub 41226deab7 Merge pull request #4096 from owncloud/add-missing-env-var-descriptions
Fix typo in variable description
2022-07-05 11:39:35 +02:00
André Duffeck c2b163afe6 Improve description of the machine auth api key config options 2022-07-05 11:05:33 +02:00
André Duffeck 17d7bee37d Enable machine auth in ocdav 2022-07-05 11:01:48 +02:00
David ChristofasandGitHub a9b66d4189 Merge pull request #4093 from wkloucek/improve-startup-errors
improve startup error logging
2022-07-05 10:56:36 +02:00