1
0
Fork 0
Commit graph

366 commits

Author SHA1 Message Date
Kitteh ceaa2e8783 Add the ability to create new TOTP engines. 2021-05-13 06:22:54 +01:00
Kitteh 004b7b291f Add ability to create new KV secrets engines. 2021-05-13 06:13:39 +01:00
Kitteh c29dbfd766 Use async more. 2021-05-12 18:26:32 +01:00
Kitteh b3470be6f1 Make changePage async. 2021-05-12 17:37:09 +01:00
Kitteh 9c50ca2432 Run prettier when using eslint to make code consistantly formatted. 2021-05-12 16:01:04 +01:00
Kitteh 2d0c1d7689 Allow changing language without reloading page. 2021-05-12 15:32:21 +01:00
Kitteh 6914edbeb7 Make code compile again due to broken imports sorting. 2021-05-12 15:25:25 +01:00
Kitteh 9aef234ff3 Broken commit but moved TitleBar to seporate module. 2021-05-12 15:22:08 +01:00
Kitteh 74aabc5d74 Redo some async things. 2021-05-12 14:54:25 +01:00
Kitteh 799931f31a Add more @type packages. 2021-05-10 12:07:19 +01:00
Kitteh a347939896 Lint code harder. 2021-05-10 11:35:14 +01:00
/dev/urandom ad7e3bc35e even more new strings 2021-05-09 20:03:38 +03:00
Kitteh 74092cf62d Improve BUILD_STRING. 2021-05-09 16:31:01 +01:00
Kitteh 67f9703a33 Make main.ts print the commit short hash. 2021-05-09 16:15:51 +01:00
Kitteh c635c2c5c7 Add TransitRewrap page. 2021-05-09 16:02:04 +01:00
Kitteh 562ced442e Tidy up api and TransitEncrypt/Decrypt pages. 2021-05-09 15:04:20 +01:00
Kitteh c1ce81ba0d Make TransitViewSecret page look prettyer. 2021-05-09 14:48:47 +01:00
Kitteh ba3df3af78 Move makeTile to Tile.ts 2021-05-09 14:21:40 +01:00
Kitteh 66217ccadf Remove debug log. 2021-05-09 12:44:49 +01:00
Kitteh 71eee5d31a Make onclick work again on TransitViewSecret. 2021-05-09 12:42:31 +01:00
Kitteh a7d415a074 Accidentally broke CopyableInputBox style. 2021-05-09 12:39:31 +01:00
Kitteh e16ef675cb Expand TokenInfo type. 2021-05-09 12:35:40 +01:00
Kitteh ba7e619bdf Hide buttons when you can't encrypt or decrypt. 2021-05-09 11:59:39 +01:00
Kitteh 9339490e8e Organise API methods. 2021-05-09 11:18:18 +01:00
Kitteh d7d86b6bc8 Add upload support to transit encrypt/decrypt. Closes #4. 2021-05-09 11:06:45 +01:00
Kitteh 7bbd1e26ba Add token invalid error message. Closes #12. 2021-05-09 10:11:20 +01:00
Kitteh e3831e7ee1 Make prism work again. 2021-05-09 10:08:04 +01:00
Kitteh 40387b5a48 Lint code. 2021-05-08 03:40:44 +01:00
Kitteh 8a33dfd36f Add typing to TransitEncrypt.ts 2021-05-08 03:36:26 +01:00
Kitteh d34518650b Add typing to TransitDecrypt.ts. 2021-05-08 03:33:22 +01:00
Kitteh 0e38e0fb30 Add typing to main.ts. 2021-05-08 03:28:37 +01:00
Kitteh d9dcb4af1e Add typing to TransitViewSecret.js. 2021-05-08 03:17:06 +01:00
Kitteh d00826fa67 Add typing to TransitView.ts. 2021-05-08 03:13:50 +01:00
Kitteh 8b0512a3ec Add typing to KeyValueDelete.ts. 2021-05-08 03:11:09 +01:00
Kitteh bb6e5a7310 Add typing to KeyValueNew.ts. 2021-05-08 03:10:21 +01:00
Kitteh e180c44e50 Add typing to KeyValueSecret.ts. 2021-05-08 03:07:57 +01:00
Kitteh cf6af8efe7 Add typing to KeyValueSecretsEdit.ts. 2021-05-08 03:03:34 +01:00
Kitteh aba3321e90 Add typing to KeyValueView.ts. 2021-05-08 03:00:28 +01:00
Kitteh c50252a77d Add typing to KeyValueVersions.ts. 2021-05-08 02:58:04 +01:00
Kitteh 489792fb8d Add typing to NewTOTP.ts. 2021-05-08 02:56:08 +01:00
Kitteh 5971ae7bd8 Add typing to TOTPView.ts. 2021-05-08 02:48:20 +01:00
Kitteh 22824d4b90 Add typing to Unseal.ts. 2021-05-08 02:09:08 +01:00
Kitteh ab3cc5fa70 Add typing to SetVaultURL.ts. 2021-05-08 01:57:08 +01:00
Kitteh f1ba0a06ce Add typing to SetVaultURL.ts. 2021-05-08 01:54:38 +01:00
Kitteh fd46140ad2 Add typing to PwGen.ts. 2021-05-08 01:45:35 +01:00
Kitteh dd9a63a8db Add typing to formatDistance.ts. 2021-05-08 00:58:28 +01:00
Kitteh 5a4df25547 Add typing to QRScanner.ts. 2021-05-08 00:54:50 +01:00
Kitteh e712af95de Add typing to Margin.ts and MarginInline.ts. 2021-05-08 00:38:02 +01:00
Kitteh 3bfba4d3fc Add typing to CopyableModal.ts. 2021-05-08 00:30:44 +01:00
Kitteh 73cc78125f Add typing to CopyableInputBox.ts. 2021-05-08 00:28:31 +01:00
Kitteh 1b1a7a1d2d Add typing to API/*.ts. 2021-05-08 00:21:58 +01:00
Kitteh 8351b81b82 Add typing to internalErrors.ts. 2021-05-07 23:35:43 +01:00
Kitteh c1455c25a4 Add typing to Page.ts. 2021-05-07 23:33:58 +01:00
Kitteh ac7372029d Add typing to allPages.ts. 2021-05-07 23:28:49 +01:00
Kitteh 99cef8f26d Add typing to playground.ts. 2021-05-07 23:26:33 +01:00
Kitteh 859717e482 Add typing to pageUtils.ts. 2021-05-07 23:21:38 +01:00
Kitteh a237443aca Add typing to PageState.ts. 2021-05-07 23:08:02 +01:00
Kitteh 3e92979ce8 Start work on adding typescript to codebase. 2021-05-07 22:23:52 +01:00
Kitteh ea45339a11 Add rtl direction support and playground.js 2021-05-07 20:41:40 +01:00
Kitteh 44cefde7b6 Make refresh on Password Generator screen work. 2021-05-07 15:58:45 +01:00
Kitteh 8aa4dd1c4f Overhaul password generator. Closes #6. 2021-05-07 15:47:13 +01:00
Kitteh b2e4437b46 Add length slider to password generator page. 2021-05-07 15:11:10 +01:00
Kitteh 949c64e211 Fix the Refresh button. 2021-05-07 14:24:22 +01:00
Kitteh 3dadc99580 Add some more handy Object/Map utils. 2021-05-07 14:19:34 +01:00
Kitteh ccf420d107 Run linter. 2021-05-07 14:10:18 +01:00
Kitteh 36ee4708e6 Use Promise.all in TOTPView. 2021-05-07 14:02:59 +01:00
Kitteh 234f735870 makeElement is now so much cleaner. 2021-05-07 12:36:47 +01:00
Kitteh 53e4edaf66 Make elements better. 2021-05-07 12:07:51 +01:00
Kitteh 38341f3475 Run linter. 2021-05-07 11:54:44 +01:00
Kitteh 193fc4d5d6 Remove index.js in api.js. 2021-05-07 11:54:26 +01:00
Kitteh 13ea95a552 Move API unctions to their own iles. 2021-05-07 11:53:26 +01:00
Kitteh 01519b1878 Make eslint happy. 2021-05-07 11:30:41 +01:00
Kitteh 06332f16bd Tidy up api.js a bit. 2021-05-07 11:23:30 +01:00
Kitteh 5409d64409 Move pageState into a js file instead of in global window. 2021-05-07 11:07:03 +01:00
Kitteh aa9a58af7c Actually make padding be on correct side. 2021-05-06 12:58:57 +01:00
Kitteh 699f2574a8 Close #15 with temp solution. 2021-05-06 12:52:33 +01:00
Kitteh ae828dfa9f We should be using .bind(this) more when doing this. 2021-05-05 22:05:57 +01:00
Kitteh c7e37b36cd Accidentally broke KeyValueNew. 2021-05-05 21:59:28 +01:00
Kitteh a934c2c746 Move pageState.mountType to arguments in api.js. 2021-05-05 21:56:25 +01:00
Kitteh be0a597dfb Add getObjectKeys. 2021-05-05 21:30:45 +01:00
Kitteh 00780c7e9e Make transit secret view tiles look better. 2021-05-05 18:03:17 +01:00
Kitteh 3e589db3fe Lint Code. 2021-05-05 17:50:35 +01:00
Kitteh d1889c2c6f Removed some console.log statements. 2021-05-05 17:50:02 +01:00
Kitteh dfa448e375 Rework versions and get deletion to work properly. 2021-05-05 17:49:08 +01:00
Kitteh c13b7d04e8 Fix a bug in k/v creation. 2021-05-05 17:09:38 +01:00
Kitteh fb2478705a Fix #26. 2021-05-05 17:03:00 +01:00
purringChaos c1d0bb0331
Merge pull request #25 from slashdevslashurandom/main
ru.js: fix to (versions) and new string
2021-05-03 21:00:48 +01:00
Kitteh 823c93e1d9 Update translations. 2021-05-03 20:59:43 +01:00
/dev/urandom f27e71892c fix to (versions) and new string 2021-05-03 22:30:19 +03:00
Kitteh f6209b119d Rework how to import and adding new translations. 2021-05-03 15:13:30 +01:00
Kitteh 7cddd064f2 Accidentally wrote (edit) instead of (versions) in en.js. 2021-05-03 14:18:56 +01:00
Kitteh 4ac085e176 Remove error reporting in prePageChecks. 2021-05-03 09:32:28 +01:00
Kitteh 27c35861b5 Import prism in right order. 2021-05-03 09:30:22 +01:00
Kitteh 79257dfb13 Sort imports and lint code. 2021-05-03 09:25:42 +01:00
Kitteh 7479fc2ed9 Add vault seal button and rework some errors and checks. 2021-05-03 09:07:47 +01:00
Kitteh 7e022c972d Add correct css classes to transit base64 decode/encode checkboxes. 2021-04-30 19:35:34 +01:00
/dev/urandom d201e712ca added new strings 2021-04-30 18:22:33 +03:00
Kitteh be977af775 Move localStorage operations into pageState. 2021-04-30 10:38:23 +01:00
Kitteh ed72d3bff9 Update french translation. 2021-04-29 13:42:30 +01:00
Kitteh decc37e073 Lint code. 2021-04-29 12:52:00 +01:00
Kitteh ce8e3fe121 fix form select colours. 2021-04-29 11:45:55 +01:00
Kitteh 8e970a75e4 Make CopyableInputBox more usable when using accessability solutions. 2021-04-29 11:12:17 +01:00
Kitteh 4fefad2c16 Add translations on TransitDecryptPage and TransitEncryptPage 2021-04-29 11:03:24 +01:00
Kitteh 76d58d1850 Add translations to TransitViewSecretPage. 2021-04-29 10:51:36 +01:00
Kitteh 61954536e5 Add translations on clipboard copy messages and copyable modal. 2021-04-29 10:38:42 +01:00
Kitteh d8cb522a0a Reshuffle some translations. 2021-04-29 10:22:57 +01:00
Kitteh ad3dc19eff Add missing comma. 2021-04-25 15:51:29 +01:00
Kitteh 42de1173cc Update your_token_expires_in in russian to better work with relative dates. 2021-04-25 15:49:45 +01:00
/dev/urandom 3433c27706 Merge branch 'main' of github.com:slashdevslashurandom/VaultUI 2021-04-24 21:07:41 +03:00
/dev/urandom ccbc44411c new russian strings 2021-04-24 21:04:06 +03:00
Kitteh aa06392bee Update french translation. 2021-04-24 18:42:13 +01:00
Kitteh 3fba14de6c Add a script to check missing translations. 2021-04-24 17:20:39 +01:00
Kitteh 75a927ed62 Run linter. 2021-04-24 16:26:31 +01:00
Kitteh 18f034acd3 Add QR scanner to Unseal page. Closes #22. 2021-04-24 11:19:21 +01:00
Kitteh 228901a68c Add french translation. 2021-04-21 00:02:47 +01:00
Kitteh 980a149b28 Added missing translations. 2021-04-20 23:23:34 +01:00
Kitteh 06179dd0ca Add NewTOTP translations. 2021-04-20 23:23:17 +01:00
Kitteh 19a305d867 Add TOTPView page translations 2021-04-20 23:16:36 +01:00
Kitteh 67465967ab Add translations on KeyValueView page. 2021-04-20 23:12:29 +01:00
Kitteh 99f2aff7ca Add translations to KeyValueVersions page. 2021-04-20 23:08:02 +01:00
Kitteh 368feeb76b Add translations to KeyValueSecretsEdit and fix build. 2021-04-20 23:02:18 +01:00
Kitteh 748036d98a Add missing translations. 2021-04-20 22:55:34 +01:00
Kitteh dc1fa1c815 Add more translations to KeyValueSecret page. 2021-04-20 22:55:07 +01:00
Kitteh 646487610f Add key value secret page translations. 2021-04-20 22:49:33 +01:00
Kitteh 7d677b6b19 Add translations on KeyValueNew page. 2021-04-20 20:38:30 +01:00
Kitteh 93fcb693b5 Add translations on KeyValueDelete and rename titlePrefix to titleSuffix. 2021-04-20 20:32:57 +01:00
Kitteh cc61c26264 Add en translations for Password Generator and Login pages. 2021-04-20 20:19:34 +01:00
Kitteh 71eda16ec3 Make language select page work again. 2021-04-19 20:37:45 +01:00
Kitteh d4fef5323b Add language change screen. 2021-04-19 20:17:07 +01:00
Kitteh a36aa172ab Add translations on unseal page. 2021-04-19 19:45:51 +01:00
Kitteh 65d2961cb0 Get started on adding a language selector. 2021-04-19 11:23:28 +01:00
Riley Apeldoorn a9fea9e661 Added Dutch translation 2021-04-18 20:04:14 +01:00
purringChaos 5c89c0c21f
Load russian translation. 2021-04-18 13:18:14 +01:00
/dev/urandom f8b3a900e8 added russian translation to lines in en.js 2021-04-18 13:17:30 +01:00
/dev/urandom 4dcea3c90c added russian translation to lines in en.js 2021-04-18 14:52:10 +03:00
Laura Hausmann 317a2100fe Update de.js 2021-04-18 12:35:56 +01:00
Laura Hausmann 76537ed99d Update de.js 2021-04-18 12:35:56 +01:00
Laura Hausmann 70be4945da Update de.js 2021-04-18 12:35:56 +01:00
Kitteh 9ef04f25dd Rename Me page to Me/Settings. 2021-04-18 12:07:58 +01:00
Kitteh c0dfff76b0 Solve bug on KeyValueView when not on cubbyhole. 2021-04-18 12:00:26 +01:00
Kitteh 4f8b30ec32 Add translations on Me and Home page. 2021-04-18 11:52:24 +01:00
Kitteh 6a97e3cb85 Set default fallback language back to English. 2021-04-18 11:29:24 +01:00
Kitteh 281156eacc Start work on i18n. 2021-04-18 11:28:55 +01:00
Kitteh 39ab714460 Move token renew, log out, etc to Me page, closes #17. 2021-04-18 11:05:43 +01:00
Kitteh 5be2bf0779 Add copy token button, closes #9. 2021-04-18 10:56:23 +01:00
Kitteh 2c223dc1aa Add description to cubbyhole k/v view, closes #8. 2021-04-18 10:51:52 +01:00
Kitteh 37dba200ac Make TOTP key requirements more lax, closes #13. 2021-04-18 10:44:24 +01:00
Kitteh 3748a2ebbd Switch to eslint. 2021-04-18 10:42:57 +01:00
Kitteh aa6ed9a3e2 Implement base64 decoding option on transit decrypt page.
This completes #14
2021-04-17 12:53:55 +01:00
Kitteh b2c75cf1e6 Add error message when no TOTP codes have been added. 2021-04-17 11:42:06 +01:00
Kitteh 3ba6beca89 Remove global changePage 2021-04-17 11:30:10 +01:00
Kitteh b79e1856ca Remove global "window.pages". 2021-04-17 11:24:43 +01:00
Kitteh 0a2127b626 Move most of currentTitleSecretText's functionality into page.titlePrefix, using less code. 2021-04-17 11:06:34 +01:00
Kitteh 1f6ed6d31e Make the main UI with makeElement. 2021-04-17 10:56:44 +01:00
Kitteh 6baec10b45 Reorganise pages folder. 2021-04-17 10:45:42 +01:00
Kitteh 3fefdbc90d Implement Transit Decrypt Page. 2021-04-17 10:39:07 +01:00
Kitteh dc168e5604 Implement the Transit Encryption page. 2021-04-17 10:29:22 +01:00
Kitteh 01ac2d94bf Start work on TransitEncryptPage. 2021-04-16 18:57:59 +01:00
Kitteh 14d41d06a6 Add link rule on baseMount for type "transit". 2021-04-15 15:54:29 +01:00
Kitteh e0a3106d2e Reformat code. 2021-04-15 15:37:52 +01:00
Kitteh 9fc0f9347b Add icons on TransitViewSecretPage. 2021-04-15 15:28:00 +01:00
Kitteh 752b179f9d Correct name in TransitViewSecret.js 2021-04-15 15:16:37 +01:00
Kitteh 6c6a92b094 Start work on transit pages. 2021-04-15 15:09:43 +01:00
Kitteh 9f40b0b22c Don't require any inputs on NewTOTP page. 2021-04-15 14:07:28 +01:00
Kitteh 011696315a Add missing CSS on Login page. 2021-04-15 13:35:01 +01:00
Kitteh 5915f03f07 Initial Commit. 2021-04-15 13:01:58 +01:00