Commit graph

20137 commits

Author SHA1 Message Date
Pytal
eeec6142ca
Merge pull request #30963 from nextcloud/feat/calendar-migration 2022-03-10 11:34:11 -08:00
Vincent Petry
430bd6b1e2
Merge pull request #31494 from nextcloud/fix/fix-group-metadata-typing
Fix group metadata typing
2022-03-10 14:33:54 +01:00
Julius Härtl
bd03dd37be
Allow to set a strict-dynamic CSP through the API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-09 15:10:27 +01:00
Côme Chilliet
d5544923a9
Strong type OC\Group\MetaData
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-08 16:44:22 +01:00
John Molakvoæ
ec4280eda0
Merge pull request #31493 from nextcloud/bugfix/noid/app-script-main 2022-03-08 16:29:13 +01:00
Robin Appelman
e8872f01ae
Merge pull request #31431 from nextcloud/fs-setup-manager
Unify/cleanup filesystem setup
2022-03-08 14:50:25 +00:00
Côme Chilliet
3ecba9fd17
Fix typing of OC\Group\MetaData::sorting
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-08 15:49:29 +01:00
Julius Härtl
e8cf1a8759
Avoid double-loading dist/core-main.js when apps have scripts named main
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-08 15:37:53 +01:00
Pytal
232af474a8
Merge pull request #31418 from nextcloud/enh/simple-file-extension 2022-03-07 11:38:23 -08:00
Christopher Ng
26e3bdfce3 Note DI only usage in PHPDoc
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-07 18:14:51 +00:00
Côme Chilliet
eb60b650aa
Add missing @since in InMemoryFile to please CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-07 10:46:05 +01:00
MichaIng
89e2eac825
Merge pull request #31447 from nextcloud/doc/manager-interface
Clarify that some interface are not meant to be implemented
2022-03-06 01:40:04 +01:00
Carl Schwan
5a17415dd8 Add a few more non-extendable interface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-05 14:35:34 +01:00
Robin Appelman
917c74e214
type fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:16 +01:00
Robin Appelman
07a7dcb824
move user mountpoint setup to setupmanager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:12 +01:00
Robin Appelman
d81713e5c1
simplify setup of circular SetupManager<->Manager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:09 +01:00
Robin Appelman
6c1d051ecd
add template annotations to CappedMemoryCache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:06 +01:00
Robin Appelman
22875bf367
move logic to decide what to setup to setupmanager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:03 +01:00
Robin Appelman
1c468129af
adjust tests to new fs setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:29:59 +01:00
Robin Appelman
5c0fe93498
move teardown logic to SetupManager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:29:50 +01:00
Robin Appelman
15ff65c12f
start moving filesystem setup logic to it's own place
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:29:47 +01:00
Robin Appelman
7630d7a934
more type hints for ICachedMountInfo and IMountManager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:28:11 +01:00
Carl Schwan
831aebf4f6 Clarify that some interface are not meant to be implemented
This make sure that apps don't implement this interfaces and gives us
more liberty to add new methods to them (as long as it is compatible
from an usage point of view)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
2022-03-04 16:02:35 +01:00
John Molakvoæ
69a6efba47
Merge pull request #31449 from nextcloud/bugfix/noid/even-more-censor 2022-03-04 15:05:24 +01:00
Robin Appelman
8b22a463e9
Merge pull request #31266 from nextcloud/root-setup-mountprovider
move root mount setup to mountproviders
2022-03-04 13:44:05 +00:00
John Molakvoæ
821a0dc875
Merge pull request #31387 from nextcloud/fix/common-main-core-script-order 2022-03-04 14:37:41 +01:00
Julien Veyssier
a295529576
censor app config values for all integration apps
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-03-04 13:06:37 +01:00
John Molakvoæ
58d516b509
Make sure common and main core scripts are loaded first
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-03-04 10:22:56 +01:00
Christopher Ng
0571391b10 Extend simple file with extension getter
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-04 06:11:53 +00:00
Christopher Ng
31a9be0482 Fix avatar file return type
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-03 15:48:00 +00:00
John Molakvoæ
6261d6731a
Merge pull request #31398 from nextcloud/techdebt/noid/also-use-hashed-column-on-delete 2022-03-02 12:08:10 +01:00
Julius Härtl
2ff0c972c9
Merge pull request #31124 from nextcloud/enh/diagnostics-logging
Diagnostics event logging to log
2022-03-02 12:00:44 +01:00
Joas Schilling
18bafefb00
Merge pull request #31218 from nextcloud/techdebt/noid/use-cache-also-for-userbackend-getpassword
Use the cache also for UserBackend::getPassword
2022-03-02 11:41:32 +01:00
Joas Schilling
abcf45e336
Also use hashed/indexed column on delete
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-02 09:23:16 +01:00
Christopher Ng
0cbb6d7ba9 Various minor updates
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 02:15:05 +00:00
Christopher Ng
4eff359441 Calendar export and import
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 01:59:15 +00:00
Joas Schilling
1e27aed4dc
Censor more configs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-01 21:08:16 +01:00
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
Julius Härtl
83717a7800
Add event logging for db and redis connection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28 11:24:41 +01:00
Julius Härtl
eede608c0e
Add event logging to app loading
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28 11:24:41 +01:00
Julius Härtl
0f33453610
Diagnostics event logging to Nextcloud log
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Add config samples

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28 11:24:40 +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