summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-02 17:25:05 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-02 17:25:05 +0200
commit9c9625b0f6520f80996e17304805d8bae421f44c (patch)
tree4d2e99fdab4edf3a45d3570f534f11678f7f19c4 /appinfo
parentc9aead3a88405e7051529c8c4e26c69b7f6369cd (diff)
add parser for app.json file, parsing jobs and hooks still left
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.json40
-rw-r--r--appinfo/app.php2
2 files changed, 41 insertions, 1 deletions
diff --git a/appinfo/app.json b/appinfo/app.json
new file mode 100644
index 000000000..dfa0945b4
--- /dev/null
+++ b/appinfo/app.json
@@ -0,0 +1,40 @@
+{
+ "name": "News",
+ "id": "news",
+ "description": "ownCloud News App",
+ "licence": "AGPL",
+ "version": "2.001",
+ "authors": [
+ {
+ "name": "Bernhard Posselt",
+ "email": "dev@bernhard-posselt.com"
+ },
+ {
+ "name": "Alessandro Cosentino",
+ "email": "cosenal@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/owncloud/news",
+ "bugs": "https://github.com/owncloud/news/issues",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/owncloud/news.git"
+ },
+ "navigation": {},
+ "documentation": {
+ "developer": "https://github.com/owncloud/news/wiki"
+ },
+ "cron": ["OCA\\News\\BackgroundJob\\Task"],
+ "hooks": {
+ "OC_User::pre_deleteUser": "OCA\\News\\Hooks\\User::deleteUser"
+ },
+ "databases": ["postgresql", "sqlite", "mysql"],
+ "categories": ["Multimedia"],
+ "dependencies": {
+ "php": ">=5.3",
+ "owncloud": ">=6.0.3",
+ "libs": {
+ "curl": "*"
+ }
+ }
+} \ No newline at end of file
diff --git a/appinfo/app.php b/appinfo/app.php
index e56d3ecb7..749f64601 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -28,7 +28,7 @@ namespace OCA\News;
// the icon that will be shown in the navigation
// this file needs to exist in img/example.png
- 'icon' => \OCP\Util::imagePath('news', 'news.svg'),
+ 'icon' => \OCP\Util::imagePath('news', 'app.svg'),
// the title of your application. This will be used in the
// navigation or on the settings page of your app