Skip to content

Commit c626c88

Browse files
authored
Merge pull request #177 from Authenticator-Extension/dev
5.1.1
2 parents bd61387 + 5bdbfee commit c626c88

29 files changed

+2039
-178
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ node_modules
22
build
33
chrome
44
firefox
5+
edge
56
.vscode
67
.atom-build.yml
78
ci/authenticator-build-key.enc

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
- stage: deploy
2222
# release tagging
2323
script: bash ci/tag.sh
24-
if: branch = release
24+
if: branch = release AND type != pull_request

README.md

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,23 @@
44

55
> Authenticator generates 2-Step Verification codes in your browser.
66
7-
## Available for Chrome and Firefox
7+
## Available for Chrome, Firefox, and Microsoft Edge
88

9-
[<img src="https://raw.githubusercontent.com/wiki/Authenticator-Extension/Authenticator/readme-images/chrome-web-store.png" title="Chrome Web Store" width="170" height="48" />](https://chrome.google.com/webstore/detail/authenticator/bhghoamapcdpbohphigoooaddinpkbai) [<img src="https://raw.githubusercontent.com/wiki/Authenticator-Extension/Authenticator/readme-images/firefox-add-ons.png" title="Firefox Add-ons" width="170" height="48" />](https://addons.mozilla.org/en-US/firefox/addon/auth-helper?src=external-github)
9+
[<img src="https://raw.githubusercontent.com/wiki/Authenticator-Extension/Authenticator/readme-images/chrome-web-store.png" title="Chrome Web Store" width="170" height="48" />](https://chrome.google.com/webstore/detail/authenticator/bhghoamapcdpbohphigoooaddinpkbai) [<img src="https://raw.githubusercontent.com/wiki/Authenticator-Extension/Authenticator/readme-images/firefox-add-ons.png" title="Firefox Add-ons" width="170" height="48" />](https://addons.mozilla.org/en-US/firefox/addon/auth-helper?src=external-github) [<img src="https://raw.githubusercontent.com/wiki/Authenticator-Extension/Authenticator/readme-images/microsoft-store.png" title="Microsoft Store" height="48">](https://www.microsoft.com/store/apps/9P0FD39WFFMK?ocid=badge)
1010

1111
Authenticator is one of the [featured extensions on Firefox Add-ons this month](https://blog.mozilla.org/addons/2018/07/02/julys-featured-extensions-2/)!
1212

1313
## Build Setup
1414

1515
``` bash
16-
# install typescript
17-
npm install -g typescript
18-
#install gts
19-
npm install -g gts
20-
# install dependencies
16+
# install typescript and gts
17+
npm install -g typescript gts
18+
# install development dependencies
2119
npm install
22-
# check typescript style
23-
gts check
24-
# try to auto fix style issue
20+
# fix code style issues
2521
gts fix
26-
# compile for Chrome
27-
npm run chrome
28-
# compile for Firefox
29-
npm run firefox
22+
# compile
23+
npm run [chrome, firefox, edge]
3024
```
25+
26+
Note that Windows users should download [Cygwin](http://cygwin.com/) to build. Building for Edge requires the [Windows App Certification Kit](https://developer.microsoft.com/en-us/windows/develop/app-certification-kit)

_locales/cs/messages.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
22
"extName": {
3-
"message": "Ověření",
3+
"message": "Authenticator",
44
"description": "Extension Name."
55
},
66
"extShortName": {
7-
"message": "Ověřovatel",
7+
"message": "Authenticator",
88
"description": "Extension Short Name."
99
},
1010
"extDesc": {
11-
"message": "Authenticator generuje kódy 2 krok ověření v prohlížeči.",
11+
"message": "Authenticator generuje kódy dvoufázového ověření ve Vašem prohlížeči.",
1212
"description": "Extension Description."
1313
},
1414
"added": {
15-
"message": " byla přidána.",
15+
"message": " byl přidán.",
1616
"description": "Added Account."
1717
},
1818
"errorqr": {
19-
"message": "Neznámý kód QR.",
19+
"message": "QR kód nebyl rozpoznán.",
2020
"description": "QR Error."
2121
},
2222
"errorsecret": {
23-
"message": "Tajné chyba. Jen Base32 (A-Z, 2-7 a =) a HEX (0-9 a A-F) jsou podporovány. Vaše tajemství je však: ",
23+
"message": "Chyba tajného klíče. Podporovány jsou pouze Base32(A-Z, 2-7 a =) a HEX(0-9 a A-F). Nicméně, Váš tajný klíč je: ",
2424
"description": "Secret Error."
2525
},
2626
"add_qr": {
27-
"message": "Načíst QR kód",
27+
"message": "Naskenovat QR kód",
2828
"description": "Scan QR Code."
2929
},
3030
"add_secret": {
@@ -64,7 +64,7 @@
6464
"description": "Secret."
6565
},
6666
"updateSuccess": {
67-
"message": "Úspěšně dokončeno.",
67+
"message": "Úspěch.",
6868
"description": "Update Success."
6969
},
7070
"updateFailure": {
@@ -76,7 +76,7 @@
7676
"description": "About."
7777
},
7878
"export_import": {
79-
"message": "Export \/ Import",
79+
"message": "Exportovat \/ Importovat",
8080
"description": "Export and Import."
8181
},
8282
"settings": {
@@ -88,7 +88,7 @@
8888
"description": "Security."
8989
},
9090
"current_phrase": {
91-
"message": "Aktuální heslo",
91+
"message": "Stávající heslo",
9292
"description": "Current Passphrase."
9393
},
9494
"new_phrase": {
@@ -108,19 +108,19 @@
108108
"description": "Remove entry confirmation"
109109
},
110110
"security_warning": {
111-
"message": "Toto heslo bude používat k šifrování váš tajný klíč. Pokud zapomenete heslo, nikdo vám nemůže pomoct.",
111+
"message": "Toto heslo se bude používat k zašifrování vašich tajných klíčů. Pokud zapomenete heslo, nikdo vám nemůže pomoci.",
112112
"description": "Passphrase Warning."
113113
},
114114
"update": {
115115
"message": "Aktualizovat",
116116
"description": "Update."
117117
},
118118
"phrase_incorrect": {
119-
"message": "Nelze přidat nový účet nebo exportovat data, pokud jsou všechny účty dešifrovány. Před dalším pokračováním zadejte správné heslo.",
119+
"message": "Nemůžete přidat nový účet nebo exportovat data, pokud jsou všechny účty dešifrovány. Před dalším pokračováním zadejte prosím správné heslo.",
120120
"description": "Passphrase Incorrect."
121121
},
122122
"phrase_not_match": {
123-
"message": "Hesla nesouhlasí.",
123+
"message": "Heslo se neshoduje.",
124124
"description": "Passphrase Not Match."
125125
},
126126
"encrypted": {
@@ -152,11 +152,11 @@
152152
"description": "Sync Clock"
153153
},
154154
"remember_phrase": {
155-
"message": "Pamatovat si heslo",
155+
"message": "Zapamatovat si heslo",
156156
"description": "Remember Passphrase"
157157
},
158158
"clock_too_far_off": {
159-
"message": "Pozor! Váš místní čas se velmi liší, opravte jej prosím před pokračováním.",
159+
"message": "Pozor! Váš místní čas se velmi liší, před pokračováním jej prosím opravte.",
160160
"description": "Local Time is Too Far Off"
161161
},
162162
"remind_backup": {
@@ -172,19 +172,19 @@
172172
"description": "Time Based"
173173
},
174174
"based_on_counter": {
175-
"message": "Počítadlo založeno",
175+
"message": "Založeno na počítadle",
176176
"description": "Counter Based"
177177
},
178178
"resize_popup_page": {
179-
"message": "Popup obrázek",
179+
"message": "Vyskakovací stránka",
180180
"description": "Popup Page Settings"
181181
},
182182
"scale": {
183-
"message": "Zvětšení",
183+
"message": "Měřítko",
184184
"description": "Scale"
185185
},
186186
"export_info": {
187-
"message": "Upozornění: všechny zálohy nejsou rozšifrovány. Chcete přidat účet do jiné aplikace? Ukazatel myši nad pravý horní roh z libovolného účtu a kliknete na tlačítko skryté.",
187+
"message": "Upozornění: všechny zálohy jsou nešifrované. Chcete přidat účet do jiné aplikace? Najeďte myší na pravý horní roh libovolného účtu a klikněte na skryté tlačítko.",
188188
"description": "Export menu info text"
189189
},
190190
"download_backup": {
@@ -200,11 +200,11 @@
200200
"description": "Import backup file."
201201
},
202202
"import_backup_code": {
203-
"message": "Importovat textový soubor",
203+
"message": "Importovat textovou zálohu",
204204
"description": "Import backup code."
205205
},
206206
"dropbox_backup": {
207-
"message": "Automatická záloha na Dropbox",
207+
"message": "Automatické zálohování na Dropbox",
208208
"description": "Auto backup to Dropbox."
209209
},
210210
"dropbox_code": {

_locales/vi/messages.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"description": "QR Error."
2121
},
2222
"errorsecret": {
23-
"message": "Lỗi từ khóa. Chỉ chứa các ký tự Base32(A-Z, 2-7 và =) và các ký tự mã HEX(0-9 và A-F). Khóa bạn nhập là: ",
23+
"message": "Chuỗi khóa bị lỗi. Chỉ các ký tự Base32 (A-Z, 2-7 và =) và HEX (0-9 và A-F) được hỗ trợ. Chuỗi khóa bạn đã nhập là: ",
2424
"description": "Secret Error."
2525
},
2626
"add_qr": {
@@ -60,7 +60,7 @@
6060
"description": "Issuer."
6161
},
6262
"secret": {
63-
"message": "Từ khóa",
63+
"message": "Chuỗi khóa",
6464
"description": "Secret."
6565
},
6666
"updateSuccess": {
@@ -76,15 +76,15 @@
7676
"description": "About."
7777
},
7878
"export_import": {
79-
"message": "Xuất \/ Nhập",
79+
"message": "Xuất \/ Nhập dữ liệu",
8080
"description": "Export and Import."
8181
},
8282
"settings": {
8383
"message": "Cài đặt",
8484
"description": "Settings."
8585
},
8686
"security": {
87-
"message": "Bảo mật",
87+
"message": "Đặt mật khẩu bảo vệ",
8888
"description": "Security."
8989
},
9090
"current_phrase": {
@@ -104,35 +104,35 @@
104104
"description": "Confirm Passphrase."
105105
},
106106
"confirm_delete": {
107-
"message": "Bạn có chắc muốn xóa từ khóa này? Việc này không thể khôi phục lại được.",
107+
"message": "Bạn có chắc sẽ xóa chuỗi khóa này? Sau khi xóa sẽ không thể khôi phục lại được.",
108108
"description": "Remove entry confirmation"
109109
},
110110
"security_warning": {
111-
"message": "Mật khẩu này sẽ được dùng để mã hóa các từ khóa của bạn. Không ai có thể khôi phục lại được nếu bạn quên mật khẩu.",
111+
"message": "Mật khẩu này sẽ được dùng để mã hóa toàn bộ dữ liệu của bạn. Không ai có thể giúp bạn khôi phục lại mật khẩu này nếu bạn quên mật khẩu.",
112112
"description": "Passphrase Warning."
113113
},
114114
"update": {
115115
"message": "Cập nhật",
116116
"description": "Update."
117117
},
118118
"phrase_incorrect": {
119-
"message": "Bạn không thể thêm tài khoản mới hoặc xuất dữ liệu đến khi tất cả các tài khoản được giải mã hết. Xin hãy nhập đúng mật khẩu để tiếp tục.",
119+
"message": "Bạn không thể thêm tài khoản mới hoặc trích xuất dữ liệu cho đến khi tất cả các tài khoản được giải mã. Vui lòng nhập đúng mật khẩu để tiếp tục.",
120120
"description": "Passphrase Incorrect."
121121
},
122122
"phrase_not_match": {
123-
"message": "Mật khẩu không khớp.",
123+
"message": "Mật khẩu không trùng nhau.",
124124
"description": "Passphrase Not Match."
125125
},
126126
"encrypted": {
127-
"message": " hóa",
127+
"message": "Đã mã hóa",
128128
"description": "Encrypted."
129129
},
130130
"copied": {
131131
"message": "Đã sao chép",
132132
"description": "Copied."
133133
},
134134
"feedback": {
135-
"message": "Phản hồi",
135+
"message": "Góp ý",
136136
"description": "Feedback."
137137
},
138138
"translate": {
@@ -176,7 +176,7 @@
176176
"description": "Counter Based"
177177
},
178178
"resize_popup_page": {
179-
"message": "Popup Page",
179+
"message": "Trang Popup",
180180
"description": "Popup Page Settings"
181181
},
182182
"scale": {
@@ -244,35 +244,35 @@
244244
"description": "Remove password."
245245
},
246246
"download_enc_backup": {
247-
"message": "Download Password-Protected Backup",
247+
"message": "Tải về Bản sao lưu",
248248
"description": "Download Encrypted Backup"
249249
},
250250
"search": {
251-
"message": "Search",
251+
"message": "Tìm kiếm",
252252
"description": "Search"
253253
},
254254
"popout": {
255-
"message": "Popup mode",
255+
"message": "Chế độ Popup",
256256
"description": "Make window turn into persistent popup"
257257
},
258258
"lock": {
259-
"message": "Lock",
259+
"message": "Khóa",
260260
"description": "Lock accounts"
261261
},
262262
"dropbox_tooltip": {
263-
"message": "Dropbox sync enabled",
263+
"message": "Đã kích hoạt tự động đồng bộ với Dropbox",
264264
"description": "Dropbox sync enabled"
265265
},
266266
"edit": {
267-
"message": "Edit",
267+
"message": "Điều chỉnh",
268268
"description": "Edit"
269269
},
270270
"manual_dropbox": {
271-
"message": "Manual Sync",
271+
"message": "Đồng bộ thủ công",
272272
"description": "Manual Dropbox sync"
273273
},
274274
"use_autofill": {
275-
"message": "Use Autofill",
275+
"message": "Chế độ Điền tự động",
276276
"description": "Use Autofill"
277277
}
278278
}

css/popup.css

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,13 @@ body {
212212

213213
#codes.filter .entry[filtered],
214214
#codes.search .entry[notSearched] {
215-
display: none;
215+
height: 0;
216+
margin: 0;
217+
padding: 0;
218+
opacity: 0;
219+
border: none;
220+
overflow: hidden;
221+
position: absolute;
216222
}
217223

218224
#filter,
@@ -332,7 +338,7 @@ body {
332338
display: block;
333339
}
334340

335-
#codes.timeout .code:not(.hotp) {
341+
#codes:not(.edit) .code.timeout:not(.hotp) {
336342
animation: twinkling 1s infinite ease-in-out;
337343
}
338344

@@ -563,9 +569,35 @@ body {
563569
bottom: 10px;
564570
}
565571

572+
@keyframes timer {
573+
to {
574+
stroke-dashoffset: -25.12;
575+
}
576+
}
577+
578+
.sector svg {
579+
width: 16px;
580+
height: 16px;
581+
margin: 2px;
582+
}
583+
584+
.sector circle {
585+
fill: none;
586+
transform: rotate(-90deg);
587+
transform-origin: 50% 50%;
588+
stroke: gray;
589+
stroke-width: 8px;
590+
stroke-dasharray: 25.12;
591+
animation-name: timer;
592+
animation-iteration-count: infinite;
593+
animation-timing-function: linear;
594+
}
595+
566596
#codes.edit .sector,
567597
#codes.edit .counter {
568-
display: none;
598+
position: absolute;
599+
left: -1000px;
600+
opacity: 0;
569601
}
570602

571603
#menu {

0 commit comments

Comments
 (0)