Commit graph

12961 commits

Author SHA1 Message Date
John Molakvoæ
705d9d1402
Revert "Revert "[stable26] handle not being able to write file for notify self-test"" 2023-04-14 18:35:55 +02:00
John Molakvoæ
3d0cfd1f2d
Revert "[stable26] handle not being able to write file for notify self-test" 2023-04-13 18:56:03 +02:00
Robin Appelman
e1418880e9 handle not being able to write file for notify self-test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-13 06:18:36 +00:00
Maxence Lange
90c53df248 app type extended_authentication
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-04-12 14:34:27 +00:00
Louis Chemineau
138702c60c Migrate metadata as JSON to value as STRING
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-06 11:26:35 +00:00
Robin Appelman
76350d8a4d
Merge pull request #37394 from nextcloud/backport/36810/stable26
[stable26] do onetime user setup before getting any mount from providers
2023-04-06 13:10:29 +02:00
Robin Appelman
3fcb4169b5
Merge pull request #37558 from nextcloud/backport/36097/stable26
[stable26] extend path-prefix optimizer to remove all cases of path_hash= when encountering a path prefix filter
2023-04-06 13:07:59 +02:00
Robin Appelman
8ce285c9ab
Merge pull request #37537 from nextcloud/backport/35961/stable26
[stable26] clear encrypted flag when moving away from encrypted storage
2023-04-06 13:07:11 +02:00
Joas Schilling
cbec7528de fix(initial-state): Log an error when initial-state can not be JSON encoded
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-04 12:13:03 +00:00
Joas Schilling
e9c1ad0bab
Merge pull request #37551 from nextcloud/backport/37542/stable26
[stable26] feat(security): Allow to opt-out of ratelimit protection, e.g. for te…
2023-04-03 18:08:02 +02:00
Robin Appelman
747ed3900d 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 14:55:05 +00:00
Arthur Schiwon
ca0a258035
Merge pull request #37488 from nextcloud/backport/37448/stable26
[stable26] hide shared files located in group folder's trash bin
2023-04-03 15:40:24 +02:00
Joas Schilling
96204fe6e9 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:31:54 +00:00
Robin Appelman
40748731f1 clear encrypted flag when moving away from encrypted storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-01 16:49:37 +00:00
Côme Chilliet
599e85b341 Remove useless coalescing operator on non-null return value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 13:12:05 +00:00
Côme Chilliet
a0beacde69 Fix quota typing for 32bits after forward port from 25
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-04-01 13:12:05 +00:00
Côme Chilliet
eaeb6b2c85 Silence a warning from psalm with explanation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 13:12:05 +00:00
Côme Chilliet
741553eb93 Adapt types of subclasses
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 13:12:05 +00:00
Côme Chilliet
3044f63743 Make it clear that file sizes may be float on 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-04-01 13:12:05 +00:00
Vincent Petry
cb6227e68f Remove quota value type for 32-bit systems
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-04-01 13:12:04 +00:00
Arthur Schiwon
6b4644ba1a
hide shared files located in group folder's trash bin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-03-30 17:02:26 +02:00
Simon L
95b3b5dcc2 another approach to fixing the avatar generation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-30 12:31:43 +00:00
Christopher Ng
f943853c3d Add label for logo link
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-30 00:32:30 +00:00
Julius Härtl
7a0c2d879d
fix(references): Do not log errors on 404 responses of opengraph image fetching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-28 08:18:30 +02:00
Louis
452dc386a2
Merge pull request #37368 from nextcloud/backport/36636/stable26
[stable26] fix OC_Image: Prevent E_WARNING from getimagesize*
2023-03-27 11:49:19 +02:00
Julius Härtl
4843bc771d
Merge pull request #37217 from nextcloud/backport/37192/stable26 2023-03-27 11:23:29 +02:00
Robin Appelman
9d58c51d46 do onetime user setup before getting any mount from providers
this fixes a race condition where wrappers weren't properly applied if when a mount provider creates the storage instance one mountpoint creation instead of lazily

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-03-24 16:10:29 +00:00
Marcel Klehr
ac0eab19b6 fix OC_Image: Prevent E_WARNING from getimagesize*
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-03-23 14:27:30 +00:00
Joas Schilling
da95d3389d fix(security): Mark recording_servers key appconfig as private as it contains a secret
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-22 09:40:21 +00:00
Ember 'n0emis' Keske
339680c6a1
Don't try to hash a nonexisting password
Allows to log-in via a passwordless authentication provider, eg SSO

Signed-off-by: Ember 'n0emis' Keske <git@n0emis.eu>
2023-03-21 19:00:59 +01:00
Daniel Kesselberg
a086db37cd chore: use local variable for remote address
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-03-15 14:22:36 +00:00
Arthur Schiwon
826766d3bd
Merge pull request #37212 from nextcloud/backport/37029/stable26
[stable26] Add chunking in SystemTagObjectMapper::getTagIdsForObjects
2023-03-15 14:45:25 +01:00
Arthur Schiwon
dd3f6516c5
Merge pull request #37072 from nextcloud/backport/36883/stable26
[stable26] dispatch BeforeUserLoggedInEvent
2023-03-15 14:44:58 +01:00
Côme Chilliet
e7c6ff1709
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 14:25:05 +01:00
Simon L
c18e5fe8a9
Merge pull request #37157 from nextcloud/backport/37070/stable26
[stable26] add a check for disk_free_space in Config.php
2023-03-10 16:17:44 +01:00
Simon L
226c601d1d
Merge pull request #37155 from nextcloud/backport/37140/stable26
[stable26] imaginary - fix autorotate for heic and improve the logic
2023-03-10 16:16:57 +01:00
Simon L
df8b19aea3 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:00 +00:00
Simon L
703043a024 add a check for disk_free_space in Config.php
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-09 23:24:38 +00:00
Simon L
865fb8092b imaginary - fix autorotate and improve the logic
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-03-09 22:25:57 +00:00
Arthur Schiwon
72cf710ec8
Merge pull request #37141 from nextcloud/backport/37139/stable26
[stable26] Share type sciencemesh
2023-03-09 17:29:54 +01:00
Julius Härtl
2664036b57
feat(s3): Use multipart upload for chunked uploading
This allows to stream file chunks directly to S3 during upload.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-09 15:31:12 +01:00
Michiel de Jong
b2c8be171d Add SHARE_TYPE_SCIENCEMESH
Signed-off-by: Michiel de Jong <michiel@unhosted.org>
2023-03-08 17:48:39 +00:00
Maxence Lange
0cd9ca5be2 dispatch BeforeUserLoggedInEvent
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-03-07 09:20:45 +00:00
Julius Härtl
4ca6c3af7a fix: Use proper path for quota fetching
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-07 07:21:20 +00:00
Julius Härtl
cab4f8eca3 fix: Recalculate storage statistics on updating the quota
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-07 07:21:20 +00:00
Julius Härtl
6130f1a78e
Implement file reference wiget
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-02 21:01:44 +01:00
blizzz
289fadfd50
Merge pull request #36803 from nextcloud/fix/sqlite-comments
[db]: Remove not supported column comments for SQLite
2023-03-02 12:10:19 +01:00
Max
95a674e238
fix: treat text app session parameters as sensitive values
* `PublicSessionController create` receives a share token.
* The others receive the parameters for a text session:
  `document_id`, `session_id`, `session_token`.
  Even though these are relatively short lived
  they could be used to retrieve content from the document when leaked.

Signed-off-by: Max <max@nextcloud.com>
2023-03-01 13:03:47 +01:00
Julius Härtl
3e63298381
feat(translations): Add translation provider API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-27 16:52:03 +01:00
Joas Schilling
70a68e88f5
Merge pull request #36837 from nextcloud/fix/truncate-overlong-tagnames
fix(SystemTagManager): Truncate overlong tag names
2023-02-27 11:49:50 +01:00