nextcloud/lib/private
Lukas Reschke d5a8225c0e Fix totally broken AppStore code...
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
2015-03-06 00:16:17 +01:00
..
app Merge pull request #14529 from owncloud/intuitive-version-check 2015-02-27 02:16:23 -08:00
appframework Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
archive Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
assetic Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
backgroundjob Merge pull request #14530 from owncloud/revert-14403 2015-02-27 00:39:29 -08:00
cache Merge pull request #14530 from owncloud/revert-14403 2015-02-27 00:39:29 -08:00
command Add FileAccess trait for commands 2015-02-25 15:09:41 +01:00
connector/sabre Merge pull request #14530 from owncloud/revert-14403 2015-02-27 00:39:29 -08:00
contacts Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
db Merge pull request #14660 from metaworx/replace-static-dbtableprefix-with-config-dbtableprefix 2015-03-03 16:43:47 +01:00
diagnostics Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
fileproxy Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
files Update scanFile() and scanChildren() to the new signature of the parent class 2015-03-04 09:22:53 +01:00
group Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
hooks Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
l10n Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
legacy Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
log Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
memcache \OC\Memcache\Cache implements \OCP\ICache 2015-03-05 11:36:34 +00:00
ocs Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
preview Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
repair Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
route Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
search Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
security Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
session Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
setup Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
share Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
tagging Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
template Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
user Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
activitymanager.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
allconfig.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
api.php Simplify code 2015-03-01 11:46:39 +01:00
app.php Fix totally broken AppStore code... 2015-03-06 00:16:17 +01:00
appconfig.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
apphelper.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
archive.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
arrayparser.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
avatar.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
avatarmanager.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
backgroundjob.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
cache.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
config.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
contactsmanager.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
databaseexception.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
databasesetupexception.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
datetimeformatter.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
datetimezone.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
db.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
defaults.php Add more HTTPS endpoints 2015-02-27 11:37:30 +01:00
eventsource.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
filechunking.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
fileproxy.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
files.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
forbiddenexception.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
geo.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
group.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
helper.php Merge pull request #14530 from owncloud/revert-14403 2015-02-27 00:39:29 -08:00
hintexception.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
hook.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
httphelper.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
image.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
installer.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
json.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
l10n.php Fix the behaviour of getLanguageCode() to match the expectation of the name 2015-03-03 16:47:31 +01:00
largefilehelper.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
log.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
mail.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
mimetypes.list.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
naturalsort.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
naturalsort_defaultcollator.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
navigationmanager.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
needsupdateexception.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
notsquareexception.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
ocs.php Read from IRequest instead of reading twice 2015-02-27 14:22:35 +01:00
ocsclient.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
preview.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
previewmanager.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
repair.php Add a repair step to delete old tables 2015-03-02 12:02:14 +01:00
repairexception.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
repairstep.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
response.php Let users configure security headers in their Webserver 2015-03-02 19:07:46 +01:00
search.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
server.php Refactor \OC\Memcache\Factory 2015-03-05 11:36:34 +00:00
serviceunavailableexception.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
setup.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
subadmin.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
systemconfig.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
tagmanager.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
tags.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
template.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
templatelayout.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
tempmanager.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
updater.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
urlgenerator.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
user.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00
util.php Use findLanguage() instead of creating the object first 2015-03-03 16:47:31 +01:00
vobject.php Revert "Updating license headers" 2015-02-26 11:37:37 +01:00