Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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.
Expand Down
5 changes: 4 additions & 1 deletion gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ var manifest = {
'strict_min_version': '48.0',
}
}
},
chrome: {
'shortName': '__MSG_appDescription__'
}
};

Expand Down Expand Up @@ -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', () => {
Expand Down
18 changes: 9 additions & 9 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -20,20 +19,21 @@
"background": {
"scripts": [
"scripts/background/index.js"
],
"persistent": true
]
},
"permissions": [
"<all_urls>",
"http://*/*",
"https://*/*",
"webRequestBlocking",
"tabs",
"activeTab",
"unlimitedStorage",
"webRequest",
"webNavigation",
"webRequestBlocking",
"storage",
"windows",
"history",
"http://*/*",
"https://*/*"
"browsingData",
"history"
],
"icons": {
"16": "icons/icon_black-16.png",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 3 additions & 1 deletion src/scripts/background/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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({
Expand All @@ -120,6 +121,7 @@ const data = (() => {
reject(err);
});
} else {
console.log('hoih');
reject({
status: 500,
message: 'Your credentials are wrong.'
Expand Down