summaryrefslogtreecommitdiffstats
path: root/lib/private/Setup.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(updatenotification): spread the use of new appconfigMaxence Lange2024-03-131-1/+3
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix: replace `Account name` by `Login`John Molakvoæ2024-02-131-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* fix: openapiJohn Molakvoæ2024-02-131-2/+3
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: rename users to account or personVincent Petry2024-02-131-8/+8
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* fix: Use DI for Setup class and move away from deprecated methodsCôme Chilliet2024-01-291-134/+101
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Read Only FS return falseGit'Fellow2023-12-151-0/+4
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* do not write htaccess file if disk space is too lowSimon L2023-11-171-0/+8
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Serve .flac audio filesMarcel Müller2023-11-161-1/+1
| | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* fix(install): Make installing more verboseJoas Schilling2023-11-031-3/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix ocm-provider rewrite rulesMaxence Lange2023-10-021-1/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Massive refactoring: Turn LanguageModel OCP API into TextProcessing APIMarcel Klehr2023-07-141-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Add tasks::last_updated column and vacate tasks after a weekMarcel Klehr2023-07-071-0/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* chore: Replace \OC::$server->query with \OCP\Server::get in /libChristoph Wurst2023-07-061-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(apache): Serve `mjs` (module javascript) as static filesFerdinand Thiessen2023-06-071-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-051-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix types for reading and writing config valuesjld31032023-04-051-2/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Revert "remove 32-bit workarounds"Côme Chilliet2023-02-071-3/+4
| | | | | | This reverts commit dd8774389e21b59c07882580356d51de018fe867. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* 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>
* remove 32-bit workaroundsszaimen2022-11-021-4/+3
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Merge pull request #34136 from nextcloud/fix/default-channelblizzz2022-10-211-11/+13
|\ | | | | on installation save channel to config.php if not stable
| * on installation save channel to config.php if not stableArthur Schiwon2022-10-211-11/+13
| | | | | | | | | | | | | | | | | | | | | | - the default channel to the NC server is what is provided in /version.php unless it is overridden in config.php - the default channel to the NC Updater however is 'stable' - this resultant in inconsistent results and confusing admin experience - therefore "stable" is considered default and other channels are being written to config.php now upon installation Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Use proper error pages instead of always redirectingJulius Härtl2022-10-211-2/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make phpcs happy and remove unused setup thingVincent Petry2022-09-231-1/+0
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* remove getDefaultInstallationBundleArthur Schiwon2022-09-221-8/+0
| | | | | | - because all apps are shipped now it was returning an empty result Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add back TokenCleanupJob to invalidate old temporary tokensThomas Citharel2022-08-251-0/+2
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Remove default token which is deprecated since Nextcloud 13Joas Schilling2021-12-011-5/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix warning about passing null to rtrimCôme Chilliet2021-11-231-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Allow to serve static WebAssembly and TensorFlow Lite filesDaniel Calviño Sánchez2021-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Talk 13 (and thus Nextcloud 23) WebAssembly (.wasm) and TensorFlow Lite (.tflite) files need to be loaded from the web server to provide certain features (like the background blur in the WebUI). Those files can be treated in a similar way to other static resources, and there should not be any problem caching or compressing them. However, as compressed TensorFlow Lite files are only ~12% smaller, the compression directive depends on the MIME type and there is no standard MIME type for TensorFlow Lite files it is not worth to compress them. Moreover, no directives to compress WebAssembly files were added either, as it seems that they would override any other compression directives set in the default server configuration; for reference it could be done with something like: <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE application/wasm </IfModule> </IfModule> Depending on the setup "application/wasm" may not be associated with ".wasm" files, so the directive was added just in case, as otherwise browsers log a warning. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Profile backendChristopher Ng2021-10-191-0/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* enable the user to set a primary (notification) email address (backend)Arthur Schiwon2021-09-091-1/+1
| | | | | | | - specific getters and setters on IUser and implementation - new notify_email field in provisioning API Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Check that pdo is installedDaniel Kesselberg2021-07-051-1/+4
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Migrate HintException to OCPGary Kim2021-06-301-1/+1
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Merge pull request #22628 from Sp1l/simplify-htaccess-rewritesLukas Reschke2021-06-161-13/+6
|\ | | | | Coalesce RewriteCond lines in .htaccess
| * Coalesce RewriteCond lines in .htaccessBernard Spil2021-06-021-13/+6
| | | | | | And escape some '.' where not yet escaped
* | Use product name in places where it is appropriate rather than the instance nameJulius Härtl2021-06-161-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+1
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* l10n: Unify spellingValdnet2021-05-201-1/+1
| | | Spelling unification in Nextcloud applications.
* Less ILoggerJoas Schilling2021-04-271-13/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Print an exception trace for setup exceptionsChristoph Wurst2021-01-071-0/+4
| | | | | | | | | Right now any setup error will just result in the exception message being printed. In some cases this doesn't give any insights into what went wrong. This adds some dedicated logic to print the exception trace and any previous exceptions to the CLI. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add htaccess exception for richdocumentscode_arm64Julius Härtl2020-09-171-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Don't use deprecated getIniWrapper() anymoreJoas Schilling2020-08-201-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add audio formats to htaccessKevin Lanni2020-06-241-1/+1
| | | | Signed-off-by: Kevin Lanni <therealklanni@gmail.com>
* Update hub bundle and add proxy rule to htaccessJulius Härtl2020-05-251-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add visibility to all properties and move static keywordChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>