aboutsummaryrefslogtreecommitdiffstats
path: root/status.php
Commit message (Expand)AuthorAgeFilesLines
* Happy new year!Thomas Müller2016-01-121-1/+1
* Use OCP\Util::getVersion instead of the internal private implementationMorris Jobke2015-12-181-1/+1
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
* Add CORS header to status.php so that we can migrate to a JS based check in t...Lukas Reschke2015-08-221-0/+1
* Fix maintenance refresh intervalMorris Jobke2015-04-081-0/+1
* Update license headersJenkins for ownCloud2015-03-261-20/+23
* Revert "Updating license headers"Morris Jobke2015-02-261-23/+21
* Updating license headersJenkins for ownCloud2015-02-231-21/+23
* reduce OC_Preferences, OC_Config and \OCP\Config usageMorris Jobke2014-12-081-2/+4
* Refresh if maintenance mode is overkondou2014-09-091-1/+3
* "echo" is a language construct. Don't treat it like a function.Andreas Fischer2014-04-261-1/+1
* Use echo since print_unescaped is not definedLukas Reschke2014-04-241-1/+1
* Some more PHPDoc fixesLukas Reschke2014-04-211-1/+1
* remove some more global variable $RUNTIME_NOAPPSThomas Müller2014-02-061-2/+0
* replace ident spaces with tabsMasaki2013-08-291-2/+2
* enable usage with CLI interfaceMasaki Kawabata Neto2013-08-291-2/+5
* Add _many_ newlines at the end of fileskondou2013-08-181-1/+1
* clean up usage of DatabaseSetupException and catch Exceptions in entrypointsJörn Friedrich Dreyer2013-06-101-8/+15
* More Checkstyle cleanupFelix Moeller2012-10-231-1/+1
* Fix typoLukas Reschke2012-09-231-1/+1
* Update status.phpThomas Müller2012-09-041-2/+6
* remove superfluous ?> at the end of .php files (left out apps/*/templates)Jörn Friedrich Dreyer2012-07-091-3/+0
* update copyrightFrank Karlitschek2012-05-261-1/+1
* Show the different editions to the user. Used in the status call, on the pers...Frank Karlitschek2012-04-011-1/+1
* xml so soooo oldschool. using json now like the cool kids do.Frank Karlitschek2011-09-281-11/+2
* add status file. useful for external administration. show the ownClopud versi...Frank Karlitschek2011-09-281-0/+43
lass="w"> actionManager; } /** * Set a viewer for the action manager to be the parent sub window (if the * component is in a window) or the UI (otherwise). This is still a * simplification of the real case as this should be handled by the parent * VOverlay (on the client side) if the component is inside an VOverlay * component. */ private void setActionManagerViewer() { if (actionManager != null && getUI() != null) { // Attached and has action manager Window w = findAncestor(Window.class); if (w != null) { actionManager.setViewer(w); } else { actionManager.setViewer(getUI()); } } } public void addShortcutListener(ShortcutListener shortcut) { getActionManager().addAction(shortcut); } public void removeShortcutListener(ShortcutListener shortcut) { if (actionManager != null) { actionManager.removeAction(shortcut); } } /** * Determine whether a <code>content</code> component is equal to, or the * ancestor of this component. * * @param content * the potential ancestor element * @return <code>true</code> if the relationship holds */ protected boolean isOrHasAncestor(Component content) { if (content instanceof HasComponents) { for (Component parent = this; parent != null; parent = parent .getParent()) { if (parent == content) { return true; } } } return false; } }