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

Login Per Site UI #7368

Merged
merged 74 commits into from
Nov 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
b6d4887
LoginPerSite original UI changes to keep
danjm Nov 21, 2019
d97c1cc
First commit
danjm Nov 8, 2019
0a58556
Get necessary connected tab info for redirect and icon display for pe…
danjm Nov 15, 2019
cf7366f
Fix up designs and add missing features
danjm Nov 15, 2019
0ce6702
Some lint fixes
danjm Nov 15, 2019
d646401
More lint fixes
danjm Nov 16, 2019
2243641
Ensures the tx controller + tx-state-manager orders transactions in t…
danjm Nov 18, 2019
decaf69
Code cleanup for LoginPerSite-ui
danjm Nov 19, 2019
ed194b6
Update e2e tests to use new connection flow
danjm Nov 19, 2019
8c67673
Fix display of connect screen and app header after login when connect…
danjm Nov 19, 2019
88eddb7
Update metamask-responsive-ui.spec for new item in accounts dropdown
danjm Nov 20, 2019
5f5a58d
Fix approve container by replacing approvedOrigins with domainMetaData
danjm Nov 20, 2019
baf950c
Adds test/e2e/permissions.spec.js
danjm Nov 20, 2019
472dafd
Correctly handle cancellation of a permissions request
danjm Nov 20, 2019
37eda1c
Redirect to home after disconnecting all sites / cancelling all permi…
danjm Nov 20, 2019
2065508
Fix display of site icons in menu
danjm Nov 20, 2019
b0589eb
Fix height of permissions page container
danjm Nov 20, 2019
96ff6e3
Remove unused locale messages
danjm Nov 20, 2019
069c780
Set default values for openExternalTabs and tabIdOrigins in account-m…
danjm Nov 20, 2019
d4bafe4
More code cleanup for LoginPerSite-ui
danjm Nov 20, 2019
15db0d4
Use extensions api to close tab in permissions-connect
danjm Nov 20, 2019
33e77d4
Remove unnecessary change in domIsReady() in contentscript
danjm Nov 21, 2019
ea1c4a6
Remove unnecessary private function markers and class methods (for ba…
danjm Nov 21, 2019
263916b
Adds getOriginOfCurrentTab selector
danjm Nov 21, 2019
3fee71b
Adds IconWithFallback component and substitutes for appropriate cases
danjm Nov 21, 2019
0631e81
Add and utilize font mixins
danjm Nov 21, 2019
81ba5ab
Remove unused method in disconnect-all.container.js
danjm Nov 21, 2019
3393346
Simplify buttonSizeLarge code in page-container-footer.component.js
danjm Nov 21, 2019
57860a2
Add and utilize getAccountsWithLabels selector
danjm Nov 21, 2019
4c27326
Remove console.log in ui/app/store/actions.js
danjm Nov 21, 2019
fc534aa
Change last connected time format to yyyy-M-d
danjm Nov 21, 2019
bb0c283
Fix css associated with IconWithFallback change
danjm Nov 21, 2019
b86056b
Ensure tracked openNonMetamaskTabsIDs are correctly set to inactive o…
danjm Nov 21, 2019
500b44b
Code cleanup for LoginPerSite-ui
danjm Nov 21, 2019
be544cc
Use reusable function for modifying openNonMetamaskTabsIDs in backgro…
danjm Nov 21, 2019
af933d1
Enables automatic switching to connected account when connected domai…
danjm Nov 22, 2019
7fb6939
Prevent exploit of tabIdOriginMap in background.js
danjm Nov 22, 2019
7fd6aba
Remove unneeded code from contentscript.js
danjm Nov 22, 2019
39b72a3
Simplify current tab origin and window opener logic using remotePort …
danjm Nov 22, 2019
00e2729
Design and styling fixes for LoginPerSite-ui
danjm Nov 22, 2019
ae3edf0
Fix permissionHistory and permission logging for eth_requestAccounts …
danjm Nov 22, 2019
43cdd13
Front end changes to support display of lastConnected time in connect…
danjm Nov 22, 2019
bbe0abe
Fix lint errors
Gudahtt Nov 22, 2019
26b189c
Refactor structure of permissionsHistory
danjm Nov 24, 2019
9333bd4
Fix default values and object modifications for domain and permission…
danjm Nov 25, 2019
8b19cf8
Fix connecting to new accounts from modal
danjm Nov 25, 2019
48e24a3
Replace retweet.svg with connect-white.svg
danjm Nov 25, 2019
c99ce44
Fix signature-request.spec
danjm Nov 25, 2019
728ba4f
Fix permissions e2e tests
Gudahtt Nov 25, 2019
02b59e1
Update metamask-inpage-provider version
danjm Nov 25, 2019
c162098
Remove unneeded delay from test/e2e/signature-request.spec.js
danjm Nov 26, 2019
7b0492e
Add delay before attempting to retrieve network id in dapp in ethereu…
danjm Nov 26, 2019
bca4f72
Use requestAccountTabIds strategy for determining tab id that opened …
danjm Nov 26, 2019
abcc129
Improve default values for permissions requests
danjm Nov 26, 2019
6ccc50a
Add some message descriptions to app/_locales/en/messages.json
danjm Nov 26, 2019
d3a98f6
Code clean up in permission controller
danjm Nov 26, 2019
78205b3
Stopped deep cloning object in mapObjectValues
danjm Nov 26, 2019
4011c82
Bump metamask-inpage-provider version
danjm Nov 26, 2019
599aaae
Add missing description in app/_locales/en/messages.json
danjm Nov 26, 2019
4848eb6
Return promises from queryTabs and switchToTab of extension.js
danjm Nov 26, 2019
6810c8c
Remove unused getAllPermissions function
danjm Nov 26, 2019
56a0d92
Use default props in icon-with-fallback.component.js
danjm Nov 26, 2019
cbfe2ec
Stop passing to permissions controller
danjm Nov 26, 2019
363486a
Delete no longer used clear-approved-origins modal code
danjm Nov 26, 2019
671403c
Remove duplicate imports in ui/app/components/app/index.scss
danjm Nov 26, 2019
b2d55d2
Use URL instead of regex in getOriginFromUrl()
danjm Nov 26, 2019
43d07e7
Add runtime error checking to platform, promise based extension.tab m…
danjm Nov 26, 2019
414159d
Support permission requests from external extensions
danjm Nov 27, 2019
65222f0
Improve font size and colour of the domain origin on the permission c…
danjm Nov 27, 2019
256c9f5
Add support for toggling permissions
danjm Nov 27, 2019
56e2e57
Ensure getRenderablePermissionsDomains only returns domains with expo…
danjm Nov 27, 2019
491dc09
Remove unused code from LoginPerSite-ui branch
danjm Nov 27, 2019
ad68be7
Ensure modal closes on Enter press for new-account-modal.component.js
danjm Nov 27, 2019
1e20c31
Lint fix
danjm Nov 27, 2019
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
15 changes: 0 additions & 15 deletions app/_locales/am/messages.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
{
"privacyModeDefault": {
"message": "የግላዊነት ኩነት አሁን በንቡር ነቅቷል"
},
"chartOnlyAvailableEth": {
"message": "ቻርት የሚገኘው በ Ethereum አውታረ መረቦች ላይ ብቻ ነው።"
},
"confirmClear": {
"message": "የተፈቀዱ ድረ ገጾችን ለማጥራት እንደሚፈልጉ እርግጠኛ ነዎት?"
},
"contractInteraction": {
"message": "የግንኙነት ተግባቦት"
},
"reject": {
"message": "አይቀበሉ"
},
"providerRequest": {
"message": "$1ከመለያዎ ጋር ለመገናኘት ይፈልጋል"
},
"providerRequestInfo": {
"message": "ይህ ድረ ገጽ የእርስዎን መለያ ወቅታዊ አድራሻ ለማየት እየጠየቀ ነው። ምንጊዜም ግንኙነት የሚያደርጉባቸውን ድረ ገጾች የሚያምኗቸው መሆኑን ያረጋግጡ።"
},
"about": {
"message": "ስለ"
},
Expand Down Expand Up @@ -369,9 +357,6 @@
"directDepositEtherExplainer": {
"message": "ቀደም ሲል የተወሰነ Ether ካለዎት፣ በአዲሱ ቋትዎ Ether ለማግኘት ፈጣኑ መንገድ ቀጥተኛ ተቀማጭ ነው።"
},
"dismiss": {
"message": "አሰናብት"
},
"done": {
"message": "ተጠናቅቋል"
},
Expand Down
15 changes: 0 additions & 15 deletions app/_locales/ar/messages.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
{
"privacyModeDefault": {
"message": "يتم تمكين وضع الخصوصية الآن بشكل افتراضي"
},
"chartOnlyAvailableEth": {
"message": "الرسم البياني متاح فقط على شبكات إيثيريوم."
},
"confirmClear": {
"message": "هل أنت متأكد من أنك تريد مسح المواقع المعتمدة؟"
},
"contractInteraction": {
"message": "التفاعل على العقد"
},
"reject": {
"message": "رفض"
},
"providerRequest": {
"message": "يرغب $1 في الاتصال بحسابك"
},
"providerRequestInfo": {
"message": "يطلب هذا الموقع حق الوصول لعرض عنوان حسابك الحالي. تأكد دائماً من ثقتك في المواقع التي تتفاعل معها."
},
"about": {
"message": "حول"
},
Expand Down Expand Up @@ -369,9 +357,6 @@
"directDepositEtherExplainer": {
"message": "إذا كان لديك بالفعل بعض الأثير، فإن أسرع طريقة للحصول على الأثير في محفظتك الجديدة عن طريق الإيداع المباشر."
},
"dismiss": {
"message": "رفض"
},
"done": {
"message": "تم"
},
Expand Down
15 changes: 0 additions & 15 deletions app/_locales/bg/messages.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
{
"privacyModeDefault": {
"message": "Режимът на поверителност вече е активиран по подразбиране"
},
"chartOnlyAvailableEth": {
"message": "Диаграмата е достъпна само в мрежи на Ethereum."
},
"confirmClear": {
"message": "Сигурни ли сте, че искате да изчистите одобрените уебсайтове?"
},
"contractInteraction": {
"message": "Взаимодействие с договор"
},
"reject": {
"message": "Отхвърляне"
},
"providerRequest": {
"message": "$1 би искал да се свърже с вашия акаунт"
},
"providerRequestInfo": {
"message": "Този сайт иска достъп за преглед на адреса на текущия ви акаунт. Винаги се уверявайте, че се доверявате на сайтовете, с които взаимодействате."
},
"about": {
"message": "Информация"
},
Expand Down Expand Up @@ -369,9 +357,6 @@
"directDepositEtherExplainer": {
"message": "Ако вече имате някакъв етер, най-бързият начин да получите етер в новия си портфейл е чрез директен депозит."
},
"dismiss": {
"message": "Отхвърляне"
},
"done": {
"message": "Готово"
},
Expand Down
15 changes: 0 additions & 15 deletions app/_locales/bn/messages.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
{
"privacyModeDefault": {
"message": "গোপনীয়তার মোড এখন ডিফল্ট হিসাবে সক্রিয় করা আছে"
},
"chartOnlyAvailableEth": {
"message": "শুধুমাত্র Ethereum নেটওয়ার্কগুলিতে চার্ট উপলভ্য। "
},
"confirmClear": {
"message": "আপনি কি অনুমোদিত ওয়েবসাইটগুলি মুছে পরিস্কার করার বিষয়ে নিশ্চিত?"
},
"contractInteraction": {
"message": "কন্ট্র্যাক্ট বাক্যালাপ"
},
"reject": {
"message": "প্রত্যাখ্যান"
},
"providerRequest": {
"message": "$1 আপনার অ্যাকাউন্টের সাথে সংযোগ করতে চায়"
},
"providerRequestInfo": {
"message": "এই সাইটটি আপনার বর্তমান অ্যাকাউন্টের ঠিকানা দেখার অ্যাক্সেসের জন্য অনুরোধ জানাচ্ছে। সবসময় নিশ্চিত হয়ে নেবেন যে আপনি যে সাইটের সাথে যোগাযোগ করছেন সেটি বিশ্বাসযোগ্য কিনা।"
},
"about": {
"message": "সম্পর্কে"
},
Expand Down Expand Up @@ -369,9 +357,6 @@
"directDepositEtherExplainer": {
"message": "আপনার ইতিমধ্যে কিছু ইথার থেকে থাকলে আপনার নতুন ওয়ালেটে ইথার পাওয়ার দ্রুততম উপায় হল সরাসরি জমা করা।"
},
"dismiss": {
"message": "খারিজ"
},
"done": {
"message": "সম্পন্ন "
},
Expand Down
15 changes: 0 additions & 15 deletions app/_locales/ca/messages.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
{
"privacyModeDefault": {
"message": "El mode de privacitat ara està activat per defecte"
},
"chartOnlyAvailableEth": {
"message": "Mostra només els disponibles a les xarxes Ethereum."
},
"confirmClear": {
"message": "Estàs segur que vols eliminar totes les pàgines web aprovades?"
},
"contractInteraction": {
"message": "Contractar Interacció"
},
"reject": {
"message": "Rebutja"
},
"providerRequest": {
"message": "a $1 li agradaria connectar-se al teu compte"
},
"providerRequestInfo": {
"message": "Aquesta pàgina està demanant accès a la teva adreça"
},
"about": {
"message": "Informació"
},
Expand Down Expand Up @@ -366,9 +354,6 @@
"directDepositEtherExplainer": {
"message": "Si ja tens una mica d'Ether, la manera més ràpida de posar Ether al teu nou moneder és per dipòsit directe."
},
"dismiss": {
"message": "Omet"
},
"done": {
"message": "Fet"
},
Expand Down
6 changes: 0 additions & 6 deletions app/_locales/cs/messages.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
{
"confirmClear": {
"message": "Naozaj chcete vymazať schválené webové stránky?"
},
"reject": {
"message": "Odmítnout"
},
"providerRequestInfo": {
"message": "Níže uvedená doména se pokouší požádat o přístup k API Ethereum, aby mohla komunikovat s blokádou Ethereum. Před schválením přístupu Ethereum vždy zkontrolujte, zda jste na správném místě."
},
"account": {
"message": "Účet"
},
Expand Down
15 changes: 0 additions & 15 deletions app/_locales/da/messages.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
{
"privacyModeDefault": {
"message": "Privatlivstilstand er nu som udgangspunkt aktiveret"
},
"chartOnlyAvailableEth": {
"message": "Skema kun tilgængeligt på Ethereum-netværk."
},
"confirmClear": {
"message": "Er du sikker på, at du vil rydde godkendte hjemmesider?"
},
"contractInteraction": {
"message": "Kontraktinteraktion"
},
"reject": {
"message": "Afvis"
},
"providerRequest": {
"message": "$1 ønsker at forbinde til din konto"
},
"providerRequestInfo": {
"message": "Denne side anmoder om at se din nuværende kontoadresse. Sørg altid for, at du stoler på de sider du interagerer med."
},
"about": {
"message": "Om"
},
Expand Down Expand Up @@ -369,9 +357,6 @@
"directDepositEtherExplainer": {
"message": "Hvis du allerede har Ether, er den hurtigste måde at få Ether i din nye tegnebog ved direkte indbetaling."
},
"dismiss": {
"message": "Luk"
},
"done": {
"message": "Færdig"
},
Expand Down
15 changes: 0 additions & 15 deletions app/_locales/de/messages.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
{
"privacyModeDefault": {
"message": "Der Datenschutzmodus ist jetzt standardmäßig aktiviert"
},
"chartOnlyAvailableEth": {
"message": "Die Grafik ist nur in Ethereum-Netzwerken verfügbar."
},
"confirmClear": {
"message": "Möchten Sie die genehmigten Websites wirklich löschen?"
},
"contractInteraction": {
"message": "Vertragsinteraktion"
},
"reject": {
"message": "Ablehnen"
},
"providerRequest": {
"message": "$1 möchte sich mit deinem Account verbinden"
},
"providerRequestInfo": {
"message": "Diese Website fordert Zugriff auf Ihre aktuelle Kontoadresse. Stellen Sie immer sicher, dass Sie den Websites vertrauen, mit denen Sie interagieren."
},
"about": {
"message": "Über"
},
Expand Down Expand Up @@ -354,9 +342,6 @@
"directDepositEtherExplainer": {
"message": "Wenn du bereits Ether besitzt, ist die sofortige Einzahlung die schnellste Methode Ether in deine neue Wallet zu bekommen."
},
"dismiss": {
"message": "Schließen"
},
"done": {
"message": "Fertig"
},
Expand Down
15 changes: 0 additions & 15 deletions app/_locales/el/messages.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
{
"privacyModeDefault": {
"message": "Η Λειτουργία Απορρήτου είναι πλέον ενεργοποιημένη από προεπιλογή"
},
"chartOnlyAvailableEth": {
"message": "Το διάγραμμα είναι διαθέσιμο μόνο σε δίκτυα Ethereum."
},
"confirmClear": {
"message": "Είστε βέβαιοι ότι θέλετε να διαγράψετε τους εγκεκριμένους ιστότοπους;"
},
"contractInteraction": {
"message": "Αλληλεπίδραση Σύμβασης"
},
"reject": {
"message": "Απόρριψη"
},
"providerRequest": {
"message": "Αίτημα σύνδεσης στον λογαριασμό σας από $1"
},
"providerRequestInfo": {
"message": "Ο ιστότοπος ζητά πρόσβαση για προβολή της τρέχουσας διεύθυνσης του λογαριασμού σας. Να σιγουρεύεστε πάντα ότι εμπιστεύεστε τους ιστότοπους με τους οποίους αλληλεπιδράτε."
},
"about": {
"message": "Σχετικά με"
},
Expand Down Expand Up @@ -366,9 +354,6 @@
"directDepositEtherExplainer": {
"message": "Αν έχετε ήδη κάποια Ether, ο πιο γρήγορος τρόπος για να πάρετε τα Ether στο νέο σας πορτοφόλι με άμεση κατάθεση."
},
"dismiss": {
"message": "Παράβλεψη"
},
"done": {
"message": "Τέλος"
},
Expand Down
Loading