aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/app.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #15314 from owncloud/app-categories-15274Lukas Reschke2015-04-091-57/+53
|\ | | | | Add different trust levels to AppStore interface
| * Fix PHPDocLukas Reschke2015-04-071-1/+3
| |
| * Add experimental applications switchLukas Reschke2015-04-031-56/+50
| | | | | | | | Allows administrators to disable or enabled experimental applications as well as show the trust level.
* | Further cleanup of files_encryptionThomas Müller2015-04-071-1/+1
|/
* Update license headersJenkins for ownCloud2015-03-261-18/+36
|
* Correctly get array of groups and send OCP\IGroup objects to enable methodJoas Schilling2015-03-241-1/+9
|
* Merge pull request #14862 from owncloud/introduce-shipped.json-masterMorris Jobke2015-03-231-5/+12
|\ | | | | shipped apps are now defined in core/shipped.json - the shipped tag in i...
| * shipped apps are now defined in core/shipped.json - the shipped tag in ↵Thomas Müller2015-03-131-5/+12
| | | | | | | | info.xml is ignored from now on - never trust an app :speak_no_evil:
* | Merge pull request #14961 from owncloud/onlyrequireinfoBernhard Posselt2015-03-171-3/+3
|\ \ | | | | | | Only hard depend on the info.xml and not the app.php
| * | only hard depend on the info.xml and not the app.phpBernhard Posselt2015-03-171-3/+3
| | | | | | | | | | | | fix comment
* | | Use a closure for the files app entry and deprecate old methodsJoas Schilling2015-03-171-23/+4
| |/ |/|
* | Fix totally broken AppStore code...Lukas Reschke2015-03-061-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As it turned out the AppStore code was completely broken when it came from apps delivered from the appstore, this meant: 1. You could not disable and then re-enable an application that was installed from the AppStore. It simply failed hard. 2. You could not disable apps from the categories but only from the "Activated" page 3. It did not show the activation state from any category page This code is completely static and thus testing it is impossible. We really have to stop with "let's add yet another feature in already existing static code". Such stuff has to get refactored first. That said, this code works from what I can say when clicking around in the AppStore page GUI. However, it may easily be that it does not work with updates or whatsever as I have no chance to test that since the AppStore code is not open-source and it is impossible to write unit-tests for that. Fixes https://github.com/owncloud/core/issues/14711
* | Merge pull request #14326 from ↵Morris Jobke2015-03-041-2/+2
|\ \ | |/ |/| | | | | owncloud/remove-unnessary-backslashes-from-translation Remove unnecessary backslashes from translations
| * Remove unnecessary backslashes from translationsJoas Schilling2015-02-181-2/+2
| |
* | Revert "Updating license headers"Morris Jobke2015-02-261-36/+18
| | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* | 3rd-party apps are disabled on upgrade - refs #14026Thomas Müller2015-02-241-33/+0
| |
* | don't allow installation of already installed apps - fixes #14004Thomas Müller2015-02-231-6/+7
| |
* | Merge pull request #13829 from owncloud/appmanager-listVincent Petry2015-02-231-77/+71
|\ \ | | | | | | Better caching for enabled apps
| * | Use appmanager in OC_App::enable/disableRobin Appelman2015-02-171-3/+5
| | |
| * | better name for getAppsEnabledForUserRobin Appelman2015-02-171-1/+1
| | |
| * | Use the app manager from oc_appRobin Appelman2015-02-161-75/+67
| | |
* | | Updating license headersJenkins for ownCloud2015-02-231-18/+36
| |/ |/|
* | Refactor OC_Request into TrustedDomainHelper and IRequestLukas Reschke2015-02-161-2/+3
| | | | | | | | | | | | | | | | | | | | This changeset removes the static class `OC_Request` and moves the functions either into `IRequest` which is accessible via `\OC::$server::->getRequest()` or into a separated `TrustedDomainHelper` class for some helper methods which should not be publicly exposed. This changes only internal methods and nothing on the public API. Some public functions in `util.php` have been deprecated though in favour of the new non-static functions. Unfortunately some part of this code uses things like `__DIR__` and thus is not completely unit-testable. Where tests where possible they ahve been added though. Fixes https://github.com/owncloud/core/issues/13976 which was requested in https://github.com/owncloud/core/pull/13973#issuecomment-73492969
* | Remove unused function and correct PHPDocLukas Reschke2015-02-161-27/+10
|/
* Merge pull request #13425 from owncloud/phpdoc_cleanupMorris Jobke2015-02-101-3/+3
|\ | | | | Cleanup of PHPDoc return types
| * Cleanup of PHPDoc return typesRobin McCorkell2015-01-161-3/+3
| |
* | Merge pull request #13852 from owncloud/cache-app-versionsVincent Petry2015-02-091-2/+7
|\ \ | | | | | | Cache app versions
| * | clear app version cache on upgradeRobin Appelman2015-02-031-0/+1
| | |
| * | Cache app versionsRobin Appelman2015-02-031-2/+6
| | |
* | | enabled disabled files app in repair stepMorris Jobke2015-02-031-1/+1
| | |
* | | Disallow disabling of files appMorris Jobke2015-02-031-0/+3
|/ /
* | Merge pull request #13319 from owncloud/replace-line-breaks-in-app-descriptionLukas Reschke2015-01-171-1/+38
|\ \ | |/ |/| replace line breaks in the app description by spaces - fixes #13315
| * OC_App::parseAppInfoMorris Jobke2015-01-141-1/+38
| | | | | | | | | | | | * replace line breaks (on non empty lines) in the app description by spaces * fixes #13315 * includes unit tests
* | Fix PHPDocLukas Reschke2015-01-151-0/+1
| |
* | Check new and old ways of required oC version for app compatibilityJoas Schilling2015-01-141-2/+6
|/
* rework api of DependencyAnalyzerThomas Müller2014-12-121-2/+2
|
* check app dependencies on installation as wellThomas Müller2014-12-111-6/+21
|
* translate labels properlyThomas Müller2014-12-041-2/+2
|
* Introduce app info xml parser including basic unit test - necessary for #10777Thomas Müller2014-11-251-56/+3
|
* Run preupdate before an updateLukas Reschke2014-11-131-4/+0
| | | | | | | | The update routine tries to test the database migration before actually performing the update. However, this will fail hard if the schema has changed (for example an unique key has been added). App developers can convert the DB in preupdate.php, however it is not called before and therefore the update fails. This actually breaks ownCloud updates from ownCloud 6 to ownCloud 7 when the files_antivirus app is enabled.
* prevent PHP noticeThomas Müller2014-10-301-1/+1
|
* Log some basic eventsRobin Appelman2014-10-201-0/+2
|
* Encapsulate require_once to avoid name space bleedindVincent Petry2014-10-171-1/+11
| | | | | | | | The script required by require_once might use variable names like $app which will conflict with the code that follows. This fix encapsulates require_once into its own function to avoid such issues.
* Add a try catch blockLukas Reschke2014-10-161-6/+10
| | | | This function might also be called before ownCloud is setup which results in a PHP fatal error. We therefore should gracefully catch errors in there.
* introduce new app page layoutThomas Müller2014-10-151-63/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filter installed and not-installed apps properly kill unneeded file load category 'Installed' on page load adding documentation links new apps mgmt: first style adjustment apps mgmt: only show license and preview if they exist adding buttons new apps mgmt: fix for mobile use app icon if available new apps mgmt: position enable/disable toggle to the right new apps mgmt: proper display of icons or previews new apps mgmt: fix loading spinner reenable group selection for apps new apps mgmt: position enable button normally again new apps mgmt: clarify wording from 'Installed' to 'Enabled' reintroduce enable/disable Move rating image path generation to client-side Move expression outside of l10n fix group handling add buttons for 'More apps' and 'Add your app' again disable changed date of app for now adding recommended label style 'Recommended' app tag fixing php warning sort by rating adding meta-category 'Recommended' Only show existing documentation links lacy loading of screenshots making group based app activation work again adding support to get the app icon not only by the app name but also simply by the fixed name 'app.svg' adding app.svg for all core apps query string '?installed' is not longer needed update and uninstall is back + error feedback remove unneeded parameter fix alignment of 'recommended' label
* Merge pull request #11495 from ↵Vincent Petry2014-10-091-0/+7
|\ | | | | | | | | owncloud/apps-clearenableappscacheafterloadingauthapp Clear enabled apps cache after loading authentication app
| * Clear enabled apps cache after loading authentication appVincent Petry2014-10-091-0/+7
| | | | | | | | | | | | | | | | | | Since getEnabledApps() depends on an authentication app to be loaded, especially in the case of LDAP, the cache from getEnabledApps() is now cleared to make sure that subsequent calls will properly return apps that were enabled for groups. This is because getEnabledApps() uses the inGroups() function from the group manager provided by LDAP or any other authentication app.
* | Add support for keys in the info.xmlLukas Reschke2014-10-091-1/+9
|/ | | | | | This allows to have links to different doc base URLs a.
* Fix upgrade process when apps enabled for specific groupsVincent Petry2014-09-021-7/+24
| | | | | | | Fix issue where the currently logged user was causing side-effects when upgrading. Now setting incognito mode (no user) on update to make sure the whole apps list is taken into account with getEnabledApps() or isEnabled().
* Use public api for getting l10nRobin Appelman2014-08-311-2/+2
|