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

v7.0.0 #1195

Merged
merged 55 commits into from
May 27, 2024
Merged

v7.0.0 #1195

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
38a066c
add compact theme
Sneezry Dec 31, 2021
9f36ad6
Add new strings
github-actions[bot] Dec 31, 2021
c57d05f
add icon for shortcut (#820)
Sneezry Dec 31, 2021
54a1bcb
strict ts
rebornix Jan 1, 2022
185e00a
managed storage not available in safari.
rebornix Jan 1, 2022
05dbda0
use blob url to replace data url (#817)
Sneezry Jan 2, 2022
72430cf
Add flat theme.
rebornix Jan 10, 2022
c3909f4
add permissions management (#827)
Sneezry Jan 16, 2022
26f6fc6
Add new strings
github-actions[bot] Jan 16, 2022
21550d6
Bump pathval from 1.1.0 to 1.1.1 (#852)
dependabot[bot] Feb 11, 2022
1648193
Bump node-fetch from 2.6.1 to 2.6.7 (#853)
dependabot[bot] Feb 11, 2022
6b96a7b
Bump urijs from 1.19.7 to 1.19.10 (#873)
dependabot[bot] Mar 9, 2022
96608f5
Bump minimist from 1.2.5 to 1.2.6 (#884)
dependabot[bot] Apr 13, 2022
d2440bc
Bump ansi-regex from 3.0.0 to 3.0.1 (#885)
dependabot[bot] Apr 13, 2022
393a6b2
Bump urijs from 1.19.10 to 1.19.11 (#886)
dependabot[bot] Apr 13, 2022
2f897c9
add autofill command (#831)
Sneezry Apr 25, 2022
727f9e5
Add 'wasm-unsafe-eval' to custom CSP (fix #906)
mozfreddyb May 23, 2022
165f787
Merge remote-tracking branch 'origin/dev' into rebornix/safari
rebornix Jul 4, 2022
3104e5d
revert unnecessary change
rebornix Jul 4, 2022
a23a6cb
Update readme
rebornix Jul 4, 2022
88ee90e
Browser componnet
rebornix Jan 1, 2022
0eda159
isFirefox
rebornix Jan 1, 2022
c850bfb
isEdge.
rebornix Jan 1, 2022
419d614
:lipstick:
rebornix Jan 2, 2022
fd8ffa7
TypeScript does not like type annotation for catch.
rebornix Jan 2, 2022
af1505e
:lipstick:
rebornix Jan 2, 2022
4d5fe4a
fix build
rebornix Jan 11, 2022
8e695b0
update theme for safari
rebornix Jan 23, 2022
86477cb
fix local download
rebornix Jan 24, 2022
7383852
update to latest
rebornix Jul 4, 2022
351d0e9
minimal change
rebornix Jul 4, 2022
4b44854
:lipstick:
rebornix Jul 4, 2022
2ecdb54
fix redundant theme option
rebornix Jul 4, 2022
b2d1701
Update translations from crowdin
mymindstorm Jul 10, 2022
d02ab01
Merge branch 'dev' into rebornix/safari
mymindstorm Jul 10, 2022
d34f98b
Merge pull request #907 from mozfreddyb/patch-1
mymindstorm Jul 10, 2022
d143d80
Update readme for safari.
rebornix Jul 11, 2022
db17b3d
Use `&&`
rebornix Jul 15, 2022
0d7f09a
Merge pull request #923 from rebornix/rebornix/safari
rebornix Jul 16, 2022
9ec8c14
Add new strings
github-actions[bot] Jul 16, 2022
3df694b
Bump terser from 4.8.0 to 4.8.1 (#929)
dependabot[bot] Jul 22, 2022
fb54060
Bump loader-utils from 1.4.0 to 1.4.1 (#970)
dependabot[bot] Nov 8, 2022
48ce3c9
Bump qs from 6.9.4 to 6.11.0 (#985)
dependabot[bot] Dec 7, 2022
38a3995
Bump json5 from 1.0.1 to 1.0.2 (#993)
dependabot[bot] Jan 7, 2023
7e68e0d
Bump cookiejar from 2.1.2 to 2.1.4 (#1006)
dependabot[bot] Jan 24, 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
60ea813
fix typo (#1144)
vuittont60 Jan 16, 2024
b684ed6
add import QR images/OTP URLs buttons to add account page
Sneezry Feb 28, 2024
2145edc
Add new strings
github-actions[bot] Feb 28, 2024
df0b859
Migrate to MV3 (Chrome, Firefox, Edge) (#1009)
Sneezry May 27, 2024
25d60cc
Add new strings
github-actions[bot] May 27, 2024
bbcf25e
Merge branch 'release' into dev
Sneezry May 27, 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
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

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

## Available for Chrome, Firefox, and Microsoft Edge
## Available for Chrome, Firefox, Microsoft Edge and Safari

[<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://microsoftedge.microsoft.com/addons/detail/ocglkepbibnalbgmbachknglpdipeoio)
[<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://microsoftedge.microsoft.com/addons/detail/ocglkepbibnalbgmbachknglpdipeoio) [<img width="150" alt="Download on the App Store" src="https://developer.apple.com/assets/elements/badges/download-on-the-app-store.svg"/>](https://apps.apple.com/us/app/authen/id1602945200?mt=12)

## Build Setup

Expand All @@ -22,6 +22,8 @@ npm ci
npm run prod
```

To reproduce a build for Safari, please follow contribution guidance in [Authenticator-Extension/Authen](https://github.com/Authenticator-Extension/Authen#how-to-contribute)

## Development (Chrome)

``` bash
Expand Down
143 changes: 108 additions & 35 deletions _locales/ar/messages.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extName": {
"message": "مصادقة",
"message": "Authenticator",
"description": "Extension Name."
},
"extShortName": {
"message": "المصادقة",
"message": "Authenticator",
"description": "Extension Short Name."
},
"extDesc": {
Expand All @@ -16,11 +16,11 @@
"description": "Added Account."
},
"errorqr": {
"message": "رمز الاستجابة السريع غير معترف به.",
"message": "رمز QR غير معروف.",
"description": "QR Error."
},
"errorsecret": {
"message": "بيانات الحساب غير صالحة",
"message": "سرية الحساب غير صالحة",
"description": "Secret Error."
},
"add_code": {
Expand All @@ -40,7 +40,7 @@
"description": "Import migration data failed."
},
"migration_partly_fail": {
"message": "Some account data was not imported successfully.",
"message": "بعض بيانات الحساب لم يتم استيرادها بنجاح.",
"description": "Some migration data is broken."
},
"close": {
Expand All @@ -52,7 +52,7 @@
"description": "OK."
},
"yes": {
"message": "نعم!",
"message": "نعم",
"description": "Yes."
},
"no": {
Expand Down Expand Up @@ -84,15 +84,15 @@
"description": "Update Failure."
},
"about": {
"message": "حول التطبيق",
"message": "عن",
"description": "About."
},
"settings": {
"message": "الاعدادات",
"description": "Settings."
},
"security": {
"message": "الوظائف الأمنية",
"message": "الحماية",
"description": "Security."
},
"current_phrase": {
Expand All @@ -112,25 +112,25 @@
"description": "Confirm Passphrase."
},
"confirm_delete": {
"message": "هل أنت متأكد من حذف هذا الملف؟ لا يمكن التراجع عن هذا الإجراء.",
"message": "هل أنت متأكد من حذف هذا الحساب؟ لا يمكن التراجع عن هذا الإجراء.",
"description": "Remove entry confirmation"
},
"confirm_delete_all": {
"message": "أفهم أنه سيتم حذف جميع بياناتي بشكل لا رجعة فيه.",
"description": "Message that user is required to acknowledge before clearing all data."
},
"delete_all": {
"message": "إعادة تعيين أداة المصادقة"
"message": "إعادة تعيين Authenticator"
},
"delete_all_warning": {
"message": "سيؤدي هذا إلى حذف جميع بياناتك وإعادة تعيين أداة المصادقة بالكامل. لن تتمكن من استعادة أي بيانات محذوفة! يجب مراعاة حفظ نسخة احتياطية قبل إعادة تعيين أداة المصادقة."
"message": "سيؤدي هذا إلى حذف جميع بياناتك وإعادة تعيين Authenticator بالكامل. لن تتمكن من استعادة أي بيانات محذوفة! يجب مراعاة حفظ نسخة احتياطية قبل إعادة تعيين Authenticator."
},
"security_warning": {
"message": "سيتم استخدام كلمة المرور هذه لتشفير الحسابات الخاصة بك. لا يمكن أن يساعدك أحد إذا كنت قد نسيت كلمة المرور.",
"message": "سيتم استخدام كلمة المرور هذه لتشفير الحسابات الخاصة بك. لن يساعدك أحد إذا كنت قد نسيت كلمة المرور.",
"description": "Passphrase Warning."
},
"update": {
"message": "التحديث",
"message": "حدِّث",
"description": "Update."
},
"phrase_incorrect": {
Expand Down Expand Up @@ -170,7 +170,7 @@
"description": "Passphrase Info"
},
"sync_clock": {
"message": "Sync Clock with Google",
"message": "مزامنة الساعة مع جوجل",
"description": "Sync Clock"
},
"remember_phrase": {
Expand All @@ -190,15 +190,15 @@
"description": "Capture Failed"
},
"capture_local_file_failed": {
"message": "هل تحاول مسح رمز QR من ملف محلي؟ استخدم استيراد نسخة احتياطية لصورة QR بدلاً من ذلك.",
"message": "Are you trying to scan QR code from a local file? Use Import QR Image Backup instead.",
"description": "Import QR image backup instead of scan local image"
},
"based_on_time": {
"message": "على أساس الوقت",
"description": "Time Based"
},
"based_on_counter": {
"message": "قائم على العداد",
"message": "Counter Based",
"description": "Counter Based"
},
"resize_popup_page": {
Expand Down Expand Up @@ -234,7 +234,7 @@
"description": "Import backup code."
},
"import_backup_qr_partly_failed": {
"message": "Import successful, but some QR codes could not be recognized.",
"message": "تم الاستيراد بنجاح، ولكن لم يتم التعرف على بعض رموز QR.",
"description": "Import successful, but some QR image cannot be recognized."
},
"import_backup_qr_in_batches": {
Expand Down Expand Up @@ -306,9 +306,13 @@
"description": "Dark theme"
},
"theme_simple": {
"message": "Simple",
"message": "بسيط",
"description": "Simple theme"
},
"theme_compact": {
"message": "مبسط",
"description": "Compact theme"
},
"theme_high_contrast": {
"message": "تباين عالي",
"description": "High Contrast theme"
Expand Down Expand Up @@ -395,51 +399,120 @@
"message": "قم بالنسخ الاحتياطي لبياناتك إلى ملف."
},
"password_policy_default_hint": {
"message": "Your password does not meet your organization's security requirements. Contact your administrator for more information."
"message": "كلمة المرور الخاصة بك لا تفي بمتطلبات أمان مؤسستك. اتصل بالمسؤول للحصول على مزيد من المعلومات."
},
"advisor": {
"message": "Advisor"
"message": "مستشار"
},
"advisor_insight_password_not_set": {
"message": "Set a password to protect your data."
"message": "تعيين كلمة مرور لحماية بياناتك."
},
"advisor_insight_auto_lock_not_set": {
"message": "Enable auto-lock to protect your data."
"message": "تفعيل القفل التلقائي لحماية بياناتك."
},
"advisor_insight_browser_sync_not_enabled": {
"message": "Browser sync is disabled. Enabling it allows accounts to be synced across browsers."
"message": "مزامنة المتصفح معطلة. تمكينه يسمح للمزامنة بين الحسابات عبر المتصفحات."
},
"advisor_insight_auto_fill_not_enabled": {
"message": "Autofill can be enabled to automatically fill codes into websites."
"message": "يمكن تمكين التعبئة التلقائية لملء الرموز تلقائياً في مواقع الويب."
},
"advisor_insight_smart_filter_not_enabled": {
"message": "Enabling smart filter allows for quick access to accounts."
"message": "تفعيل الفلتر الذكي يسمح بالوصول السريع إلى الحسابات."
},
"show_all_insights": {
"message": "Show all insights."
"message": "إظهار جميع الرؤى."
},
"no_insight_available": {
"message": "No insights found, everything looks good!"
"message": "لم يتم العثور على رؤية، كل شيء يبدو جيدًا!"
},
"danger": {
"message": "Danger"
"message": "خطر"
},
"warning": {
"message": "Warning"
"message": "تحذير"
},
"info": {
"message": "Info"
"message": "معلومات"
},
"dismiss": {
"message": "Dismiss"
"message": "تجاهل"
},
"learn_more": {
"message": "Learn more"
"message": "لمعرفة المزيد"
},
"enable_context_menu": {
"message": "Add to context menu"
"message": "إضافة إلى قائمة السياق"
},
"no_entires": {
"message": "No accounts to display. Add your first account now."
"message": "لا توجد حسابات لعرضها. أضف حسابك الأول الآن."
},
"permissions": {
"message": "الصلاحيات"
},
"permission_revoke": {
"message": "تعطيل"
},
"permission_show_required_permissions": {
"message": "إظهار الأذونات غير القابلة للتعطيل"
},
"permission_required": {
"message": "هذه الصلاحية اساسية و لا يمكن تعطيلها."
},
"permission_active_tab": {
"message": "الوصول إلى علامة التبويب الحالية لمسح رموز QR."
},
"permission_storage": {
"message": "الوصول إلى تخزين المتصفح لتخزين بيانات الحساب."
},
"permission_identity": {
"message": "يسمح بتسجيل الدخول إلى خدمات تخزين طرف ثالث."
},
"permission_clipboard_write": {
"message": "يمنح صلاحية الكتابة فقط إلى الحافظة لنسخ الرموز إلى الحافظة عند النقر على الحساب."
},
"permission_context_menus": {
"message": "يضيف Authenticator إلى القائمة."
},
"permission_sync_clock": {
"message": "يسمح بمزامنة الساعة مع جوجل."
},
"permission_dropbox": {
"message": "يسمح بالنسخ الاحتياطي إلى Dropbox."
},
"permission_dropbox_cannot_revoke": {
"message": "يجب عليك تعطيل النسخ الاحتياطي لـ Dropbox أولاً."
},
"permission_drive": {
"message": "يسمح بالنسخ الاحتياطي لGoogle Drive."
},
"permission_drive_cannot_revoke": {
"message": "يجب عليك تعطيل النسخ الاحتياطي لـ Google Drive أولاً."
},
"permission_onedrive": {
"message": "يسمح بالنسخ الاحتياطي لـ OneDrive."
},
"permission_onedrive_cannot_revoke": {
"message": "يجب عليك تعطيل النسخ الاحتياطي لـ OneDrive أولاً."
},
"permission_unknown_permission": {
"message": "صلاحية غير معروفة. إذا وجدت هذه الرسالة، يرجى إرسال تقرير عن الأخطاء."
},
"theme_flat": {
"message": "Flat",
"description": "Flat theme"
},
"import_qr_images": {
"message": "Import QR Images",
"description": "Import qr images. Shown as add account method."
},
"import_otp_urls": {
"message": "Import OTP URLs",
"description": "Import OTP URLs. Shown as add account method."
},
"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."
}
}
}
Loading
Loading