Skip to content

Commit 6e1ac6d

Browse files
authored
Develop (#14)
* Fix/chrome issues (#9) * add ESLint to gulp and fix some eslint errors; * fix chrome issues; * bump version; * add missing dutch translation and fix englisch tranlation issues; * bump version; * fix issue with placeholder; (#11) * bumb version number; * fix the premisions to send reqeusts to other sites; * bumb version number;
1 parent d4a9f49 commit 6e1ac6d

File tree

6 files changed

+23
-17
lines changed

6 files changed

+23
-17
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
![Layernotes](./readme/banner.png)
22

3-
v0.5.2 (beta)
3+
v0.5.4 (beta)
4+
45

56
# Layer Notes
67
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
2930
## Install packed extension
3031

3132
### Firefox
32-
You can install the firefox exention from the [releases page](https://github.com/uncinc/layer-notes/releases/tag/v0.4).
33+
You can install the Firefox extension from the [releases page](https://github.com/uncinc/layer-notes/releases).
3334

3435
### Chrome
35-
You can install the extension from the Chrome [extension store](https://chrome.google.com/webstore/detail/layer-notes/ccolfolecomkapjakcjpankaliaodnah?hl=nl)
36+
You can install the extension from the Chrome [extension store](https://chrome.google.com/webstore/detail/layer-notes/ccolfolecomkapjakcjpankaliaodnah)
3637

3738
### Opera
38-
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).
39+
You can install the Chrome extension (that does also work on Opera) from the [releases page](https://github.com/uncinc/layer-notes/releases).
3940

4041
## Packaging
4142
Run `npm run dist` to create a zipped, production-ready extension for each browser. You can then upload that to the appstore.

gulpfile.babel.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ var manifest = {
3939
'strict_min_version': '48.0',
4040
}
4141
}
42+
},
43+
chrome: {
44+
'shortName': '__MSG_appDescription__'
4245
}
4346
};
4447

@@ -93,7 +96,7 @@ gulp.task('watch', ['build'], () => {
9396
$.runSequence('icons', $.livereload.reload);
9497
});
9598
gulp.watch(['./src/scripts/**/*']).on('change', () => {
96-
$.runSequence('lint.js');
99+
// $.runSequence('lint.js');
97100
$.runSequence('js', $.livereload.reload);
98101
});
99102
gulp.watch(['./src/styles/**/*']).on('change', () => {

manifest.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"name": "__MSG_appName__",
3-
"version": "0.5.2",
3+
"version": "0.5.4",
44
"manifest_version": 2,
55
"description": "__MSG_appDescription__",
6-
"shortName": "__MSG_appDescription__",
76
"homepage_url": "https://github.com/uncinc/layer-notes",
87
"default_locale": "en",
98
"browser_action": {
@@ -20,20 +19,21 @@
2019
"background": {
2120
"scripts": [
2221
"scripts/background/index.js"
23-
],
24-
"persistent": true
22+
]
2523
},
2624
"permissions": [
2725
"<all_urls>",
26+
"http://*/*",
27+
"https://*/*",
28+
"webRequestBlocking",
2829
"tabs",
30+
"activeTab",
31+
"unlimitedStorage",
2932
"webRequest",
3033
"webNavigation",
31-
"webRequestBlocking",
3234
"storage",
33-
"windows",
34-
"history",
35-
"http://*/*",
36-
"https://*/*"
35+
"browsingData",
36+
"history"
3737
],
3838
"icons": {
3939
"16": "icons/icon_black-16.png",

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "layer-notes",
3-
"version": "0.5.2",
3+
"version": "0.5.4",
44
"description": "Layernotes is a tool that you can use to easaly create Tickets for the Bugtracker Manits.",
55
"scripts": {
66
"chrome-build": "TARGET=chrome gulp",

src/scripts/background/data.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import mantisApi from './mantisApi';
1414
const data = (() => {
1515
function init() {
1616
setUpStorage();
17-
// cleanAll();
17+
cleanAll();
1818
}
1919

2020
//check if the storage item exists and when not add a empty array;
@@ -110,6 +110,7 @@ const data = (() => {
110110
} = params;
111111

112112
mantisApi.login(url, userName, password).then(function (userData) {
113+
console.log(userData);
113114
if (userData === true) {
114115
mantisApi.getProjects(url, userName, password).then(function (projectsData) {
115116
resolve({
@@ -120,6 +121,7 @@ const data = (() => {
120121
reject(err);
121122
});
122123
} else {
124+
console.log('hoih');
123125
reject({
124126
status: 500,
125127
message: 'Your credentials are wrong.'

0 commit comments

Comments
 (0)