Commit graph

13466 commits

Author SHA1 Message Date
Benjamin Gaussorgues
63e5b6fb95 fix: avoid scanning a non existing directory
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-03-14 18:45:53 +00:00
hopleus
deeca104f0 Refactoring getName function
Signed-off-by: hopleus <hopleus@gmail.com>
2024-03-14 14:53:43 +00:00
hopleus
591c2cb01a Fixes for getting the file name in the cases when the file name key is received, but it is empty
Signed-off-by: hopleus <hopleus@gmail.com>
2024-03-14 14:53:43 +00:00
Julius Härtl
0b1fcf0a5c fix: Fetch custom app store url without internet connection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-04 20:18:32 +00:00
Louis Chemineau
dee1181e3b
Use table prefix in metadata migration
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-04 12:21:18 +01:00
John Molakvoæ
3ecaeb6f2b
Merge pull request #43901 from nextcloud/backport/30957/stable27 2024-02-29 12:05:45 +01:00
John Molakvoæ
7b9fed1cb5
Merge pull request #43789 from nextcloud/backport/39607/stable27 2024-02-29 11:36:12 +01:00
John Molakvoæ
9b326c0c6d
Merge pull request #43830 from nextcloud/backport/43787/stable27 2024-02-29 11:26:23 +01:00
Git'Fellow
477c020db8
Fix backport
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-29 10:37:00 +01:00
Claus-Justus Heine
5b35240c67 fix(collaboration): collaboration MailPlugin: Protect access to a potentially missing array component by ??.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2024-02-29 07:51:24 +00:00
Benjamin Gaussorgues
1b30da153c feat(share): save date and time for expiration
Because of timezones, not saving time can lead to unexpected behaviour
when sharing an item sooner than timezone offset
Example: sharing a file before 9am when in UTC+9

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-02-26 09:10:26 +00:00
Julius Härtl
d718a2adb1 fix: Throw instead of yielding nothing when listing local directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-26 07:45:04 +00:00
John Molakvoæ
a891cbc21b
Merge pull request #43580 from nextcloud/artonge/fix/metdata_column_migration 2024-02-22 20:33:42 +01:00
John Molakvoæ
87fc74841e
Merge pull request #41006 from nextcloud/backport/40879/stable27 2024-02-22 18:50:08 +01:00
Louis Chemineau
261efaafd3
Move oc_file_metadata.metadata migration to a background job
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-22 18:12:30 +01:00
Git'Fellow
ebcd8c0a47 Move away from deprecated utf_encode() on PHP 8.2+
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-20 08:37:05 +00:00
Git'Fellow
7f0a4e786c Lower failed movie preview to info
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-10 12:47:07 +00:00
Benjamin Gaussorgues
d3252caeed
Merge pull request #43038 from nextcloud/fix/36463/preview-not-generated-stable27 2024-02-09 11:26:59 +01:00
Christoph Wurst
bcd7d59a20 fix(session): Do not log fresh/empty session as error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-09 11:10:28 +01:00
Christoph Wurst
db8252e82c fix(session): Log when crypto session data is lost
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-09 11:10:28 +01:00
Benjamin Gaussorgues
92df765457
Merge pull request #43246 from nextcloud/backport/41327/stable27 2024-02-09 10:31:11 +01:00
Git'Fellow
ef786616ec
Merge pull request #43390 from nextcloud/backport/43131/stable27
[stable27] fix(files): Don't attempt to format a partial cache entry
2024-02-09 10:25:03 +01:00
Robin Appelman
00b9002785 continue background scanning different storages if one fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-07 09:07:40 +00:00
Christoph Wurst
d4e01fb0a1 fix(files): Don't attempt to format a partial cache entry
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-06 12:52:45 +00:00
Robin Appelman
226fa9b039 make failure to load app commands non-fatal
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-02 15:00:52 +00:00
Robin Appelman
7c8d71d0a0 also updated parent etags when a changed etag is detected during scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:28:05 +00:00
Robin Appelman
90c57a6700 dont reuse etag for folders marked explicitly unscanned
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:28:05 +00:00
Arthur Schiwon
9ec107ad25
Merge pull request #43182 from nextcloud/backport/42930/stable27
[stable27] Fix: config param 'overwritecondaddr' not working
2024-01-30 16:33:37 +01:00
Ferdinand Thiessen
36a658e987 fix(Request): Catch exceptions in isTrustedProxy
The function fails if the configured trusted proxies contain invalid characters and the underlying IpUtils will throw.
But as it is used by `getRemoteAddress` which is used by logging / templating, thrown errors are not reported but silently fail with error 500.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-29 15:24:21 +00:00
Pavel Kryl
6c9f968888 code style: ommited space, reverted [code review] 2024-01-29 09:59:35 +00:00
Pavel Kryl
55991f93c2 fixing bug #6914: Config Param 'overwritecondaddr' not working
- just ignoring/removing extra parameter 'protocol' as suggested by
  blizzz

Signed-off-by: Pavel Kryl <pavel@kryl.eu>
2024-01-29 09:59:35 +00:00
Marcel Müller
f0146b6f4a fix(preview): Check if node id is null before deleting the preview folder
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-01-22 20:55:15 +01:00
Christoph Wurst
fdfd620757 fix(auth): Fix logging in with email, password and login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-22 09:43:25 +00:00
Arthur Schiwon
448dc1530f
Merge pull request #42870 from nextcloud/backport/42607/stable27
[stable27] fix(session): Avoid useless authtoken DB queries for anonymous requests
2024-01-17 20:45:41 +01:00
Joas Schilling
1839d0ca87
Merge pull request #42873 from nextcloud/backport/42658/stable27
[stable27] fix(systemreport): Mark more configs as sensitive
2024-01-17 13:26:24 +01:00
Joas Schilling
fabb330a69
fix(systemreport): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-17 10:31:29 +01:00
Git'Fellow
27af03c92d fix(session): Avoid two useless authtoken DB queries for every anonymous request
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-17 09:27:17 +00:00
Git'Fellow
e958966288 Lower to info
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-17 09:41:33 +01:00
Git'Fellow
00b0a33e50 Lower error to warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-17 09:41:33 +01:00
Git'Fellow
a7be838323
Merge pull request #42828 from nextcloud/backport/41272/stable27
[stable27] fix: reduce memory consumption of scans
2024-01-16 19:16:20 +01:00
Joas Schilling
0148dab1e7
fix(appstore): Only send subscription keys to valid appstores
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-16 10:16:38 +01:00
Git'Fellow
6b496ab164
fix: reduce memory consumption of scans
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix lint

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-16 09:29:09 +01:00
Richard Steinmetz
94d7e459bc
fix: handle exif metadata read errors gracefully
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-01-15 11:21:22 +01:00
Julius Härtl
5fc6fb0d20
fix: Only apply cast if needed when searching users for value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 11:56:46 +01:00
Julius Härtl
9112904206
perf: Use more performant way to obtain and check the email as a login name with token login
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 11:56:45 +01:00
Robin Appelman
0e8367b100
Merge pull request #42522 from nextcloud/backport/41914/stable27
[stable27] only do a multipart s3 copy when above the regular copy limit
2024-01-02 18:00:31 +01:00
Robin Appelman
4b74d315b6
adjust redis compareSetTTL to use a lua script
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-02 15:40:34 +01:00
Robin Appelman
0e98f1eb8d
restore shared lock ttl when releasing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-02 15:40:32 +01:00
Alexander Piskun
12257ac765
AppAPI: allowed to bypass Two-Factor
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>

fix php-cs

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-12-29 14:46:58 +02:00
Julius Härtl
f5fe531665 fix(s3): Add config option to disable multipart copy for certain s3 providers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-29 10:48:40 +00:00