Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
248a400
first commit
Sneezry Dec 22, 2017
83c4e23
save
Sneezry Feb 2, 2018
3b6228b
fix typo
Sneezry Feb 2, 2018
cda1034
change root folder
Sneezry Feb 2, 2018
e38686a
remove modules
Sneezry Feb 3, 2018
c8475f9
save
Sneezry Feb 3, 2018
6a79a81
fix tslint style
Sneezry Feb 3, 2018
bbb4cc2
save
Sneezry Feb 3, 2018
04681eb
save
Sneezry Feb 3, 2018
cbe3e6b
save
Sneezry Feb 4, 2018
7ffddf6
save
Sneezry Feb 4, 2018
a485d6d
save
Sneezry Feb 4, 2018
2e35861
save
Sneezry Feb 4, 2018
5ba0611
fix tslink path
Sneezry Feb 5, 2018
928e6d2
save
Sneezry Feb 5, 2018
fd471cc
save
Sneezry Feb 5, 2018
4fe0c10
save
Sneezry Feb 5, 2018
c61780c
save
Sneezry Feb 5, 2018
da88fa3
save
Sneezry Feb 5, 2018
e2522ef
save
Sneezry Feb 5, 2018
e490011
save
Sneezry Feb 6, 2018
dde4627
save
Sneezry Feb 6, 2018
bced1a3
remove popup bak and background
Sneezry Feb 6, 2018
1b6ff2e
update readme
Sneezry Feb 6, 2018
1ea8fe4
add .gitattributes
Sneezry Feb 6, 2018
fb89963
add scan qr
Sneezry Feb 6, 2018
64dc6d8
save
Sneezry Feb 6, 2018
5783bea
update about
Sneezry Feb 6, 2018
cd7d6c3
add link to Mike Robinson
Sneezry Feb 6, 2018
9630f11
add link to Mike Robinson
Sneezry Feb 6, 2018
7588fc3
add delete confirm
Sneezry Feb 6, 2018
801276a
Bring delete confirm dialog in line with crowdin
mymindstorm Feb 6, 2018
555b57f
Submit password on enter key
mymindstorm Feb 7, 2018
3e4457a
fix #4
Sneezry Feb 7, 2018
165ca8e
Add .vscode to gitignore
mymindstorm Feb 7, 2018
c78949d
fix #3 and #5
Sneezry Feb 7, 2018
5c3d982
use switch instead of if else
Sneezry Feb 7, 2018
5cd551d
download backup file
Sneezry Feb 7, 2018
e0a1552
disable export, change passphrass when passphrass is incorrect
Sneezry Feb 7, 2018
8c82806
Upload backup file frontend work
mymindstorm Feb 7, 2018
75b5299
fix type issue
Sneezry Feb 8, 2018
4fc3e53
Merge pull request #7 from Sneezry/zhe-fix-type
mymindstorm Feb 8, 2018
99014d6
split popup
Sneezry Feb 9, 2018
f67a312
Revert "split popup"
Sneezry Feb 9, 2018
afe42e7
split popup
Sneezry Feb 9, 2018
c1f97c6
Fix typo
mymindstorm Feb 9, 2018
2912dd5
Finish file import code
mymindstorm Feb 9, 2018
23b7313
Fix typo
mymindstorm Feb 9, 2018
aadc324
Error on bad file
mymindstorm Feb 9, 2018
de4c833
Add build scripts
mymindstorm Feb 10, 2018
bbd2e1d
Fix the clipboard again
mymindstorm Feb 10, 2018
18c163b
Merge pull request #14 from Sneezry/build
mymindstorm Feb 10, 2018
caead87
Declare charset as utf-8
mymindstorm Feb 10, 2018
541c121
Remove old backup method
mymindstorm Feb 10, 2018
78e7726
Add encryption warning
mymindstorm Feb 10, 2018
0ffbbe2
Update popup.html
mymindstorm Feb 10, 2018
8ccca0f
Remove old html
mymindstorm Feb 11, 2018
10a8528
Grammar changes
mymindstorm Feb 11, 2018
5799039
add ensureObject
mymindstorm Feb 10, 2018
f6bfc31
Merge pull request #19 from Sneezry/backupOverhaul
Sneezry Feb 11, 2018
df34ef4
Merge pull request #21 from Sneezry/reword
Sneezry Feb 11, 2018
b20b6db
change import backup UI, change all tab to 4 spaces in code
Sneezry Feb 11, 2018
cb39d53
fix style issue
Sneezry Feb 11, 2018
b05f676
fix style issue
Sneezry Feb 11, 2018
56b27f5
Merge pull request #23 from Sneezry/zhe-import
mymindstorm Feb 11, 2018
4bbfa8f
fix #15, #22
Sneezry Feb 17, 2018
5bd7774
fix #18
Sneezry Feb 17, 2018
35d69e9
fix #4
Sneezry Feb 17, 2018
67a42c9
add sort
Sneezry Feb 17, 2018
5ebedc5
fix copy issue
Sneezry Feb 17, 2018
db97c7f
update url
Sneezry Feb 17, 2018
fd27b19
add scan shortcut
Sneezry Feb 17, 2018
12f01ec
move code generate interval to ui init
Sneezry Feb 17, 2018
b8bef4d
remove async from ready method
Sneezry Feb 17, 2018
5d95851
add dropbox backup
Sneezry Feb 18, 2018
cdf2400
fix #5
Sneezry Feb 18, 2018
0ff9206
include src in package for debug
Sneezry Feb 18, 2018
1b55758
fix encrypted data dropbox backup issue
Sneezry Feb 18, 2018
ebc36eb
typo
Sneezry Feb 18, 2018
cca9470
hide dropbox status icon in edit mode
Sneezry Feb 18, 2018
23e50ab
update i18n
Sneezry Feb 18, 2018
16ea49d
add hover style for scan icon
Sneezry Feb 18, 2018
840da25
fix #6
Sneezry Feb 19, 2018
df5e02c
add checks
mymindstorm Feb 19, 2018
b785b20
fix console message
mymindstorm Feb 19, 2018
8ab1624
add crowdin config
mymindstorm Feb 19, 2018
1a57831
fix #7
Sneezry Feb 19, 2018
b988dca
midify i18n message
Sneezry Feb 19, 2018
d6ed30c
Merge pull request #11 from Authenticator-Extension/zhe-i18n
mymindstorm Feb 19, 2018
b8a216f
fix 12
Sneezry Feb 19, 2018
9fede27
gts fix
Sneezry Feb 19, 2018
894a523
update according to review
mymindstorm Feb 19, 2018
8bf94f0
Remove if exists check
mymindstorm Feb 19, 2018
0a22d59
Open version specific help page
mymindstorm Feb 19, 2018
625ed28
Merge pull request #9 from Authenticator-Extension/ensureObject
mymindstorm Feb 19, 2018
7736407
Update README.md
mymindstorm Feb 20, 2018
e73a35a
Create ISSUE_TEMPLATE.md
mymindstorm Feb 20, 2018
35b9998
Update ISSUE_TEMPLATE.md
mymindstorm Feb 20, 2018
c5b1256
Update ISSUE_TEMPLATE.md
mymindstorm Feb 20, 2018
9298d38
disable dropbox token input
Sneezry Feb 20, 2018
849d0ad
bugfix
mymindstorm Feb 20, 2018
641564c
make build task run correct in Windows
Sneezry Feb 20, 2018
d240534
Merge branch 'dev' of github.com:Authenticator-Extension/Authenticato…
Sneezry Feb 20, 2018
2bac438
fix #17
Sneezry Feb 20, 2018
7be0538
update info
Sneezry Feb 20, 2018
21f4a0c
fix firefox build task bug
Sneezry Feb 20, 2018
b726586
Add .travis.yml (#18)
mymindstorm Feb 20, 2018
ab2cfd2
Add mime type
mymindstorm Feb 20, 2018
171cc48
gts fix
mymindstorm Feb 20, 2018
08c6e0b
add dropbox risk warning
Sneezry Feb 20, 2018
61e1a2a
scrollbar style in chrome
Sneezry Feb 20, 2018
32814ad
Import file bug workaround base work
mymindstorm Feb 20, 2018
5756398
change dropbox backup path
Sneezry Feb 20, 2018
bc60401
typo fix
Sneezry Feb 20, 2018
b352517
Show right button depending on useragent
mymindstorm Feb 20, 2018
f89c178
Close window on import
mymindstorm Feb 20, 2018
2f861c0
fix #19
Sneezry Feb 20, 2018
043557a
Style fixes
mymindstorm Feb 20, 2018
a0f10df
scripts to body
mymindstorm Feb 20, 2018
b9ae341
Fix chrome issue
mymindstorm Feb 20, 2018
a5523ff
Update popup.html
mymindstorm Feb 20, 2018
3143a82
Tabs to spaces
mymindstorm Feb 20, 2018
5ea2bac
Merge pull request #20 from Authenticator-Extension/fileImport
mymindstorm Feb 20, 2018
4908d79
Add lintspaces
mymindstorm Feb 20, 2018
0a7aba9
update cached passphrase after changed
Sneezry Feb 20, 2018
730bd48
Make the lint happy
mymindstorm Feb 20, 2018
83c0116
Merge pull request #21 from Authenticator-Extension/lintSpaces
mymindstorm Feb 20, 2018
50f7e23
update info
Sneezry Feb 20, 2018
6001640
private preview
Sneezry Feb 20, 2018
12ee8e8
Make header text non-selectable
mymindstorm Feb 20, 2018
91d5825
Add helper text
mymindstorm Feb 20, 2018
cd2507a
CSS tweaks
mymindstorm Feb 20, 2018
154a186
add build version
Sneezry Feb 21, 2018
d9a754e
fix #1
Sneezry Feb 21, 2018
0577598
hover button style
Sneezry Feb 21, 2018
6eef3ee
chinese i18n
Sneezry Feb 21, 2018
cb29e32
5.0.1
Sneezry Feb 21, 2018
687bc02
travis update
mymindstorm Feb 21, 2018
94ad3c2
String cleanup
mymindstorm Feb 21, 2018
f29c81c
remove about from i18n
Sneezry Feb 21, 2018
0e4bfab
fix cookie parse bug
Sneezry Feb 21, 2018
98d5109
check password when import backuos
Sneezry Feb 21, 2018
0cb04f0
check password when import backups
Sneezry Feb 21, 2018
1d73612
Add newline at end of file
mymindstorm Feb 21, 2018
869ad1b
cache password in background
Sneezry Feb 21, 2018
cdd972c
show password box for incorrect password
Sneezry Feb 21, 2018
1d285ff
username -> issuer
Sneezry Feb 21, 2018
b97399e
Style dropbox auth link
mymindstorm Feb 21, 2018
b9851a0
Merge branch 'dev' of github.com:Authenticator-Extension/Authenticato…
mymindstorm Feb 21, 2018
e8e19ad
Merge pull request #30 from Authenticator-Extension/zhe-issuer
mymindstorm Feb 21, 2018
4f603e3
5.0.2
Sneezry Feb 21, 2018
7edc163
Merge pull request #32 from Authenticator-Extension/dev
Sneezry Feb 21, 2018
c6f21a5
fix #34 #35
Sneezry Feb 23, 2018
b3a6417
fix #33
Sneezry Feb 23, 2018
1b6ee8a
make translate and source code menu clickable in entire area
Sneezry Feb 23, 2018
908fa3f
add newline in popup.css
Sneezry Feb 23, 2018
1e70c09
handle menu text overflow
Sneezry Feb 23, 2018
3f83319
add type select box padding
Sneezry Feb 23, 2018
71c6e58
Add ru translations
mymindstorm Feb 23, 2018
d2f4c60
Add overflow scrolling to menu
mymindstorm Feb 23, 2018
739acc5
CSS Grid the menu
mymindstorm Feb 23, 2018
a2a5aa9
Center the icons
mymindstorm Feb 23, 2018
ec8db92
Fix Dropbox menu
mymindstorm Feb 23, 2018
1781740
Fix menu width
mymindstorm Feb 23, 2018
3f68773
Fix import.html alignment
mymindstorm Feb 23, 2018
31a28cf
Update README.md
mymindstorm Feb 24, 2018
aebe949
Capitalization
mymindstorm Feb 24, 2018
b34de55
I don't know how or why but I did it.
mymindstorm Feb 24, 2018
a69eee1
Hover colors
mymindstorm Feb 24, 2018
5abd437
Add Japanese translations
mymindstorm Feb 25, 2018
bbec4ee
Bring up to date w/ crowdin
mymindstorm Feb 25, 2018
ea03d1d
Add font to import.html
mymindstorm Feb 25, 2018
a4ac24c
Merge pull request #42 from Authenticator-Extension/importFont
Sneezry Feb 25, 2018
f3db252
Merge pull request #37 from Authenticator-Extension/overflow
Sneezry Feb 25, 2018
6c70824
add alert method
Sneezry Feb 25, 2018
3be6287
Merge pull request #43 from Authenticator-Extension/zhe-message-queue
mymindstorm Feb 25, 2018
61a842d
Add localStorage password warning (#38)
mymindstorm Feb 25, 2018
840efd1
Add border
mymindstorm Feb 25, 2018
575e977
Make overlay transparent
mymindstorm Feb 25, 2018
0a7dc19
add local_passphrase_warning for chinese
Sneezry Feb 25, 2018
15f2f41
Remove background
mymindstorm Feb 25, 2018
2081529
Merge pull request #45 from Authenticator-Extension/messageTweak
mymindstorm Feb 25, 2018
60ef59b
Add zh_TW
mymindstorm Feb 25, 2018
b515103
remove chrome content script (#48)
Sneezry Feb 26, 2018
8c195e6
fix #47
Sneezry Feb 26, 2018
a2dfcf0
Remove firefox content scripts
mymindstorm Feb 26, 2018
dbf69d3
Add local_passphrase_warning
mymindstorm Feb 28, 2018
24ac9bd
Fix content script issue (#49)
mymindstorm Feb 28, 2018
6e66d4c
5.0.3
Sneezry Feb 28, 2018
d44c19b
Merge pull request #51 from Authenticator-Extension/dev
Sneezry Feb 28, 2018
292bbd5
filter entry better (#53)
Sneezry Mar 1, 2018
a87b544
remove invalid data in export
Sneezry Mar 2, 2018
d3391a4
Add Spanish translations
mymindstorm Mar 3, 2018
43bb21f
5.0.4
mymindstorm Mar 3, 2018
5849ff3
Add download links
mymindstorm Mar 3, 2018
7f8771d
Update README.md
mymindstorm Mar 3, 2018
8c14a78
Update README.md
mymindstorm Mar 3, 2018
adb9615
Update README.md
mymindstorm Mar 3, 2018
5723ec0
Merge pull request #55 from Authenticator-Extension/dev
Sneezry Mar 3, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.js linguist-vendored
*.css linguist-vendored
*.html linguist-vendored
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
build
chrome
firefox
.vscode
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
node_js:
- "node"
before_script:
- "npm install -g typescript"
- "npm install -g gts"
- "npm install -g addons-linter"
- "npm install -g lintspaces-cli"
script:
- "gts check"
- "lintspaces -nt -d 'spaces' -i 'js-comments' src/* *.html manifest-*.json css/popup.css css/import.css"
- "npm run firefox"
- "npm run chrome"
- "addons-linter firefox"
3 changes: 3 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<Do not use this to ask about lost codes or accounts>
<More info here: https://github.com/Authenticator-Extension/Authenticator/wiki/Lost-Codes>

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Zhe Li
Copyright (c) 2017 Authenticator Extension

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
40 changes: 39 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,39 @@
# Authenticator2
<img align="right" width="100" height="100" src="https://github.com/Authenticator-Extension/Authenticator/raw/dev/images/icon128.png">

# Authenticator [![Build Status](https://travis-ci.org/Authenticator-Extension/Authenticator.svg?branch=dev)](https://travis-ci.org/Authenticator-Extension/Authenticator) [![Crowdin](https://d322cqt584bo4o.cloudfront.net/authenticator-firefox/localized.svg)](https://crowdin.com/project/authenticator-firefox)

> Authenticator generates 2-Step Verification codes in your browser.

You can install Authenticator from the [Chrome Web Store](https://chrome.google.com/webstore/detail/authenticator/bhghoamapcdpbohphigoooaddinpkbai) or from [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/auth-helper/).

## Build Setup

Compile for Chrome:

```bash
npm install
npm run chrome
```
Compile for Firefox:

```bash
npm install
npm run firefox
```

Compile for development:

``` bash
# install typescript
npm install -g typescript
#install gts
npm install -g gts
# install dependencies
npm install
# check typescript style
gts check
# try to auto fix style issue
gts fix
# compile
npm run compile
```
238 changes: 238 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,238 @@
{
"extName": {
"message": "Authenticator",
"description": "Extension Name."
},
"extShortName": {
"message": "Authenticator",
"description": "Extension Short Name."
},
"extDesc": {
"message": "Authenticator generates 2-Step Verification codes in your browser.",
"description": "Extension Description."
},
"added": {
"message": " has been added.",
"description": "Added Account."
},
"errorqr": {
"message": "Unrecognized QR code.",
"description": "QR Error."
},
"errorsecret": {
"message": "Secret Error. Only Base32(A-Z, 2-7 and =) and HEX(0-9 and A-F) are supported. However, your secret is: ",
"description": "Secret Error."
},
"add_qr": {
"message": "Scan QR Code",
"description": "Scan QR Code."
},
"add_secret": {
"message": "Manual Entry",
"description": "Manual Entry."
},
"close": {
"message": "Close",
"description": "Close."
},
"ok": {
"message": "Ok",
"description": "OK."
},
"yes": {
"message": "Yes",
"description": "Yes."
},
"no": {
"message": "No",
"description": "No."
},
"account": {
"message": "Account",
"description": "Account."
},
"accountName": {
"message": "Account Name",
"description": "Account Name."
},
"issuer": {
"message": "Issuer",
"description": "Issuer."
},
"secret": {
"message": "Secret",
"description": "Secret."
},
"updateSuccess": {
"message": "Success.",
"description": "Update Success."
},
"updateFailure": {
"message": "Failure.",
"description": "Update Failure."
},
"about": {
"message": "About",
"description": "About."
},
"export_import": {
"message": "Export / Import",
"description": "Export and Import."
},
"settings": {
"message": "Settings",
"description": "Settings."
},
"security": {
"message": "Security",
"description": "Security."
},
"current_phrase": {
"message": "Current Password",
"description": "Current Passphrase."
},
"new_phrase": {
"message": "New Password",
"description": "New Passphrase."
},
"phrase": {
"message": "Password",
"description": "Passphrase."
},
"confirm_phrase": {
"message": "Confirm Password",
"description": "Confirm Passphrase."
},
"confirm_delete" : {
"message": "Are you sure you want to delete this secret? This action cannot be undone.",
"description": "Remove entry confirmation"
},
"security_warning": {
"message": "This password will be used to encrypt your secrets. No one can help you if you forget the password.",
"description": "Passphrase Warning."
},
"update": {
"message": "Update",
"description": "Update."
},
"phrase_incorrect": {
"message": "You cannot add a new account or export data until all accounts are decrypted. Please enter the correct password before continuing.",
"description": "Passphrase Incorrect."
},
"phrase_not_match": {
"message": "Password does not match.",
"description": "Passphrase Not Match."
},
"encrypted": {
"message": "Encrypted",
"description": "Encrypted."
},
"copied": {
"message": "Copied",
"description": "Copied."
},
"feedback": {
"message": "Feedback",
"description": "Feedback."
},
"translate": {
"message": "Translate",
"description": "Translate."
},
"source": {
"message": "Source Code",
"description": "Source Code."
},
"passphrase_info": {
"message": "Enter password to decrypt account data.",
"description": "Passphrase Info"
},
"sync_clock": {
"message": "Sync Clock with Google",
"description": "Sync Clock"
},
"remember_phrase": {
"message": "Remember Password",
"description": "Remember Passphrase"
},
"clock_too_far_off": {
"message": "Caution! Your local clock is too far off, please fix it before continuing.",
"description": "Local Time is Too Far Off"
},
"remind_backup": {
"message": "Do you have a backup for your secrets? Don't wait until it's too late!",
"description": "Remind Backup"
},
"capture_failed": {
"message": "Capture failed, please reload the page and try again.",
"description": "Capture Failed"
},
"based_on_time": {
"message": "Time Based",
"description": "Time Based"
},
"based_on_counter": {
"message": "Counter Based",
"description": "Counter Based"
},
"resize_popup_page": {
"message": "Resize Popup Page",
"description": "Resize Popup Page"
},
"scale": {
"message": "Scale",
"description": "Scale"
},
"export_info": {
"message": "Warning: all backups are unencrypted. Want to add an account to another app? Hover over the top right part of any account and hit the hidden button.",
"description": "Export menu info text"
},
"download_backup": {
"message": "Download Backup File",
"description": "Download backup file."
},
"import_backup": {
"message": "Import Backup",
"description": "Import backup."
},
"import_backup_file": {
"message": "Import Backup File",
"description": "Import backup file."
},
"import_backup_code": {
"message": "Import Text Backup",
"description": "Import backup code."
},
"dropbox_backup": {
"message": "Auto Backup to Dropbox",
"description": "Auto backup to Dropbox."
},
"dropbox_code": {
"message": "Dropbox Code",
"description": "Dropbox code."
},
"dropbox_token": {
"message": "Dropbox Token",
"description": "Dropbox token."
},
"dropbox_authorization": {
"message": "Get Code",
"description": "Dropbox authorization."
},
"show_all_entries": {
"message": "Show all entries",
"description": "Show all entries."
},
"dropbox_risk": {
"message": "Warning: backups saved in Dropbox are unencrypted. Use at your own risk.",
"description": "Dropbox backup risk warning."
},
"import_error_password": {
"message": "You must provide correct password to import backups.",
"description": "Error password warning when import backups."
},
"local_passphrase_warning": {
"message": "Your password is stored locally, please change it in the security menu immediately.",
"description": "localStorage password warning."
}
}
Loading