diff --git a/CHANGELOG.md b/CHANGELOG.md index 67d34cc3..58eaf5d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +#1.2.15 +- Added issue owner functionality + #1.2.14 - Bumped package versions to fix security vulnerabilities. diff --git a/assets/manifest.json b/assets/manifest.json index 71f312d3..4c75ff9d 100644 --- a/assets/manifest.json +++ b/assets/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "K2 for GitHub", - "version": "1.2.14", + "version": "1.2.15", "description": "Manage your Kernel Scheduling from directly inside GitHub", "browser_specific_settings": { diff --git a/package-lock.json b/package-lock.json index 8013789d..0ac01d7d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "k2-extension", - "version": "1.2.14", + "version": "1.2.15", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3f4f6d76..b8100b68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "k2-extension", - "version": "1.2.14", + "version": "1.2.15", "description": "A Chrome Extension for Kernel Schedule", "private": true, "scripts": { diff --git a/src/js/lib/actions/Issues.js b/src/js/lib/actions/Issues.js index 82a82e34..8de27c64 100644 --- a/src/js/lib/actions/Issues.js +++ b/src/js/lib/actions/Issues.js @@ -27,7 +27,7 @@ function getAllAssigned() { .then((issues) => { const currentUser = API.getCurrentUser(); const issuesMarkedWithOwner = _.reduce(issues, (finalObject, issue) => { - const regexResult = issue.body.match(/Current Issue Owner:\s@(?\S+)/i); + const regexResult = issue.body.match(/Current Issue Owner:\s@(?[a-z0-9-]+)/i); const currentOwner = regexResult && regexResult.groups && regexResult.groups.owner; if (!currentOwner || currentOwner !== currentUser) { return {