Commit graph

21382 commits

Author SHA1 Message Date
Nextcloud bot
b951ead895
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-18 00:24:30 +00:00
Nextcloud bot
66f904dbb2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-14 00:30:26 +00:00
Nextcloud bot
8803a26624
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-13 00:30:00 +00:00
Arthur Schiwon
6715bbade1
Merge pull request #39101 from nextcloud/backport/39093/stable25
[stable25] Silent `imagecreatefromstring()` errors
2023-07-12 00:44:59 +02:00
Arthur Schiwon
59466b3424
Merge pull request #39233 from nextcloud/backport/39202/stable25
[stable25] use more efficient tag retrieval on DAV report request
2023-07-11 14:22:44 +02:00
Joas Schilling
cdc51554b2
Merge pull request #39253 from nextcloud/backport/38046/stable25
[stable25] fix(dav): Abort requests with 429 instead of waiting
2023-07-10 20:53:15 +02:00
Arthur Schiwon
6b79c81b34
Merge pull request #39032 from nextcloud/backport/38917/stable25
[stable25] fix(l10n): Fix plural issue with different locale and language
2023-07-10 17:27:46 +02:00
Arthur Schiwon
a4b7bb7c78
Merge pull request #37744 from nextcloud/backport/36690/stable25
[stable25] fix: Make sure that rollback hook is triggered on all version backends
2023-07-10 17:16:04 +02:00
Daniel Kesselberg
ae691e0986
chore: fix codestyle for \OC\Files\Node\Folder
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-10 14:54:02 +02:00
Daniel Kesselberg
b2776bf586
fix: use handleLoginFailed for invalid email address
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-07-10 14:28:19 +02:00
Arthur Schiwon
2ca8c7102b
fix: PHP 7.4 compatibility
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-10 12:42:30 +02:00
Joas Schilling
446ebd35a9
fix(dav): Abort requests with 429 instead of waiting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-10 06:35:25 +02:00
Nextcloud bot
d8441009de
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-09 00:35:50 +00:00
Nextcloud bot
3d54c2ebb4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-08 00:30:37 +00:00
Arthur Schiwon
5121ccaa3a
style: satisfy code style checker
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 18:30:17 +02:00
Arthur Schiwon
33b9ba5cd9
refactor: adjust to unexposed searchBySystemTag
- in this backport we have to drop the breaking addition in
  \OCP\Files\Folder
- this requires adjustments in check for the existance of the method but
  also in testing
- another change in \OCP\SystemTag\ISystemTagManager can be applied as
  this interface is not implemented elsewhere

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:56:54 +02:00
Arthur Schiwon
1ffae9d110
fix: cominbation of small fixes
- possible null return
- parameter name mismatch in implementation
- incomplete unit test

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:55:50 +02:00
Arthur Schiwon
d21b251a85
fix: include invisible tags for admins
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:55:45 +02:00
Arthur Schiwon
837fd9f8da
fix: favorites view and universal search against tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:43:46 +02:00
Arthur Schiwon
5086dff563
fix: change if with conditionless else to switch; and a parameter value
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:43:40 +02:00
Arthur Schiwon
7e2ad76505
use efficient tag retrieval on DAV report request
- uses DAV search approach against valid files joined by systemtag selector
- reduced table join for tag/systemtag search
- supports pagination
- no changes to the output formats or similar

Example request body:

<?xml version="1.0"?>
<oc:filter-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns" xmlns:ocs="http://open-collaboration-services.org/ns">
  <d:prop>
    <d:getcontentlength/>
    <d:getcontenttype/>
    <d:getetag/>
    <d:getlastmodified/>
    <d:resourcetype/>
    <nc:face-detections/>
    <nc:file-metadata-size/>
    <nc:has-preview/>
    <nc:realpath/>
    <oc:favorite/>
    <oc:fileid/>
    <oc:permissions/>
    <nc:nbItems/>
  </d:prop>
  <oc:filter-rules>
    <oc:systemtag>32</oc:systemtag>
  </oc:filter-rules>
  <d:limit>
    <d:nresults>50</d:nresults>
    <nc:firstresult>0</nc:firstresult>
  </d:limit>
</oc:filter-files>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-07 17:43:34 +02:00
Arthur Schiwon
eba105b9a8
Merge pull request #39153 from nextcloud/backport/39115/stable25
[stable25] fix(sse): don't update uncached files
2023-07-06 18:43:25 +02:00
Arthur Schiwon
48a7a20ab6
Merge pull request #39154 from nextcloud/backport/38625/stable25
[stable25] fix: expect interface, not a specific implementation
2023-07-06 13:36:58 +02:00
Christoph Wurst
54885eaeb3
Merge pull request #38959 from nextcloud/fix/oc-image-bmp-no-color
[stable25] fix: BMP image without color info causes array access on `false`
2023-07-05 10:54:09 +02:00
Arthur Schiwon
1eb9f1874d
fix: adjust to PHP level and codebase
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:36:06 +02:00
Arthur Schiwon
2930f890d6
ci: adjust return annotation to older psalm version
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:14:56 +02:00
Arthur Schiwon
5ca35c9007
docs: adjust @since version to backport
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:14:39 +02:00
Arthur Schiwon
c2fdee7f6e
ci: pro forma check of existence of internal method
createNode() is protected and used by Folder, but being an internal-only
method it shall not be exposed in the Folder or IRootFolder interface.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:12:58 +02:00
Arthur Schiwon
481cbafae3
refactor: declare getMount() and getMountsIn() at IRootFolder
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:10:33 +02:00
Arthur Schiwon
d5b69c1698
chore: ugly type juggling
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:10:25 +02:00
Arthur Schiwon
e5e9df2948
fix: add typehine for IRootFolder
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:10:03 +02:00
Arthur Schiwon
5640339d1d
fix: expect interface, not a specific implementation
- fixes a regression when deleting folders while music app was enabled,
  for a LazyRoot was passed to this method.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-07-04 23:06:28 +02:00
Richard Steinmetz
848b8eb477 fix(sse): don't update uncached files
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-07-04 20:30:09 +00:00
Git'Fellow
168acfbc8a Silent imagecreatefromstring() errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-07-04 10:33:17 +02:00
Nextcloud bot
0195ea4c20
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-07-04 00:29:43 +00:00
Nextcloud bot
4fb908bb9f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-30 00:30:11 +00:00
Joas Schilling
0559e26330
fix(l10n): Fix plural issue with different locale and language
We need to use the language code here instead of the locale,
because Symfony does not distinguish between the two and would
otherwise e.g. with locale "Czech" and language "German" try to
pick a non-existing plural rule, because Czech has 4 plural forms
and German only 2.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-06-27 14:18:24 +02:00
Nextcloud bot
8af6bb49ec
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-27 00:32:33 +00:00
Nextcloud bot
d9d6fbd5c7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-26 00:28:20 +00:00
Nextcloud bot
9b791f55d0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-24 00:26:38 +00:00
Christoph Wurst
7479f8f525
fix: BMP image without color info causes array access on false
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-23 11:06:53 +02:00
Robin Appelman
3fe5279355
use source cache when listing folder during recursive copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-06-19 12:30:10 +02:00
Nextcloud bot
d2ded4a34f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-18 00:18:13 +00:00
Nextcloud bot
8d226dea78
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-17 00:18:19 +00:00
Nextcloud bot
f50887deba
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-16 00:18:21 +00:00
Arthur Schiwon
2d75209794
Merge pull request #38022 from nextcloud/backport/32877/stable25
[stable25] allow storing multiple mounts for the same rootid in the mount cache
2023-06-15 11:47:44 +02:00
Arthur Schiwon
87f4795d34
Merge pull request #38760 from nextcloud/seekable-http-size-25
[25] set stream size for SeekableHttpStream
2023-06-15 11:45:04 +02:00
Arthur Schiwon
28b9cfbd43
Adjust @since annotation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-15 13:20:47 +05:45
Artur Neumann
33512bbdbf
autoloaderchecker
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-06-15 13:19:40 +05:45
Artur Neumann
b44dfd0ca2
added @since tag
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2023-06-15 13:19:40 +05:45