diff options
Diffstat (limited to 'uncompressed/bitbucket')
-rw-r--r-- | uncompressed/bitbucket/.gitattributes | 2 | ||||
-rw-r--r-- | uncompressed/bitbucket/.gitignore | 1 | ||||
-rw-r--r-- | uncompressed/bitbucket/README.md | 3 | ||||
-rw-r--r-- | uncompressed/bitbucket/icon.png | bin | 0 -> 91631 bytes | |||
-rw-r--r-- | uncompressed/bitbucket/icon.svg | 15 | ||||
-rw-r--r-- | uncompressed/bitbucket/index.js | 2 | ||||
-rw-r--r-- | uncompressed/bitbucket/package.json | 12 | ||||
-rw-r--r-- | uncompressed/bitbucket/service.css | 1 | ||||
-rw-r--r-- | uncompressed/bitbucket/webview.js | 15 |
9 files changed, 51 insertions, 0 deletions
diff --git a/uncompressed/bitbucket/.gitattributes b/uncompressed/bitbucket/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/uncompressed/bitbucket/.gitattributes | |||
@@ -0,0 +1,2 @@ | |||
1 | # Auto detect text files and perform LF normalization | ||
2 | * text=auto | ||
diff --git a/uncompressed/bitbucket/.gitignore b/uncompressed/bitbucket/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/uncompressed/bitbucket/.gitignore | |||
@@ -0,0 +1 @@ | |||
.DS_Store | |||
diff --git a/uncompressed/bitbucket/README.md b/uncompressed/bitbucket/README.md new file mode 100644 index 0000000..51c2ef6 --- /dev/null +++ b/uncompressed/bitbucket/README.md | |||
@@ -0,0 +1,3 @@ | |||
1 | # BitBucket for Ferdi | ||
2 | |||
3 | An unofficial Ferdi recipe for Atlassian's BitBucket | ||
diff --git a/uncompressed/bitbucket/icon.png b/uncompressed/bitbucket/icon.png new file mode 100644 index 0000000..f81603c --- /dev/null +++ b/uncompressed/bitbucket/icon.png | |||
Binary files differ | |||
diff --git a/uncompressed/bitbucket/icon.svg b/uncompressed/bitbucket/icon.svg new file mode 100644 index 0000000..14fe741 --- /dev/null +++ b/uncompressed/bitbucket/icon.svg | |||
@@ -0,0 +1,15 @@ | |||
1 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="500" height="500" viewBox="0 0 62.42 62.42"> | ||
2 | <defs> | ||
3 | <linearGradient id="New_Gradient_Swatch_1" x1="64.01" y1="30.27" x2="32.99" y2="54.48" gradientUnits="userSpaceOnUse"> | ||
4 | <stop offset="0.18" stop-color="#0052cc"/> | ||
5 | <stop offset="1" stop-color="#2684ff"/> | ||
6 | </linearGradient> | ||
7 | </defs> | ||
8 | <title>Bitbucket-blue</title> | ||
9 | <g id="Layer_2" data-name="Layer 2"> | ||
10 | <g id="Blue" transform="translate(0 -3.13)"> | ||
11 | <path d="M2,6.26A2,2,0,0,0,0,8.58L8.49,60.12a2.72,2.72,0,0,0,2.66,2.27H51.88a2,2,0,0,0,2-1.68L62.37,8.59a2,2,0,0,0-2-2.32ZM37.75,43.51h-13L21.23,25.12H40.9Z" fill="#2684ff"/> | ||
12 | <path d="M59.67,25.12H40.9L37.75,43.51h-13L9.4,61.73a2.71,2.71,0,0,0,1.75.66H51.89a2,2,0,0,0,2-1.68Z" fill="url(#New_Gradient_Swatch_1)"/> | ||
13 | </g> | ||
14 | </g> | ||
15 | </svg> \ No newline at end of file | ||
diff --git a/uncompressed/bitbucket/index.js b/uncompressed/bitbucket/index.js new file mode 100644 index 0000000..7983bf0 --- /dev/null +++ b/uncompressed/bitbucket/index.js | |||
@@ -0,0 +1,2 @@ | |||
1 | module.exports = Ferdi => class bitbucket extends Ferdi { | ||
2 | }; | ||
diff --git a/uncompressed/bitbucket/package.json b/uncompressed/bitbucket/package.json new file mode 100644 index 0000000..cd6fc24 --- /dev/null +++ b/uncompressed/bitbucket/package.json | |||
@@ -0,0 +1,12 @@ | |||
1 | { | ||
2 | "id": "bitbucket", | ||
3 | "name": "BitBucket", | ||
4 | "version": "1.0.0", | ||
5 | "description": "An unofficial Ferdi recipe for Atlassian's BitBucket", | ||
6 | "main": "index.js", | ||
7 | "author": "Kittywhiskers Van Gogh <63189531+kittywhiskers@users.noreply.github.com>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://bitbucket.org/dashboard/overview" | ||
11 | } | ||
12 | } | ||
diff --git a/uncompressed/bitbucket/service.css b/uncompressed/bitbucket/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/uncompressed/bitbucket/service.css | |||
@@ -0,0 +1 @@ | |||
/* Insert custom styles you want to insert here */ \ No newline at end of file | |||
diff --git a/uncompressed/bitbucket/webview.js b/uncompressed/bitbucket/webview.js new file mode 100644 index 0000000..ddd0b40 --- /dev/null +++ b/uncompressed/bitbucket/webview.js | |||
@@ -0,0 +1,15 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | var _path = _interopRequireDefault(require("path")); | ||
4 | |||
5 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
6 | |||
7 | module.exports = Ferdi => { | ||
8 | const getMessages = function getMessages() { | ||
9 | // TODO: Insert your notification-finding code here | ||
10 | Ferdi.setBadge(0, 0); | ||
11 | }; | ||
12 | |||
13 | Ferdi.loop(getMessages); | ||
14 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
15 | }; | ||