-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Improve offline behavior Fixes #16 * Improve account loading flow in remote service - Fix last selected account not restoring on app reopen #19 * improve account lock logic and migrations * Update version * test action context info * update actions to get proper commit sha
- Loading branch information
Showing
14 changed files
with
159 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# .github/actions/prepare-sha/action.yml | ||
name: 'Prepare Commit SHA' | ||
description: '' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup Environment (PR) | ||
if: ${{ github.event_name == 'pull_request' }} | ||
shell: bash | ||
run: | | ||
echo "LAST_COMMIT_SHA=${{ github.event.pull_request.head.sha }}" >> ${GITHUB_ENV} | ||
- name: Setup Environment (Push) | ||
if: ${{ github.event_name == 'push' }} | ||
shell: bash | ||
run: | | ||
echo "LAST_COMMIT_SHA=${GITHUB_SHA}" >> ${GITHUB_ENV} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "authleu", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"author": "Leonardo 'Leu' Pereira <[email protected]>", | ||
"homepage": "https://github.com/jlcvp/AuthLeu", | ||
"description": "Open source authenticator and 2fa code generator to use across multiple devices and platforms", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ export enum AppVersion { | |
UNKNOWN = 'UNKNOWN', | ||
V1_0_0 = '1.0.0', | ||
V2_0_0 = '2.0.0', | ||
V2_1_0 = '2.1.0' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
export interface EncryptionOptions { | ||
encryptionActive: boolean; | ||
shouldPerformPeriodicCheck: boolean; | ||
shouldAlertToActivateEncryption: boolean; | ||
} | ||
|
||
export const ENCRYPTION_OPTIONS_KEY = 'encryptionOptions'; | ||
export const ENCRYPTION_OPTIONS_PASSWORD_KEY = '_eok'; | ||
export const ENCRYPTION_OPTIONS_DEFAULT: EncryptionOptions = { | ||
encryptionActive: false, | ||
shouldPerformPeriodicCheck: true, | ||
shouldAlertToActivateEncryption: true | ||
shouldPerformPeriodicCheck: true | ||
}; | ||
export const LAST_PASSWORD_CHECK_KEY = 'lastPasswordCheck'; | ||
export const PASSWORD_CHECK_PERIOD = 1000 * 60 * 60 * 24 * 7; // 7 days |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.