Commit graph

20092 commits

Author SHA1 Message Date
Côme Chilliet
3ade269d1b
Merge pull request #31333 from nextcloud/fix/fix-archive-typing
Improve typing in OC\Archive classes
2022-03-01 14:20:03 +01:00
Côme Chilliet
ce87b44224
Merge pull request #31380 from nextcloud/fix/opendocument-preview-avoid-errors
Ignore errors when searching for bundled preview
2022-03-01 14:10:47 +01:00
Côme Chilliet
13c11208d4
Ignore errors when searching for bundled preview
When an odt file is xml and not zip, it would throw a ValueError.
It will now just ignore this file and return null for the preview.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-28 15:43:07 +01:00
Joas Schilling
b90e657ac7
Delay loading user preferences until we need them
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-28 13:49:12 +01:00
Anna
c203bc71ad
Merge pull request #31377 from nextcloud/fix/specify-nullable-string
Specify string as nullable for credentials password
2022-02-28 12:03:36 +01:00
Côme Chilliet
5c4cba17f7
Merge pull request #30889 from nextcloud/fix/fix-occ-listeners
Fix listeners declaration in case of occ usage
2022-02-28 11:52:03 +01:00
Anna Larch
f68028e85e Specify string as nullable for credentials password
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-02-28 11:08:48 +01:00
Côme Chilliet
63d7e7c798
Build OC\Core\Application when running occ or cron to register listeners correctly
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-28 10:31:52 +01:00
Côme Chilliet
19f68b3011
Merge pull request #31339 from nextcloud/fix/preview-code-cleaning
Fix typing in OC\Preview
2022-02-28 10:26:23 +01:00
Christoph Wurst
c1000fe344
Merge pull request #31304 from nextcloud/feature/dry_run_for_add_indices
Add --dry-run option for add-missing-* cmd
2022-02-28 09:59:40 +01:00
Joas Schilling
88f4e972c5
Don't set up full filesystem to check for certificates
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-26 00:40:12 +01:00
Joas Schilling
86de1d569f
Only setupFS when we have to copy the skeleton
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-25 15:55:06 +01:00
Christopher Ng
321e1cdce3 Extend ImportSource interface to list files of a folder
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-02-24 16:53:50 +00:00
Côme Chilliet
77644cb674
Move to strong typing in OC\Archive
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 17:04:09 +01:00
Louis Chemineau
405c5eb813 Add --dry-run option for db:add-missing-* cmd
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-24 16:42:08 +01:00
Côme Chilliet
0daec4b27e
Fix tmp file cleaning for bundled previews
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 14:55:57 +01:00
Côme Chilliet
d43dbfa0f2
Fix typing in OC\Preview\Movie
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 14:55:48 +01:00
Côme Chilliet
ebe731f014
Fix typing in OC\Preview
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 14:42:55 +01:00
Côme Chilliet
153eca8ef0
Fix unused import in OC\Archive\ZIP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 12:34:32 +01:00
Côme Chilliet
c9100e3d44
Fix more typing in OC\Archive classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 12:25:04 +01:00
Côme Chilliet
7b1a044131
Improve typing in OC\Archive classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 12:03:36 +01:00
Nextcloud bot
6da8a6d62a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-24 02:26:36 +00:00
Robin Appelman
cfb7923e08
store mountprovider for each mount in the mounts table
this enabled more fine grained filesystem setup

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-23 18:02:33 +01:00
Simon L
692da9236b
Merge pull request #31328 from nextcloud/bugfix/noid/mark-split-database-configs-as-sensitive
Mark split database configs as sensitive
2022-02-23 17:34:20 +01:00
Joas Schilling
bf4acd5452
Merge pull request #31106 from nextcloud/techdebt/noid/improve-user-status-update-handling
Improve user status revert performance
2022-02-23 11:17:16 +01:00
Joas Schilling
6302ff0f96
Mark split database configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-23 10:31:17 +01:00
Nextcloud bot
98fd66b137
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-23 02:27:42 +00:00
Christoph Wurst
ef4c18a266
Deprecate our old, internal background job base classes
The OCP ones should be used instead. This makes it more visible in our
IDEs that the base class of background job should be replaced.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-22 11:31:54 +01:00
Côme Chilliet
5b565a4726
Merge pull request #31173 from nextcloud/enhancement/user_migration-version-handling
Add version handling to IMigrator
2022-02-22 09:02:34 +01:00
Nextcloud bot
67f192e906
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-22 02:29:25 +00:00
Côme Chilliet
07940f9d05
Please drone checkers
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-21 18:20:27 +01:00
Côme Chilliet
09cf851979
Update autoload
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-21 16:24:36 +01:00
Joas Schilling
87115d8b1c
Merge pull request #31217 from nextcloud/bugfix/noid/also-cache-non-existing-entry
Also cache non-existing to reuse it
2022-02-21 11:50:40 +01:00
Louis
d721339262
Merge pull request #31195 from nextcloud/wrap_exception
Wrap S3 multipart upload exception
2022-02-21 11:27:55 +01:00
Julius Härtl
ee711ed66c
Merge pull request #30367 from nextcloud/fix/minor-api-doc-fix
Fix some issues with the API documentation
2022-02-18 10:44:50 +01:00
Côme Chilliet
885b7904a2
Avoid passing both $importSource and $version while version comes from source
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 18:09:14 +01:00
Carl Schwan
ac4978e715
Merge pull request #31141 from nextcloud/fix/better-cache-policy
Improve caching policy use immutable when loading versionned assets
2022-02-17 16:58:35 +01:00
Côme Chilliet
67fb1b92d6
Improve version handling for user_migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 11:31:03 +01:00
Côme Chilliet
b06a622a60
Add version handling to IMigrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 11:30:55 +01:00
Carl Schwan
8af4054237 Fix some issues with the API documentation
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 11:09:06 +01:00
Christoph Wurst
cb252c5591
Add Transactional trait for atomic DB operations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-17 09:58:41 +01:00
Joas Schilling
397b9098e8
Also cache non-existing to reuse it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-16 16:51:22 +01:00
Louis Chemineau
bc2c02f451 Wrap S3 multipart upload exception
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-16 14:56:14 +01:00
Carl Schwan
7dddbd0c35 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-16 11:35:57 +01:00
Nextcloud bot
393d581c3a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-16 02:27:42 +00:00
Louis Chemineau
0b768c17d2 Wrap S3 multipart upload exception
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-15 17:35:12 +01:00
Joas Schilling
deec4f31db
Allow to revert the user status of multiple users in 3 queries instead of 3*n
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:33 +01:00
Christopher Ng
21f9e85e1a Extend export destination interface
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-02-11 23:34:25 +00:00
Christopher Ng
e3244361ba Allow registration of migrators
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-02-11 23:34:25 +00:00
Vincent Petry
fbbbc2ec34
Merge pull request #30959 from nextcloud/redis-pconnect
use persistent connections when connecting to redis
2022-02-11 16:18:37 +01:00