summaryrefslogtreecommitdiffstats
path: root/core/ajax
Commit message (Collapse)AuthorAgeFilesLines
* allow to specify upgrade.cli-upgrade-link in order to link to the correct ↵Simon L2023-06-121-1/+1
| | | | | | documentation Signed-off-by: Simon L <szaimen@e.mail.de>
* update wording for disabled web updaterSimon L2023-03-041-1/+1
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* composer run cs:fixCôme Chilliet2023-01-201-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Flag repair errors as error level in eventSource->sendCôme Chilliet2022-08-251-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Parameter of RepairAdvanceEvent is actually an increment, not a step idCôme Chilliet2022-08-251-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add void return types to callablesCôme Chilliet2022-08-251-3/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate Repair events to OCP\EventDispatcher\EventCôme Chilliet2022-08-251-47/+41
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate Migrator::executeSql to OCP\EventDispatcher\EventCôme Chilliet2022-08-251-4/+6
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Remove listeners of \OC\DB\Migrator::checkTable which is never emittedCôme Chilliet2022-08-251-5/+0
| | | | | | See commit a2f3077ee802b4b291ba4f846bfceb69ec0f225f from PR #24384 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Moving to string key for arguments of GenericEvent in RepairCôme Chilliet2022-08-251-21/+18
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Switch to string keys for argument of GenericEvent for OC\DB\MigratorCôme Chilliet2022-08-251-2/+2
| | | | | | It seems checkTable is actually never dispatched? Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Do not print verbose info about app updates if there are noneChristoph Wurst2021-11-181-6/+0
| | | | | | | | | | | This is cosmetical but if you have a large number of apps installed then you'll see a wall of text during the server and app upgrade when it tries to update each app via the app store. In may cases nothing will be updated. For those boring cases we can hide the verbose info, but show when occ is run with -v. Any actual update will still print a few lines. Those are the important ones for the admin. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* l10n: Spelling unificationValdnet2021-06-021-3/+3
| | | | | | Spelling unification in Transifex. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Fix psalm errorsJoas Schilling2021-04-271-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove event listener to udpate events that are not present anymoreMorris Jobke2021-03-251-12/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-111-32/+31
| | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Adding "The" to the descriptionValdnet2020-05-131-1/+1
|
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-8/+8
| | | | 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>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+0
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove trailing spaces from localized stringsMorris Jobke2019-02-151-4/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Show the repair steps and repair info output in the web for better feedbackMorris Jobke2019-01-091-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Revert "Wait for cron to finish before running upgrade command"Morris Jobke2018-11-011-5/+1
| | | | | | This reverts commit 18e9631810ad1d3d72c2b4bbee330169808108ad. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-1/+1
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use ellipsis instead of triple dotJoas Schilling2018-06-221-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Wait for cron to finish before running upgrade commandMorris Jobke2018-06-191-1/+5
| | | | | | * fixes #9562 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* move log constants to ILoggerArthur Schiwon2018-04-261-1/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #7918 from nextcloud/properly-log-exceptionsRoeland Jago Douma2018-01-231-0/+4
|\ | | | | Properly log the full exception instead of only the message
| * Properly log the full exception instead of only the messageMorris Jobke2018-01-231-0/+4
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7354 from nextcloud/refacor-update-page-printblizzz2018-01-221-1/+1
|\ \ | |/ |/| Refactor method to check if update is needed
| * Refactor method to check if update is neededMorris Jobke2017-11-301-1/+1
| | | | | | | | | | | | There was only one call, that actually needed the parameter to be set to true. So this change moved the print of the page to that location and replaces all other occurences with a direct call to the underlying OCP API. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove not needed 3rdparty app disabling during upgrade for PHP 5.xMorris Jobke2018-01-191-7/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Get the Installer via DIMorris Jobke2017-11-251-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Stricter phan config fixesLukas Reschke2017-08-011-1/+5
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Proper logging for appstore updatesMorris Jobke2017-05-111-0/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Check that set_time_limit is not disabled before calling itKo-2017-03-111-1/+4
| | | | Signed-off-by: Ko- <k.stoffelen@cs.ru.nl>
* Move preview endpoint to controllerRoeland Jago Douma2016-11-032-115/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move to AppDataRoeland Jago Douma2016-11-031-2/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* New preview generatorRoeland Jago Douma2016-11-032-10/+54
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make AppConfig part of the public APIJoas Schilling2016-10-211-70/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Check if the file isReadable() before sending a (cached) previewJoas Schilling2016-08-291-0/+2
|
* Kill ajax/share.phpRoeland Jago Douma2016-08-181-375/+0
| | | | | Using this file will insert invalid shares. OCS has to be used exclusively!