Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to MV3 (Chrome, Firefox, Edge) #1009

Merged
merged 42 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
5a79d41
Migrate to MV3
Sneezry Jan 31, 2023
b779d64
fix entry type
Sneezry Feb 2, 2023
6fc6164
fix default storage area
Sneezry Feb 2, 2023
88053dc
fix mv3 migration errors
mymindstorm Apr 2, 2023
35bddef
further CI fixes
mymindstorm Apr 2, 2023
eed5431
Fix disable backup policy not working issue (#1050)
Sneezry May 10, 2023
c5976b6
6.3.5
Sneezry May 10, 2023
a79b14f
typo
spaette Dec 20, 2023
d1bae1d
Merge pull request #1138 from vaerksted/dev
mymindstorm Dec 20, 2023
a9d771d
Fix bad practice with argon2-browser
mymindstorm Jan 2, 2024
a313365
Remove 'offline_enabled' from manifest
mymindstorm Jan 2, 2024
250c305
update test runner and coverage for mv3
mymindstorm Jan 2, 2024
bb7cc05
don't use dev config by default
mymindstorm Jan 2, 2024
60ea813
fix typo (#1144)
vuittont60 Jan 16, 2024
b684ed6
add import QR images/OTP URLs buttons to add account page
Sneezry Feb 28, 2024
160110d
Migrate to MV3
Sneezry Jan 31, 2023
fc55373
fix entry type
Sneezry Feb 2, 2023
af3f6e0
fix default storage area
Sneezry Feb 2, 2023
df2df65
fix mv3 migration errors
mymindstorm Apr 2, 2023
a143446
further CI fixes
mymindstorm Apr 2, 2023
d1712b3
Fix bad practice with argon2-browser
mymindstorm Jan 2, 2024
189fe8e
Remove 'offline_enabled' from manifest
mymindstorm Jan 2, 2024
5857a9c
update test runner and coverage for mv3
mymindstorm Jan 2, 2024
8c857bd
don't use dev config by default
mymindstorm Jan 2, 2024
0847d8b
Merge branch 'mv3' of github.com:Authenticator-Extension/Authenticato…
Sneezry Feb 28, 2024
881c7b1
dump version
Sneezry Feb 28, 2024
2240140
update manifest
Sneezry Feb 29, 2024
6268407
fix ff csp
Sneezry Feb 29, 2024
9db043b
remove artifact
mymindstorm Mar 15, 2024
22e9c21
rename test files
mymindstorm Mar 15, 2024
7f1368c
move syncTimeWithGoogle out of popup.ts
mymindstorm Mar 15, 2024
013904a
fix the tests, remove code coverage
mymindstorm Mar 15, 2024
053d5c4
remove testing code
mymindstorm Mar 18, 2024
e8083ae
refactor user settings (#1191)
Sneezry May 13, 2024
78d45bb
remove out-of-date eslint comments
Sneezry May 13, 2024
c2738b8
fix user settings migration issue
Sneezry May 15, 2024
7c845be
fix user setting migration issue
Sneezry May 15, 2024
adeaf82
fix edge errors
Sneezry May 20, 2024
6efa4ec
fix edge issues
Sneezry May 23, 2024
4932212
update firefox permissions
Sneezry May 23, 2024
78d7129
remove all_urls permission since Firefox has supported activeTab
Sneezry May 23, 2024
a5ef095
fix firefox crash due to functions getting added to usersettings object
mymindstorm May 26, 2024
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
21 changes: 7 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,34 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Setup Node.js environment
uses: actions/[email protected]

- name: Install dependencies
run: |
npm i prettier
sudo npm i -g lintspaces-cli

- name: Prettier
run: ./node_modules/prettier/bin-prettier.js --check ./src/* ./src/**/* ./src/**/**/* ./sass/*.scss

- name: lintspaces
run: |
lintspaces -nt -d 'spaces' -i 'js-comments' src/*/* src/*.ts view/* manifest-*.json css/popup.css css/import.css
build:
runs-on: ubuntu-latest
name: Build ${{ matrix.platform }}

strategy:
matrix:
platform: ["chrome", "firefox"]

steps:
- uses: actions/checkout@v2

- name: Setup Node.js environment
uses: actions/[email protected]

- name: Install dependencies
run: npm ci

- name: Build
run: npm run ${{ matrix.platform }}
run-tests:
Expand All @@ -63,6 +59,3 @@ jobs:
uses: mujo-code/puppeteer-headful@master
with:
args: npm test

- name: Codecov
uses: codecov/[email protected]
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
node_modules
build
chrome
firefox
edge
chrome*
firefox*
edge*
dist
.vscode
.atom-build.yml
Expand Down
3 changes: 0 additions & 3 deletions _locales/ar/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "يضيف Authenticator إلى القائمة."
},
"permission_all_urls": {
"message": "الوصول إلى جميع المواقع لمسح رموز QR."
},
"permission_sync_clock": {
"message": "يسمح بمزامنة الساعة مع جوجل."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/bg/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/bn/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "কনট্যাক্স মেনু তে অথেন্টিকেটর যুক্ত করুন। "
},
"permission_all_urls": {
"message": "কিউআর কোডটি স্ক্যান করার জন্য সকল ওয়েবসাইট অ্যাক্সেস করুন।"
},
"permission_sync_clock": {
"message": "গুগল এর সাথে ঘড়ি সিঙ্ক করুন।"
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/ca/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Afegeix Authenticator al menú contextual."
},
"permission_all_urls": {
"message": "Accés a tots els llocs web per escanejar codis QR."
},
"permission_sync_clock": {
"message": "Permet la sincronització del rellotge amb Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/cs/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Přidá Authenticator do kontextové nabídky."
},
"permission_all_urls": {
"message": "Přístup ke všem webům pro skenování QR kódů."
},
"permission_sync_clock": {
"message": "Umožnit synchronizaci hodin s Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/da/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Fügt Authenticator dem Kontextmenü hinzu."
},
"permission_all_urls": {
"message": "Zugriff auf alle Webseiten, um QR-Codes zu scannen."
},
"permission_sync_clock": {
"message": "Synchronisierung mit Google zulassen."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/el/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
17 changes: 14 additions & 3 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,18 @@
"message": "Import QR Image Backup",
"description": "Import qr image backup."
},
"import_qr_images": {
"message": "Import QR Images",
"description": "Import qr images. Shown as add account method."
},
"import_backup_code": {
"message": "Import Text Backup",
"description": "Import backup code."
},
"import_otp_urls": {
"message": "Import OTP URLs",
"description": "Import OTP URLs. Shown as add account method."
},
"import_backup_qr_partly_failed": {
"message": "Import successful, but some QR codes could not be recognized.",
"description": "Import successful, but some QR image cannot be recognized."
Expand Down Expand Up @@ -471,15 +479,18 @@
"permission_identity": {
"message": "Allows sign in to 3rd party storage services."
},
"permission_alarms": {
"message": "Allows auto-lock to work."
},
"permission_scripting": {
"message": "Inject scripts into he current tab to scan QR codes and allow auto-fill to work."
},
"permission_clipboard_write": {
"message": "Grants write-only access to the clipboard to copy codes to clipboard when you click on the account."
},
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/es/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Agregar Authenticator al menú contextual."
},
"permission_all_urls": {
"message": "Acceder a los sitios web para poder escanear códigos QR."
},
"permission_sync_clock": {
"message": "Habilitar sincronización del reloj con Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/et/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/fa/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Authenticator را به منوی context اضافه می کند."
},
"permission_all_urls": {
"message": "دسترسی به تمام وب سایت ها برای اسکن کدهای QR."
},
"permission_sync_clock": {
"message": "اجازه همگام سازی ساعت با Google را می دهد."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/fi/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/fr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Ajoute Authenticator au menu contextuel."
},
"permission_all_urls": {
"message": "Accès à tous les sites web pour scanner les codes QR."
},
"permission_sync_clock": {
"message": "Autoriser la synchronisation de l'horloge avec Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/fy/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Foeget Authenticator ta oan kontekstmenu."
},
"permission_all_urls": {
"message": "Tagong ta alle websites om QR-koaden te scannen."
},
"permission_sync_clock": {
"message": "Tiidssyngronisaasje mei Google tastean."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/he/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/hi/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "संदर्भ मेनू में प्रमाणक जोड़ता है।"
},
"permission_all_urls": {
"message": "क्यूआर कोड स्कैन करने के लिए सभी वेबसाइटों तक पहुंच।"
},
"permission_sync_clock": {
"message": "घड़ी को Google के साथ सिंक करने की अनुमति देता है।"
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/hr/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/hu/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Hitelesítő hozzáadása tartalomfüggő menühöz."
},
"permission_all_urls": {
"message": "Minden internet oldal elérése QR-kód beolvasáshoz."
},
"permission_sync_clock": {
"message": "Óra szinkronizálás engedélyezése Google által."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/id/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/it/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Aggiungi Authenticatori al menu contestuale."
},
"permission_all_urls": {
"message": "Accedi a tutti i siti web per scansionare i codici QR."
},
"permission_sync_clock": {
"message": "Consenti la sincronizzazione dell'orario con Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/ja/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "コンテキストメニューに認証システムを追加します。"
},
"permission_all_urls": {
"message": "すべてのウェブサイトにアクセスしてQRコードをスキャンします。"
},
"permission_sync_clock": {
"message": "Google との時刻の同期を許可します。"
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/ko/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "컨텍스트 메뉴에 인증 도구를 추가합니다."
},
"permission_all_urls": {
"message": "QR 코드를 스캔하기 위해 모든 웹 사이트에 액세스 할 수 있습니다."
},
"permission_sync_clock": {
"message": "Google과 시계 동기화를 허용합니다."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/nl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Voegt Authenticator toe aan contextmenu."
},
"permission_all_urls": {
"message": "Toegang tot alle websites om QR-codes te scannen."
},
"permission_sync_clock": {
"message": "Tijdssynchronisatie met Google toestaan."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/no/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/pl/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Dodaje dodatek Authenticator do menu kontekstowego."
},
"permission_all_urls": {
"message": "Dostęp do wszystkich stron internetowych w celu skanowania kodów QR."
},
"permission_sync_clock": {
"message": "Umożliwia synchronizację zegara z Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/pt/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/pt_BR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adiciona o Autenticador ao menu de contexto."
},
"permission_all_urls": {
"message": "Acesso a todos os sites para escanear códigos QR."
},
"permission_sync_clock": {
"message": "Permite a sincronização de relógio com o Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/ro/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Adds Authenticator to context menu."
},
"permission_all_urls": {
"message": "Access to all websites to scan QR codes."
},
"permission_sync_clock": {
"message": "Allows clock sync with Google."
},
Expand Down
3 changes: 0 additions & 3 deletions _locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -473,9 +473,6 @@
"permission_context_menus": {
"message": "Добавляет аутентификатор в меню контекста."
},
"permission_all_urls": {
"message": "Доступ ко всем сайтам для сканирования QR-кодов."
},
"permission_sync_clock": {
"message": "Позволяет синхронизировать часы с Google."
},
Expand Down
Loading
Loading