Julius Knorr
606241caeb
chore(legacy): Introduce public version ct plass and drop version methods from OC_Util
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 year ago
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 year ago
Andy Scherzinger
5c49a54801
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 year ago
Côme Chilliet
c0ce272e9c
chore: Migrate away from OC::$server->getLogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago
Julius Härtl
c0474ba364
Use product name in places where it is appropriate rather than the instance name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years ago
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years ago
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Christoph Wurst
d9015a8c94
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
5 years ago
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
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>
6 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Julius Härtl
df072471a7
Add extendedSupport to Subscription
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years ago
Morris Jobke
79d9841bce
Replace hardcoded status headers with calls to http_response_code()
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Roeland Jago Douma
b8af7ee9bc
Nextcloud 13 is not compatible with newer than php 7.2
Just to avoid users from trying this with a to new (untested) php version
* Moved the check logic to 1 place
* All directly callable scripts just require this on top
* exit hard (-1) so we know scripts won't continue
* Return status 500 so no sync clients will try fancy stuff
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
8 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Lukas Reschke
e1f52fc901
Stricter phan config fixes
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
8 years ago
Kristof Provost
9963bdaeb9
Expose the needupgrade status ( #26209 )
During upgrades, before the DB migration is complete, the system is not
usable, but there's no way for monitoring systems to detect this.
Add the 'needupgrade' field to the status json so monitoring systems can
detect this.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Joas Schilling
f3319f6294
Allow to call the files even when you are in another instance atm
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Joas Schilling
7c0951244a
Deprecate getEditionString()
9 years ago
Joas Schilling
bbc5fbe8c4
Don't throw 500 when not installed
9 years ago
Jörn Friedrich Dreyer
d5d5b202d8
use correct OCP\Defaults
9 years ago
martin.mattel@diemattels.at
3e4038289f
Include "Product Name" in status.php printout
identifyer -> identifier
removed variable
9 years ago
Joas Schilling
ba87db3fcc
Fix others
9 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Joas Schilling
828dec9edb
Make sure we evaluate installed like we do it everywhere
10 years ago
Thomas Müller
682821c71e
Happy new year!
10 years ago
Morris Jobke
ed98cdf532
Use OCP\Util::getVersion instead of the internal private implementation
10 years ago
Morris Jobke
b945d71384
update licence headers via script
10 years ago
Lukas Reschke
c9e2a2f56e
Add CORS header to status.php so that we can migrate to a JS based check in the future
10 years ago
Morris Jobke
78ec7543d5
Fix maintenance refresh interval
* fix XMLHttpRequest - send after callback is registered
* check for correct type of value - it's a boolean
* return correct content-type in status.php
11 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
11 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
11 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
11 years ago
Morris Jobke
0d4f0ab871
reduce OC_Preferences, OC_Config and \OCP\Config usage
* files_encryption
* files_versions
* files_trashbin
* tests
* status.php
* core
* server container
11 years ago
kondou
69f2c0544e
Refresh if maintenance mode is over
Using status.php for this.
I modified status.php to also show, whether we're in maintenance.
Checks every 20 seconds if maintenance is over, if yes: reload.
12 years ago
Andreas Fischer
ff6564af57
"echo" is a language construct. Don't treat it like a function.
12 years ago
Lukas Reschke
d85b64ede6
Use echo since print_unescaped is not defined
Fixes https://github.com/owncloud/core/issues/8342
12 years ago
Lukas Reschke
e88731a477
Some more PHPDoc fixes
12 years ago
Thomas Müller
0db5fead8e
remove some more global variable $RUNTIME_NOAPPS
12 years ago
Masaki
04b9e77478
replace ident spaces with tabs
12 years ago
Masaki Kawabata Neto
1dd18980ae
enable usage with CLI interface
Added option to use the status.php with console.php via CLI
12 years ago
kondou
9e8a6b704d
Add _many_ newlines at the end of files
12 years ago
Jörn Friedrich Dreyer
8dc6bdd96b
clean up usage of DatabaseSetupException and catch Exceptions in entrypoints
13 years ago
Felix Moeller
2d61f03452
More Checkstyle cleanup
This is for all LowerCaseConstant warnings
13 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
13 years ago
Lukas Reschke
e8af588210
Fix typo
13 years ago
Thomas Müller
c25f53c3f9
Update status.php
respect coding style
13 years ago
Jörn Friedrich Dreyer
e59a1806cf
remove superfluous ?> at the end of .php files (left out apps/*/templates)
13 years ago
Frank Karlitschek
a945fa10a6
update copyright
14 years ago
Frank Karlitschek
6545e48787
Show the different editions to the user. Used in the status call, on the personal settings page and in the updater to update to the next available version from the same edition.
14 years ago
Frank Karlitschek
18216fe71f
xml so soooo oldschool. using json now like the cool kids do.
14 years ago