Commit graph

1042 commits

Author SHA1 Message Date
Prateek Sunal
63ae524352 fix: enable hardened runtime 2024-02-13 19:59:12 +05:30
Prateek Sunal
b5328d84ab fix: notary 2024-02-13 18:53:04 +05:30
Prateek Sunal
529331f82d feat: add notarization to dmg 2024-02-13 18:12:07 +05:30
Prateek Sunal
d3e8463cb7 chore: lint fix 2024-02-13 17:02:40 +05:30
Prateek Sunal
9c4c2d2b52 fix: disable use offline 2024-02-13 16:41:13 +05:30
Prateek Sunal
1fcc66558e fix: installer not found mac ci 2024-02-12 21:29:25 +05:30
Prateek Sunal
5279a134e0
[FEAT] Auth Desktop (#416)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description

This is a PR that makes the auth build runnable on the Desktop platform.
Below is a screenshot for the same:
![Screenshot 2024-01-10 at 10 35
14 PM](https://github.com/ente-io/auth/assets/41370460/9efe00f9-9a49-48f9-a822-d578ddbe82bf)

Some things to note:
- LocalAuth will be bypassed on unsupported platforms (desktop)
- Switched to sodium and sodium-libs from flutter_sodium.
- QR code library is incompatible with desktop, So I removed access to
those pages.
- Bumped some dependencies and done some lint fixes
- Also add save key option as send file may not help on desktop (related
#380)


https://github.com/ente-io/auth/assets/41370460/3f3471e8-45f6-4146-88ac-b763d4f38b32

- Update Recovery Key Card UI
![Screenshot 2024-01-19 at 12 31
31 AM](https://github.com/ente-io/auth/assets/41370460/19db35cd-f151-4587-a74b-6c53bca0f23f)

So this is a step towards more updated code and better multiplatform
support.

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [ ] 🖼️ New icon
- [x]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [x] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore

---------

Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-02-12 21:06:41 +05:30
Neeraj Gupta
f6f8b1ca3d
Fix inconsitent state (#446)
If user clicks on New user login flow, abandon that in between and tries
account recovery via recovery code, we were using old volatile password
in memory for generating the recovery_key for UI.

This PR fixes that issue.
2024-02-09 13:41:00 +05:30
Neeraj Gupta
27c6d8ffde
Export fixes (#445) 2024-02-09 12:28:36 +05:30
Neeraj Gupta
310d32def2
Log improvements (#444) 2024-02-09 10:47:03 +05:30
forthcoming73
cb1376f338
add icon for notesnook (#443)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description

add the svg icon for notesnook

<!--- Describe your changes in detail -->

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [x] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2024-02-05 10:04:42 +05:30
github-actions[bot]
a1fcc82cb5
New Translations (#441)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-02-04 14:56:16 +05:30
github-actions[bot]
5d0f919027
New Translations (#440)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-02-02 18:53:45 +05:30
Sven
8766face0d
Add 6 new icons (#436)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description

<!--- Describe your changes in detail -->
Added 6 new icons
- Crowdpear
- DEGIRO
- Esketit
- Estateguru
- Kagi
- Mintos

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [x] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2024-02-02 18:53:15 +05:30
Kusha Gharahi
1f42338c2a
Add Lastpass Authenticator import (#437)
## Description

Added LastPass Authenticator import and tested it on iOS with my
import.json file.

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [ ] 🖼️ New icon
- [x]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2024-02-02 12:48:44 +05:30
github-actions[bot]
30f5358ac0
New Translations (#431)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-01-27 18:52:44 +05:30
Tanguy
cb0b965fb7
Fix Filen icon (#426)
Fix Filen SVG

<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description

- Fix Filen SVG that was showing like that on my iPhone:

![image](https://github.com/ente-io/auth/assets/98350888/e543cf82-2d46-48df-b846-57fba0b42945)

- Remove GitLab slug that was not necessary (GitLab = gitlab)

<!--- Describe your changes in detail -->

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [ ] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [x] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore

---------

Co-authored-by: Vishnu Mohandas <vishnu@ente.io>
2024-01-27 14:01:42 +05:30
Nikunj Kumar Nakum
c9cea27aaa
Added Kite icon (#427)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description

Added kite icon.

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [x] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore

---------

Co-authored-by: Vishnu Mohandas <vishnu@ente.io>
2024-01-27 13:35:46 +05:30
iamgitcat
87d23a5327
Add some more icons (#430)
## Description

Add icons for BorgBase, Gosuslugi, IVPN, IceDrive, Yandex, Murena
(eCloud), pCloud

## Type of Change

- [x] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2024-01-27 12:37:45 +05:30
github-actions[bot]
8def85a2ad
New Translations (#414)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-01-25 17:10:03 +05:30
iamgitcat
f4d8cd9e48
Add Koofr icon (#423)
## Description

Add Koofr icon

## Type of Change

- [x] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore

---------

Co-authored-by: Vishnu Mohandas <vishnu@ente.io>
2024-01-17 11:34:32 +05:30
Nikunj Kumar Nakum
b785bfde57
Optimized SVG icons for #405 (#418)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description
Sizing issue with recent #405 icons was fixed by optimizing svg files.
<!--- Describe your changes in detail -->

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [ ] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [x] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2024-01-12 13:07:09 +05:30
green
eb4d43307e
Update Authy guide (#415)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description

Adds info on Bitwarden import support

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [ ] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [x] 📝 Documentation
- [ ] 🗑️ Chore
2024-01-08 19:47:32 +05:30
Vishnu Mohandas
66bd489904
Fix privacy screen colors (#411)
### Description
Fixes this monstrosity.

<img width="320" alt="Screenshot 2024-01-06 at 10 17 28 PM"
src="https://github.com/ente-io/auth/assets/1161789/30964804-8e7e-429b-b4f0-6963059c931b">
  
  
### Note
On iOS, the colors could still be inverted if the user has opted for a
theme different from the system theme, since `LaunchImage` is
dynamically provided by iOS
2024-01-07 04:23:38 +05:30
Vishnu Mohandas
1b7b6e457b
v2.0.30 (#409) 2024-01-04 10:18:57 +05:30
Zxhir
61c53e9d10
Add the TCPShield logo (#408)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description

<!--- Describe your changes in detail -->

This PR adds the TCPShield. TCPShield is a highly available DDoS
protection platform, mainly used in Minecraft servers. I have also
re-aranged NextDNS and Skiff in the custom-icons.json to make it in
alphabetical order.

<!--- Put an `x` in all the boxes that apply: -->

- [x] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2024-01-04 09:20:44 +05:30
Antoni Siek
13fe460069
fix: bitwarden imports (#406)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description

<!--- Describe your changes in detail -->

There are two issues with Bitwarden imports ATM:

1. TOTP secrets in Bitwarden are sometimes saved in a format of
`otpauth://[...]` and sometimes in a format of secret only. Ente auth
assumes that only the second one is used, which is not true and causes
an exception. To make both methods work as excepted, in the code, I'm
checking which format is used and create `Code` object accordingly.
2. Sometimes items in Bitwarden exports are not accounts, but rather
notes. In that case, the `item` variable in the
`_processBitwardenExportFile` method does not contain the `login`
attribute, which causes an exception. I've added a check to make sure
that the item we're parsing is indeed an account.

It is my first time making something in Dart, so please don't be too
harsh about my code :)

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [ ] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [x] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2024-01-03 12:53:26 +05:30
Aadarsh Patel
6b4e4b6822
Fix: dark icon hard to see (#407)
## Type of Change

- [x]  New feature (non-breaking change which adds functionality)

## Description

Fall-back to theme's icon-color when the icon-color is too light or
dark. Fixes #403

Logic
1. If RGB values are almost equal (`#000000`, `#0F0F11`, `#212121`,
`#27272A`, `#464949`, `#FFFFFF`)
2. Compute its luminance/brightness (cache this value as it is an
expensive task)
3. If its too bright or dark, return theme's icon-color

I've manually set the threshold values for brightness in light-theme to
be `0.7` and in dark-theme to be `0.05`



https://github.com/ente-io/auth/assets/53324291/aa1e8413-631d-4039-8c08-f8c4d1856fdb

Co-authored-by: aadarsh-patel <aadarsh@zuzu.in>
2024-01-03 12:48:23 +05:30
Nikunj Kumar Nakum
8b9592c06e
Update custom-icons.json (#405)
## Description
added following custom icons
1 epic games
2 brave creators
3 gitlab
4 rust users forum
5 uphold

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [x] 🖼️ New icon
2023-12-28 10:53:43 +05:30
Neeraj Gupta
4a0301fe46
Build decrypt binary for all major arch (#401)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description

<!--- Describe your changes in detail -->

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [ ] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2023-12-19 09:41:29 +05:30
Neeraj Gupta
14820ad7a0
Make screen scrollable (#400)
## Description
Fixes https://github.com/ente-io/auth/issues/398

<!--- Describe your changes in detail -->

## Type of Change


- [x] 🛠️ Bug fix (non-breaking change which fixes an issue)
2023-12-19 09:05:02 +05:30
Vishnu Mohandas
974c34a569
Ignore spaces within provider names (#395)
Fixes #393.

Tested with an entry within Simple Icons ("Deutsche Bahn") and an entry
within our Custom Icons ("Anycoin Direct").
2023-12-18 21:37:39 +05:30
github-actions[bot]
4dc31c3e60
New Translations (#397)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-12-18 21:35:53 +05:30
github-actions[bot]
fa60a22443
New Translations (#396)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-12-18 10:34:15 +05:30
Lukas Bestle
cf55c48b4c
Add several custom icons (#394)
## Description

Added custom icons that don't meet the requirements of Simple Icons
(especially because they are full-color).

The Airtable and Discourse icons are an upgrade to the single-color
icons in Simple Icons, the others are not available yet at all.

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [x] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2023-12-17 17:17:32 +05:30
github-actions[bot]
56290b1df6
New Translations (#391)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-12-15 14:09:16 +05:30
github-actions[bot]
8d468dbc91
New Translations (#389)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-12-07 08:03:24 +05:30
Muhammed Ayimen Abdul Latheef
1a654fe748
Added: When the app is in the background, hided te contents of the app (#387)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description

Added: Hide the contents of the app, when is it in the background - Both
android and ios

In android, it shows a blank white/black background, when in background

In iOS, it shows the launch icon, when in background


![photo_2023-12-06_12-53-02](https://github.com/ente-io/auth/assets/54765537/4f787e6a-984c-4eae-9028-303a32009838)

Android Physical Device


![photo_2023-12-06_12-52-55](https://github.com/ente-io/auth/assets/54765537/b8802cf5-0db0-473e-8be8-8cf3bf7b29a5)

Android stimulator

Also, compared the bitwarden apps in android, the flow is same

iOS Device: Need to verify 
@ua741 @vishnukvmd Could you run on iOS devices and verify it?

Closes #47 

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [ ] 🖼️ New icon
- [x]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2023-12-06 13:50:36 +05:30
github-actions[bot]
1606b74b40
New Translations (#388) 2023-12-06 09:47:32 +05:30
Vishnu Mohandas
8d82851741
Update CONTRIBUTION.md (#385) 2023-12-04 10:48:51 +05:30
github-actions[bot]
a6ca5697d9
New Translations (#381)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-12-04 08:12:11 +05:30
github-actions[bot]
e01ba961a6
New Translations (#378)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-11-27 22:43:46 +05:30
Neeraj Gupta
a256bc9922
EmailVerification: Improve copy for warning (#377) 2023-11-27 22:02:18 +05:30
Neeraj Gupta
77632b3241 Bump version 2.0.26+226 2023-11-27 18:39:22 +05:30
Neeraj Gupta
d02e02a326
Sign up: Add field for 'hear us from' info (#376) 2023-11-27 18:06:49 +05:30
github-actions[bot]
7fe314a16a
New Translations (#375)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-11-27 18:04:23 +05:30
green
504fa939d2
Add CLI tool + disclaimer to Authy guide (#373)
<!--
  Thanks for contributing!

Provide a description of your changes below and a general summary in the
title

Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->

## Description
Adds a hyperlink to Neeraj's CLI tool shown in ente Discord, as well as
a disclaimer to check all accounts have been imported before deleting
Authy data
<!--- Describe your changes in detail -->

## Type of Change

<!--- Put an `x` in all the boxes that apply: -->

- [ ] 🖼️ New icon
- [ ]  New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ]  Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ]  Build configuration change
- [x] 📝 Documentation
- [ ] 🗑️ Chore
2023-11-27 08:33:49 +05:30
Neeraj Gupta
17f5a7996a
Change Password: Confirm before signing out from other devices (#374) 2023-11-26 16:27:25 +05:30
Neeraj Gupta
cf6b4f5423
Enable import for 2fas v4 (#372) 2023-11-26 14:19:33 +05:30
github-actions[bot]
ca46765760
New Translations (#371)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2023-11-26 13:40:47 +05:30