Commit graph

67519 commits

Author SHA1 Message Date
Arthur Schiwon
dbfd2f936a
refactor: remove SystemTag logic from Folder into QuerySearchHelper
- adds OC\SystemTag\SystemTagsInFilesDetector where the search logic is
  moved to

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:52 +02:00
Arthur Schiwon
7f3725c962
chore: polish SystemTagsInUseCollection
- DI SystemTagManager
- add some comments and doc
- catch NoUserException
- add return type hints

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:52 +02:00
Arthur Schiwon
b07c5dff72
fix: improve naming of new systemtags endpoint to systemtags-assigned
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:51 +02:00
Arthur Schiwon
2489a2d63a
feat: specify media type via url path: systemtags-current/$mediaType
- only the media part of the mime type can be search, but not the full
  mime type. It can be added, should it become necessary.
- thus fixes previously hardcoded selector for image/ types
- also fixes a return type hint
- adds a return type hint

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:51 +02:00
Arthur Schiwon
6bff6a5667
PoC: SystemTags endpoint to return tags used by a user with meta data
Target case is photos app: when visiting the tags category, all systemtags
of the whole cloud are retrieved. In subequent steps the next tag is
requested until the browser view is filled with tag tiles (i.e. previews
are requested just as well).

With this approach, we incorpoate the dav search and look for user related
tags that are used by them, and already returns the statistics (number of
files tagged with the respective tag) as well as a file id for the purpose
to load the preview. This defaults to the file with the highest id.

Call:
curl -s -u 'user:password' \
  'https://my.nc.srv/remote.php/dav/systemtags-current' \
  -X PROPFIND -H 'Accept: text/plain' \
  -H 'Accept-Language: en-US,en;q=0.5'  -H 'Depth: 1' \
  -H 'Content-Type: text/plain;charset=UTF-8' \
  --data @/home/doe/request-systemtag-props.xml

With request-systemtag-props.xml:
<?xml version="1.0" encoding="UTF-8"?>
<d:propfind xmlns:d="DAV:">
        <d:prop xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns">
                <oc:id/>
                <oc:display-name/>
                <oc:user-visible/>
                <oc:user-assignable/>
                <oc:can-assign/>
                <nc:files-assigned/>
                <nc:reference-fileid/>
        </d:prop>
</d:propfind>

Example output:
  …
  <d:response>
    <d:href>/master/remote.php/dav/systemtags/84</d:href>
    <d:propstat>
      <d:prop>
        <oc:id>84</oc:id>
        <oc:display-name>Computer</oc:display-name>
        <oc:user-visible>true</oc:user-visible>
        <oc:user-assignable>true</oc:user-assignable>
        <oc:can-assign>true</oc:can-assign>
        <nc:files-assigned>42</nc:files-assigned>
        <nc:reference-fileid>924022</nc:reference-fileid>
      </d:prop>
      <d:status>HTTP/1.1 200 OK</d:status>
    </d:propstat>
  </d:response>
  <d:response>
    <d:href>/remote.php/dav/systemtags/97</d:href>
    <d:propstat>
      <d:prop>
        <oc:id>97</oc:id>
        <oc:display-name>Bear</oc:display-name>
        <oc:user-visible>true</oc:user-visible>
        <oc:user-assignable>true</oc:user-assignable>
        <oc:can-assign>true</oc:can-assign>
        <nc:files-assigned>1</nc:files-assigned>
        <nc:reference-fileid>923422</nc:reference-fileid>
      </d:prop>
      <d:status>HTTP/1.1 200 OK</d:status>
    </d:propstat>
  </d:response>
  …

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-09 23:51:48 +02:00
Côme Chilliet
f734a76466
Merge pull request #38109 from nextcloud/dependabot/npm_and_yarn/jsdom-22.0.0
build(deps-dev): Bump jsdom from 21.1.1 to 22.0.0
2023-05-09 12:22:23 +02:00
Arthur Schiwon
d946256ff9
Merge pull request #38088 from nextcloud/fix/38053/change-display-name
fix(user): Can change display name
2023-05-09 11:48:10 +02:00
John Molakvoæ
ca88a1876b
Merge pull request #38133 from nextcloud/feat/setupcheck-debug 2023-05-09 10:14:21 +02:00
John Molakvoæ
14a468f326
Merge pull request #38099 from nextcloud/fix/missing-clear-status-route 2023-05-09 08:24:01 +02:00
Julius Härtl
a6966c0b2d
feat: Add setup check warning if instance is in debug mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-05-09 07:34:03 +02:00
Nextcloud bot
158405127b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-09 02:19:48 +00:00
Arthur Schiwon
c7bb540d08
Merge pull request #36895 from apasov/patch-1
Fix json_decode expecting a string
2023-05-08 21:20:38 +02:00
Joas Schilling
53957cf35b
Merge pull request #38124 from nextcloud/dependajulia/update-nc-vue-to-v7.11.3
Bump @nextcloud/vue to 7.11.3
2023-05-08 14:31:03 +02:00
jld3103
e6e2b873a3
Remove unreachable UserStatus#clearStatus route
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-08 14:16:54 +02:00
julia.kirschenheuter
79fa17b438 Bump @nextcloud/vue to 7.11.3
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-08 13:01:44 +02:00
Joas Schilling
598859d969
Merge pull request #38097 from nextcloud/bugfix/38087/dont-translate-when-from-and-to-are-equal
fix(translation): Don't use translation providers when from and to ar…
2023-05-08 09:40:22 +02:00
Joas Schilling
b1c6b940a6
Merge pull request #38102 from nextcloud/feature/noid/add-messageid-to-talk-richobject-definition
Add messageId to richObject definition of Talk
2023-05-08 09:26:04 +02:00
Nextcloud bot
cfbb80a8c3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-08 02:28:13 +00:00
Nextcloud bot
b3ab8859fb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-07 02:28:17 +00:00
dependabot[bot]
e785ae345e
Merge pull request #38112 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.17 2023-05-06 08:01:18 +00:00
dependabot[bot]
44f9788d7c
build(deps-dev): Bump @types/dockerode from 3.3.16 to 3.3.17
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.16 to 3.3.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

---
updated-dependencies:
- dependency-name: "@types/dockerode"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 06:52:00 +00:00
dependabot[bot]
e5b7ec61dc
Merge pull request #38111 from nextcloud/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-5.59.2 2023-05-06 06:50:35 +00:00
dependabot[bot]
2dcd9776fd
Merge pull request #38107 from nextcloud/dependabot/npm_and_yarn/webpack-cli-5.0.2 2023-05-06 05:38:48 +00:00
dependabot[bot]
228bb100d8
bump @typescript-eslint/eslint-plugin from 5.59.1 to 5.59.2
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 03:45:32 +00:00
Nextcloud bot
737e79854e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-06 02:27:44 +00:00
dependabot[bot]
2b42085fe0
build(deps-dev): Bump jsdom from 21.1.1 to 22.0.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 21.1.1 to 22.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/21.1.1...22.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 01:59:35 +00:00
dependabot[bot]
e27309feab
build(deps-dev): Bump webpack-cli from 5.0.1 to 5.0.2
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@5.0.1...webpack-cli@5.0.2)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 01:58:27 +00:00
Kate
c40d1b7dbc
Merge pull request #38077 from nextcloud/fix/libxml-version
Remove version check for ancient libxml version
2023-05-05 21:44:25 +02:00
jld3103
04d840211f
Remove version check for ancient libxml version
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-05-05 19:07:55 +02:00
Marcel Müller
484f7a6641 Add messageId to richObject definition of Talk
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-05-05 17:51:53 +02:00
Andy Scherzinger
236f9a2dfe
Merge pull request #38068 from nextcloud/hubNumberBumper
Bump hub number
2023-05-05 17:09:04 +02:00
Joas Schilling
505e467cc4
fix(translation): Don't use translation providers when from and to are the same
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-05 14:03:14 +02:00
John Molakvoæ
263a6910c4
Merge pull request #38063 from nextcloud/fix/theming 2023-05-05 13:57:55 +02:00
Simon L
a1ed1db01b
Merge pull request #31660 from dzatoah/pr/rename-sendEventRemindersToSharedGroupMembers-to-sendEventRemindersToSharedUsers
Rename setting 'sendEventRemindersToSharedGroupMembers' -> 'sendEventRemindersToSharedUsers'.
2023-05-05 08:12:04 +02:00
Nextcloud bot
f997b8a2a3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-05 02:28:12 +00:00
Christoph Wurst
e127375dd4
Merge pull request #38085 from nextcloud/chore/federation/address-book-sync-logging
fix(federation): Log address book sync exceptions
2023-05-05 03:18:48 +02:00
Christoph Wurst
d2606a9b7d
Merge pull request #38073 from nextcloud/feat/caldav/map-additional-emails-system-addres-book
feat(carddav): Map user's additional emails into the SAB card
2023-05-04 23:50:37 +02:00
John Molakvoæ
46459ae93f
Merge pull request #35092 from Messj1/bugfix/type-error-cert-manager-cache-path 2023-05-04 21:53:49 +02:00
John Molakvoæ
f4e5d3d4e7
Merge pull request #38038 from nextcloud/release/27.0.0_beta_1 2023-05-04 20:52:00 +02:00
Christopher Ng
4ecae83385 fix(user): Can change display name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-05-04 11:14:49 -07:00
Christoph Wurst
48b03b6c20
fix(federation): Log address book sync exceptions
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-04 18:21:39 +02:00
Robin Appelman
f8b4e0025b
Merge pull request #37865 from nextcloud/info-file-space
add command to summarize space usage
2023-05-04 18:21:11 +02:00
Côme Chilliet
8ada0cec2c
Merge pull request #38057 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2023-05-04 17:15:22 +02:00
Christoph Wurst
8c727f2285
feat(carddav): Map user's additional emails into the SAB card
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-04 15:03:01 +02:00
John Molakvoæ
20e5e37ab5
27.0.0 beta 1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 14:41:44 +02:00
John Molakvoæ
4c71d8f8a4
fix(theming): replace elementColor dark value with better contrast #8c8c8c
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-04 14:41:19 +02:00
Andy Scherzinger
bfa16fb3d7
bump hub number
Bump the hub number 4->5 for v27

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-04 13:36:03 +02:00
Robin Appelman
5c31c35d40
add option to list all files instead of limiting
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 13:10:26 +02:00
Robin Appelman
2b4bd02be9
add command to summarize space usage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-05-04 13:10:25 +02:00
Daniel Teichmann
56f36b94e5
Rename setting 'sendEventRemindersToSharedGroupMembers' to 'sendEventRemindersToSharedUsers'.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
2023-05-04 13:05:00 +02:00