Commit Graph

770 Commits

Author SHA1 Message Date
Prateek Sunal
58e2bc1f6c chore: lint fix 2024-10-24 00:43:28 +05:30
Prateek Sunal
269e68f32a fix: migration logic update 2024-10-24 00:43:04 +05:30
Prateek Sunal
5a7a5d6778 Merge remote-tracking branch 'origin/main' into auth-linux-fixes 2024-10-24 00:34:30 +05:30
Prateek Sunal
d75bb9e8c9 fix: rethrow error after migrate db fails 2024-10-24 00:29:56 +05:30
Prateek Sunal
6004016331 Merge remote-tracking branch 'refs/remotes/origin/auth-linux-fixes' into auth-linux-fixes 2024-10-24 00:28:20 +05:30
Prateek Sunal
ab4fae7922 fix: migrate db on mac 2024-10-24 00:26:22 +05:30
Neeraj Gupta
88452b991c [auth] fix formatting in custom_icons (#3773)
## Description

The PR #3482 broke the [lint for
auth](https://github.com/ente-io/ente/actions/runs/11096891779/job/31533991573?pr=3482).
This PR fixes that and also formats the document.

## Tests
2024-10-21 17:18:15 +05:30
Crowdin Bot
397215c30b New Crowdin translations by GitHub Action 2024-10-21 01:17:18 +00:00
Prateek Sunal
da5ae6a38e fix(auth): add comma and fix formatting 2024-10-20 00:24:03 +05:30
Prateek Sunal
4000adaee4 Merge remote-tracking branch 'origin/main' into auth-linux-fixes 2024-10-20 00:11:25 +05:30
Brian Choromanski
6f5c1b8e3f [auth] Bugfix/auth icons with period (#3559)
## Description

Previously it would check if the substring that precedes the first `.`
or `(` of the lowercase spaceless provider title was a valid icon.

Now: 
1. Checks if lowercase spaceless provider title is valid icon
2. If the title contains a `(` it checks if the preceding part of the
title is a valid icon
3. If the title contains a `.` it checks if the preceding part of the
title is a valid icon

| Provider Title | Previous Check | Now Checks |
| -------- | ------- | ----------|
| Login.gov | `login` | `login.gov`  |
| GOV.UK (Brian) | `gov` | `gov.uk(brian)` then `gov.uk`  |
| PayPal.com (Visa) | `paypal`  | `paypal.com(visa)`  then
`paypal.com`  then `paypal` |
| Amazon.com | `amazon`  | `amazon.com`  then `amazon` |

This PR resolves issue #3473
2024-10-17 12:13:27 +05:30
Kristen McWilliam
9637c16684 fix(linux): generic icon on Wayland sessions
This change sets the program name to the
application ID, which helps various systems like
GTK and desktop environments map this running
application to its corresponding .desktop file.
This ensures better integration by allowing the
application to be recognized beyond its binary
name.
2024-10-16 16:35:58 -04:00
Neeraj Gupta
8ee62da280 [auth] updated icons for dark/light modes (#3535) 2024-10-16 12:51:53 +05:30
Neeraj Gupta
832841e424 [auth] fix: don't use GNOME header bar outside of GNOME (#3688)
Currently, Flutter defaults to always using GTK
window decorations regardless of the window
manager, when running Wayland. This makes the app
look out of place on KDE Plasma and other Qt-based desktop environments.

This change checks the XDG_CURRENT_DESKTOP
environment variable to determine the running
desktop environment, and if it is GNOME continues
to use the GTK header, otherwise it uses the Qt
header.

| Before | After |
|--------|--------|
|
![before](https://github.com/user-attachments/assets/db7161fa-3d87-4c62-bc38-e74763cb2304)
|
![after](https://github.com/user-attachments/assets/f6ece7d6-f2cc-4ee7-b3d2-3eda722aee67)
|
2024-10-15 10:19:43 +05:30
Brian Choromanski
d2110afe68 [auth] Alt names not being formatted when processing (#3516)
## Description

The alt names are not being lowercased or striped of whitespace.
2024-10-15 10:07:28 +05:30
LauShyO
78c51a7042 [auth]Added Logos & Added altName (#3482)
Added logos for:

Band
LINUX DO
Binance
jianguoyun
tianyiyun
aliyun
Lark
tencent cloud
qiniuyun
volcengine
BaiduCloud
NeteaseMail
BBS.NGA

Added altName for:

okx
Nintendo
2024-10-15 10:05:08 +05:30
Crowdin Bot
704db942da New Crowdin translations by GitHub Action 2024-10-14 01:17:22 +00:00
Kristen McWilliam
2f9ff47720 fix: don't use GNOME header bar outside of GNOME
Currently, Flutter defaults to always using GTK
window decorations regardless of the window
manager, when running Wayland. This makes the app
look out of place on KDE Plasma and other Qt-based
desktop environments.

This change checks the XDG_CURRENT_DESKTOP
environment variable to determine the running
desktop environment, and if it is GNOME continues
to use the GTK header, otherwise it uses the Qt
header.
2024-10-13 18:19:09 -04:00
Prateek Sunal
b9a76c369e Merge remote-tracking branch 'origin/main' into auth-linux-fixes 2024-10-11 22:49:33 +05:30
Neeraj Gupta
61236650dc [auth] Add custom icons for Simplicity, RealMe, and PBTech (#3549)
Added custom icons for:
- [Simplicity](https://simplicity.kiwi/), an investment/superannuation
provider
- [RealMe](https://www.realme.govt.nz/), a government authentication
service
- [PBTech](https://www.pbtech.co.nz/), a tech retailer

None of which currently have icons in the authenticator.
2024-10-11 02:26:41 +05:30
Neeraj Gupta
1400604687 [auth] New translations (#3599)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-10-11 02:21:26 +05:30
Neeraj Gupta
aed85f2327 [auth][win] remove win_http_client.dart (#3578)
## Description

This wasn't really fixing the SSL Certificate issue faced by multiple
Windows 10 & 11 user.

The new guide should be followed instead:
https://help.ente.io/auth/troubleshooting/windows-login

## Tests
2024-10-11 02:20:51 +05:30
Prateek Sunal
726ee5918b fix(auth): don't require libsodium for some packaging 2024-10-09 18:06:06 +05:30
Prateek Sunal
d3c0dbaa64 fix: dependencies and generic name 2024-10-08 21:19:43 +05:30
Prateek Sunal
cdeb1aa9bc fix(auth): update coping mechanism 2024-10-08 21:13:36 +05:30
Prateek Sunal
337743bcf0 fix: update database path 2024-10-08 20:48:24 +05:30
Prateek Sunal
c2413a599e fix: copy internal files recursively 2024-10-08 19:19:22 +05:30
Prateek Sunal
10b4abf9cd fix: remove dependency on desktop webview 2024-10-08 18:34:40 +05:30
Prateek Sunal
b72f047526 Merge remote-tracking branch 'origin/main' into auth-linux-fixes 2024-10-08 17:53:59 +05:30
Prateek Sunal
802aabdda5 fix: try to solidify the logic for directory migration 2024-10-08 17:50:09 +05:30
Prateek Sunal
d79cbf5e5f fix(linux): update metadata according to flatpak 2024-10-07 22:37:17 +05:30
Ashil
c56a96454a [auth] Auth lockscreen fixes (#3545)
## Description

1. Removed the logout button from the lockscreen if app in without
backup state
2. Show a warning dialog when user try to set the app lock for the 1st
time

## Tests
<img
src="https://github.com/user-attachments/assets/1f12d651-12ee-4ad5-9a17-cc0c0b3c4d61"
width=200>
2024-10-07 14:02:00 +05:30
Crowdin Bot
90b994c752 New Crowdin translations by GitHub Action 2024-10-07 01:17:23 +00:00
Prateek Sunal
0dfa8ceee1 chore(macos): bump version locks 2024-10-05 16:50:59 +05:30
Prateek Sunal
b970f047e4 [auth][macos] show hidden window when user clicks on the dock (#3582)
## Description

In the current version of Ente Auth, nothing happens when the user
closes the Ente Auth window on macOS and then clicks on the Ente Auth
icon in the dock.

This PR changes this behaviour and brings it in-line with other macOS
applications by showing the main application window when the user clicks
on the dock icon.

## Tests
2024-10-05 16:23:03 +05:30
Tomasz Mikus
2c417cd711 Autofocus the search box when the "Search" button is clicked.
This commit adds the much-needed ability to autofocus the search box on macOS.
2024-10-05 10:44:44 +01:00
Tomasz Mikus
fca8e13c03 Add the ability to show the Ente Auth window on macOS after it was closed.
Currently, nothing happens when the user closes the Ente Auth window on macOS and then clicks on the Ente Auth icon in the dock. This commit changes this behaviour and brings it in-line with other macOS applications by showing the main application window when the user clicks on the dock icon.
2024-10-05 10:29:55 +01:00
Prateek Sunal
2dbbff0185 fix(auth): remove win http client 2024-10-04 23:30:20 +05:30
Prateek Sunal
83990e1160 chore: lint fixes 2024-10-04 22:18:53 +05:30
Prateek Sunal
44d8f8b96f chore: update windows files 2024-10-04 22:18:26 +05:30
Prateek Sunal
f76e64157b chore(auth): update packages 2024-10-04 22:18:03 +05:30
Aman Raj Singh Mourya
bd01340315 [auth] minor fixes 2024-10-04 21:41:05 +05:30
Aman Raj Singh Mourya
c50067bf7d [auth] Update string 2024-10-04 21:39:04 +05:30
wiki-Bird
7357d0599b Update custom-icons.json / custom icons with Simplicity, RealMe, and PBTech 2024-10-02 16:02:29 +13:00
Aman Raj Singh Mourya
ac86b3097c [auth] string fixes 2024-10-01 16:49:12 +05:30
Aman Raj Singh Mourya
063a8dd792 [auth] Extract strings 2024-10-01 16:40:13 +05:30
Aman Raj Singh Mourya
ea5fa5b252 [auth] warning dialog 2024-10-01 00:47:13 +05:30
Aman Raj Singh Mourya
94298cc1b5 [auth] hide logout button from lockscreen when app in useWithoutBackup state 2024-10-01 00:39:00 +05:30
Aman Raj Singh Mourya
f2e3b0e0bf [auth] key to store the status of applock warning 2024-10-01 00:38:23 +05:30
Crowdin Bot
3f7a42ba49 New Crowdin translations by GitHub Action 2024-09-30 04:58:27 +00:00