Julius Härtl
81c2122ff8
style: Fix php-cs and psalm
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-27 11:10:56 +07:00
Julius Härtl
699e5fe7f6
chore(composer): Update autoloader
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-27 11:10:56 +07:00
Julien Veyssier
0e6d5f8240
improve getUserProviderTimestamps
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:56 +07:00
Julien Veyssier
b22d4e6306
use array_filter instead of array_map + array_search
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:56 +07:00
Julien Veyssier
8766e4f242
handle and return touchProvider errors
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:56 +07:00
Julien Veyssier
48f34736cd
ADiscoverableReferenceProvider implements JsonSerializable
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:56 +07:00
Julien Veyssier
946a1af9fd
add 'last used timestamp' management for reference providers
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:56 +07:00
Julien Veyssier
6431c5a559
extend the reference API for the new link picker
...
- add 2 interfaces for discoverable and searchable reference providers
- new OCS route to get info on discoverable/searchable reference providers
- new abstract ADiscoverableReferenceProvider that only implements jsonSerialize
- listen to RenderReferenceEvent to inject provider list with initial state
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-27 11:10:55 +07:00
Christoph Wurst
20e00cdf17
feat(app-framework): Add UseSession attribute to replace annotation
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-27 09:40:35 +07:00
Nextcloud bot
be1de30a4f
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-27 02:28:03 +07:00
Christoph Wurst
ad00a149ea
Merge pull request #36310 from nextcloud/feat/app-framework/global-middlewares
...
feat(app-framework): Add support for global middlewares
2023-01-26 15:17:38 +07:00
Christoph Wurst
033b03def0
Merge pull request #36341 from nextcloud/fix/app-framework/middleware-before-controller-returns-void
...
fix(app-framework): Specify return type of Middleware::beforeController
2023-01-26 13:18:19 +07:00
Christoph Wurst
8d9af3e262
feat(app-framework): Add support for global middlewares
...
This allows apps to register middlewares that always register, not just
for the app's own requests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-26 11:54:28 +07:00
Louis Chemineau
53d736207c
Adapt files_versions tests to modernized hooks
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-01-26 10:12:23 +07:00
Vincent Petry
9ecec2fd75
Merge pull request #35894 from nextcloud/move-from-encryption
...
fix moving files of encrypted local storage to unencrypted local storage
2023-01-26 09:45:12 +07:00
Christoph Wurst
40425035d2
Merge pull request #36347 from nextcloud/chore/autoloader/composer-2.5.1-autoloader-files
...
chore(autoloaders): Update autoloader files for Composer 2.5.1
2023-01-26 09:17:52 +07:00
Nextcloud bot
4caa90dfb6
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-26 02:25:08 +07:00
Simon L
352bd7ecea
Merge pull request #36352 from nextcloud/enh/noid/imaginary-add-tiff
...
imaginary - add tiff to supported formats
2023-01-25 21:06:11 +07:00
Christoph Wurst
b58d4f7d22
Merge pull request #36298 from nextcloud/perf/app-framework/lazy-middleware-registration
...
perf(app-framework): Make app middleware registration even lazier
2023-01-25 17:37:56 +07:00
Julius Härtl
919a840f34
Merge pull request #32798 from nextcloud/enh/sse-c
...
[S3] Add option to specify an SSE-C customer provided key
2023-01-25 15:59:26 +07:00
Daniel
75e8636ef2
Merge pull request #36187 from nextcloud/psalm-ocp-since-checker
...
ci: migrate ocp since checker to psalm
2023-01-25 12:44:01 +07:00
Simon L
9a64d95676
imaginary - add tiff to supported formats
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-25 11:53:16 +07:00
Christoph Wurst
aee9941fed
chore(autoloaders): Update autoloader files for Composer 2.5.1
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 10:42:34 +07:00
Christoph Wurst
6d7339b0ff
fix(app-framework): Specify return type of Middleware::beforeController
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 09:30:58 +07:00
Christoph Wurst
907ff68bfc
perf(app-framework): Make the app middleware registration lazy
...
Before this patch, app middlewares were registered on the dispatcher for
every app loaded in a Nextcloud process. With the patch, only
middlewares belonging to the same app of a dispatcher instance are
loaded.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 09:27:24 +07:00
Robin Appelman
33b90d28f8
fix moving files of encrypted local storage to unencrypted local storage
...
for example when moving encrypted files to a groupfolder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-01-24 16:40:41 +07:00
Thomas Citharel
00d9d49303
Add app config for default template path
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-24 09:39:31 +07:00
Julius Härtl
159a0c8411
feat(s3): Add option to specify an SSE-C customer provided key
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-24 10:36:03 +07:00
Daniel Kesselberg
258c919b3c
ci: migrate ocp since checker to psalm
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-24 10:02:41 +07:00
Nextcloud bot
f867a2d65e
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-24 02:25:20 +07:00
Joas Schilling
ecad09b38a
Merge pull request #36261 from nextcloud/techdebt/noid/warn-devs-about-potential-bugs
...
fix(querybuilder): Log a warning if where() is called again on a quer…
2023-01-23 18:47:25 +07:00
Joas Schilling
f565cacaf3
Fix double where() usage in resource manager
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-23 08:48:01 +07:00
Nextcloud bot
cfc93d8b0a
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-23 02:25:26 +07:00
Nextcloud bot
2ff877f105
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-22 02:25:24 +07:00
Nextcloud bot
b7d884355b
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-21 02:24:42 +07:00
Côme Chilliet
f5c361cf44
composer run cs:fix
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:45:08 +07:00
Côme Chilliet
2a5e18b67a
Fix types in OCS json answer (status code is an int)
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +07:00
Côme Chilliet
f2cdc4f47d
Fix crash in OCS when getting info about an application
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +07:00
Côme Chilliet
0c466b7ff5
Attempt at reducing psalm errors
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +07:00
Côme Chilliet
e91457d9cd
Improve typing in Entity.php
...
Removing @method in Entity brings even more errors.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:09 +07:00
Côme Chilliet
f27c3d0a04
composer update php
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:08 +07:00
Côme Chilliet
9369b67df3
Drop PHP 7.4 support for master (26)
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:22:07 +07:00
Joas Schilling
7f0a54c558
fix(querybuilder): Log a warning if where() is called again on a query builder object
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-20 07:41:19 +07:00
Nextcloud bot
5e3a3c0c8f
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-20 02:29:40 +07:00
Daniel Kesselberg
ffb76d5475
docs: document types flag for search options
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-19 09:33:53 +07:00
Nextcloud bot
aaf759bbb0
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-19 02:27:03 +07:00
Simon L
752f3a39f9
Merge pull request #36225 from Jachhj-sc/patch-1
...
Add check config.php for ffmpeg_path in PreviewManager.php. fix for snap no video preview
2023-01-18 22:14:22 +07:00
William
fa12219629
Update lib/private/PreviewManager.php
...
fix lint issue
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: William <william.hak57@gmail.com>
2023-01-18 20:32:09 +07:00
Simon L
06a572ff55
Merge pull request #27492 from cyclops8456/feature/24301-remove-can-install-on-occ-maintenance-install
...
Remove the CAN_INSTALL file when occ maintenance:install is complete
2023-01-18 19:53:02 +07:00
William
57a3a17db7
Merge branch 'nextcloud:master' into patch-1
2023-01-18 19:31:39 +07:00
William
1409a7cc92
Update PreviewManager.php
...
add a check in config.php for a configured movieBinary path.
so now it first checks in config.php if preview_ffmpeg_path is configured.
Signed-off-by: William <william.hak57@gmail.com>
2023-01-18 16:30:41 +07:00
Christoph Wurst
20fcfb5739
feat(app framework)!: Inject services into controller methods
...
Usually Nextcloud DI goes through constructor injection. This has the
implication that each instance of a class builds the full DI tree. That
is the injected services, their services, etc. Occasionally there is a
service that is only needed for one controller method. Then the DI tree
is build regardless if used or not.
If services are injected into the method, we only build the DI tree if
that method gets executed.
This is also how Laravel allows injection.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-18 14:00:38 +07:00
John Molakvoæ
1a0f9b57be
Merge pull request #36002 from nextcloud/feat/files2vue-quota
...
feat(files): Quota in navigation
2023-01-18 08:05:04 +07:00
Nextcloud bot
4dc3f4dcac
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-18 02:25:23 +07:00
John Molakvoæ
b9906fb21e
feat(files): Quota in navigation
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-17 18:30:41 +07:00
Christoph Wurst
312f19d6a4
Merge pull request #36166 from nextcloud/fix/php82/declare-symfony-console-application-property
...
fix(PHP8.2): Declare Symfony Application property in console application
2023-01-17 18:25:56 +07:00
John Molakvoæ
9af7ee8d11
Revert "Add alt to the logo, adapt css for logo"
...
This reverts commit bba5ab0532 .
2023-01-17 14:19:23 +07:00
Nextcloud bot
7ab34eefc5
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-17 02:26:53 +07:00
Christoph Wurst
e2f4110a3f
fix(PHP8.2): Declare Symfony Application property in console application
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-16 14:55:16 +07:00
Julius Härtl
8557c61389
Merge pull request #35970 from nextcloud/perf/noid/exception-serializer
2023-01-16 14:00:57 +07:00
blizzz
dbfe7b1816
Merge pull request #36073 from nextcloud/fix/fix-background-job-list
...
Use a Generator for job list to fix background-job:list command
2023-01-16 11:10:10 +07:00
Julius Härtl
cf1bd0eb70
chore: Add typings to Log properties
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 09:47:31 +07:00
Julius Härtl
7daa20d309
fix(ExceptionSerializer): encode arguments before filtering the trace
...
This will avoid running into a Nesting level too deep error as the
encodeArg calls will limit potential recursive calls on the arguments to
a nesting level of 5
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 09:47:31 +07:00
Julius Härtl
00b7575c89
perf(logging): Return early when log level does not match before serializing an exception
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-16 09:47:31 +07:00
Côme Chilliet
5e090d044d
Merge pull request #36075 from fmenabe/s3-storage-class
...
Add support for s3 storage classes
2023-01-16 09:43:53 +07:00
Nextcloud bot
269bcdc17a
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-16 02:24:58 +07:00
Nextcloud bot
4267698115
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-15 02:24:46 +07:00
Nextcloud bot
5866418098
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-14 02:26:37 +07:00
blizzz
2db1e75be2
Merge pull request #36067 from nextcloud/enh/noid/spaces-are-allowed-in-userids
...
spaces are allowed in userids
2023-01-13 10:45:27 +07:00
Nextcloud bot
9c01fed263
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-13 02:26:35 +07:00
Côme Chilliet
d74044f634
Fix API breakage by using a new method instead
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:18:59 +07:00
Côme Chilliet
e74f464662
Remove deprecated method getAll instead of breaking API on deprecated method
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-12 17:13:08 +07:00
François Ménabé
cf9bdc0274
Manage s3 storage class in objectstore
...
Signed-off-by: François Ménabé <francois.menabe@gmail.com>
2023-01-12 14:58:27 +07:00
Julius Härtl
19e521e3cc
Merge pull request #35844 from nextcloud/debt/noid/add-explanation-for-get-new-preview-locations
...
doc: add description how BackgroundCleanupJob.getNewPreviewLocations works
2023-01-12 11:19:04 +07:00
Vincent Petry
c2165b84e6
Merge pull request #36001 from nextcloud/validate-user-tz
...
Validate user timezone given from login data before saving it
2023-01-11 19:53:37 +07:00
Git'Fellow
e855298b3c
Switch logical operators
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-01-11 16:27:33 +07:00
Julien Veyssier
b82db5fd5f
Merge pull request #36071 from nextcloud/enh/36043/improve-link-reference-content-type-check
...
improve link reference content-type check
2023-01-11 11:02:38 +07:00
Nextcloud bot
380e5a4ee1
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-11 02:24:41 +07:00
Côme Chilliet
679682c186
Use a Generator for job list to fix background-job:list command
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-10 18:20:31 +07:00
Julien Veyssier
f0589523c8
improve link reference content-type check, accept 'text/html;*'
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-10 16:17:52 +07:00
Joas Schilling
fc096ae9db
Merge pull request #36048 from nextcloud/bugfix/36046/only-verify-the-same-hash-once
...
fix(authentication): Only verify each hash once
2023-01-10 15:40:11 +07:00
Simon L
7271ec7acf
spaces are allowed in userids
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-10 13:25:27 +07:00
Alex Harpin
644df591b1
Rename canInstallExists method and add new method for removal
...
Rename canInstallExists to shouldRemoveCanInstallFile to cover removal of this file for non-git channels and logging any failure to remove it.
Add new method to detect if this file exists during web based installation.
Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
2023-01-10 11:59:06 +07:00
Alex Harpin
72af140723
Move CAN_INSTALL check to method and remove unlink from SetupController
...
Move the check for the CAN_INSTALL file in the config directory to a method in the Setup class and remove the call to unlink from the SetupController as this in now handled in the Setup class.
Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
2023-01-10 11:59:06 +07:00
Alex Harpin
467c8a9d78
Remove the CAN_INSTALL file when occ maintenance:install is complete
...
When occ maintenance:install is run from the CLI, the CAN_INSTALL in the config directory is left in place when installed is set to true, whereas this file is removed when the web installer is used. Removing this file in the CLI command maintains consistency between the two. This allows automation tools an easier way to determine if this process has been completed.
Signed-off-by: Alex Harpin <development@landsofshadow.co.uk>
2023-01-10 11:59:05 +07:00
Vincent Petry
0c37d059dc
Merge pull request #35964 from nextcloud/IMigrationStep-fix
...
IMigrationStep progress bar fix
2023-01-10 12:39:31 +07:00
Julius Härtl
32e691f2f6
Merge pull request #35966 from nextcloud/chore/remove-deprecated-dashboard
2023-01-10 12:08:52 +07:00
Nextcloud bot
1cfea13e94
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-10 02:24:52 +07:00
Joas Schilling
2fb4dac7ad
fix(authentication): Update the token when the hash is null or can not be verified
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 16:32:36 +07:00
Joas Schilling
28b18d561c
fix(authentication): Only hash the new password when needed
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 15:58:26 +07:00
Joas Schilling
c5bb19641c
fix(authentication): Invert the logic to the original intention
...
We need to store the new authentication details when the hash did **not** verify
the old password.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 15:13:08 +07:00
Joas Schilling
55d8aec759
fix(authentication): Only verify each hash once
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-09 14:53:12 +07:00
Julien Veyssier
b07adddf39
in the link reference provider, check if the link content type begins with text/html
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-09 11:08:56 +07:00
Nextcloud bot
ff0a32f70f
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-09 02:24:48 +07:00
Nextcloud bot
0489921f3f
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-08 02:24:44 +07:00
Nextcloud bot
484f2fd5cc
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-07 02:24:09 +07:00
Nextcloud bot
d4a8cce174
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-06 02:24:57 +07:00
Julien Veyssier
552611d341
add restrictions on content-type and content-size when downloading to resolve with opengraph link provider
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-01-05 12:36:11 +07:00
Julius Härtl
18164ae516
Merge pull request #33898 from nextcloud/fix/authtoken-password-update
...
PublickKeyTokenProvider: Fix password update routine with password hash
2023-01-05 08:01:47 +07:00
Joas Schilling
4670c5b38f
Merge pull request #35981 from nextcloud/followup/35965/const-for-max-password-length
...
Add a const for the max user password length
2023-01-05 06:31:32 +07:00
Joas Schilling
411754a12a
Merge pull request #35979 from nextcloud/feature/talk-4657/show-local-time-in-avatar-menu
...
Show local time in avatar menu
2023-01-05 06:30:44 +07:00
Nextcloud bot
8162008672
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-05 02:24:26 +07:00
Thomas Citharel
6b7da88b0b
Validate user timezone given from login data before saving it
...
Follow-up to #36000
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-04 18:13:25 +07:00
Joas Schilling
b4a29644cc
Add a const for the max user password length
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:23:43 +07:00
Joas Schilling
8eca26012f
Show local time in avatar menu
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 11:09:58 +07:00
Joas Schilling
c8160a6150
Merge pull request #35873 from leegarrett/35830_lgarrett
...
Implement occ status command via return codes v2 (Fixes : #35704 )
2023-01-04 09:51:12 +07:00
Joas Schilling
348454cb91
Merge pull request #35876 from bennet0496/patch-mail-header
...
Adding option to set Auto-Submitted email header
2023-01-04 09:34:14 +07:00
Marcel Klehr
adfe367106
PublickKeyTokenProvider: Fix password update routine with password hash
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-01-04 08:30:53 +07:00
Julius Härtl
5b67b92f73
chore(OCP): Remove deprecated dashboard interfaces and classes
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-03 20:18:23 +07:00
bbx-github
08f9d71449
fix link to documentation of php function
...
Signed-off-by: bbx-github <53237674+bbx-github@users.noreply.github.com>
2023-01-03 18:31:05 +07:00
Git'Fellow
8eda4ddc9e
IMigrationStep progress bar fix
...
Context here: https://github.com/nextcloud/server/issues/35960
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-01-03 16:32:44 +07:00
Bennet Becker
c8bde160cd
fix missing class in NewUserMailHelper and static code analysis errors
...
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 16:23:41 +07:00
Daniel Kesselberg
71a6030706
docs: add description how BackgroundCleanupJob.getNewPreviewLocations works
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-01-03 16:03:02 +07:00
Bennet Becker
bd846df699
updating autoloader files
...
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 15:16:05 +07:00
Bennet Becker
4dc0957164
refactor AutoSubmittedValue to Headers\AutoSubmitted and adding
...
header name to constants
Signed-off-by: Bennet Becker <dev@bennet.cc>
2023-01-03 15:15:35 +07:00
Côme Chilliet
06da8adcd3
Merge pull request #35943 from nextcloud/fix/code-fixes-from-34997
...
Code fixes from PR 34997
2023-01-03 14:32:31 +07:00
Lee Garrett
fba906e34a
Implement occ status command via return codes ( Fixes : #35704 )
...
Running `./occ status -e` will produce any output. However, it will:
exit 0 during normal operation,
exit 1 when in maintenance mode,
exit 2 when `./occ upgrade` is needed.
Signed-off-by: Lee Garrett <lgarrett@rocketjump.eu>
2023-01-03 10:58:07 +07:00
Côme Chilliet
a7740c0ae6
Suppress last psalm error until upstream fix is released and included
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:17:38 +07:00
Côme Chilliet
e4a780127d
Small fix in OC_API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:05:18 +07:00
Côme Chilliet
a372564850
Fix psalm spotted errors with new requirements
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-02 15:02:28 +07:00
Julius Härtl
b8046e2ba4
Align checksum dav property with desktop client parsing
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-30 16:55:35 +07:00
Simon L
f57a810276
Revert "avatar generation - disable setimageformat"
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-29 11:06:22 +07:00
Nextcloud bot
00e14d0f6a
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-29 03:10:11 +07:00
Simon L
a0f21800fe
avatar generation - disable setimageformat
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-27 13:25:04 +07:00
Bennet Becker
9d9a0b7e06
use constant as default value in value getter
...
Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-26 23:20:15 +07:00
Nextcloud bot
9d5dd77747
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-26 02:43:28 +07:00
Bennet Becker
04c3c87946
Revert "ran build/autoloaderchecker.sh after adding AutoSubmittedValue class"
...
This reverts commit 77569bae45 .
Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-24 14:56:32 +07:00
Nextcloud bot
5256ba0f2d
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-24 03:02:27 +07:00
Bennet Becker
411467af57
fix static-analysis error and formatting code
...
Signed-off-by: Bennet Becker <dev@bennet.cc>
2022-12-23 21:48:52 +07:00
Bennet B
4b992cdf7f
Update PHPDoc annotation in lib/public/Mail/IMessage.php
...
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Bennet B <bennet0496@users.noreply.github.com>
2022-12-23 19:27:18 +07:00
Bennet Becker
77569bae45
ran build/autoloaderchecker.sh after adding AutoSubmittedValue class
...
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:58 +07:00
Bennet Becker
c1c6d215c7
fix getAutoSubmitted return type and adding unit tests
...
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:49 +07:00
Bennet Becker
b3d9b57815
Adding API method to set the Auto-Submitted header to OCP\Mail\IMessage
...
and implementation in OC\Mail\Message
Signed-off-by: Bennet Becker <bbecker@pks.mpg.de>
2022-12-23 19:26:20 +07:00
Julius Härtl
842f4d530f
fix(session): Always setup the session if a session cookie is passed
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-22 11:33:23 +07:00
Simon L
5c4b4bde1b
Merge pull request #35856 from nextcloud/enh/31284/improve-preview-max-memory
...
increase preview_max_memory and make it easier to debug
2022-12-22 10:24:09 +07:00
Simon L
bfb3b2af9f
increase preview_max_memory and make it easier to debug
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-22 09:52:46 +07:00
Julius Härtl
6abb37317f
Do not setup a session when not required on WebDAV requests
...
If basic auth is used on WebDAV endpoints, we will not setup a session
by default but instead set a test cookie. Clients which handle session
cookies properly will send back the cookie then on the second request
and a session will be initialized which can be resued for
authentication.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-21 21:17:16 +07:00
Nextcloud bot
78d8723d0c
Fix(l10n): 🔠 Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-21 02:30:14 +07:00
Vincent Petry
761221bc80
Merge pull request #35723 from nextcloud/bugfix/35708
...
fix: Make sure to reopen session before cleaning
2022-12-20 17:25:09 +07:00
Vincent Petry
3bcbc4701a
Merge pull request #34724 from nextcloud/encryption-read-before-cache
...
fix reading newly written encrypted files before their cache entry is written
2022-12-20 17:16:12 +07:00
Côme Chilliet
f6ff717b56
Merge pull request #34772 from nextcloud/fix/clean-ldap-access-factory-usage
...
Make sure to use AccessFactory to create Access instances and use DI
2022-12-20 16:48:07 +07:00
Joas Schilling
0af4e9d4fe
Merge pull request #34172 from audriga/add-scim-json-support
...
Add support for application/scim+json
2022-12-20 08:58:33 +07:00
Côme Chilliet
6e22ba832d
Merge pull request #35614 from nextcloud/fix/errorlog-array-to-string-conversion
...
Fix array to string conversion in errorlog writer
2022-12-19 14:17:39 +07:00
Vincent Petry
1bae41ccec
Merge pull request #33709 from nextcloud/enh/displayname-cache-getStorageInfo
...
Use display name cache on getStorageInfo
2022-12-19 12:07:43 +07:00
Julius Härtl
26e413b78d
Merge pull request #35496 from nextcloud/fix/strict-typing-in-base
2022-12-19 11:05:02 +07:00
Côme Chilliet
cbbb0712db
Merge pull request #34807 from nextcloud/fix/compute-notification-parsed-subject
...
Compute notification parsed subject from rich subject when possible
2022-12-19 10:46:39 +07:00
Côme Chilliet
a1301de7fa
Revert "Just use string for groups in enableAppForGroups"
...
This reverts commit e17244e92fb316d2f2e3fd1ae343bd47b54395b8.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +07:00
Côme Chilliet
3cce9aa547
Just use string for groups in enableAppForGroups
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +07:00
Côme Chilliet
7996a12aef
Silence false-positive from psalm in lib/public/Log/functions.php
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +07:00
Côme Chilliet
a529aa79d8
Strong type singletons from lib/base.php
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 09:10:41 +07:00