Flag experimental apps as experimental before they are installed #17592
Steps to reproduce
If an app is just flagged "official" and green, you expect it to be stable for the current ownCloud version.
If an app is "experimental", it should be flagged so before you install it.
The contacts and Calendar app is flagged "Experimental" only once you activated them, so it's a unwanted surprise.
Operating system: Debian 8.1
Web server: nginx 1.6.2
Database: mysql 5.5.43
PHP version: 5.6.7
ownCloud version: 8.1.0
Updated from an older ownCloud or fresh install: From and older ownCloud (8.0)
List of activated apps:
The content of config/config.php:
<?php $CONFIG = array ( 'instanceid' => 'xxx', 'passwordsalt' => 'xxx', 'secret' => 'xxx', 'trusted_domains' => array ( 0 => 'xxx', ), 'datadirectory' => '/var/www/owncloud/data', 'overwrite.cli.url' => 'xxx', 'dbtype' => 'mysql', 'version' => '188.8.131.52', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'owncloud', 'dbpassword' => 'xxx', 'logtimezone' => 'UTC', 'installed' => true, );
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Browser: Firefox 38.0.5
Operating system: Fedora 22
Web server error log
Nothing interesting regarding calendar. The errors are from previous tests I was doing.
ownCloud log (data/owncloud.log)
Also note that if there is a newer version of the application available (I use Calendar and Contacts as an example here), then the app will show as EXPERIMENTAL and there is no option in the web interface to upgrade the application.
To then install the newer app version, you need to log into the host via ssh and rm -fR apps/contacts apps/calendar - and then install the apps again.
There really should be an "Upgrade" option - and it may well be the same problem as this bug causing it to go screwy.
I see that there might be even another problem: if you disable the app store in the config under "appstoreenabled => false", then OC will not be able to retrieve the app levels of approval from the app store.
Maybe if the app store is disabled, the apps should simply not be shown as experimental at all ? (remove the warning) In such cases it means people already manually installed apps from git/tarballs.