Commit Graph

136 Commits

Author SHA1 Message Date
Côme Chilliet 76d6a565f1
Revert "Also include *.config.php files" 2024-03-14 15:39:52 +01:00
Jens Spanier 37d8c034ce Update index.php + updater.phar
Signed-off-by: Jens Spanier <lg5i0f1jb1@konto.spnr.de>
2024-03-05 17:30:39 +01:00
Jens Spanier 9f8110e6ac Update index.php + updater.phar
Signed-off-by: Jens Spanier <lg5i0f1jb1@konto.spnr.de>
2024-03-05 12:15:36 +01:00
Côme Chilliet 80ffaed24c
make index.php updater.phar
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-23 10:50:54 +01:00
Arthur Schiwon 991897b667
Revert "Prevent directory modifications when iterating" 2023-11-14 22:59:37 +01:00
Daniel Lichtenberger 44beafbef5
Add Content-Type response header for JSON responses (#90)
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Co-authored-by: Josh Richards <josh.t.richards@gmail.com>
2023-11-08 08:03:04 +01:00
CaCO3 99ce35bf26 prevent modifying a directory while iterating through it.
This can lead to skipped files!

Signed-off-by: CaCO3 <caco@ruinelli.ch>
2023-11-03 07:53:24 +01:00
CaCO3 801578bf94 validate return codes of rmdir() and unlink()
Signed-off-by: CaCO3 <caco@ruinelli.ch>
2023-11-03 07:53:08 +01:00
CaCO3 d18a3f2ba5 corrected message text
Signed-off-by: CaCO3 <caco@ruinelli.ch>
2023-11-03 07:53:08 +01:00
CaCO3 508fde6a30 formating
Signed-off-by: CaCO3 <caco@ruinelli.ch>
2023-11-03 07:53:08 +01:00
Arthur Schiwon 7c58e2a8da
fix(integrity): expect pkg mgmt files
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-09-12 12:57:20 +02:00
Côme Chilliet 15136da979
Fix getUpdateStepFileLocation return type and call
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-03 16:59:44 +02:00
Côme Chilliet def1fda417
Update phar and index.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-03 16:56:28 +02:00
Marcel Klehr 77a3b95a11
run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-27 15:53:41 +02:00
Marcel Klehr efb6c11ad4
enh(execute): Let user know how to reset when a step has been cancelled in progress
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-27 15:53:41 +02:00
Côme Chilliet ef3a0cd696
Make sure all CI steps can run on PHP 8.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-12 09:34:07 +02:00
John Molakvoæ e60627e531
fix: update index.php and updater.phar
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-08 17:57:31 +02:00
Côme Chilliet c23ee77555
Removed empty lines in index.php added by the revert
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-08 10:17:47 +01:00
Côme Chilliet 64e2e4ca21
Revert "disable upgrades to 26 on 32-bit"
This reverts commit d57a58e023.
This reverts commit ddc200d82e.
This reverts commit 163f362574.
This reverts commit 9cc0541041.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-08 10:17:33 +01:00
Simon L d57a58e023 address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-14 12:09:21 +01:00
szaimen ddc200d82e address review and fix one test
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-14 12:07:13 +01:00
szaimen 163f362574 try to fix checks
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-14 12:06:54 +01:00
szaimen 9cc0541041 disable upgrades to 26 on 32-bit
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-11-14 12:06:54 +01:00
blizzz 121af7e148
Merge pull request #420 from nextcloud/updateDir
Introduce Update Directory
2022-09-02 22:18:32 +02:00
Côme Chilliet 102710ce23
Update index.php
rm index.php; make index.php

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-30 10:39:26 +02:00
Git'Fellow 6cf29c7474
Re-fix cs
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-08-25 20:59:51 +02:00
Git'Fellow d49bdec7d1
Fix cs
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-08-25 16:00:20 +02:00
Git'Fellow f926ac7bbc
Fix cs
Signed-off-by: Git'Fellow <carlos@reendex.com>
2022-08-25 12:58:45 +02:00
Git'Fellow c48d5a8319
Fix lint
Signed-off-by: Git'Fellow <carlos@reendex.com>
2022-08-25 12:56:44 +02:00
Côme Chilliet f039ecf6f1
Update index.php from lib/
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-25 10:40:56 +02:00
Côme Chilliet 4bd49a9c97 Build index.php from lib files through Makefile
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-23 10:26:10 +00:00
Git'Fellow c21fbf269f
Merge branch 'master' into updateDir
Signed-off-by: Git'Fellow <carlos@reendex.com>
2022-08-20 19:36:22 +02:00
Christopher Ng 994b3e87ef Fix error when upgrading on PHP 8.1
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-16 01:15:50 +00:00
Côme Chilliet 5bda9e4c4e
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-01 10:19:58 +02:00
Git'Fellow 0de81a2395
Update index.php 2022-07-02 08:33:28 +02:00
Git'Fellow 50816ec79e
Update index.php 2022-07-02 08:28:47 +02:00
szaimen 1f5326edb1 add dist folder to index.php as well
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-03 10:30:11 +02:00
Morris Jobke 6fc451573a
Do not allow to keep maintenance mode active in web updater
That would allow to mess up the instance and is only recoverable from CLI.

If CLI usage is wanted then the updater can also be run from CLI.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-24 10:29:28 +01:00
Vincent Petry b53b4e389e
Align updater class with index.php
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-26 10:50:26 +01:00
Vincent Petry 4a5035b396
Add CLI check in index.php
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-26 10:50:26 +01:00
Vincent Petry 8929ea15a8
Disable UI when web updater is disabled in config.php
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-26 10:50:23 +01:00
Morris Jobke 21e2c82b76
Do not depend on the order of files in a folder
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-15 19:35:28 +02:00
Morris Jobke bb1676232c
Merge pull request #307 from nextcloud/enh/232/better-error
Improve the error display on the web based updater
2020-09-15 17:40:37 +02:00
Morris Jobke ad73e44cdc
Improve the error display on the web based updater
Wraps the plain response body in a <details> tag

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-15 17:39:58 +02:00
Morris Jobke 64a5313c54
Properly check only for downloaded archive
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-15 16:49:32 +02:00
Morris Jobke 73d496674b
Remove not needed code and also update CLI tool
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-15 15:48:51 +02:00
Joas Schilling 6d82e3be70
Add timestamp to backup directory 2020-09-15 15:48:51 +02:00
Julius Härtl 1ed9c8ee07
Delete shipped apps from both old and new version
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-07-07 11:28:00 +02:00
Morris Jobke 50bdca3197
Merge pull request #235 from nextcloud/enh/fix-call-get-filename
There is no getFilename and isDir on RecursiveFilterIterator
2020-07-05 23:20:34 +02:00
Julius Härtl b3cfb68fd4
Use new shipped.json when updating
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-28 16:15:33 +01:00