1
0
Fork 0
Commit graph

262 commits

Author SHA1 Message Date
Kitteh 4d04070446 Use tsx syntax in NavBar. 2021-05-22 14:26:02 +01:00
Kitteh a7acb3bd23 Run linter. 2021-05-22 13:54:30 +01:00
Kitteh 331d8c9e81 Make TOTPView load data right away. 2021-05-22 13:40:12 +01:00
Kitteh 8f2e91bf6b Rework TOTPView.tsx. 2021-05-22 13:31:22 +01:00
Kitteh 23cc9b60c9 Use tsx syntax in TOTPView. 2021-05-22 13:06:50 +01:00
Kitteh e4d749cce0 Add tsx syntax to KeyValueSecret. 2021-05-22 12:22:00 +01:00
Kitteh 0309dac899 Add tsx syntax to KeyValueView.tsx. 2021-05-22 11:12:55 +01:00
Kitteh eae3598611 Add tsx syntax to KeyValueNew. 2021-05-22 10:51:06 +01:00
Kitteh 2944a68af2 Add tsx syntax to KeyValueDelete. 2021-05-22 10:06:07 +01:00
Kitteh bc78661c49 Make KeyValueVersions use tsx syntax. 2021-05-22 10:00:36 +01:00
Kitteh a95c6d250f Start working on using preact and TSX. 2021-05-22 09:50:55 +01:00
Kitteh e22ee5a5dc Add userpass user deletion. 2021-05-21 11:13:13 +01:00
Kitteh e63a5f1736 Add the ability to create new users. 2021-05-21 10:59:31 +01:00
Kitteh 462bbcbb88 Add working userpass user edit page. 2021-05-21 10:52:34 +01:00
Kitteh ee2b1f8411 Add non-working userpass edit screen. 2021-05-21 10:19:17 +01:00
Kitteh 5e82683f6c Make a Form element to make creating Forms easier. 2021-05-20 16:17:05 +01:00
Kitteh 5a2b22f7fa add UserPassUserViewPage. 2021-05-20 15:15:02 +01:00
Kitteh 70f26da106 Add i18n in auth view. 2021-05-20 14:35:16 +01:00
Kitteh 7180edf2a3 Lint code. 2021-05-20 14:25:06 +01:00
Kitteh 0273793569 Rename some pageState things. 2021-05-20 14:12:12 +01:00
Kitteh 555825787c Add UserPassUsersListPage. 2021-05-19 10:45:52 +01:00
Kitteh 2cad885975 Add listing to AuthViewConfigPage. 2021-05-19 10:27:00 +01:00
Kitteh f72801a687 Use normalize.css. 2021-05-18 18:21:26 +01:00
Kitteh a6e26c6d72 Add list to auth home page. 2021-05-18 12:32:13 +01:00
Kitteh b66da7bd9d Add auth home. 2021-05-18 11:42:11 +01:00
Kitteh ec3ebe3356 Add access home page. 2021-05-18 11:28:05 +01:00
Kitteh db02e0e91b Move Secrets home to its own page and move secrets pages into their own folder. 2021-05-18 11:10:47 +01:00
Kitteh c71e530f3f Move makeElement to z-makeelement library. 2021-05-16 18:17:12 +01:00
Kitteh 26c5bd0467 Remove global pageContent. 2021-05-16 13:40:39 +01:00
Kitteh 6edd037f8d Stop using "void " on async methods. 2021-05-16 12:37:23 +01:00
Kitteh d658f468a5 Revert "Trial using lazy loading imports."
This reverts commit 718dd762cf.
2021-05-16 12:04:47 +01:00
Kitteh 718dd762cf Trial using lazy loading imports. 2021-05-16 11:40:31 +01:00
Kitteh 2d0733bfc7 Lint code. 2021-05-16 10:35:35 +01:00
Kitteh 3b251ee46f Move to z-pagerouter library! 2021-05-16 10:27:21 +01:00
Kitteh 615de8e5d4 Make a PageListType. 2021-05-16 09:59:35 +01:00
Kitteh 5c6e21f349 Move Page to Types. 2021-05-16 09:47:53 +01:00
Kitteh 364679d4e4 Remove PageState rom PageRouter. 2021-05-16 09:42:43 +01:00
Kitteh 1e95a2af87 Make PageType seporate rom Page. 2021-05-16 09:38:19 +01:00
Kitteh 4e390d3e96 Remove pageState in formatDistance.ts. 2021-05-15 10:58:54 +01:00
Kitteh 89bedc8be5 Run linter. 2021-05-15 10:56:08 +01:00
Kitteh 67bd89db1a Rework PageRouter, Page, pageContent and SecretTitleElement. 2021-05-15 10:54:39 +01:00
Kitteh 8f448b80fc Decouple the page routing system from pageState. 2021-05-14 13:38:29 +01:00
Kitteh f3060ae507 Make totp new a button instead o a link. 2021-05-13 11:56:15 +01:00
Kitteh f4cf50bb27 Add the ability to create new transit keys. 2021-05-13 07:11:11 +01:00
Kitteh 31c99a7fdb fix form select option colour. 2021-05-13 06:33:59 +01:00
Kitteh 66a67ca7cf Add the ability to create new Transit engines. 2021-05-13 06:28:51 +01:00
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