aboutsummaryrefslogtreecommitdiffstats
path: root/server
Commit message (Expand)AuthorAgeFilesLines
* Upgrade minor version in the project to 8.4 (#10520)Teemu Suo-Anttila2018-01-241-1/+1
* Rename widgetEventsAllowed to handleWidgetEvents (#10529)Leif Åstrand2018-01-121-9/+7
* Add Notification.close() to hide a notification from the server (#10483)Artur2018-01-091-3/+49
* Tweak date style API (#10493)8.3.0.beta1Leif Åstrand2018-01-081-15/+16
* Rename contentMode to descriptionContentMode in MenuItem (#10494)Leif Åstrand2018-01-082-18/+20
* Add missing since tags and JavaDocs (#10487)8.3.0.alpha1Teemu Suo-Anttila2018-01-034-5/+14
* Fix wrong frontend URL in docs. (#10472)Flamenco2017-12-301-2/+2
* Implement widget event handling for Columns in Grid (#10412)Teemu Suo-Anttila2017-12-291-1/+35
* Add ContentMode for the description of MenuItems (#9984)Jonas Zipprick2017-12-292-5/+89
* Treat fields as readonly when bound with null setter (#10477)Marco Collovati2017-12-293-7/+40
* Fix javadoc for Notification TYPE_TRAY_NOTIFICATION (#10479)Marco Collovati2017-12-291-1/+1
* Allow setting custom styles to DateField calendar date cells (#10305)Anna Koskinen2017-12-281-0/+68
* Make Binder.setReadonly ignore effectively readonly bindings (#10368)Marco Collovati2017-12-283-5/+56
* Update Grid.addColumn JavaDoc to tell about nested properties (#10431)Olli Tietäväinen2017-12-271-1/+8
* Prevent killing UI if heartbeats are pending (#10371)Teemu Suo-Anttila2017-11-271-5/+18
* Update to JSoup 1.11.2 (#10353)Leif Åstrand2017-11-238-8/+9
* Update version number to 8.3-SNAPSHOT (#10348)Teemu Suo-Anttila2017-11-221-1/+1
* Fix nested bean property name (#10271)schaerl2017-11-224-39/+72
* Improve Binder JavaDocs and APIs (#10347)Teemu Suo-Anttila2017-11-212-7/+30
* Create DescriptionGenerator in package com.vaadin.ui (#10346)Aleksi Hietanen2017-11-216-7/+36
* Fix issues from API review for 8.2 (#10342)Aleksi Hietanen2017-11-2114-71/+68
* Extract AbstractBeanPropertyDefinition and PropertyFilterDefinition (#10344)Aleksi Hietanen2017-11-215-118/+192
* FileResource to use bufferSize, and StreamResource to use getCacheTime() (#10...Ahmed Ashour2017-11-214-2/+50
* Remove unused imports (#10330)Ahmed Ashour2017-11-2110-16/+7
* Rename GridDragger to GridRowDragger (#10333)Pekka Hyvönen2017-11-178-25/+25
* Add documentation on GridDragger (#10328)Pekka Hyvönen2017-11-166-5/+85
* Update since tags in JavaDoc (#10325)8.2.0.alpha3Teemu Suo-Anttila2017-11-1512-19/+19
* Add helper for Grid row DnD (#10255)Pekka Hyvönen2017-11-1510-14/+1140
* Add new drop mode ON_GRID for GridDropTarget (#10296)Pekka Hyvönen2017-11-153-14/+281
* Fix TreeGrid to use correct super constructor (#10291)Jerome Meyer2017-11-142-26/+35
* Improve nested property support for Binder (#9925)Olli Tietäväinen2017-11-144-12/+477
* Add API to read Binding value from bean (#10316)Teemu Suo-Anttila2017-11-132-3/+43
* Set no-store headers on UIDL messagesLeif Åstrand2017-11-101-3/+9
* Add ContentMode for row and cell descriptions in Grid (#10282)Teemu Suo-Anttila2017-11-101-8/+60
* Relax mapper access in HierarchicalDataCommunicator Ilia Motornyi2017-11-101-0/+8
* HasItems.setItems(T... items) should allow edits (#10290)Pekka Hyvönen2017-11-065-3/+92
* Relax TreeGrid and Tree members access modifiers. (#10293)Ilia Motornyi2017-11-063-6/+44
* Use lambda expressions. (#10268)Ahmed Ashour2017-11-015-96/+62
* Fix end of line comments, which were made by automatic formatter (#10234)Ahmed Ashour2017-10-318-34/+25
* Remove redundant interface already implemented by super class. (#10258)Ahmed Ashour2017-10-3122-49/+29
* add Grid.Column#get/setAssistiveCaption (#10219)Knoobie2017-10-302-0/+41
* Use lambda with Handlers (#10229)Ahmed Ashour2017-10-271-1/+0
* Use lambda with Listeners (#10222)Ahmed Ashour2017-10-2620-48/+54
* Improve naming of fields and variables (#10242)Ahmed Ashour2017-10-2627-153/+151
* Remove trailing spaces (#10224)Ahmed Ashour2017-10-2630-95/+95
* Grid column to be sortable when implemented/supported (Fixes #8792). (#10190)Ahmed Ashour2017-10-232-3/+31
* Grid.removeColumn() not to fail silently (Fixes #8056) (#10215)Ahmed Ashour2017-10-202-37/+105
* AbstractDateField.formatDate() to be abstract (#10186)Ahmed Ashour2017-10-203-53/+60
* Added utility method Binder#asRequired() (#9873)Stephan Knitelius2017-10-201-0/+25
* Fix typos (#10213)Ahmed Ashour2017-10-2010-19/+19
Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/status.php
blob: 46d9b801e71b125970501712e93437fa36a63048 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php

/**
 * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
 * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
require_once __DIR__ . '/lib/versioncheck.php';

use Psr\Log\LoggerInterface;

try {
	require_once __DIR__ . '/lib/base.php';

	$systemConfig = \OC::$server->getSystemConfig();

	$installed = (bool)$systemConfig->getValue('installed', false);
	$maintenance = (bool)$systemConfig->getValue('maintenance', false);
	# see core/lib/private/legacy/defaults.php and core/themes/example/defaults.php
	# for description and defaults
	$defaults = new \OCP\Defaults();
	$values = [
		'installed' => $installed,
		'maintenance' => $maintenance,
		'needsDbUpgrade' => \OCP\Util::needUpgrade(),
		'version' => implode('.', \OCP\Util::getVersion()),
		'versionstring' => OC_Util::getVersionString(),
		'edition' => '',
		'productname' => $defaults->getProductName(),
		'extendedSupport' => \OCP\Util::hasExtendedSupport()
	];
	if (OC::$CLI) {
		print_r($values);
	} else {
		header('Access-Control-Allow-Origin: *');
		header('Content-Type: application/json');
		echo json_encode($values);
	}
} catch (Exception $ex) {
	http_response_code(500);
	\OCP\Server::get(LoggerInterface::class)->error($ex->getMessage(), ['app' => 'remote','exception' => $ex]);
}