Commit Graph

108 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer 9b99a61cdb Merge pull request #4266 from wkloucek/update-go-micro
update go-micro
2022-07-26 06:51:25 +00:00
Willy Kloucek 7365d6cb13 short error return syntax 2022-07-25 16:38:02 +02:00
Willy Kloucek 26d50b5623 switch to different mail lib to add insecure flag 2022-07-25 16:22:27 +02:00
Willy Kloucek bee33638ef remove Body from endpoint, see https://github.com/asim/go-micro/commit/3381a9f3dba45f07a6dcdba163158c68a7bc4a89 2022-07-25 12:16:37 +02:00
Ralf Haferkamp b4a90b132b Demote demo user "moss" from admin to space-admin
Fixes: #3625
2022-07-22 16:47:04 +02:00
jkoberg e6ef03fb43 add Makefile
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-07-22 11:25:04 +02:00
jkoberg fdaa55865c add search unit test to ci
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-07-22 11:16:53 +02:00
jkoberg e56632681b update description for event structs
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-07-21 10:27:43 +02:00
Pascal Wengerter cdadd5d00f Merge pull request #4214 from owncloud/dependabot/npm_and_yarn/services/settings/eslint-plugin-n-15.2.4
Bump eslint-plugin-n from 15.2.3 to 15.2.4 in /services/settings
2022-07-20 13:44:28 +02:00
Pascal Wengerter 18d758fef7 Merge pull request #4236 from owncloud/dependabot/npm_and_yarn/services/settings/terser-5.14.2
Bump terser from 5.7.2 to 5.14.2 in /services/settings
2022-07-20 13:44:08 +02:00
Ralf 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 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
dependabot[bot] 6dc8047f32 Bump terser from 5.7.2 to 5.14.2 in /services/settings
Bumps [terser](https://github.com/terser/terser) from 5.7.2 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 09:13:54 +00:00
Willy Kloucek 8312803c16 improve error log for "could not get user by claim" error 2022-07-19 13:58:39 +02:00
dependabot[bot] eb086128c6 Bump eslint-plugin-n from 15.2.3 to 15.2.4 in /services/settings
Bumps [eslint-plugin-n](https://github.com/weiran-zsd/eslint-plugin-node) from 15.2.3 to 15.2.4.
- [Release notes](https://github.com/weiran-zsd/eslint-plugin-node/releases)
- [Commits](https://github.com/weiran-zsd/eslint-plugin-node/compare/15.2.3...15.2.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-n
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 06:33:25 +00:00
Willy Kloucek 7cbd1ad357 make graph service events optional 2022-07-15 07:51:30 +02:00
Willy Kloucek 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 Kloucek 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 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 Barz 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 Wengerter 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 Wengerter 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 Wengerter 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 Kloucek 791f49d91a Merge pull request #4149 from wkloucek/fix-missing-descriptions
add missing config descriptions
2022-07-11 10:15:38 +02:00
dependabot[bot] 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] 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 Kulmann 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
Martin 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 Davis af1a29d79f Merge pull request #4116 from owncloud/description_text_fixes
Env variable text fixes
2022-07-07 20:30:55 +05:45
Ralf 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 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
Martin 95bf9caf23 Apply suggestions from code review 2022-07-07 19:53:28 +05:45
mmattel 001a3eb275 fix two namings 2022-07-07 19:53:28 +05:45
mmattel 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 Christofas ce6f85de61 Merge pull request #4117 from owncloud/ldap-escape-dn
escape DN attribute values
2022-07-07 09:25:23 +02:00
Andre Duffeck 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