├── .circleci
└── config.yml
├── .gitignore
├── LICENSE
├── README.md
├── flex.css
├── icon128.png
├── icon16.png
├── icon48.png
├── logo-hacktoberfest.png
├── manifest.json
├── package.json
├── popup.css
├── popup.html
├── popup.js
└── test
└── test.js
/.circleci/config.yml:
--------------------------------------------------------------------------------
1 | # Javascript Node CircleCI 2.0 configuration file
2 | #
3 | # Check https://circleci.com/docs/2.0/language-javascript/ for more details
4 | #
5 | version: 2
6 | jobs:
7 | build:
8 | docker:
9 | # specify the version you desire here
10 | - image: circleci/node:7.10
11 |
12 | # Specify service dependencies here if necessary
13 | # CircleCI maintains a library of pre-built images
14 | # documented at https://circleci.com/docs/2.0/circleci-images/
15 | # - image: circleci/mongo:3.4.4
16 |
17 | working_directory: ~/repo
18 |
19 | steps:
20 | - checkout
21 |
22 | # Download and cache dependencies
23 | - restore_cache:
24 | keys:
25 | - v1-dependencies-{{ checksum "package.json" }}
26 | # fallback to using the latest cache if no exact match is found
27 | - v1-dependencies-
28 |
29 | - run: yarn install
30 |
31 | - save_cache:
32 | paths:
33 | - node_modules
34 | key: v1-dependencies-{{ checksum "package.json" }}
35 |
36 | # run tests!
37 | - run: yarn test
38 |
39 |
40 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | yarn.lock
2 | /node_modules/*
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2017 adeora7
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 |
7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Hacktoberfest Progress
2 | Hacktoberfest progress is a chrome extension made to check your progress in the [Hacktoberfest](https://hacktoberfest.digitalocean.com) organised by DigitalOcean. It tells you how far you are from your goal and which of your Pull Requests were counted so far.
3 |
4 | ## How to Contribute?
5 |
6 | * Fork the repository.
7 | * Comment on the issue which you want to solve so that there is no duplicate work. In case of duplicate work, comments will be used to decide which Pull Request to merge.
8 | * Create Pull Request.
9 | * Once you are a contributor, add yourselves to the contributors list as well as in the README file.
10 |
11 | ## How to use?
12 |
13 | Click [here](https://chrome.google.com/webstore/detail/hacktoberfest-progress-ch/djpoekehoiafngfljnoihmbnckiegolf?hl=en) to get to the Chrome Web Store for the Hacktoberfest Progress Checker, chrome extension!
14 |
15 | After installation, click on the extension icon on the right side of your address bar and then enter your Github username and then click on 'Check Progress'. You will get to see how many Pull Requests you have made and how many were accepted!
16 |
17 | ## How to Run Tests
18 | the project is now setup to have basic tests, and these tests will run on CircleCI.
19 |
20 | to run the tests you must have some form of node pacakge manager(npm or yarn)
21 |
22 | run:
23 | ```
24 | yarn install
25 | ```
26 | and then
27 | ```
28 | yarn test
29 | ```
30 |
31 | ## How to develop locally
32 |
33 | Once you have cloned the project locally and are ready to begin developing. You can load the unpackaged files in developer tools, and point it at the local project.
34 |
35 | [https://developer.chrome.com/extensions/getstarted#manifest](https://developer.chrome.com/extensions/getstarted#manifest)
36 |
37 | If you make any changes then simply return to developer tools and refresh the extension to sync the changes made.
38 |
39 | ## Contributors
40 |
41 | Thanks goes to these wonderful people for their contributions:
42 |
43 | | [
Abhishek Deora](https://github.com/adeora7/) | [
Duy Nguyen](https://github.com/zuik) | [
Will Bray](https://github.com/raindogg) | [
Luke Taylor](https://github.com/lmcjt37) | [
Andreas Kleinbub](https://github.com/ehnydeel) | [
Bhavesh Gohel](https://github.com/bhaveshgohel) | [
Rafael Klaessen](https://github.com/rafaelklaessen) |
44 | | :---: | :---: | :---: | :---: | :--: | :--: | :--: |
45 | | [
Richard Robinson](https://github.com/kincade71) | [
Fredrik Mäkilä](https://github.com/GitHug) | [
Joseph Allen](https://github.com/GitHug) |
46 |
--------------------------------------------------------------------------------
/flex.css:
--------------------------------------------------------------------------------
1 | .flex-row{
2 | display: flex;
3 | flex-direction: row;
4 | }
5 | .flex-column{
6 | display: flex;
7 | flex-direction: column;
8 | }
9 | .align-center{
10 | align-items: center;
11 | }
12 | .align-start{
13 | align-items: flex-start;
14 | }
15 | .align-end{
16 | align-items: flex-end;
17 | }
18 | .justify-center{
19 | justify-content: center;
20 | }
21 | .justify-start{
22 | justify-content: flex-start;
23 | }
24 | .justify-end{
25 | justify-content: flex-end;
26 | }
27 | .justify-space-around{
28 | justify-content: space-around;
29 | }
30 | .justify-space-between{
31 | justify-content: space-between;
32 | }
33 | .flex-wrap{
34 | flex-wrap: wrap;
35 | }
36 | .flex-no-wrap{
37 | flex-wrap: nowrap;
38 | }
39 | .flex-wrap-reverse{
40 | flex-wrap: wrap-reverse;
41 | }
--------------------------------------------------------------------------------
/icon128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adeora7/hacktoberfest_progress/0c8a6e7156e418a0f946660fc67d7bda052d9890/icon128.png
--------------------------------------------------------------------------------
/icon16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adeora7/hacktoberfest_progress/0c8a6e7156e418a0f946660fc67d7bda052d9890/icon16.png
--------------------------------------------------------------------------------
/icon48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adeora7/hacktoberfest_progress/0c8a6e7156e418a0f946660fc67d7bda052d9890/icon48.png
--------------------------------------------------------------------------------
/logo-hacktoberfest.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/adeora7/hacktoberfest_progress/0c8a6e7156e418a0f946660fc67d7bda052d9890/logo-hacktoberfest.png
--------------------------------------------------------------------------------
/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "Hacktoberfest Progress Checker",
3 | "version" : "1.7",
4 | "description" : "Check your Hacktoberfest 2017 progress here. It is a fan made chrome extension and is not affiliated to hacktoberfest officially.",
5 | "permissions": [
6 | "storage"
7 | ],
8 | "browser_action": {
9 | "default_icon": "icon48.png",
10 | "default_popup": "popup.html"
11 | },
12 | "manifest_version": 2,
13 | "icons": {
14 | "16": "icon16.png",
15 | "48": "icon48.png",
16 | "128": "icon128.png"
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "scripts": {
3 | "test": "mocha"
4 | },
5 | "dependencies": {
6 | "mocha": "^5.2.0"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/popup.css:
--------------------------------------------------------------------------------
1 | html {
2 | font-size: 14px;
3 | }
4 |
5 | body{
6 | min-width: 300px;
7 | min-height: 400px;
8 | background-color: #411e2f;
9 | color: white;
10 | }
11 |
12 | #header{
13 | text-align: center;
14 | padding: 1rem;
15 | }
16 | #header > a >img{
17 | height: 150px;
18 | width: auto;
19 | }
20 |
21 | #main{
22 | padding: 1rem;
23 | }
24 |
25 | .eachSavedAccount{
26 | margin: 5px;
27 | font-weight: 900;
28 | cursor: pointer;
29 | }
30 |
31 | .eachSavedAccount:hover{
32 | text-decoration: underline;
33 | }
34 |
35 | .rounded{
36 | border-radius: 15px;
37 | cursor: pointer;
38 | margin-right: 5px;
39 | height: 30px;
40 | width: 30px;
41 | }
42 |
43 | .active {
44 | border-radius: 25px;
45 | height: 55px;
46 | width: 55px;
47 | }
48 |
49 | .button{
50 | height: 35px;
51 | width: 175px;
52 | background-color: #21ffff;
53 | border: 3px solid #21ffff;
54 | border-radius: 4px;
55 | outline: none;
56 | color: #411e2f;
57 | cursor: pointer;
58 | /* Closes #74: Change the font size from 14 to 17 */
59 | font-size: 17px;
60 | /* Closes #74: Added font-family Oswald to button */
61 | font-family: 'Oswald', sans-serif;
62 | }
63 | .button:hover {
64 | border-color: #fff;
65 | background-color: #fff;
66 | }
67 |
68 | #newAccount{
69 | min-height: 140px;
70 | }
71 |
72 | #avatar{
73 | height: 45px;
74 | padding: 5px;
75 | width: 45px;
76 | }
77 |
78 | #githubHandle{
79 | height: 30px;
80 | width: 160px;
81 | padding: 5px;
82 | /* Closes #74: Change the font size from 16 to 22 */
83 | font-size: 22px;
84 | text-align: center;
85 | color: white;
86 | border: 0;
87 | border-bottom: 1px solid white;
88 | background: #411e2f;
89 | margin-bottom: 10px;
90 | outline: none;
91 | transition : border 500ms ease-out;
92 | /* Closes #74: Added font-family Oswald to githubHandle */
93 | font-family: 'Oswald', sans-serif;
94 | }
95 |
96 | #githubHandle::placeholder,
97 | #githubHandle::-webkit-placeholder {
98 | color: #ececec;
99 | }
100 |
101 | #result{
102 | margin: 1rem 0;
103 | /* Closes #74: Added font-family Oswald to githubHandle */
104 | font-family: 'Oswald', sans-serif;
105 | }
106 |
107 | #resultHandle{
108 | margin-bottom: 10px;
109 | font-size: 16px;
110 | /* Closes #74: Added font-family Oswald to resultHandle */
111 | font-family: 'Oswald', sans-serif;
112 | }
113 |
114 | #prCompleteCount{
115 | position: absolute;
116 | text-align: center;
117 | left: 45%;
118 | font-size: 1rem;
119 | font-weight: 700;
120 | }
121 |
122 | #message{
123 | font-size: 18px;
124 | text-align: center;
125 | }
126 |
127 | #prList h2 {
128 | color: #fff;
129 | }
130 |
131 | #prList ul {
132 | padding-left: 0;
133 | }
134 |
135 | #prList li {
136 | list-style: none;
137 | }
138 |
139 | #prList li a {
140 | color: #21ffff;
141 | text-decoration: none;
142 | font-size: .9rem;
143 | }
144 |
145 | #prList li a:hover {
146 | color: #fff;
147 | }
148 |
149 | #overlay{
150 | background-color: rgba(0, 0, 0, 0.5);
151 | position: absolute;
152 | top:0;
153 | left:0;
154 | right:0;
155 | bottom:0;
156 | visibility: collapse;
157 | }
158 |
159 | #dialog{
160 | border: 0px;
161 | text-align: center;
162 | background-color: #411e2f;
163 | margin: 0 auto;
164 | width: 80%;
165 | }
166 |
167 | #show{
168 | visibility: collapse;
169 | }
170 |
171 | .progress-bar {
172 | width: 100%;
173 | background-color: #755866;
174 | border-radius: 5px;
175 | margin: .5rem 0;
176 | }
177 |
178 | .progress-bar--color {
179 | background-color: #21ffff;
180 | height: 1.5rem;
181 | border-radius: 5px;
182 | }
183 |
--------------------------------------------------------------------------------
/popup.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |