Skip to content

Commit

Permalink
authme 3.0.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer authored Dec 7, 2021
1 parent 899f7ee commit 648c97c
Show file tree
Hide file tree
Showing 59 changed files with 4,763 additions and 3,760 deletions.
4 changes: 4 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@

1. Read Contributing rules
1. Lint the code: `npm run lint`

## Notes

- Changelog: `git log --pretty=format:'* [[%h](https://github.com/Levminer/authme/commit/%h)] %s (%cs)' --since=5.weeks > log.txt`
30 changes: 30 additions & 0 deletions .github/workflows/beta-artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Beta Artifacts
on:
push:
branches: [beta]
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
include:
- os: macos-latest
NAME: mac
- os: ubuntu-latest
NAME: linux
- os: windows-latest
NAME: windows
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '15'
- name: Install modules
run: npm ci
- name: Run build
run: npm run build:beta
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: authme-latest-alpha-${{matrix.NAME}}-x64-installer-portable
path: dist
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
node_modules
__pycache__
build
dist
build.json
log.txt
4 changes: 4 additions & 0 deletions .tailwindrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ module.exports = {
screens: {
lg: "1400px",
},

stroke: (theme) => ({
black: theme("colors.gray.900"),
}),
},
},
corePlugins: {
Expand Down
67 changes: 67 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
### Authme 3.0.0-beta.0 (2021. December 07.)

* [[2d50b33](https://github.com/Levminer/authme/commit/2d50b33)] Prepare for beta release (2021-12-07)
* [[cf23072](https://github.com/Levminer/authme/commit/cf23072)] Check for manual update #157 (2021-12-06)
* [[e884673](https://github.com/Levminer/authme/commit/e884673)] Fix details and summary (2021-12-05)
* [[d28f48f](https://github.com/Levminer/authme/commit/d28f48f)] Remove old dropdown (2021-12-05)
* [[c322e16](https://github.com/Levminer/authme/commit/c322e16)] New dropdown style (2021-12-05)
* [[ba9e964](https://github.com/Levminer/authme/commit/ba9e964)] Fix dropdown animations (2021-12-04)
* [[0c45f18](https://github.com/Levminer/authme/commit/0c45f18)] Update HTML CSP (2021-12-04)
* [[02e08d0](https://github.com/Levminer/authme/commit/02e08d0)] Main IPCs refactor (2021-12-04)
* [[f4b81e3](https://github.com/Levminer/authme/commit/f4b81e3)] Drop dragonfly css (2021-12-04)
* [[25262f4](https://github.com/Levminer/authme/commit/25262f4)] Make settings clear data dialog modal (2021-12-03)
* [[969cb78](https://github.com/Levminer/authme/commit/969cb78)] Update Electron (2021-12-03)
* [[a41051a](https://github.com/Levminer/authme/commit/a41051a)] Settings scroll back to top on page change (2021-12-03)
* [[aec765b](https://github.com/Levminer/authme/commit/aec765b)] Lock Authme when PC goes to sleep or locked #160 (2021-12-03)
* [[e5d0a6e](https://github.com/Levminer/authme/commit/e5d0a6e)] Disable unavailable tray and menu items (2021-12-02)
* [[d3a3542](https://github.com/Levminer/authme/commit/d3a3542)] Update packages (2021-12-02)
* [[67d13f9](https://github.com/Levminer/authme/commit/67d13f9)] Fix show password button (2021-12-02)
* [[4239223](https://github.com/Levminer/authme/commit/4239223)] Fix quick shortcuts (2021-12-02)
* [[5cccc38](https://github.com/Levminer/authme/commit/5cccc38)] Fix summary tab selection #129 (2021-12-01)
* [[16fc783](https://github.com/Levminer/authme/commit/16fc783)] Fixing close to tray when closing main window (2021-11-30)
* [[e30848b](https://github.com/Levminer/authme/commit/e30848b)] Check for common password when creating an encryption key (2021-11-29)
* [[28d9c2d](https://github.com/Levminer/authme/commit/28d9c2d)] Fix show password buttons (2021-11-28)
* [[32cdd6e](https://github.com/Levminer/authme/commit/32cdd6e)] Settings page better wording (2021-11-28)
* [[b773263](https://github.com/Levminer/authme/commit/b773263)] Export page better instructions (2021-11-27)
* [[80ffa58](https://github.com/Levminer/authme/commit/80ffa58)] Edit page better instructions and edit codes (2021-11-26)
* [[05655c1](https://github.com/Levminer/authme/commit/05655c1)] Import page better instructions (2021-11-26)
* [[792f72a](https://github.com/Levminer/authme/commit/792f72a)] Check for codes.authme version (2021-11-26)
* [[0aab107](https://github.com/Levminer/authme/commit/0aab107)] Auto update for windows #157 (2021-11-26)
* [[51c0575](https://github.com/Levminer/authme/commit/51c0575)] Manual update for Linux and Mac (2021-11-26)
* [[8d80e63](https://github.com/Levminer/authme/commit/8d80e63)] Update packages (2021-11-26)
* [[44499f5](https://github.com/Levminer/authme/commit/44499f5)] Confirm load codes (2021-11-24)
* [[79ebfe3](https://github.com/Levminer/authme/commit/79ebfe3)] Import from webcam available #141 (2021-11-24)
* [[290d463](https://github.com/Levminer/authme/commit/290d463)] Speed improvements (2021-11-24)
* [[8d506c0](https://github.com/Levminer/authme/commit/8d506c0)] Switch to .appimage from .deb (2021-11-24)
* [[5d42f64](https://github.com/Levminer/authme/commit/5d42f64)] Settings page layout fixes (2021-11-24)
* [[a484d03](https://github.com/Levminer/authme/commit/a484d03)] HTML CSP, build number improvements (2021-11-24)
* [[ef7cbf2](https://github.com/Levminer/authme/commit/ef7cbf2)] Edit page appdata #158, logging (2021-11-23)
* [[249be93](https://github.com/Levminer/authme/commit/249be93)] Fixing appdata path #158 (2021-11-23)
* [[f3701c7](https://github.com/Levminer/authme/commit/f3701c7)] Fixing preload settings folder and documentation (2021-11-22)
* [[e495f2f](https://github.com/Levminer/authme/commit/e495f2f)] Fixing settings folder #158 (2021-11-21)
* [[e2d03c0](https://github.com/Levminer/authme/commit/e2d03c0)] Update packages (2021-11-20)
* [[6a25bb1](https://github.com/Levminer/authme/commit/6a25bb1)] New folder structure #158 (2021-11-20)
* [[10a239b](https://github.com/Levminer/authme/commit/10a239b)] Better, smoother window open (2021-11-19)
* [[b4005b8](https://github.com/Levminer/authme/commit/b4005b8)] Fixing window content protection #156 (2021-11-19)
* [[c40430a](https://github.com/Levminer/authme/commit/c40430a)] Improved window content protection #156 (2021-11-19)
* [[6e50970](https://github.com/Levminer/authme/commit/6e50970)] Update packages (2021-11-19)
* [[232f7fc](https://github.com/Levminer/authme/commit/232f7fc)] Update packages (2021-11-17)
* [[fce76c6](https://github.com/Levminer/authme/commit/fce76c6)] Respect prefers-reduced-motion #129 (2021-11-17)
* [[2445187](https://github.com/Levminer/authme/commit/2445187)] Main process deprecate old encryption #154 (2021-11-17)
* [[cd6f318](https://github.com/Levminer/authme/commit/cd6f318)] Bump version to 3.0.0 (2021-11-17)
* [[ab5806b](https://github.com/Levminer/authme/commit/ab5806b)] Edit page deprecate old encryption #154 (2021-11-17)
* [[a9bbc88](https://github.com/Levminer/authme/commit/a9bbc88)] Export page deprecate old encryption #154 (2021-11-16)
* [[fa11195](https://github.com/Levminer/authme/commit/fa11195)] Application page deprecate old encryption #154 (2021-11-16)
* [[7a4e993](https://github.com/Levminer/authme/commit/7a4e993)] Confirm page deprecate old encryption #154 (2021-11-16)
* [[1fb0f90](https://github.com/Levminer/authme/commit/1fb0f90)] Landig page deprecate old encryption #154 (2021-11-16)
* [[33f14ff](https://github.com/Levminer/authme/commit/33f14ff)] Remove application page animations (2021-11-15)
* [[134b7ea](https://github.com/Levminer/authme/commit/134b7ea)] New .authme format fixes #152 (2021-11-14)
* [[78067dd](https://github.com/Levminer/authme/commit/78067dd)] Display shortcuts shorter (2021-11-14)
* [[0afec65](https://github.com/Levminer/authme/commit/0afec65)] Export page .authme rollback file support #152 (2021-11-13)
* [[4ecb0a3](https://github.com/Levminer/authme/commit/4ecb0a3)] Import page .authme rollback file support #152 (2021-11-13)
* [[e1ab6f8](https://github.com/Levminer/authme/commit/e1ab6f8)] Application page .authme rollback file support #152 (2021-11-13)
* [[cc88b15](https://github.com/Levminer/authme/commit/cc88b15)] Edit page .authme rollback file support #152 (2021-11-13)
* [[b182a9e](https://github.com/Levminer/authme/commit/b182a9e)] Edit page support .authme file (2021-11-13)
* [[92746aa](https://github.com/Levminer/authme/commit/92746aa)] Option to delete all codes on edit page (2021-11-11)
* [[e0298a4](https://github.com/Levminer/authme/commit/e0298a4)] Bump version (2021-11-10)
* [[2692801](https://github.com/Levminer/authme/commit/2692801)] Merge branch 'main' into dev (2021-11-09)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- Simple cross platform two-factor authentication app for desktop.

[![Downloads](https://img.shields.io/github/downloads/levminer/authme/total?style=for-the-badge)](https://github.com/Levminer/authme/releases)
[![Downloads](https://img.shields.io/github/downloads/levminer/authme/total?style=for-the-badge)](https://tooomm.github.io/github-release-stats/?username=Levminer&repository=authme)
[![Support](https://img.shields.io/badge/Support-PayPal-blue?style=for-the-badge)](https://paypal.me/levminer)
[![License](https://img.shields.io/github/license/levminer/authme?style=for-the-badge)](https://github.com/Levminer/authme/blob/main/LICENSE.md)

Expand Down
73 changes: 51 additions & 22 deletions app/application/index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<!-- meta -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self' data:; style-src 'self' 'unsafe-inline'" />
<meta charset="UTF-8" />
<title>Authme</title>
<!-- js -->
<script defer src="./src/js/index.js"></script>
<!-- css -->
<link rel="stylesheet" href="../.././src/dragonfly.css" />
<link rel="stylesheet" href="../.././src/animate.css" />
<link rel="stylesheet" href="../.././src/global.css" />
<link rel="stylesheet" href="../../src/tailwind.css" />
<link rel="stylesheet" href="./src/css/index.css" />
<!-- js -->
<script defer src="../.././src/scrollout.js"></script>
<script defer src="./src/js/index.js"></script>
<script defer src="./src/js/save.js"></script>
<!-- favicon -->
<link rel="shortcut icon" href="../../img/icon.ico" type="image/x-icon" />
</head>
<body>
<!-- build number -->
<div class="w-full text-white bg-black font-bold build hidden">
<div class="container flex flex-row items-center justify-center px-6 py-2 mx-auto">
<div class="w-full text-white bg-black font-bold build hidden z-10 top-0 sticky">
<div class="container flex flex-row items-center justify-center py-2 mx-auto">
<div class="flex">
<p class="mx-3 flex flex-row build-content">You are running a pre release version of Authme!</p>
<h5 class="mx-3 flex flex-row m-0 font-bold build-content text-center">You are running a pre release version of Authme!</h5>
</div>
</div>
</div>
Expand Down Expand Up @@ -71,11 +67,11 @@

<p class="mx-3 flex flex-row relative top-3">
New Authme version available. Please update your app!
<button type="button" onclick="downloadUpdate()" class="mr-2 ml-3 py-1 px-3 relative -top-2.5 bg-white hover:bg-transparent text-black border-2 border-white hover:text-white cursor-pointer transition ease-in duration-200 text-center text-base font-bold rounded-full">
<button type="button" onclick="manualUpdate()" class="mr-2 ml-3 py-1 px-3 relative -top-2.5 bg-white hover:bg-transparent text-black border-2 border-white hover:text-white cursor-pointer transition ease-in duration-200 text-center text-base font-bold rounded-full">
<svg xmlns="http://www.w3.org/2000/svg" class="relative top-1" height="20" width="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4" />
</svg>
Download update
Manual update
</button>
<button type="button" onclick="releaseNotes()" class="py-1 px-3 relative -top-2.5 bg-white hover:bg-transparent text-black border-2 border-white hover:text-white cursor-pointer transition ease-in duration-200 text-center text-base font-bold rounded-full">
<svg xmlns="http://www.w3.org/2000/svg" class="relative top-1" height="20" width="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
Expand All @@ -93,6 +89,38 @@
</div>
</div>

<!-- auto update -->
<div class="w-full text-white bg-popup-blue font-bold autoupdate hidden">
<div class="container flex flex-row items-center justify-between px-6 py-4 mx-auto">
<div class="flex">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 relative top-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 13l-3 3m0 0l-3-3m3 3V8m0 13a9 9 0 110-18 9 9 0 010 18z" />
</svg>

<div class="mx-3 flex flex-row relative top-3">
<p id="updateText" class="mr-3">New Authme version available. Starting the update...</p>
<button type="button" id="updateButton" onclick="updateRestart()" class="hidden mr-3 py-1 px-3 relative -top-2.5 bg-white hover:bg-transparent text-black border-2 border-white hover:text-white cursor-pointer transition ease-in duration-200 text-center text-base font-bold rounded-full">
<svg xmlns="http://www.w3.org/2000/svg" class="relative top-1" height="20" width="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" />
</svg>
Restart
</button>
<button type="button" onclick="releaseNotes()" class="py-1 px-3 relative -top-2.5 bg-white hover:bg-transparent text-black border-2 border-white hover:text-white cursor-pointer transition ease-in duration-200 text-center text-base font-bold rounded-full">
<svg xmlns="http://www.w3.org/2000/svg" class="relative top-1" height="20" width="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z" />
</svg>
Release notes
</button>
</div>
</div>
<a onclick="this.parentElement.style.display='none'" id="updateClose" class="hidden p-1 transition-colors duration-200 transform rounded-md hover:text-gray-800 cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
</a>
</div>
</div>

<!-- info -->
<div class="w-full text-white bg-popup-yellow font-bold info hidden">
<div class="container flex flex-row items-center justify-between px-6 py-4 mx-auto">
Expand Down Expand Up @@ -190,7 +218,7 @@ <h3 class="pt-3">Save code(s)</h3>
<h4>Save your code(s) to your computer for future use.</h4>
<div class="flex flex-row items-center justify-center">
<div class="gap-3">
<button class="buttoni" onclick="saveChooser()">
<button class="buttoni" onclick="saveCodes()">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" />
</svg>
Expand All @@ -205,18 +233,19 @@ <h4>Save your code(s) to your computer for future use.</h4>
<div class="search_container relative inline-block">
<input name="search" spellcheck="false" id="search" class="input w-80 hidden text-2xl mb-1" onkeyup="search()" onkeydown="search()" />
<!-- search icon -->
<svg id="search_icon" xmlns="http://www.w3.org/2000/svg" class="hidden searchIcon h-6 w-6 relative top-[-50px] right-[150px] pointer-events-none" fill="none" viewBox="0 0 24 24" stroke="black">
<svg id="searchIcon" xmlns="http://www.w3.org/2000/svg" class="hidden searchIcon h-6 w-6 relative top-[-50px] right-[150px] pointer-events-none" fill="none" viewBox="0 0 24 24" stroke="black">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z" />
</svg>
<!-- filter icon -->
<svg id="filter_icon" onclick="dropdown()" xmlns="http://www.w3.org/2000/svg" class="hidden searchIcon h-6 w-6 relative top-[-50px] left-[150px] cursor-pointer" fill="none" viewBox="0 0 24 24" stroke="black">
<path id="filter_path" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z" />
<svg id="filterIcon" onclick="dropdown()" xmlns="http://www.w3.org/2000/svg" class="hidden searchIcon h-6 w-6 relative top-[-50px] left-[150px] cursor-pointer" fill="none" viewBox="0 0 24 24" stroke="black">
<path id="filterPath" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z" />
</svg>
<br />
<!-- dropdown -->
<div class="dropdown-content animation">
<a tabindex="-1" id="link0" class="dropdown-link" href="#"> <input type="checkbox" tabindex="-1" id="checkbox0" name="checkbox1" class="checkbox" /> Name </a>
<a tabindex="-1" id="link1" class="dropdown-link" href="#"> <input type="checkbox" tabindex="-1" id="checkbox1" name="checkbox1" class="checkbox" /> Description </a>
<div class="relative inline-block">
<div id="dropdownContent0" class="animation hidden absolute -top-8 left-6 z-20 w-48 mt-2 bg-white rounded-2xl overflow-hidden border-white border-2">
<a href="#" class="cursor-default block no-underline text-xl px-2 py-2 transform duration-200 ease-in text-black"> <input type="checkbox" tabindex="-1" id="checkbox0" name="checkbox1" class="checkbox" /> Name </a>
<a href="#" class="cursor-default block no-underline text-xl px-2 py-2 transform duration-200 ease-in text-black"> <input type="checkbox" tabindex="-1" id="checkbox1" name="checkbox1" class="checkbox" /> Description </a>
</div>
</div>
</div>
<!-- grid -->
Expand Down
Loading

0 comments on commit 648c97c

Please sign in to comment.