Skip to content

Commit

Permalink
authme 2.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Oct 12, 2021
1 parent 7406a34 commit 36fda36
Show file tree
Hide file tree
Showing 57 changed files with 3,505 additions and 2,864 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -30,5 +30,6 @@ module.exports = {
"node/no-missing-require": ["warn"],
"node/no-extraneous-require": ["off"],
"node/no-unsupported-features/node-builtins": ["off"],
"node/no-callback-literal": ["off"],
},
}
6 changes: 1 addition & 5 deletions .github/SECURITY.md
Expand Up @@ -13,8 +13,4 @@

## Reporting a Vulnerability

- Please report security vulnerabilitys in email at: <authme@levminer.com>

## Release cycle

- Standard updates coming on Tuesdays if there is something to update and hotfix updates can come on Tuesdays, Thursdays or Saturdays if there is a problem that can not wait until the next Tuesday.
- Please report security vulnerability in email at: <authme@levminer.com>
6 changes: 5 additions & 1 deletion .tailwindrc.js
Expand Up @@ -2,7 +2,7 @@ module.exports = {
mode: "jit",
purge: {
enabled: true,
content: ["./app/**/*.html"],
content: ["./app/**/*.html", "./app/**/*.js"],
},
theme: {
extend: {
Expand Down Expand Up @@ -37,6 +37,10 @@ module.exports = {
borderRadius: {
"2xl": "30px",
},

screens: {
lg: "1400px",
},
},
},
corePlugins: {
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -29,7 +29,7 @@

## Features

- 🔒 Secure: Your codes is secured by AES 256bit encrypton and your own password.
- 🔒 Secure: Your codes is secured by AES 256bit encryption and your own password.
- 🗄️ Import: You can directly import from Google Authenticator or from any 2FA QR code you screenshot.
- ⌨️ Shortcuts: Easily open Authme with custom shortcuts and it can also start when your system starts.

Expand All @@ -40,7 +40,7 @@

## Importing

- From QR codes: You screenshot all the QR codes from your favourite websites, and import all of them to Authme
- From QR codes: You screenshot all the QR codes from your favorite websites, and import all of them to Authme
- From Google Authenticator: Import all of your saved QR codes from your Google Authenticator app.

## Contributing and development
Expand Down
89 changes: 41 additions & 48 deletions app/application/index.html
Expand Up @@ -10,7 +10,6 @@
<link rel="stylesheet" href="./src/css/index.css" />
<!-- js -->
<script defer src="../.././src/scrollout.js"></script>
<script defer src="./src/js/convert.js"></script>
<script defer src="./src/js/index.js"></script>
<script defer src="./src/js/save.js"></script>
<!-- favicon -->
Expand Down Expand Up @@ -128,65 +127,59 @@
</div>

<!-- content -->
<div class="center">
<div class="bg-gray-700 w-3/5 m-auto mt-20 mb-60 rounded-2xl relative text-center content">
<h1 class="h1 mb-5">Authme</h1>
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3" id="choose">
<h3 class="pt-3">Please choose your import file!</h3>
<h4>If you don't have an import file please create one!</h4>
<div class="flex flex-row items-center justify-center">
<div class="gap-3">
<button class="buttoni input" id="input" onclick="loadFile()">
<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="M10 21h7a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v11m0 5l4.879-4.879m0 0a3 3 0 104.243-4.242 3 3 0 00-4.243 4.242z" />
</svg>
Choose import file
</button>
<button class="buttoni" onclick="createFile()">
<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="M9 13h6m-3-3v6m5 5H7a2 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>
Create import file
</button>
</div>
<div class="flex flex-row flex-wrap gap-3 items-center justify-center">
<button class="buttoni input" id="input" onclick="loadFile()">
<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="M10 21h7a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v11m0 5l4.879-4.879m0 0a3 3 0 104.243-4.242 3 3 0 00-4.243 4.242z" />
</svg>
Choose import file
</button>
<button class="buttoni" onclick="createFile()">
<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="M9 13h6m-3-3v6m5 5H7a2 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>
Create import file
</button>
</div>
<br />
</div>
<div class="mx-auto rounded-2xl bg-gray-800 w-2/3" id="starting">
<h3 class="pt-3">Getting started</h3>
<h4>Useful options</h4>
<div class="flex flex-row items-center justify-center">
<div class="gap-3">
<button class="buttoni" onclick="configureSettings()">
<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="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
</svg>
Configure settings
</button>
<button class="buttoni" onclick="supportDevelopment()">
<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="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z" />
</svg>
Support development
</button>
</div>
<div class="flex flex-row flex-wrap gap-3 items-center justify-center">
<button class="buttoni" onclick="configureSettings()">
<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="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
</svg>
Configure settings
</button>
<button class="buttoni" onclick="supportDevelopment()">
<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="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z" />
</svg>
Support development
</button>
</div>
<h4>Importing files</h4>
<div class="flex flex-row items-center justify-center">
<div class="gap-3">
<button class="buttoni" onclick="readDocs()">
<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="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" />
</svg>
Read online docs
</button>
<button class="buttoni" onclick="sampleImport()">
<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="M9 12h6m-6 4h6m2 5H7a2 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>
Sample import file
</button>
</div>
<div class="flex flex-row flex-wrap gap-3 items-center justify-center">
<button class="buttoni" onclick="readDocs()">
<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="M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9" />
</svg>
Read online docs
</button>
<button class="buttoni" onclick="sampleImport()">
<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="M9 12h6m-6 4h6m2 5H7a2 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>
Sample import file
</button>
</div>
<br />
</div>
Expand Down
24 changes: 16 additions & 8 deletions app/application/src/css/index.css
Expand Up @@ -8,12 +8,6 @@ h4 {
font-size: 1.5rem;
}

.center {
top: -70px;
width: 1000px;
height: auto;
}

.button11 {
color: black;
background: white;
Expand Down Expand Up @@ -86,6 +80,12 @@ h4 {
height: 270px;
}

@media (max-width: 1199.98px) {
.grid {
width: 90%;
}
}

.grid:last-child {
margin-bottom: 50px;
}
Expand Down Expand Up @@ -113,8 +113,12 @@ h4 {
}

.input1 {
width: 90px;
font-size: 1.3rem;
width: 128px !important;
font-size: 20px;
display: flex;
justify-content: center;
align-items: center;
user-select: all !important;
}

.input2 {
Expand Down Expand Up @@ -216,3 +220,7 @@ a {
user-select: all;
margin-bottom: 10px;
}

.text2 {
font-size: 26px !important;
}
45 changes: 0 additions & 45 deletions app/application/src/js/convert.js

This file was deleted.

0 comments on commit 36fda36

Please sign in to comment.