diff --git a/README.md b/README.md index 21a5f24..db59f37 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ![Layernotes](./readme/banner.png) -v0.5.2 (beta) +v0.5.4 (beta) + # Layer Notes Layer Notes is a tool that you can use to easily create Tickets for the Bugtracker Mantis. @@ -29,13 +30,13 @@ The following tasks can be used when you want to start developing the extension ## Install packed extension ### Firefox -You can install the firefox exention from the [releases page](https://github.com/uncinc/layer-notes/releases/tag/v0.4). +You can install the Firefox extension from the [releases page](https://github.com/uncinc/layer-notes/releases). ### Chrome -You can install the extension from the Chrome [extension store](https://chrome.google.com/webstore/detail/layer-notes/ccolfolecomkapjakcjpankaliaodnah?hl=nl) +You can install the extension from the Chrome [extension store](https://chrome.google.com/webstore/detail/layer-notes/ccolfolecomkapjakcjpankaliaodnah) ### Opera -You can install the Chrome exention (that does also work on Opera) from the [releases page](https://github.com/uncinc/layer-notes/releases/tag/v0.4). +You can install the Chrome extension (that does also work on Opera) from the [releases page](https://github.com/uncinc/layer-notes/releases). ## Packaging Run `npm run dist` to create a zipped, production-ready extension for each browser. You can then upload that to the appstore. diff --git a/gulpfile.babel.js b/gulpfile.babel.js index c1cff90..9687b2c 100755 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -39,6 +39,9 @@ var manifest = { 'strict_min_version': '48.0', } } + }, + chrome: { + 'shortName': '__MSG_appDescription__' } }; @@ -93,7 +96,7 @@ gulp.task('watch', ['build'], () => { $.runSequence('icons', $.livereload.reload); }); gulp.watch(['./src/scripts/**/*']).on('change', () => { - $.runSequence('lint.js'); + // $.runSequence('lint.js'); $.runSequence('js', $.livereload.reload); }); gulp.watch(['./src/styles/**/*']).on('change', () => { diff --git a/manifest.json b/manifest.json index 1d0c865..62aa3ec 100755 --- a/manifest.json +++ b/manifest.json @@ -1,9 +1,8 @@ { "name": "__MSG_appName__", - "version": "0.5.2", + "version": "0.5.4", "manifest_version": 2, "description": "__MSG_appDescription__", - "shortName": "__MSG_appDescription__", "homepage_url": "https://github.com/uncinc/layer-notes", "default_locale": "en", "browser_action": { @@ -20,20 +19,21 @@ "background": { "scripts": [ "scripts/background/index.js" - ], - "persistent": true + ] }, "permissions": [ "", + "http://*/*", + "https://*/*", + "webRequestBlocking", "tabs", + "activeTab", + "unlimitedStorage", "webRequest", "webNavigation", - "webRequestBlocking", "storage", - "windows", - "history", - "http://*/*", - "https://*/*" + "browsingData", + "history" ], "icons": { "16": "icons/icon_black-16.png", diff --git a/package-lock.json b/package-lock.json index 390c622..490ca3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "layer-notes", - "version": "0.5.2", + "version": "0.5.4", "lockfileVersion": 1, "dependencies": { "@gulp-sourcemaps/map-sources": { diff --git a/package.json b/package.json index 46d6426..a5ae851 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "layer-notes", - "version": "0.5.2", + "version": "0.5.4", "description": "Layernotes is a tool that you can use to easaly create Tickets for the Bugtracker Manits.", "scripts": { "chrome-build": "TARGET=chrome gulp", diff --git a/src/scripts/background/data.js b/src/scripts/background/data.js index 6978d6b..dc8e996 100644 --- a/src/scripts/background/data.js +++ b/src/scripts/background/data.js @@ -14,7 +14,7 @@ import mantisApi from './mantisApi'; const data = (() => { function init() { setUpStorage(); - // cleanAll(); + cleanAll(); } //check if the storage item exists and when not add a empty array; @@ -110,6 +110,7 @@ const data = (() => { } = params; mantisApi.login(url, userName, password).then(function (userData) { + console.log(userData); if (userData === true) { mantisApi.getProjects(url, userName, password).then(function (projectsData) { resolve({ @@ -120,6 +121,7 @@ const data = (() => { reject(err); }); } else { + console.log('hoih'); reject({ status: 500, message: 'Your credentials are wrong.'