Commit graph

12683 commits

Author SHA1 Message Date
Jan Messer
662dcfffd6 [BUGFIX] throw exception instead of error if unable to create file handler (only exceptions are catch)
Signed-off-by: Jan Messer <jan@mtec-studios.ch>
2023-05-04 20:02:35 +00:00
Jan Messer
c6945666ca [BUGFIX] check return value and improve error handling
With S3 primary storage there was a problem with getting the CA bundle from the storage without having the CA bundle for the connection which causes that the CertificateManager was throwing an Error.
This commit improves the handling in CertificateManager and log unexpected behaviors.

Signed-off-by: Jan Messer <jan@mtec-studios.ch>
2023-05-04 20:02:34 +00:00
Vitor Mattos
faeeecd070 Update expire_date column of table comments
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-03 09:14:00 +00:00
Robin Appelman
d0538bca49
Merge pull request #37876 from nextcloud/backport/37820/stable25
[stable25] ignore errors while trying to update parent storage_mtime
2023-04-24 17:11:30 +02:00
Robin Appelman
5c8a8df114 ignore errors while trying to update parent storage_mtime
in the worst case this should only cause an extra rescan later

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-21 17:41:47 +00:00
Git'Fellow
99a8cabbcd Add function_exists() check
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-04-21 17:04:38 +00:00
Git'Fellow
54667bc819 Fix free space problems
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-04-21 17:04:38 +00:00
Arthur Schiwon
11e48038ca
Merge pull request #37690 from nextcloud/backport/37680/stable25
[stable25] app type extended_authentication
2023-04-12 19:51:48 +02:00
Maxence Lange
5b167ede40 dispatch BeforeUserLoggedInEvent
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-04-12 13:48:19 -01:00
Maxence Lange
20a45eb8df app type extended_authentication
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-04-12 14:46:55 +00:00
Robin Appelman
30d01b6fce
Merge pull request #37560 from nextcloud/backport/36097/stable25
[stable25] extend path-prefix optimizer to remove all cases of path_hash= when encountering a path prefix filter
2023-04-06 13:07:33 +02:00
Robin Appelman
daa16ccb0a
Merge pull request #37535 from nextcloud/backport/35961/stable25
[stable25] clear encrypted flag when moving away from encrypted storage
2023-04-06 13:06:47 +02:00
Robin Appelman
5e0c98b8bc extend path-prefix optimizer to remove all cases of path_hash= when encountering a path prefix filter
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-03 16:35:54 +00:00
Joas Schilling
4b62137a17 feat(security): Allow to opt-out of ratelimit protection, e.g. for testing on CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-03 12:39:52 +00:00
Robin Appelman
034f5a17ee clear encrypted flag when moving away from encrypted storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-01 16:22:42 +00:00
Arthur Schiwon
91840ec7bd
Merge pull request #37490 from nextcloud/backport/37448/stable25
[stable25] hide shared files located in group folder's trash bin
2023-03-31 09:59:24 +02:00
Arthur Schiwon
f5681c8d53 hide shared files located in group folder's trash bin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-30 15:39:43 +00:00
Simon L
8dd23b739b another approach to fixing the avatar generation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 12:43:21 +00:00
Christopher Ng
537cc2351d Add label for logo link
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-30 00:39:15 +00:00
Louis
9e4bbfb21c
Merge pull request #37366 from nextcloud/backport/36636/stable25
[stable25] fix OC_Image: Prevent E_WARNING from getimagesize*
2023-03-27 11:51:11 +02:00
Julius Härtl
b17c4a2d94 fix: Make sure to reopen session before cleaning
Otherwise restoring the requesttoken would reopen and read the existing
session data and restore it instead of clearing

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-27 07:43:32 +00:00
Marcel Klehr
73c8296381 fix OC_Image: Prevent E_WARNING from getimagesize*
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-03-23 14:09:34 +00:00
Michiel de Jong
57611db80a Add SHARE_TYPE_SCIENCEMESH
Signed-off-by: Michiel de Jong <michiel@unhosted.org>
2023-03-22 15:25:42 +01:00
Daniel Kesselberg
cc1b616f24 chore: use local variable for remote address
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-03-16 13:18:28 +01:00
Arthur Schiwon
b8608ee0fd
Merge pull request #36899 from nextcloud/backport/36837
[stable25] fix(SystemTagManager): Truncate overlong tag names
2023-03-15 14:27:10 +01:00
Arthur Schiwon
892a8045ce
Merge pull request #36749 from nextcloud/backport/36689/stable25
[stable25] Change X-Robots-Tag header from "none" to "noindex, nofollow"
2023-03-15 14:23:45 +01:00
Julien Veyssier
a7d1313c14
manual backport of #35057
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-03-15 10:18:38 +01:00
Côme Chilliet
f404122aa8
Add chunking in SystemTagObjectMapper::getTagIdsForObjects
This avoids crashing on Oracle with more than 1000 objects

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-03-14 16:02:01 +01:00
Simon L
9877ed3f2a
Merge pull request #37158 from nextcloud/backport/37070/stable25
[stable25] add a check for disk_free_space in Config.php
2023-03-10 16:18:32 +01:00
Simon L
8b088b3e33
Merge pull request #37156 from nextcloud/backport/37140/stable25
[stable25] imaginary - fix autorotate for heic and improve the logic
2023-03-10 16:17:30 +01:00
Simon L
7f87f07381 add back missing line
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-10 12:17:55 +01:00
Simon L
7fd2458584 postgresql - add quotes around user names
fix https://github.com/nextcloud/server/issues/37114

Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-10 02:04:01 +00:00
Simon L
58e36f7fc8 add a check for disk_free_space in Config.php
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-09 23:24:39 +00:00
Simon L
f7faf8997c imaginary - fix autorotate and improve the logic
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-09 22:26:01 +00:00
Simon L
fb594fc6ab
Merge pull request #37003 from nextcloud/backport/36803/stable25
[stable25] [db]: Remove not supported column comments for SQLite
2023-03-07 18:20:56 +01:00
Ferdinand Thiessen
ba49c33d30 fix(DB): Remove not supported column comments when using SQLite
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-03-02 11:29:19 +00:00
Marcel Klehr
db9c322b0c fix(SystemTagManager): Truncate overlong tag names
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-02-28 14:50:17 +01:00
Joas Schilling
1f4a0529e2
Fix appconfig compatibility with Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-28 09:10:29 +01:00
Joas Schilling
f333c7f231
fix(OCC): Don't throw in the repair step for phone validation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-28 09:10:14 +01:00
Christopher Ng
65179836d6 Port user menu to Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit c77998209f)
2023-02-24 12:40:38 -08:00
Joas Schilling
5e82a11861 fix(appinfo): navigation type is optional
Signed-off-by: Joas Schilling <coding@schilljs.com>
(cherry picked from commit bf7fe04c4b)
2023-02-24 10:32:55 -08:00
Christopher Ng
08845f73c9 Allow settings navigation items with no route entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 62b7bb7395)
2023-02-24 10:32:55 -08:00
Joas Schilling
bbcfa69dd2
Merge pull request #36218 from nextcloud/backport/35873/stable25
[stable25] Add option to return an exit-code when occ status signals an update is needed
2023-02-24 14:01:05 +01:00
Simon L
982fdacc18
Merge pull request #36729 from nextcloud/backport/36691/stable25
[stable25] add a disk_free_space check before writing config
2023-02-24 10:19:35 +01:00
Joas Schilling
a01f4cebf4
Merge pull request #36696 from nextcloud/backport/36525/stable25
[stable25] fix: Only get params from PUT content if possible
2023-02-24 09:25:18 +01:00
Joas Schilling
e884498869
Merge pull request #36752 from nextcloud/backport/36735/stable25
[stable25] fix the contacts-menu vcf-contact avatars
2023-02-24 09:00:24 +01:00
Joas Schilling
193e51d7bf
Merge pull request #36645 from nextcloud/backport/36637/stable25
[stable25] Safer URL match in FileReferenceProvider
2023-02-24 08:58:03 +01:00
Côme Chilliet
19605e58d7 Avoid extra parenthesis around SQL in IN expressions
The expression builder already suround the SQL with parenthesis when
 using in(), so we must not add another pair, this confuses at least
 sqlite.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-21 16:48:31 +00:00
Simon L
947dc85dea fix it for 32-bit
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-20 10:13:39 +01:00
Simon L
f2885b3378 fix the contacts-menu vcf-contact avatars
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-16 13:12:07 +00:00