1
0
Fork 0
Commit graph

329 commits

Author SHA1 Message Date
Kitteh 8841ff02c7 Add tsx syntax to TransitDecrypt. 2021-05-23 15:23:40 +01:00
Kitteh beeba8cb87 Add tsx syntax to TransitViewSecret. 2021-05-23 15:06:17 +01:00
Kitteh 17a45e6c76 Add tsx syntax to TransitView.tsx. 2021-05-23 14:55:17 +01:00
Kitteh 36a5da4ff6 Port some elements to tsx. 2021-05-23 14:33:41 +01:00
Kitteh f002004c79 Add tsx syntax to NewTransitKey. 2021-05-23 14:04:19 +01:00
Kitteh dd0bf90197 Add tsx syntax to AccessHome. 2021-05-23 13:54:01 +01:00
Kitteh 7672eaa32a Remove some elements that are no longer in use. 2021-05-23 13:46:35 +01:00
Kitteh c86b5f9f61 Add tsx syntax to AuthViewConfig. 2021-05-23 13:43:08 +01:00
Kitteh dfbfcea253 Add tsx syntax to AuthHome. 2021-05-23 13:36:18 +01:00
Kitteh 9db9630187 Add tsx syntax in UserPassUserView. 2021-05-23 13:20:56 +01:00
Kitteh c2d8be3f09 Add tsx syntax to UserPassUsersList. 2021-05-23 13:05:06 +01:00
Kitteh bd262b53e7 Add tsx syntax to UserPassUserNew. 2021-05-23 12:58:04 +01:00
Kitteh 0041c18a61 Add tsx syntax to UserPassUserEdit. 2021-05-23 12:53:45 +01:00
Kitteh 1c9713a7fd Add tsx syntax to UserPassUserDelete. 2021-05-23 12:34:20 +01:00
Kitteh 351ad5bbfe Add tsx syntax to all engine creation screens. 2021-05-23 12:28:31 +01:00
Kitteh 7568bc6d8e Add tsx syntax to TOTPNew and rename TOTP page IDs. 2021-05-23 12:12:25 +01:00
Kitteh 1ccb432cbc Implement deleting of TOTP codes. Closes #2. 2021-05-22 15:40:03 +01:00
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
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