Côme Chilliet
57671f5836
Build OC\Core\Application when running occ or cron to register listeners correctly
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
(cherry picked from commit 63d7e7c798 )
2022-03-22 10:36:20 +01:00
blizzz
77fec5cf42
Revert "[stable23] Fix listeners declaration in case of occ usage"
2022-03-21 13:25:26 +01:00
Carl Schwan
43b8778e08
Merge pull request #31529 from nextcloud/backport/stable23/30889
...
[stable23] Fix listeners declaration in case of occ usage
2022-03-21 11:33:48 +01:00
Nextcloud bot
a919146394
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-20 02:28:08 +00:00
Nextcloud bot
5a0a456a6e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-19 02:28:38 +00:00
Nextcloud bot
1e8746cb32
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-14 02:27:23 +00:00
Côme Chilliet
edf8fa2824
Build OC\Core\Application when running occ or cron to register listeners correctly
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
(cherry picked from commit 63d7e7c798 )
2022-03-11 09:38:00 +01:00
Joas Schilling
24af964313
Update autoloader
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 14:13:37 +01:00
Joas Schilling
e527a2ad45
Make the DB query simpler (as we just deleted all other entries)
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 14:12:39 +01:00
blizzz
e49842cc29
Merge pull request #31331 from nextcloud/backport/31328/stable23
...
[stable23] Mark split database configs as sensitive
2022-03-10 12:09:23 +01:00
Vincent Petry
8fd90161ce
Merge pull request #31102 from nextcloud/backport/30926/stable23
...
[stable23] Allow sub-admins to access delegated settings.
2022-03-09 14:42:48 +01:00
Robin Appelman
04b51f5120
use persistent connections when connecting to redis
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 12:48:10 +00:00
Christopher Ng
aba45f28be
Fix avatar file return type
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-04 04:32:29 +00:00
Vincent Petry
47cbb42161
Merge pull request #31401 from nextcloud/backport/31360/stable23
...
[stable23] Don't set up full filesystem to check for certificates
2022-03-03 16:46:31 +01:00
blizzz
0d5c2cd0f0
Merge pull request #31399 from nextcloud/backport/31390/stable23
...
[stable23] Censor more configs
2022-03-02 17:39:18 +01:00
Joas Schilling
5a78ffbdf8
Also use hashed/indexed column on delete
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-02 11:18:24 +00:00
Joas Schilling
b6e8aba4c8
Don't set up full filesystem to check for certificates
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-02 10:46:25 +00:00
Joas Schilling
84f8f563fe
Censor more configs
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-02 10:25:37 +00:00
Vincent Petry
64f376e4b9
Merge pull request #31098 from nextcloud/backport/30942/stable23
...
[stable23] only setup part of the filesystem for appdata requests
2022-03-01 16:00:45 +01:00
Carl Schwan
d1e87ad35c
Merge pull request #31244 from nextcloud/backport/31141/stable23
...
[stable23] Improve caching policy use immutable when loading versionned assets
2022-02-28 11:17:00 +01:00
Nextcloud bot
bf5f570f21
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-24 02:26:49 +00:00
Joas Schilling
7c3a0ca0af
Mark split database configs as sensitive
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-23 16:39:22 +00:00
Nextcloud bot
5d82e62f5a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-23 02:27:57 +00:00
Claus-Justus Heine
641ea6d7cb
Allow sub-admins to access delegated settings.
...
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2022-02-23 00:17:36 +00:00
Joas Schilling
954d4e18d1
Use the new option to signaling insensitivity
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-22 10:59:21 +00:00
Joas Schilling
c8db7d35bf
Allow apps to specify if their background job can be delayed
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-22 10:59:19 +00:00
Joas Schilling
69e73cbdab
Merge pull request #31297 from nextcloud/backport/31217/stable23
...
[stable23] Also cache non-existing to reuse it
2022-02-22 11:49:16 +01:00
Louis Chemineau
5043a9dc6b
Wrap S3 multipart upload exception
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-21 14:25:54 +00:00
Louis Chemineau
7a2697a100
Wrap S3 multipart upload exception
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-21 14:25:52 +00:00
Joas Schilling
3df6208537
Also cache non-existing to reuse it
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-21 11:07:54 +00:00
Claus-Justus Heine
539c993c33
Use the unjailed-path in OC_Helper::getStorageInfo() for files located in SharedStorage.
...
The current implementation already switches the storage-backend to
$storage->getSourceStorage(). However, it then calls
$rootInfo->getInternalPath() which returns the internal path relative to
the storage where the share is mounted. This is wrong, we need also to
unjail the path. Compare, e.g., with
OCA\Files_Sharing\SharedStorage::file_get/put_contents() for the
"logic".
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2022-02-18 15:45:48 +00:00
Carl Schwan
f6d0bb419e
Improve caching policy
...
* Cache css with version in url. This makes most js and css requests to
be cached by the browser
* Force caching previews, the etag is in the url so that if the propfind
gives a new etag, we will refresh it otherwise it's no use to try to
fetch the new etag and do tons of DB queries
Tested with firefox and 'debug' => false (important so that the js/css
urls are generated with ?v= parameter)
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-18 14:28:24 +01:00
Joas Schilling
67a8d3f736
Allow to get custom loggers for syslog, errorlog and systemdlog too
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-16 16:02:09 +00:00
Robin Appelman
7f5a3695b7
handle setupFS with null user
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-16 10:46:48 +00:00
Robin Appelman
f9b74b3ced
dont mark fs as setup when no user is active
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-16 10:46:48 +00:00
Robin Appelman
417ead0a6b
fix fs cache test user setup
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-16 10:46:48 +00:00
Robin Appelman
fa43e4ecf2
pass user object during fs init
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-16 10:46:48 +00:00
Robin Appelman
19d214294c
only setup part of the filesystem for appdata requests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-16 10:46:48 +00:00
Vincent Petry
79f5c76812
Merge pull request #31059 from nextcloud/backport/30973/stable23
...
[stable23] Allow specify a config prefix for another database connection
2022-02-16 11:30:42 +01:00
Vincent Petry
287d058a57
Merge pull request #30949 from nextcloud/bugfix/noid/allow-to-disable-v1-authtokens
...
[stable23] Allow to disable AuthToken v1
2022-02-16 11:24:33 +01:00
Joas Schilling
016c6e3806
Allow specify a config prefix for another database connection
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 14:34:10 +00:00
Joas Schilling
a5d8b1aa35
Allow to disable AuthToken v1
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-31 20:02:21 +01:00
Carl Schwan
003f2b59c9
Fix psalm warning related to registerEventListener
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-29 12:44:02 +01:00
John Molakvoæ
3ee9bcc4f7
Merge pull request #30814 from nextcloud/backport/30508/stable23
2022-01-27 20:06:29 +01:00
Carl Schwan
d69531ac8e
Fix psalm not running
...
The issue was that we were using psalm/phar instead of vimeo/psalm. This
caused issue with the custom psalm plugin in buildd/psalm.
This is using the opportunity to also update the psalm version from 3.8
to 3.17 and the php-cs-fixer too.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-27 17:20:00 +01:00
John Molakvoæ
37b49e615c
Merge pull request #30740 from nextcloud/backport23
2022-01-22 19:03:33 +01:00
Côme Chilliet
20c3f6d634
Always call flush() as getAllKeys() is broken
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-20 15:38:02 +00:00
John Molakvoæ
4466eb1f42
Merge pull request #30728 from nextcloud/backport/30614/stable23
2022-01-20 11:12:34 +01:00
John Molakvoæ
2645b6cd69
Merge pull request #29798 from nextcloud/stable23-disk
2022-01-20 10:36:40 +01:00
Joas Schilling
713342cd23
Log bruteforce throttle and blocking
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-19 11:51:43 +00:00