Florian Klinger
ca655ba100
fix: add check for app_api_system session flag to bypass rate limit
...
Signed-off-by: Florian Klinger <florian.klinger@nextcloud.com>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-04-17 11:22:05 +02:00
Benjamin Gaussorgues
88859aa41c
Merge pull request #44461 from nextcloud/backport/44394/stable28
2024-04-17 11:19:04 +02:00
Benjamin Gaussorgues
66abfb4322
Merge pull request #44489 from nextcloud/backport/44474/stable28
2024-04-17 11:17:14 +02:00
Benjamin Gaussorgues
2981694fc9
Merge pull request #44446 from nextcloud/backport/43057/stable28
2024-04-17 10:06:14 +02:00
Robin Appelman
4bd5b49077
fix: use proper jailed patch in watcher
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-10 01:21:01 +02:00
Christopher Ng
dbb6213c1a
fix: Fix avatar images
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-08 17:09:26 -07:00
Julius Härtl
5ec8f0b075
perf: Avoid updating the folder size if we know the size difference
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-05 12:57:39 +00:00
Varun Patil
d41918f4ab
fix(config): correctness issues in reading
...
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2024-04-03 08:19:20 -05:00
Ferdinand Thiessen
cee151a14f
fix(JSRecourceLocator): Add missing slash after server root
...
The `OC::$SERVERROOT` is always returned without a trailing slash, so we need to add a slash between server root and apps directory.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-29 08:27:46 -04:00
Louis Chemineau
ad2b367dbd
feat(files)): Add retry logic to cover deadlock situations when moving many files
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-28 13:01:38 +00:00
Richard Steinmetz
e55f08372f
fix(preview): webp preview format
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-03-26 14:18:52 +00:00
Ferdinand Thiessen
2cabc708fb
fix(DB): Sanitize host parameter for postgres databases when IPv6 address is passed
...
Doctrine is using `pg_connect` with the `host` parameter, this does not allow IPv6 addresses in URI notation.
So we need to extract the IP address and pass it directly
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-25 23:55:04 +01:00
Stephan Orbaugh
08444f45f1
Merge pull request #44320 from nextcloud/backport/39990/stable28
...
[stable28] add some recrusive detection/prevention
2024-03-25 15:27:27 +01:00
Benjamin Gaussorgues
db00cd54ba
feat(perf): add cache for authtoken lookup
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-03-25 08:37:00 +00:00
Robin Appelman
e2eb5eec3c
fix: log error when default getWrapperStorage would return null
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-22 19:46:00 +00:00
Robin Appelman
7d98e83e3f
fix: add some recrusive detection/prevention
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-22 17:17:57 +01:00
John Molakvoæ
191b977fb9
Merge pull request #44285 from nextcloud/backport/44279/stable28
2024-03-21 10:21:22 +01:00
Maxence Lange
426aecfc42
fix(share): use share owner to confirm reshare
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-20 11:09:50 +00:00
Christoph Wurst
3eb8082f0c
fix(config): Make sure user keys are strings
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-19 17:30:47 +00:00
John Molakvoæ
6209b6e304
Merge pull request #44053 from nextcloud/backport/43086/stable28
2024-03-19 09:14:58 +01:00
Robin Appelman
e286622d0b
fix: ensure nested mount points are handled in the correct order
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-18 18:03:24 +00:00
Klaus
354387b135
fix xml ocs response for serializable objects
...
Signed-off-by: sualko <klaus@jsxc.org>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-03-18 01:13:19 +00:00
John Molakvoæ
92e43540ba
Merge pull request #44208 from nextcloud/backport/44203/stable28
2024-03-16 13:20:25 +01:00
John Molakvoæ
57cb18fa37
Merge pull request #44080 from nextcloud/backport/43992/stable28
2024-03-16 13:13:11 +01:00
Benjamin Gaussorgues
e13e8c1349
fix: avoid scanning a non existing directory
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-03-14 18:47:14 +00:00
hopleus
c834200b48
Refactoring getName function
...
Signed-off-by: hopleus <hopleus@gmail.com>
2024-03-14 14:54:58 +00:00
hopleus
abb30aae11
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:54:58 +00:00
Julius Härtl
3103a85c18
fix: Add edge as supported user agent for CSPv3 nonces
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-11 10:08:56 +01:00
Julius Härtl
b26fbc3c84
fix: Adjust user agent pattern for Edge
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-11 10:08:56 +01:00
Julius Härtl
0d0855b596
fix: Avoid clear cache with prefix
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-08 08:51:08 +00:00
Robin Appelman
33699b29d9
fix: disable the internal s3sdk multi part copy logic
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-07 09:15:28 +00:00
Ferdinand Thiessen
d0d9b39843
fix(JSResourceLocator): Consider configured app roots for files
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 08:03:09 +00:00
Julius Härtl
a258abfe59
fix: Fetch custom app store url without internet connection
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-04 20:17:01 +00:00
John Molakvoæ
226600b4fe
Merge pull request #43900 from nextcloud/backport/30957/stable28
2024-02-29 12:32:11 +01:00
John Molakvoæ
f318c296ee
Merge pull request #43833 from nextcloud/backport/43428/stable28
2024-02-29 11:33:03 +01:00
John Molakvoæ
ad6f72d0d1
Merge pull request #43828 from nextcloud/backport/43787/stable28
2024-02-29 11:32:48 +01:00
John Molakvoæ
7fe1a22262
Merge pull request #43801 from nextcloud/backport/43187/stable28
2024-02-29 11:31:40 +01:00
John Molakvoæ
6a268218fc
Merge pull request #43788 from nextcloud/backport/39607/stable28
2024-02-29 11:30:23 +01:00
Claus-Justus Heine
7300db7e9b
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:50:16 +00:00
Arthur Schiwon
a23cf50d5e
fix(admin role): fix old and wrong way to determine whether user is admin
...
- fixes Settings knowing who is an admin of non-local group backend groups
- obsoletes and removes a little old, deprecated code
- double checks proper parameter type on Group\Manager::isAdmin
- also fixes legacy OC_User code to check whether user is an admin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-02-27 23:57:45 +01:00
Benjamin Gaussorgues
a4a7d82a0c
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:12:03 +00:00
Julius Härtl
44524b1388
fix: Throw instead of yielding nothing when listing local directories
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-26 07:42:12 +00:00
hschletz
4bc9ba2a03
Fix data type in FilesMetadata::setIntList()
...
FilesMetadata::setIntList() throws an exception because it uses the incorrect type IMetadataValueWrapper::TYPE_STRING_LIST instead of IMetadataValueWrapper::TYPE_INT_LIST.
Signed-off-by: hschletz <holger.schletz@web.de>
2024-02-23 20:54:16 +00:00
FedericoHeichou
39d81aff8f
Add "-i" to sendmail's pipe
...
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
2024-02-23 15:15:59 +00:00
Git'Fellow
ca8f6fd94f
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:13:57 +00:00
Marcel Müller
983336c36c
fix(preview): Check if node id is null before deleting the preview folder
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-02-15 07:19:58 +01:00
Git'Fellow
0da4d1cd5a
Lower failed movie preview to info
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-02-10 12:47:46 +00:00
Robin Appelman
57ee788f01
Merge pull request #43391 from nextcloud/backport/43131/stable28
...
[stable28] fix(files): Don't attempt to format a partial cache entry
2024-02-09 14:29:23 +01:00
Ferdinand Thiessen
c4b164dee0
Merge pull request #43422 from nextcloud/backport/43317/stable28
...
[stable28] fix(ContactsStore): Sanitize user ID given to guest avatar route
2024-02-09 02:17:42 +01:00
Joas Schilling
1412eedbc4
fix(migration): Make naming constraint fail softer on updates
...
Only on installation we want to break hard, so that all developers notice
the bugs when installing the app on any database or CI, and can work on
fixing their migrations before releasing a version incompatible with Postgres.
In case of updates we might be running on production instances and the
administrators being faced with the error would not know how to resolve it
anyway. This can also happen with instances, that had the issue before the
current update, so we don't want to make their life more complicated
than needed.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-08 10:07:19 +00:00