aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Fix types in OCS json answer (status code is an int)Côme Chilliet2023-01-203-5/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix crash in OCS when getting info about an applicationCôme Chilliet2023-01-201-8/+11
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Attempt at reducing psalm errorsCôme Chilliet2023-01-202-6/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* docs: document types flag for search optionsDaniel Kesselberg2023-01-191-1/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #36225 from Jachhj-sc/patch-1Simon L2023-01-181-2/+6
|\ | | | | Add check config.php for ffmpeg_path in PreviewManager.php. fix for snap no video preview
| * Update lib/private/PreviewManager.php William2023-01-181-2/+1
| | | | | | | | | | | | fix lint issue Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: William <william.hak57@gmail.com>
| * Merge branch 'nextcloud:master' into patch-1William2023-01-182-2/+10
| |\
| * | Update PreviewManager.phpWilliam2023-01-181-3/+8
| | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #27492 from ↵Simon L2023-01-181-0/+17
|\ \ \ | |_|/ |/| | | | | | | | cyclops8456/feature/24301-remove-can-install-on-occ-maintenance-install Remove the CAN_INSTALL file when occ maintenance:install is complete
| * | Rename canInstallExists method and add new method for removalAlex Harpin2023-01-101-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | Move CAN_INSTALL check to method and remove unlink from SetupControllerAlex Harpin2023-01-101-1/+8
| | | | | | | | | | | | | | | | | | 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>
| * | Remove the CAN_INSTALL file when occ maintenance:install is completeAlex Harpin2023-01-101-0/+3
| | | | | | | | | | | | | | | | | | 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>
* | | feat(app framework)!: Inject services into controller methodsChristoph Wurst2023-01-182-2/+10
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #36002 from nextcloud/feat/files2vue-quotaJohn Molakvoæ2023-01-181-1/+6
|\ \ | | | | | | feat(files): Quota in navigation
| * | feat(files): Quota in navigationJohn Molakvoæ2023-01-171-1/+6
| | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | Merge pull request #36166 from ↵Christoph Wurst2023-01-171-0/+1
|\ \ \ | |/ / |/| | | | | | | | nextcloud/fix/php82/declare-symfony-console-application-property fix(PHP8.2): Declare Symfony Application property in console application
| * | fix(PHP8.2): Declare Symfony Application property in console applicationChristoph Wurst2023-01-161-0/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Revert "Add alt to the logo, adapt css for logo"John Molakvoæ2023-01-171-5/+4
|/ / | | | | | | This reverts commit bba5ab0532bcf71dc421fd15efd890cd25bdc8d3.
* | Merge pull request #35970 from nextcloud/perf/noid/exception-serializerJulius Härtl2023-01-163-20/+18
|\ \
| * | chore: Add typings to Log propertiesJulius Härtl2023-01-161-16/+6
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | fix(ExceptionSerializer): encode arguments before filtering the traceJulius Härtl2023-01-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | perf(logging): Return early when log level does not match before serializing ↵Julius Härtl2023-01-162-1/+9
| | | | | | | | | | | | | | | | | | an exception Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #36073 from nextcloud/fix/fix-background-job-listblizzz2023-01-161-16/+16
|\ \ \ | |/ / |/| | Use a Generator for job list to fix background-job:list command
| * | Fix API breakage by using a new method insteadCôme Chilliet2023-01-121-1/+10
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Remove deprecated method getAll instead of breaking API on deprecated methodCôme Chilliet2023-01-121-11/+0
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Use a Generator for job list to fix background-job:list commandCôme Chilliet2023-01-101-9/+11
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #36075 from fmenabe/s3-storage-classCôme Chilliet2023-01-162-1/+7
|\ \ \ | | | | | | | | Add support for s3 storage classes
| * | | Manage s3 storage class in objectstoreFrançois Ménabé2023-01-122-1/+7
| | | | | | | | | | | | | | | | Signed-off-by: François Ménabé <francois.menabe@gmail.com>
* | | | Merge pull request #36067 from nextcloud/enh/noid/spaces-are-allowed-in-useridsblizzz2023-01-131-2/+2
|\ \ \ \ | | | | | | | | | | spaces are allowed in userids
| * | | | spaces are allowed in useridsSimon L2023-01-101-2/+2
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | | Merge pull request #35844 from ↵Julius Härtl2023-01-121-0/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/debt/noid/add-explanation-for-get-new-preview-locations doc: add description how BackgroundCleanupJob.getNewPreviewLocations works
| * | | | docs: add description how BackgroundCleanupJob.getNewPreviewLocations worksDaniel Kesselberg2023-01-031-0/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Merge pull request #36001 from nextcloud/validate-user-tzVincent Petry2023-01-111-1/+5
|\ \ \ \ \ | | | | | | | | | | | | Validate user timezone given from login data before saving it
| * | | | | Validate user timezone given from login data before saving itThomas Citharel2023-01-041-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-up to #36000 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | | Switch logical operatorsGit'Fellow2023-01-111-18/+11
| | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | | | improve link reference content-type check, accept 'text/html;*'Julien Veyssier2023-01-101-1/+3
| |_|_|/ / |/| | | | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | | Merge pull request #36048 from ↵Joas Schilling2023-01-101-4/+28
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | nextcloud/bugfix/36046/only-verify-the-same-hash-once fix(authentication): Only verify each hash once
| * | | | fix(authentication): Update the token when the hash is null or can not be ↵Joas Schilling2023-01-091-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | verified Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | fix(authentication): Only hash the new password when neededJoas Schilling2023-01-091-2/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | fix(authentication): Invert the logic to the original intentionJoas Schilling2023-01-091-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | fix(authentication): Only verify each hash onceJoas Schilling2023-01-091-2/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #35964 from nextcloud/IMigrationStep-fixVincent Petry2023-01-101-1/+4
|\ \ \ \ \ | | | | | | | | | | | | IMigrationStep progress bar fix
| * | | | | IMigrationStep progress bar fixGit'Fellow2023-01-031-1/+4
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Context here: https://github.com/nextcloud/server/issues/35960 Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | | Merge pull request #35966 from nextcloud/chore/remove-deprecated-dashboardJulius Härtl2023-01-102-142/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | chore(OCP): Remove deprecated dashboard interfaces and classesJulius Härtl2023-01-032-142/+1
| |/ / / | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | / / in the link reference provider, check if the link content type begins with ↵Julien Veyssier2023-01-091-1/+3
| |/ / |/| | | | | | | | | | | | | | text/html Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | add restrictions on content-type and content-size when downloading to ↵Julien Veyssier2023-01-051-0/+16
| | | | | | | | | | | | | | | | | | resolve with opengraph link provider Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | Merge pull request #33898 from nextcloud/fix/authtoken-password-updateJulius Härtl2023-01-052-4/+22
|\ \ \ | | | | | | | | PublickKeyTokenProvider: Fix password update routine with password hash
| * | | PublickKeyTokenProvider: Fix password update routine with password hashMarcel Klehr2023-01-042-4/+22
| |/ / | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | | Merge pull request #35981 from ↵Joas Schilling2023-01-051-1/+2
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/followup/35965/const-for-max-password-length Add a const for the max user password length