Commit Graph

9189 Commits

Author SHA1 Message Date
André Duffeck
0b0efd6799 Remove items from the index when they were deleted 2022-04-28 08:43:14 +02:00
André Duffeck
4dd89aa804 Adapt to renamed field 2022-04-28 08:39:12 +02:00
André Duffeck
656ef9d6ae Add a IndexSpace method to the search provider
IndexSpace recursively traverses a given space and (re-)index all files
it finds.
2022-04-27 09:55:32 +02:00
André Duffeck
827885abad Add a DocCount() method to the index client 2022-04-27 09:48:26 +02:00
André Duffeck
d5084eea84 Add command for (re-)indexing existing spaces 2022-04-27 09:30:08 +02:00
André Duffeck
1a84afc401 Persist the search index on disk 2022-04-25 16:00:25 +02:00
André Duffeck
51cf27d767 Add etag, mtime and mimetype to the search index and response 2022-04-25 11:23:30 +02:00
André Duffeck
962840ec55 Fix file id field in the search response 2022-04-22 17:54:55 +02:00
André Duffeck
b14bded1d3 Limit the search to the relevant fields 2022-04-22 17:54:42 +02:00
André Duffeck
fe61ef58e6 Fix searching files from the web ui 2022-04-22 14:34:04 +02:00
André Duffeck
ca29517527 Use proper natsjs plugin 2022-04-22 14:33:24 +02:00
André Duffeck
3ec212c0cb Properly pass on the token in the context to the search provider 2022-04-22 12:59:09 +02:00
André Duffeck
5598fc04ec Listen to nats and trigger the indexing of uploaded files 2022-04-22 12:59:09 +02:00
Jörn Friedrich Dreyer
c17717d7c9 enable search in web ui
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-22 10:47:34 +00:00
Jörn Friedrich Dreyer
190ee68c95 Merge branch 'master' into search 2022-04-22 09:45:06 +00:00
Jörn Friedrich Dreyer
1e5a9e90ff Merge branch 'master' into search 2022-04-22 09:42:23 +00:00
Willy Kloucek
1fa61006a1 Merge pull request #3563 from owncloud/dependabot/go_modules/github.com/urfave/cli/v2-2.4.4
Bump github.com/urfave/cli/v2 from 2.4.0 to 2.4.4
2022-04-22 09:00:52 +02:00
Willy Kloucek
2e08c1c22a Merge pull request #3562 from owncloud/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.8.1
Bump github.com/nats-io/nats-server/v2 from 2.8.0 to 2.8.1
2022-04-22 09:00:25 +02:00
dependabot[bot]
d28a082448 Bump github.com/urfave/cli/v2 from 2.4.0 to 2.4.4
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.4.0 to 2.4.4.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.4.0...v2.4.4)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 06:17:18 +00:00
dependabot[bot]
9931ccf93f Bump github.com/nats-io/nats-server/v2 from 2.8.0 to 2.8.1
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.8.0...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 06:17:07 +00:00
PKiran
6e20eb7d7a Merge pull request #3560 from owncloud/remove-passing-test
[tests-only][full-ci] Remove passing test from expected to fail
2022-04-22 11:04:00 +05:45
Swikriti Tripathi
9321f34cc8 Remove passing test from expected to fail 2022-04-22 09:43:57 +05:45
Willy Kloucek
f57d6ee413 Merge pull request #3556 from owncloud/bump-middleware
[tests-only] bump middleware to v1.4.1
2022-04-21 14:30:20 +02:00
Ralf Haferkamp
ca15068695 Merge pull request #3404 from owncloud/add-graph-api-test-automation
[tests-only][full-ci] run core acceptance tests with the Graph API
2022-04-21 14:16:20 +02:00
Willy Kloucek
f9e8f11df7 Merge pull request #3552 from owncloud/dependabot/go_modules/github.com/mitchellh/mapstructure-1.5.0
Bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0
2022-04-21 14:14:05 +02:00
Willy Kloucek
3990b3c754 Merge pull request #3555 from owncloud/dependabot/go_modules/github.com/go-micro/plugins/v4/events/natsjs-1.0.1
Bump github.com/go-micro/plugins/v4/events/natsjs from 1.0.0 to 1.0.1
2022-04-21 14:13:15 +02:00
Kiran Parajuli
fbecb7cb05 Bump middleware to v1.4.1
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 17:35:30 +05:45
dependabot[bot]
709453e3c5 Bump github.com/go-micro/plugins/v4/events/natsjs from 1.0.0 to 1.0.1
Bumps [github.com/go-micro/plugins/v4/events/natsjs](https://github.com/go-micro/plugins) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.0.0...v3/server/grpc/v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/events/natsjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 11:44:41 +00:00
Jörn Friedrich Dreyer
be539f7217 Merge pull request #3546 from owncloud/switch-micro-plugin-source-server
switch micro plugin source for the grpc server plugin
2022-04-21 13:43:29 +02:00
saw-jan
8c08c98cc7 add OCIS_URL 2022-04-21 16:55:05 +05:45
saw-jan
78c5a2c34a copy from ocis-api expected-failure file
update expected-failure file
2022-04-21 16:55:05 +05:45
saw-jan
bddfade253 update expected to fail file, refactor comment doc
exlude TestHelpers from codacy as done for other test context files

Signed-off-by: saw-jan <saw.jan.grg3e@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli
2b49a15b83 Use latest commit id from owncloud/core master
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli
f7bb9063b2 Reverted changes for quick feedback loop
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli
e078abc7fd Add group existane check methods
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli
4857a6dbe3 Fix codacy related errors
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli
fba90f772b Fixed links in expected to failures file
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Parajuli Kiran
341be5ee6f Updated list of expected failures
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Ralf Haferkamp
7425cb5f61 Add ocdav service to idp configuration 2022-04-21 16:55:05 +05:45
Parajuli Kiran
e39f49ef11 Helper and context refactorings
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli
3285ec9c92 Updated expected to failures list with suite grouping
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Ralf Haferkamp
7a3ab44ae6 Adapt for new LDAP config 2022-04-21 16:55:04 +05:45
Kiran Parajuli
54583ca936 Set ACCOUNTS_DEMO_USERS_AND_GROUPS to true
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Kiran Parajuli
3bae522031 Use latest core commit id
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Parajuli Kiran
5c0f0d3eed Introduced expected to fail file
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Parajuli Kiran
a3f4a57c47 Set log level to debug
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Parajuli Kiran
ce0e47b365 Setup ci for graph tests
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Parajuli Kiran
5b04aa1ee7 Implement context for core
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Kiran Parajuli
9e2962d561 added graph helper
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Phil Davis
09baf574aa Automated changelog update [skip ci] 2022-04-21 11:06:31 +00:00