Commit graph

66881 commits

Author SHA1 Message Date
Arthur Schiwon
053cefa373
Merge pull request #38435 from nextcloud/release/26.0.2
26.0.2
2023-05-25 12:09:03 +02:00
Arthur Schiwon
deae7be0a5 26.0.2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-25 12:08:34 +02:00
Nextcloud bot
3a14476947
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-25 00:19:59 +00:00
Joas Schilling
c075a1e42e
Merge pull request #38437 from nextcloud/revert-37793-backport/37522/stable26
Revert "[stable26] Ungroup `placeholder` css rules to prevent browsers from removing all rules"
2023-05-24 17:18:12 +02:00
Arthur Schiwon
8ba2f2617f
Revert "[stable26] Ungroup placeholder css rules to prevent browsers from removing all rules" 2023-05-24 15:19:13 +02:00
Nextcloud bot
93a7d27bb4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-24 00:17:58 +00:00
Nextcloud bot
81a6300e39
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-23 00:17:36 +00:00
Nextcloud bot
68acce900a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-22 00:17:54 +00:00
Nextcloud bot
a36cd93617
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-21 00:17:17 +00:00
Nextcloud bot
702515d038
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-20 00:17:21 +00:00
Nextcloud bot
dc3a6e79b5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-19 00:17:29 +00:00
Nextcloud bot
daf1bfe19d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-18 18:46:40 +00:00
Nextcloud bot
eab8807e6e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-18 00:17:58 +00:00
Ferdinand Thiessen
a01a15c62b
Merge pull request #37793 from nextcloud/backport/37522/stable26
[stable26] Ungroup `placeholder` css rules to prevent browsers from removing all rules
2023-05-17 21:12:47 +02:00
Arthur Schiwon
e29000193c
Merge pull request #38314 from nextcloud/release/26.0.2_rc1
26.0.2 RC1
2023-05-17 19:44:13 +02:00
Arthur Schiwon
dfd4f5880c
Merge pull request #38317 from nextcloud/backport/38115/stable26
[stable26] Rename `numericStorageId` to `numericExternalStorageId` in PersonalMount.php
2023-05-17 19:04:36 +02:00
Arthur Schiwon
7c6b47dd27
Merge pull request #38091 from nextcloud/backport/35092/stable26
[stable26] Check return value and improve error handling on certificate manager
2023-05-17 19:04:10 +02:00
Andy Scherzinger
4bd2f33cfe
Merge pull request #38307 from nextcloud/backport/37961/stable26
[stable26] SystemTags endpoint to return tags used by a user with meta data
2023-05-17 18:15:02 +02:00
Arthur Schiwon
83e0b31b62
Merge pull request #38167 from nextcloud/backport/38100/stable26
[stable26] Fix error on delete in ChunkingV2Plugin
2023-05-17 15:54:52 +02:00
Ferdinand Thiessen
25cde39f1f fix(core): Ungroup placeholder css rules to prevent browsers from removing all rules
When rules are grouped using the comma operator and one selector is invalid / unknown then the whole group is invalidated[1].
In this case `::-ms-input-placeholder` is unknown to Firefox and Chrome, so the `::placeholder` rule is never applied.
[1]: https://www.w3.org/TR/selectors-3/#grouping

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-17 15:02:32 +02:00
Arthur Schiwon
d1640ac758
Merge pull request #38070 from nextcloud/backport/37480/stable26
[stable26] fix(ocp): Add deprecation version to ILogFactory::getCustomLogger
2023-05-17 13:54:05 +02:00
Arthur Schiwon
cd26e67458
Merge pull request #38319 from nextcloud/backport/38101/stable26
[stable26] Fix : Share Expire After N Days width
2023-05-17 13:52:00 +02:00
Arthur Schiwon
2a87aaa4c1
Merge pull request #38255 from nextcloud/backport/37865/stable26
[stable26] add command to summarize space usage
2023-05-17 13:47:42 +02:00
Arthur Schiwon
fc86b9cd85
Merge pull request #38130 from nextcloud/backport/36895/stable26
[stable26] Fix json_decode expecting a string
2023-05-17 13:45:11 +02:00
Arthur Schiwon
4e1b6ee168
Merge pull request #38009 from nextcloud/backport/37925/stable26
[stable26] fix: change maintenance mode info wording
2023-05-17 13:43:36 +02:00
Arthur Schiwon
02dbc04533
Merge pull request #37849 from nextcloud/backport/37834/stable26
[stable26] Fix TypeError in Profiler
2023-05-17 13:42:51 +02:00
Arthur Schiwon
c24bd06825
Merge pull request #37785 from nextcloud/backport/36217/stable26
[stable26] Handle reminders where calendar name is null
2023-05-17 13:41:44 +02:00
Arthur Schiwon
8cdbbbec94
Merge pull request #37708 from nextcloud/backport/37697/stable26
[stable26] Fix button text
2023-05-17 13:38:37 +02:00
Arthur Schiwon
f341d631d1
Merge pull request #37601 from nextcloud/backport/37526/stable26
[stable26] fix(dav): Use an icon with correct color for calendar user settings section
2023-05-17 13:37:52 +02:00
Arthur Schiwon
0c3439e151
Merge pull request #37304 from nextcloud/backport/37006/stable26
[stable26] also unmark deleted ldap user when checking the ldap entry
2023-05-17 13:36:46 +02:00
Christoph Wurst
fed6aa0329
Merge pull request #38248 from nextcloud/fix/read-only-system-addres-book-acls-stable26
[stable26] fix(carddav): Mark system address book as read-only
2023-05-17 13:13:40 +02:00
Joas Schilling
413611acac
Merge pull request #38331 from nextcloud/backport/38316/stable26
[stable26] chore(deps): Bump @nextcloud/vue from 7.11.5 to 7.11.6
2023-05-17 07:16:33 +02:00
Christopher Ng
89ca08e1fd chore(deps): Bump @nextcloud/vue from 7.11.5 to 7.11.6
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit b4caff393c)
2023-05-16 17:23:42 -07:00
Nextcloud bot
64a1444ff7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-17 00:17:44 +00:00
Simon L
342e5e6ed9
Merge pull request #38318 from nextcloud/backport/38303/stable26
[stable26] fix(search): fix load more
2023-05-16 22:36:06 +02:00
Jérôme Herbinet
3921e67413 Finally no with seams better to be relevant with other fields
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-16 19:26:42 +00:00
John Molakvoæ
6da7e66dc1 fix(search): fix load more
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-16 19:25:52 +00:00
Jérôme Herbinet
d8904a3279 Fix : Share Expire After N Days width
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-05-16 18:02:21 +00:00
Daniel
3a56082ec5 Rename numericStorageId to numericExternalStorageId in PersonalMount.php
so that it doesn't override `numericStorageId` in the `MountPoint` baseclass

fixes https://github.com/nextcloud/server/issues/37473
fixes https://github.com/nextcloud/server/issues/37414

Signed-off-by: Daniel <7558512+DerGenaue@users.noreply.github.com>
2023-05-16 17:18:31 +00:00
Joas Schilling
5ea5e7b339
Merge pull request #38189 from nextcloud/backport/38170/stable26
[stable26] fix(workflowengine): Fix multiple UI issues in workflow engine admin settings
2023-05-16 18:36:32 +02:00
Arthur Schiwon
a84d9eb545
26.0.2 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-16 18:04:00 +02:00
Kate
554d0b17c6
Merge pull request #38304 from nextcloud/backport/38143/stable26
[stable26] Fix generated avatars cache
2023-05-16 17:08:50 +02:00
Joas Schilling
bac0941aa0
chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-16 14:11:16 +02:00
Joas Schilling
eea84febf7
fix(workflowengine): Fix multiple UI issues in workflow engine admin settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-16 14:08:45 +02:00
Arthur Schiwon
298af3cf0a
refactor: remove where specification from SELECT getter
- search constraints are now fully in control of
  SystemTagsInFilesDetector::detectAssignedSystemTagsIn(), avoids
  duplication of a WHERE statement

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-16 12:47:15 +02:00
Arthur Schiwon
f2b5a079db
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-16 12:47:09 +02:00
Arthur Schiwon
f50ce8b3bd
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-16 12:47:01 +02:00
Arthur Schiwon
b1c8fc38a2
fix: improve naming of new systemtags endpoint to systemtags-assigned
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-05-16 12:46:55 +02:00
Arthur Schiwon
c0dbde5fba
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-16 12:46:50 +02:00
Arthur Schiwon
2ea872d156
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-16 12:46:37 +02:00