Commit graph

13153 commits

Author SHA1 Message Date
Christoph Wurst
fb37922169 fix(config): Make sure user keys are strings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-19 17:34:43 +00:00
hopleus
3a88438bed Refactoring getName function
Signed-off-by: hopleus <hopleus@gmail.com>
2024-03-14 14:52:04 +00:00
hopleus
fe79686255 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:52:04 +00:00
Julius Härtl
2160260285 fix: Avoid clear cache with prefix
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-08 08:39:56 +00:00
John Molakvoæ
85a9716ec3
Merge pull request #43902 from nextcloud/backport/30957/stable26 2024-02-29 11:34:17 +01:00
John Molakvoæ
1a027a9439
Merge pull request #43829 from nextcloud/backport/43787/stable26 2024-02-29 11:24:57 +01:00
Claus-Justus Heine
45c359e739 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:52:32 +00:00
Benjamin Gaussorgues
5d1ca3193b 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:09:01 +00:00
Julius Härtl
e208014625 fix: Throw instead of yielding nothing when listing local directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-26 07:43:42 +00:00
Christoph Wurst
3de151521e fix(files): Don't attempt to format a partial cache entry
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-02-22 10:46:54 +01:00
Robin Appelman
faa970c54f continue background scanning different storages if one fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-02-07 09:07:03 +00:00
Marcel Müller
27ed06d78e 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:59:14 +01:00
Christoph Wurst
21943d2cee 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:42:49 +00:00
Arthur Schiwon
fd421cfc53
Merge pull request #42880 from nextcloud/backport/42607/stable26
[stable26] fix(session): Avoid useless authtoken DB queries for anonymous requests
2024-01-17 20:47:18 +01:00
Git'Fellow
d29b239d72 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:39:53 +00:00
Joas Schilling
e1728e6072
fix(systemreport): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-17 10:31:07 +01:00
Joas Schilling
5d8dfe81fd
fix(appstore): Only send subscription keys to valid appstores
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-16 11:58:05 +01:00
Arthur Schiwon
679b10a25c
Merge pull request #42775 from nextcloud/fix/exif-content-provider-stable26
[stable26] fix: handle exif metadata read errors gracefully
2024-01-15 17:52:29 +01:00
Simon L
c0887094a9 fix semaphore unguarding
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-15 12:08:29 +01:00
Richard Steinmetz
84408cdc28
fix: handle exif metadata read errors gracefully
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-01-15 11:21:15 +01:00
Julius Härtl
926b3ce1f7
fix: Only apply cast if needed when searching users for value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 11:58:21 +01:00
Julius Härtl
67bf2ca956
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:58:21 +01:00
John Molakvoæ
468538a4d4
Merge pull request #42548 from nextcloud/lock-restore-ttl-26 2024-01-02 16:57:54 +01:00
Robin Appelman
a59df23fd5
adjust redis compareSetTTL to use a lua script
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-02 15:41:06 +01:00
Robin Appelman
33918821f1
restore shared lock ttl when releasing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-02 15:41:04 +01:00
Andy Scherzinger
48b7eff03c
Merge branch 'stable26' into backport/39044/stable26 2023-12-07 11:10:09 +01:00
Joas Schilling
c6745555c4
Merge pull request #42086 from nextcloud/backport/41999/stable26
[stable26] fix(security): Handle idn_to_utf8 returning false
2023-12-07 10:05:03 +01:00
Git'Fellow
4bcf1bef41
Merge pull request #42079 from nextcloud/backport/40071/stable26
[stable26] fix(updatecheck): Don't wait 120s for a response of updater.nextcloud…
2023-12-07 10:00:32 +01:00
Joas Schilling
75d4798865
fix(security): Handle idn_to_utf8 returning false
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 06:38:25 +01:00
Joas Schilling
b229ac83bd
fix(systemreport): Mask onlyoffice secret as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 06:23:59 +01:00
Joas Schilling
a5d751cda8
fix(updatecheck): Don't wait 120s for a response of updater.nextcloud.com
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-07 06:20:26 +01:00
Arthur Schiwon
9ca5c664ba
Merge pull request #42003 from nextcloud/backport/41995/stable26
[stable26] fix(TemplateManager): Bail early if templatedirectory is empty
2023-12-04 21:36:27 +01:00
Marcel Klehr
38d64e3b7e fix(TemplateManager): Bail early if templatedirectory is empty
fixes #39266

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-04 10:24:38 +00:00
Joas Schilling
187c956c12 fix: Fix linkToOCSRouteAbsolute() without index.php and subfolder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-20 16:25:51 +00:00
Benjamin Gaussorgues
9147bc150d
Merge pull request #41505 from nextcloud/backport/40935/stable26
[stable26] add some support for rename on case insensitive local filesystems
2023-11-16 16:33:55 +01:00
Joas Schilling
71d0b4ab42
Reverse X-Forwarded-For list to read the correct proxy remote address
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 07:50:12 +01:00
Arthur Schiwon
be28c7fd27
Merge pull request #41386 from nextcloud/backport/41302/stable26
[stable26] Lower log level about invalid session token
2023-11-15 21:41:31 +01:00
Arthur Schiwon
84210b306d
Merge pull request #41185 from nextcloud/backport/41120/stable26
[stable26] Don't pass invalid streams to Imaginary
2023-11-15 21:39:17 +01:00
Robin Appelman
0fb0314b28
add some support for rename on case insensitive local filesystems
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 15:52:05 +01:00
Benjamin Gaussorgues
1cdd5015b1
Merge pull request #41213 from nextcloud/backport/fix/aborted_pgsql_transaction_on_error/stable26
[stable26] fix(twofactor): avoid DB error on Twofactor (en/dis)abled event
2023-11-15 09:09:24 +01:00
Git'Fellow
f29b3beb64 Don't pass invalid streams to Imaginary
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Update Imaginary.php

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Update Imaginary.php

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-14 23:12:09 +01:00
Arthur Schiwon
37e88b4b65
Merge pull request #41433 from nextcloud/backport/41417/stable26
[stable26] fix(workflowengine): use andWhere() not second where()
2023-11-13 20:15:53 +01:00
Richard Steinmetz
448fa0602b
Merge pull request #41233 from nextcloud/stable26-catchImaginaryErrors
[stable26] Catch Imaginary processing errors
2023-11-13 16:37:46 +01:00
Arthur Schiwon
01c1930f2f fix(workflowengine): use andWhere() not second where()
- an unconditional where() condition is added right before
- fixes also wrongly named methods in the Exception message

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-13 14:26:59 +00:00
Joas Schilling
31ba65f48f fix(log): Log exception class when message is empty
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-13 13:37:03 +00:00
Patrick Fischer
dad3459fcc Lower log level about invalid session token 2023-11-10 16:54:56 +00:00
Robin Appelman
6f7f52146f optimize cache jail creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-07 13:59:40 +00:00
Joas Schilling
02c55503c7
Merge pull request #41151 from nextcloud/backport/40885/stable26
[stable26] fix(OCM): Make the public API only rely on OCP
2023-11-06 09:45:47 +01:00
Christoph Wurst
4fd23f9eda fix(session): Log why session renewal failed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-02 10:34:15 +00:00
Git'Fellow
45f1eb27b5
[stable26] Catch Imaginary processing errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-02 10:05:08 +01:00