From 23e6d27aec8e42f5dbd0910b2a007c5bbedde8ae Mon Sep 17 00:00:00 2001 From: mat1th Date: Thu, 8 Jun 2017 21:19:34 +0200 Subject: [PATCH 1/6] 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; --- CHANGELOG.md | 25 ++++ README.md | 2 +- manifest.json | 2 +- package-lock.json | 2 +- package.json | 2 +- src/_locales/en/messages.json | 78 +++++----- src/_locales/nl/messages.json | 274 +++++++++++++++++++++++++++++++++- 7 files changed, 339 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79eb2d4..032321d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Change log +## Version 0.5.1 + +Bug fix +- fix a issue when mantis has only one project it returns a object instead of array; +- fix overflow scroll in Chrome; +- fix removing css in Chrome; +- fix chrome issue when injecting in `chrome://` pages; + +## Version 0.5 + +This release has several bug fixes. + +Improvements +- get the urls from the background scirpt instead of a predefined var; +- Remove scroll-to npm module; + +Bug fix +Fix amount of bugs: +- fix glitch on rezising page; +- Create selection on click, that can be resized after click; +- fix return key that will submit the whole page in set up; +- position the commentbox on top when selecting a bug on the bottom of the website; +- Fix the ESlint errors; + + ## Version 0.4 Improvements: diff --git a/README.md b/README.md index fc38d5c..21a2e4f 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![Layernotes](./readme/banner.png) -v0.5.0 (beta) +v0.5.1 (beta) # Layer Notes Layer Notes is a tool that you can use to easily create Tickets for the Bugtracker Mantis. diff --git a/manifest.json b/manifest.json index 763a093..582fc50 100755 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "__MSG_appName__", - "version": "0.5.0", + "version": "0.5.1", "manifest_version": 2, "description": "__MSG_appDescription__", "shortName": "__MSG_appDescription__", diff --git a/package-lock.json b/package-lock.json index 6737a22..a4ed868 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "layer-notes", - "version": "0.5.0", + "version": "0.5.1", "lockfileVersion": 1, "dependencies": { "@gulp-sourcemaps/map-sources": { diff --git a/package.json b/package.json index e9d0f8d..675dfb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "layer-notes", - "version": "0.5.0", + "version": "0.5.1", "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/_locales/en/messages.json b/src/_locales/en/messages.json index 7285a02..c9ddb9d 100755 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -8,12 +8,12 @@ "description": "Easy submit your tickets to Mantis" }, "toolOff": { - "message": "Turn Layernotes Off", + "message": "Turn Layer Notes Off", "description": "The title of the icon in the browser when the tool is on." }, "toolOn": { - "message": "Turn Layernotes On", - "description": "THe title of the icon in the browser when the tool is off." + "message": "Turn Layer Notes On", + "description": "The title of the icon in the browser when the tool is off." }, "btnTooltip": { "message": "Start a Ticket", @@ -24,16 +24,16 @@ "description": "Loading text for the app in the commentBox" }, "commentBoxErrorText": { - "message": "Please add a comment to your issue.", - "description": "This is the warning when you submit a ticket without a discription." + "message": "Please add a comment to your ticket.", + "description": "This is the warning when you submit a ticket without a description." }, "commentBoxPrioCheckboxTitle": { - "message": "Select prioroty", - "description": "The Prio button in the commentbox" + "message": "Select priority", + "description": "The priority button in the commentbox" }, "commentBoxStatusTitle": { "message": "The status of the ticket is '$STATUS$'", - "description": "Loading text for the app in the commentBox", + "description": "This will be the title of the status in the commentBox", "placeholders": { "status": { "content": "$1", @@ -42,16 +42,16 @@ } }, "commentBoxBugtrackerTitle": { - "message": "Go to this issue in your bugtracker $1", - "description": "The title form the to bugtracker text" + "message": "Go to this ticket in your bug tracker $1", + "description": "The title form the to bug tracker text" }, "commentBoxSucces": { "message": "Your ticket is uploaded", - "description": "The succes text" + "description": "The success text" }, "commentBoxAboutBrugtrackerTitle": { "message": "The browser that was used for this ticket was $BROWSER$", - "description": "The succes text", + "description": "The title from the browser icon", "placeholders": { "browser": { "content": "$1", @@ -61,7 +61,7 @@ }, "commentBoxResize": { "message": "Click to resize your browser to this resolution", - "description": "The succes text" + "description": "The title from the browser resolution in the commentbox." }, "commentBoxCancelTitle": { "message": "Cancel the ticket submit", @@ -81,7 +81,7 @@ }, "addFile": { "message": "Add an extra file", - "description": "The title fo the add file button." + "description": "The title of the add file button." }, "fileItemTitle": { "message": "Remove $1", @@ -89,11 +89,11 @@ }, "fileItemFallbackName": { "message": "Unknown", - "description": "The falback name of a unnamed item" + "description": "The fall-back name of a unnamed item" }, "inputTextHelperText": { - "message": "This is the url", - "description": "Title fallback helper popup." + "message": "This is the URL", + "description": "Title fall-back helper popup." }, "inputTextError": { "message": "The $ERROR$ is spelled wrong", @@ -111,10 +111,10 @@ }, "selectorScreenshotNameAfter": { "message": "Screenshot-after-selection.jpeg", - "description": "The name of the screenshot that will be saved. (afther selecting)" + "description": "The name of the screenshot that will be saved. (after selecting)" }, "selectorLoadingText": { - "message": "Sumbitting to bugtracker...", + "message": "Submitting to bug tracker...", "description": "The text that will be showed when the ticket is uploading." }, "selectorHelper": { @@ -130,10 +130,10 @@ "description": "Previous step indicator." }, "setupHelperOne": { - "message": "Select bugtracker" + "message": "Select bug tracker" }, "setupHelperTwo": { - "message": "Log in bugtracker" + "message": "Log in bug tracker" }, "setupHelperTree": { "message": "Select project" @@ -147,7 +147,7 @@ }, "setupMissingFieldsError": { "message": "Not all the fields are filled.", - "description": "This error will be showed if the user sumbit the form when not all fields are filed in." + "description": "This error will be showed if the user submit the form when not all fields are filed in." }, "setupLogginText": { "message": "Checking you credentials, and logging in at $TOOLNAME$.", @@ -160,8 +160,8 @@ } }, "setupMissingBugtracker": { - "message": "Please select a Bugtacker", - "description": "Shown when no bugtracker is selected" + "message": "Please select a bug tacker", + "description": "Shown when no bug tracker is selected" }, "setupSaving": { "message": "Saving credentials.", @@ -172,41 +172,41 @@ "description": "The project dropdown placeholder." }, "setupStepOneTitle": { - "message": "Choose your bugtracker", + "message": "Choose your bug tracker", "description": "The title of step one" }, "setupStepOneBody": { - "message": "This is the first time that you open Layernotes on this webiste. Please connect this site to a bugtracker. Or add it to a existing project.", + "message": "This is the first time that you open Layer Notes on this website. Please connect this site to a bug tracker. Or add it to a existing project.", "description": "The body of the first step" }, "setupStepTwoBody": { - "message": "Please fill in your bugtracker credentials, so Layernotes can connect with your account.", + "message": "Please fill in your bug tracker credentials, so Layer Notes can connect with your account.", "description": "The body of the second step." }, "setupStepTwoTitle": { - "message": "Bugtracker settings", + "message": "Bug tracker settings", "description": "The title of the second step." }, "setupHelperTextUrl": { - "message": "This is the url witch you use to access your bugtracker", - "description": "The helper text of the url." + "message": "This is the URL witch you use to access your bug tracker", + "description": "The helper text of the URL." }, "setupHelperTextUserName": { - "message": "This is the user name you use to login in your bugtracker", + "message": "This is the user name you use to login in your bug tracker", "description": "The helper text of the user name" }, "setupHelperTextPassword": { - "message": "This is the password you use to login in your bugtracker", + "message": "This is the password you use to login in your bug tracker", "description": "The helper text of the password" }, "setupStepTreeTitle": { "message": "Choose project", - "description": "The thirdt title" + "description": "The third title" }, "setupStepTreeBody": { - "message": "Choose the project that this webiste belongs to.", - "description": "The thirdt body tekst" + "message": "Choose the project that this website belongs to.", + "description": "The third body text" }, "setupStepDoneTitle": { "message": "$URL$ is added to your project.", @@ -231,7 +231,7 @@ "description": "Finish the setup." }, "ticketsOnPageUpdating": { - "message": "Updating your ticket in the bugtracker...", + "message": "Updating your ticket in the bug tracker...", "description": "" }, "toolBarNewNoteText": { @@ -272,11 +272,11 @@ }, "userTourStepTreeTitle": { "message": "Create new note", - "description": "The h1 of the thirdt step of the user tour." + "description": "The h1 of the third step of the user tour." }, "userTourStepTreeBody": { - "message": "Now select the area of your note, and add a comment. When you submit a note, there is a screenshot automaticaly added.", - "description": "The body of the thirdt step of the user tour." + "message": "Now select the area of your note, and add a comment. When you submit a note, there is a screenshot automatically added.", + "description": "The body of the third step of the user tour." }, "userTourStepFourTitle": { "message": "Nice!", diff --git a/src/_locales/nl/messages.json b/src/_locales/nl/messages.json index 7b925ee..56550d4 100644 --- a/src/_locales/nl/messages.json +++ b/src/_locales/nl/messages.json @@ -1,14 +1,282 @@ { "appName": { "message": "Layer Notes", - "description": "Makelijke manier om tickets in Mantis te submitten." + "description": "Makkelijke manier om tickets in Mantis te submitten." }, "appDescription": { - "message": "Makelijke manier om tickets in Mantis te submitten.", - "description": "Makelijke manier om tickets in Mantis te submitten." + "message": "Makkelijke manier om tickets in Mantis te submitten.", + "description": "Makkelijke manier om tickets in Mantis te submitten." }, "btnTooltip": { "message": "Start een Ticket", "description": "Start een Ticket" + }, + "loadingText": { + "message": "Laden...", + "description": "Laad tekst voor de app in de commentBox" + }, + "commentBoxErrorText": { + "message": "Voeg alsjeblieft een notitie toe aan je ticket.", + "description": "Dit is de waarschuwing die je krijgt als een ticket verzend zonder een omschrijving." + }, + "commentBoxPrioCheckboxTitle": { + "message": "Selecteer prioriteit.", + "description": "De prioriteit knop in de commentbox" + }, + "commentBoxStatusTitle": { + "message": "De status van de ticket is '$STATUS$'", + "description": "Deze wordt getoond bij de hover over de status.", + "placeholders": { + "status": { + "content": "$1", + "example": "Nieuw" + } + } + }, + "commentBoxBugtrackerTitle": { + "message": "Ga naar deze ticket in jou bug tracker $1", + "description": "De titel van de bug tracker" + }, + "commentBoxSucces": { + "message": "Je ticket is geüpload", + "description": "De succes tekst" + }, + "commentBoxAboutBrugtrackerTitle": { + "message": "De browser die gebruikt werd voor deze ticket is: $BROWSER$", + "description": "De titel van de browser icon", + "placeholders": { + "browser": { + "content": "$1", + "example": "Firefox" + } + } + }, + "commentBoxResize": { + "message": "Klik om je browser te resizen naar deze scherm resolutie.", + "description":"De titel van de browser resolutie" + }, + "commentBoxCancelTitle": { + "message": "Verzend de ticket niet.", + "description": "De titel van de cancel knop." + }, + "commentBoxCancelValue": { + "message": "Cancel", + "description": "tekst van de cancel knop" + }, + "commentBoxSaveTitle": { + "message": "Sla de ticket op", + "description": "Titel van de save knop" + }, + "commentBoxSaveValue": { + "message": "Sla op", + "description": "tekst van de sla op knop." + }, + "addFile": { + "message": "Voeg een extra bestand toe.", + "description": "De titel van de bijlage knop." + }, + "fileItemTitle": { + "message": "Verwijder $1", + "description": "De titel van de verwijder knop." + }, + "fileItemFallbackName": { + "message": "Onbekend", + "description": "De fallback naam van een item zonder naam." + }, + "inputTextHelperText": { + "message": "Dit is de URL", + "description": "Titel fallback helper pop-up." + }, + "inputTextError": { + "message": "De $ERROR$ is verkeerd gespeld.", + "description": "De error die getoond word als de input verkeerd is ingevuld.", + "placeholders": { + "error": { + "content": "$1", + "example": "URL" + } + } + }, + "selectorScreenshotName": { + "message": "Schermafbeelding-van-pagina.jpeg", + "description": "De naam van het screenshot die wordt opgeslagen." + }, + "selectorScreenshotNameAfter": { + "message": "Schermafbeelding-na-selectie.jpeg", + "description": "De naam van het screenshot die wordt opgeslagen. (Na het selecteren)" + }, + "selectorLoadingText": { + "message": "Slaat op in de bug tracker...", + "description": "Deze tekst wordt getoond als de ticket wordt geüpload." + }, + "selectorHelper": { + "message": "Teken een rechthoek om een issue te selecteren. (Druk op ESC om te stoppen)", + "description": "De helper tekst." + }, + "nextStep": { + "message": "Volgende stap", + "description": "Volgende step indicator." + }, + "previousStep": { + "message": "Vorige stap", + "description": "vorige stap indicator." + }, + "setupHelperOne": { + "message": "Selecteer bug tracker", + "description": "De titel van de setup helper." + }, + "setupHelperTwo": { + "message": "Log in bug tracker" + }, + "setupHelperTree": { + "message": "Selecteer je project" + }, + "setupHelperFour": { + "message": "Finish" + }, + "setupExistingProject": { + "message": "Voeg aan bestaand project toe.", + "description": "De optie die gebruikers de mogelijkheid geeft om een website toe te voegen aan een bestaand project." + }, + "setupMissingFieldsError": { + "message": "Nog niet alle velden zijn ingevuld.", + "description": "Dit is een foutmelding die getoond word als de gebruiker het formulier submit zonder alle velden in te vullen." + }, + "setupLogginText": { + "message": "Controleert je inlog gegevens, en logt in $TOOLNAME$.", + "description": "Dit een de laad tekst als de tool inlogt.", + "placeholders": { + "toolName": { + "content": "$1", + "example": "Mantis" + } + } + }, + "setupMissingBugtracker": { + "message": "Selecteer een bug tracker", + "description": "Foutmelding die getoond wordt als er geen bug tracker geselecteerd" + }, + "setupSaving": { + "message": "Slaat inloggegevens op.", + "description": "De laatste stap van het opslaan." + }, + "setupChooseProject": { + "message": "Kies een project", + "description": "De drop down placeholder" + }, + "setupStepOneTitle": { + "message": "Kies je bugtracker", + "description": "De titel van stap een" + }, + "setupStepOneBody": { + "message": "Dit is de eerste keer dat je Layer Notes opstart op deze website. Kies je bugtracker om deze website toe te voegen. Of voeg deze website toe aan een bestaand project.", + "description": "De content van de eerste stap." + }, + + "setupStepTwoBody": { + "message": "Vul je bug tracker inloggegevens in, zodat we met dit account kunnen connecten.", + "description": "De content van de tweede stap." + }, + "setupStepTwoTitle": { + "message": "Bugtracker instellingen", + "description": "De content van de derde stap." + }, + "setupHelperTextUrl": { + "message": "Dit is de URL die je gebruikt om naar je bug tracker toe te gaan.", + "description": "De helper tekst van de URL." + }, + "setupHelperTextUserName": { + "message": "Dit is de gebruikersnaam, om in de loggen in de bug tracker", + "description": "De helper tekst van de gebruikers name" + }, + "setupHelperTextPassword": { + "message": "Dit is het wachtwoord die gebruikt om in te loggen in je bug tracker", + "description": "De helper tekst van het wachtwoord veld." + }, + "setupStepTreeTitle": { + "message": "Kies een project", + "description": "De derde titel" + }, + "setupStepTreeBody": { + "message": "Kies het project waar deze website bij hoort.", + "description": "De derde content tekst." + }, + "setupStepDoneTitle": { + "message": "$URL$ is toegevoegd aan de tool.", + "description": "De titel van de het laatste scherm.", + "placeholders": { + "url": { + "content": "$1", + "example": "Een onbekende website" + } + } + }, + "setupStepDoneBody": { + "message": "Als dit de eerste keer is dat je de tool start kan je de tutorial starten.", + "description": "" + }, + "setupStartTutorial": { + "message": "Start tutorial", + "description": "De knop om de tutorial te starten." + }, + "setupDone": { + "message": "Finish", + "description": "Finish de setup." + }, + "ticketsOnPageUpdating": { + "message": "Update de ticket in de bug tracker...", + "description": "" + }, + "toolBarNewNoteText": { + "message": "Nieuwe notitie", + "description": "De tekst van de 'nieuwe notitie' knop in de toolbar." + }, + "toolBarNewNoteTitle": { + "message": "Maak een nieuwe notitie.", + "description": "De titel van de 'nieuwe notitie' knop in de toolbar." + }, + "toolBarSettingsText": { + "message": "Instellingen", + "description": "De tekst van de instellingen knop in de toolbar." + }, + "toolBarSettingsTitle": { + "message": "Ga naar de instellingen pagina.", + "description": "De titel van de instellingen knop in de toolbar." + }, + "toolBarAmoutTicketsTitle": { + "message": "Aantal tickets op deze pagina, en het aantal tickets op deze site.", + "description": "" + }, + "userTourStepOneTitle": { + "message": "Welkom!", + "description": "De h1 van de user tour." + }, + "userTourStepOneBody": { + "message": "Deze tutorial legt uit hoe de tool werkt.", + "description": "De body van de eerste stap van de user tour." + }, + "userTourStepTwoTitle": { + "message": "De Sidebar", + "description": "De h1 van de tweede stap in de user tour." + }, + "userTourStepTwoBody": { + "message": "Dit is de sidebar van de tool. Met de 'Nieuwe notitie' knop kan je een nieuwe notitie aanmaken. Klik op 'Volgende' om een nieuwe notitie aan te maken.", + "description": "De body van de tweede stap in de user tour." + }, + "userTourStepTreeTitle": { + "message": "Maak een nieuwe notitie", + "description": "De h1 van de derde stap van de user tour." + }, + "userTourStepTreeBody": { + "message": "Selecteer nu een gebied waar de ticket zich bevindt en voeg een notitie toe. Als je een notitie op slaat wordt er automatisch een schreenschot van de pagina gemaakt en toegevoegd aan de ticket in Mantis.", + "description": "De body van de derde stap van de user tour." + }, + "userTourStepFourTitle": { + "message": "Goed gedaan!", + "description": "De h1 van de laatste stap van de user tour." + }, + "userTourStepFourBody": { + "message": "Je hebt je eerste notitie aangemaakt! Klik op het 'Notitie icon' om je notitie te bekijken. Je weet nu hoe je een notitie moet maken. Veel succes met het testen!", + "description": "de body of de last step of de user tour." } } From 1b3eecda7b93ec6d5e1515a363243c4fcf2847de Mon Sep 17 00:00:00 2001 From: mat1th Date: Wed, 14 Jun 2017 13:38:15 +0200 Subject: [PATCH 2/6] bump version; --- CHANGELOG.md | 16 ++++++++++++---- README.md | 2 +- manifest.json | 2 +- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 032321d..cc54a49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Change log +## Version 0.5.2 + +Improvements +- The placeholder text is now more transparent + +Bug fix +- fix icons that are not loading + ## Version 0.5.1 Bug fix @@ -13,12 +21,12 @@ Bug fix This release has several bug fixes. Improvements -- get the urls from the background scirpt instead of a predefined var; -- Remove scroll-to npm module; +- get the urls from the background script instead of a predefined var; +- Remove scroll-to NPM module; Bug fix Fix amount of bugs: -- fix glitch on rezising page; +- fix glitch on resizing page; - Create selection on click, that can be resized after click; - fix return key that will submit the whole page in set up; - position the commentbox on top when selecting a bug on the bottom of the website; @@ -28,7 +36,7 @@ Fix amount of bugs: ## Version 0.4 Improvements: -- Add abilaty to submit ticket to Mantis +- Add ability to submit ticket to Mantis - Take a screenshot of the screen and submit it to Mantis Bug fixes: diff --git a/README.md b/README.md index 21a2e4f..21d2f8f 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![Layernotes](./readme/banner.png) -v0.5.1 (beta) +v0.5.2 (beta) # Layer Notes Layer Notes is a tool that you can use to easily create Tickets for the Bugtracker Mantis. diff --git a/manifest.json b/manifest.json index 582fc50..1d0c865 100755 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "__MSG_appName__", - "version": "0.5.1", + "version": "0.5.2", "manifest_version": 2, "description": "__MSG_appDescription__", "shortName": "__MSG_appDescription__", diff --git a/package-lock.json b/package-lock.json index a4ed868..390c622 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "layer-notes", - "version": "0.5.1", + "version": "0.5.2", "lockfileVersion": 1, "dependencies": { "@gulp-sourcemaps/map-sources": { diff --git a/package.json b/package.json index 675dfb8..46d6426 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "layer-notes", - "version": "0.5.1", + "version": "0.5.2", "description": "Layernotes is a tool that you can use to easaly create Tickets for the Bugtracker Manits.", "scripts": { "chrome-build": "TARGET=chrome gulp", From dedc0ae648ced37c6fb6469705954b77565e8a1d Mon Sep 17 00:00:00 2001 From: mat1th Date: Wed, 14 Jun 2017 13:39:00 +0200 Subject: [PATCH 3/6] fix issue with placeholder; (#11) --- gulpfile.babel.js | 3 ++- src/scripts/components/setup/index.js | 2 +- src/styles/main.scss | 3 --- src/styles/vars.scss | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 15639c0..c1cff90 100755 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -22,7 +22,7 @@ var specific = JSON.parse(fs.readFileSync(`./config/${target}.json`)); var context = Object.assign({}, generic, specific); var manifest = { - //Add this to the manifest file So the livereload scritpt is also enqluded in the development + //Add this to the manifest file So the livereload scritpt is also included in the development dev: { 'background': { 'scripts': [ @@ -268,6 +268,7 @@ function buildJS(target) { ]; let tasks = files.map(file => { + return browserify({ entries: 'src/scripts/' + file.source, debug: !production diff --git a/src/scripts/components/setup/index.js b/src/scripts/components/setup/index.js index b36a377..974c699 100644 --- a/src/scripts/components/setup/index.js +++ b/src/scripts/components/setup/index.js @@ -345,7 +345,7 @@ class Setup extends Component {

{translate('setupStepTwoTitle')}

{translate('setupStepTwoBody')}

- +
diff --git a/src/styles/main.scss b/src/styles/main.scss index e59605b..b074444 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -10,15 +10,12 @@ top: 0; width: 100%; z-index: 99999999999; - // ::-moz-selection { // background: $font-color-dark; // color: $font-color; // } - ::selection { background: $font-color-dark; color: $font-color; } - } diff --git a/src/styles/vars.scss b/src/styles/vars.scss index 6063f08..34f4dd5 100644 --- a/src/styles/vars.scss +++ b/src/styles/vars.scss @@ -12,7 +12,7 @@ $secondary-color-dark: #c92424; $font-color: #fff; $font-color-hover: #dfdfdf; $font-color-dark: #000; -$font-color-dark-semitransparant: rgba(0, 0, 0, .42); +$font-color-dark-semitransparant: rgba(0, 0, 0, .32); $font-color-semitransparant: rgba(255, 255, 255, .38); $color-transparant: rgba(255, 255, 255, 0); From 3a20447072b0b11c25d47798853d134f8395cc19 Mon Sep 17 00:00:00 2001 From: mat1th Date: Thu, 22 Jun 2017 14:29:17 +0200 Subject: [PATCH 4/6] bumb version number; --- README.md | 8 ++++---- manifest.json | 2 +- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 21a5f24..5436c7b 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![Layernotes](./readme/banner.png) -v0.5.2 (beta) +v0.5.3 (beta) # Layer Notes Layer Notes is a tool that you can use to easily create Tickets for the Bugtracker Mantis. @@ -29,13 +29,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/manifest.json b/manifest.json index 1d0c865..fca9378 100755 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "__MSG_appName__", - "version": "0.5.2", + "version": "0.5.3", "manifest_version": 2, "description": "__MSG_appDescription__", "shortName": "__MSG_appDescription__", diff --git a/package-lock.json b/package-lock.json index 390c622..1f04e15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "layer-notes", - "version": "0.5.2", + "version": "0.5.3", "lockfileVersion": 1, "dependencies": { "@gulp-sourcemaps/map-sources": { diff --git a/package.json b/package.json index 46d6426..5679795 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "layer-notes", - "version": "0.5.2", + "version": "0.5.3", "description": "Layernotes is a tool that you can use to easaly create Tickets for the Bugtracker Manits.", "scripts": { "chrome-build": "TARGET=chrome gulp", From 516d2997ebdfbb7a45b1cc9fcb756789900fb6e5 Mon Sep 17 00:00:00 2001 From: mat1th Date: Mon, 9 Oct 2017 17:38:03 +0200 Subject: [PATCH 5/6] fix the premisions to send reqeusts to other sites; --- gulpfile.babel.js | 5 ++++- manifest.json | 16 ++++++++-------- src/scripts/background/data.js | 4 +++- 3 files changed, 15 insertions(+), 10 deletions(-) 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 fca9378..4659548 100755 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,6 @@ "version": "0.5.3", "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/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.' From f80ae53bd76f5fa2a7f8977024937c6f8dbf3c65 Mon Sep 17 00:00:00 2001 From: mat1th Date: Mon, 9 Oct 2017 17:51:05 +0200 Subject: [PATCH 6/6] bumb version number; --- README.md | 2 +- manifest.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5436c7b..18e28df 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![Layernotes](./readme/banner.png) -v0.5.3 (beta) +v0.5.4 (beta) # Layer Notes Layer Notes is a tool that you can use to easily create Tickets for the Bugtracker Mantis. diff --git a/manifest.json b/manifest.json index 4659548..62aa3ec 100755 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "__MSG_appName__", - "version": "0.5.3", + "version": "0.5.4", "manifest_version": 2, "description": "__MSG_appDescription__", "homepage_url": "https://github.com/uncinc/layer-notes", diff --git a/package.json b/package.json index 5679795..a5ae851 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "layer-notes", - "version": "0.5.3", + "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",