Commit graph

19158 commits

Author SHA1 Message Date
Louis Chemineau
fbf3645598 Prevent empty base URL during installation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-09-29 15:40:57 +00:00
Nextcloud bot
bef65f09f5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-29 02:26:25 +00:00
blizzz
62a5d27eb7
Merge pull request #27203 from nextcloud/backport/27187/stable21
[stable21] Fix Oracle query limit compliance in Comments
2021-09-27 11:02:14 +02:00
MichaIng
ea39319d2e
Merge pull request #28905 from nextcloud/backport/26832/stable21
[stable21] explicitly close source stream on object store upload even if count…
2021-09-24 13:35:41 +02:00
Louis
1297b04d41 Use legacy execute method
Use legacy execute method instead of executeQuery introduced in 22

Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-09-23 12:45:23 +02:00
Joas Schilling
8e7eea935a Fix populating the array and closing the cursors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-23 08:37:51 +00:00
Simounet
f325a4ae60 Fix Oracle query limit compliance in Comments
Signed-off-by: Simounet <contact@simounet.net>
2021-09-23 08:37:51 +00:00
blizzz
88858812c2
Merge pull request #28790 from nextcloud/backport/23065/stable21
[stable21] Fix null displayname crash as described in #21885
2021-09-23 10:20:59 +02:00
Nextcloud bot
9b18d501c2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-22 02:27:00 +00:00
MichaIng
0365d3b5d6
Merge pull request #28909 from nextcloud/backport/28802/stable21
[stable21] Support seeking also from the end of file on S3 storage
2021-09-21 19:41:07 +02:00
Richard Steinmetz
079707cd81 Use IRoomMetadata as source of truth for supported room types
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-09-21 16:23:08 +00:00
Pauli Järvinen
61acaf1fbd Support seeking also from the end of file on S3 storage
The PR https://github.com/nextcloud/server/pull/20033 added support
for `fseek` for  the S3 storage backend. However, the seek mode SEEK_END
was left out that time. This PR fills this gap.

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
2021-09-20 18:13:18 +00:00
Daniel Kesselberg
dd9a08fa82
explicitly close source stream on object store upload even if countwrapper isn't needed
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-20 18:27:12 +02:00
Vincent Petry
7aaf41d0f6 Fall back to full file for video previews
If the first 5 MB are not enough to grab a useful frame for the
thumbnail preview, fall back to reading the full file.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-09-20 09:32:34 +00:00
Daniel Kesselberg
32ee325887
Add email addresses to contacts menu
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-17 10:05:54 +02:00
Nextcloud bot
021d5ab7ae
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-17 02:28:28 +00:00
Nextcloud bot
f26939babb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-14 02:31:01 +00:00
Lukas Reschke
f416cacc64 Add database ratelimiting backend
In case no distributed memory cache is specified this adds
a database backend for ratelimit purposes.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-13 16:45:54 +02:00
Nextcloud bot
798417bec6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-13 02:28:41 +00:00
Nextcloud bot
e5c3acaa5e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-12 02:28:46 +00:00
Tom Grant
648b395af1 Fix indentation error
Signed-off-by: tgrant <tom.grant760@gmail.com>
2021-09-10 10:47:34 +00:00
tgrant
b60b800bb1 Fix null displayname crash as described in #21885
Signed-off-by: tgrant <tom.grant760@gmail.com>
2021-09-10 10:47:32 +00:00
Nextcloud bot
4bd98ec127
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-10 02:36:11 +00:00
John Molakvoæ
00c2aa5dad
Merge pull request #27406 from nextcloud/backport/24966/stable21 2021-09-07 11:52:08 +02:00
Nextcloud bot
028efff7fd
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-06 02:28:05 +00:00
Jasper Knockaert
bb092dd7cc fix even more brackets
Signed-off-by: Jasper Knockaert jasper@knockaert.nl
2021-09-03 13:40:42 +00:00
Jasper Knockaert
c1dcd06fe1 fix brakcets 2021-09-03 13:40:42 +00:00
Jasper Knockaert
5f9663d2c8 consolidation of boolean expression 2021-09-03 13:40:41 +00:00
Jasper Knockaert
82482adb48 avoid fread on directories and unencrypted files
Reworking the logic in order to first check the filecache and only then reading the fileheader.
This in order to solve #21578.
2021-09-03 13:40:40 +00:00
Nextcloud bot
d1f44f84c5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-02 02:27:33 +00:00
Christoph Wurst
e3ae5571d5
Harden bootstrap context registrations when apps are missing
It's not expected that an app would be unavailable when the app
container is created but when services are registered, but Sentry tells
me on Nextcloud 21 there is an edge case where this can happen.
Therefore this patch hardens the code a bit to log a meaningful error
message and skipping the next code instead of logging a php notice for
the undefined index and an exception for calling a method on null.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-31 09:57:27 +02:00
Nextcloud bot
8ea3e9bb25
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-31 02:27:09 +00:00
Vincent Petry
2032ca7457
Unregister enc stream wrapper for any exception
This prevents side effects in tests by properly cleaning up
even with expected exceptions.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-26 14:20:04 +02:00
Nextcloud bot
47aea260a6
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-22 02:26:12 +00:00
Joas Schilling
5c89061865
Merge pull request #28455 from nextcloud/backport/28303/stable21
[stable21] UnifiedSearchController: strip webroot from URL before finding a route
2021-08-20 11:14:18 +02:00
John Molakvoæ (skjnldsv)
ea37e69fc4 Properly log errors in Movie previews generation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-08-19 18:04:40 +00:00
Julius Härtl
160dfbb78c
Merge pull request #28498 from nextcloud/backport/28485/stable21
[stable21] Fix #20913: Check image resource before attempting to preserve alpha
2021-08-19 16:45:34 +02:00
Pytal
8452f8c55e
Merge pull request #28495 from nextcloud/backport/28481/stable21
[stable21] Hash cache key
2021-08-18 12:49:51 -07:00
Simon Spannagel
cb9e9f3026 Fix #20913: Check image resource before attempting to preserve alpha
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2021-08-18 15:42:14 +00:00
Christopher Ng
7aa75c7b5e Hash cache key
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-18 13:23:44 +00:00
Christoph Wurst
b90982291e Emit an error log when the app token login name does not match
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-18 12:13:29 +00:00
Julius Härtl
69c7e7f1aa Only trap E_ERROR in session handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-17 10:12:58 +00:00
Jonas Meurer
d528243c0c Use IURLGenerator function to get value of \OC::$WEBROOT global
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-08-16 13:12:47 +00:00
Christoph Wurst
4d37709f58
Add missing files for Composer v2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-16 08:30:10 +02:00
Nextcloud bot
490525f975
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-15 02:26:22 +00:00
Robin Appelman
ca3a6251d2
better cleanup of user files on user deletion
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-12 18:16:51 +02:00
Julius Härtl
514ba5f419
Merge pull request #28361 from nextcloud/backport/28220/stable21
[stable21] fix Folder->getById() when a single storage is mounted multiple times
2021-08-11 09:03:49 +02:00
Nextcloud bot
a611edb612
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-10 02:32:07 +00:00
Robin Appelman
4c954e7dd1 fix Folder->getById() when a single storage is mounted multiple times
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-09 17:32:20 +00:00
Nextcloud bot
71e4fb0096
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-08 02:22:00 +00:00