24 Commits

Author SHA1 Message Date
3d09446bed Include hash attribute in HTMX include 2024-07-08 11:03:37 -05:00
70b883cfe0 Upgrade to HTMX 2.0 and serve script from application 2024-07-08 10:57:24 -05:00
19c6801d12 Update hardcoded git reference in index template 2024-02-20 10:45:20 -06:00
5354c950fa Adjust generators size on mobile and allow horizontal scroll instead of text overflow 2024-02-17 15:08:52 -06:00
7796fcb9b4 Move static assets into data dir 2024-02-17 13:44:55 -06:00
2889c7e9e7 Use EFF wordlist. Embed wordlist into executable. Move views/public to assets/public. Move wordlist into assets. 2023-01-11 15:23:01 -06:00
d5fa1ffd7a Add copy link button. Enhance buttons by reverting their text when a new copy event occurs. 2022-12-27 14:11:41 -06:00
ee8686bc83 Bugfix on UI elements when no secret is found. Add copy secret button on successful retrieval. Include deployment information and updated example files. 2022-12-27 12:25:14 -06:00
c3a3374e45 Remove valid for text notice, remove arrows on number input styling 2022-12-26 22:42:09 -06:00
117d8793dd Completely overhaul frontend styling for clearer usage. Add support for entering either the full link or just link key for viewing secrets without opening links anew. 2022-12-26 21:49:21 -06:00
785a797b7c l o w e r c a s e 2022-12-24 11:35:36 -06:00
2a4787fc84 Refactor excessive do notation. Complete oldschool and gibberish generators. Add frontend functionality for selecting from multiple generator styles. Add config requirement for admin email. Add admin email to header. 2022-08-07 16:22:09 -05:00
3c4c4f8d30 Add footer with link to git repo. Update docker-stack example to include shared Sqlite volume 2022-08-06 21:00:44 -05:00
1be99a44ff Add favicon. Significantly modify layout and presentation of site by including flexbox for main content. Remove logo from index. Code whitespace updates on Sharing-SQLite 2022-08-05 19:43:39 -05:00
910859bce6 Track the number of views for secrets, delete secrets on next lookup attempt when the lifespan or max viewcount is exceeded. 2022-08-05 15:42:37 -05:00
ca73ed7982 Read encrypted secret entries from the database and decode/unencrypt appropriately, add max duration/view count entries for the database and frontend interface, update README to remove graceful JS degradation goal, remove a few wordlist entries 2022-07-31 17:41:54 -05:00
bbe315c450 Random generation of xkcd-style passwords now functioning as expected, web interface now serves randomly generated xkcd-style passwords and provides a button to create a sharing link for them when a new generation is requested. Misc stylesheet updates. Generalized the hx-vals helper function in Core.Templates to be useful for arbitrary endpoints that will need to include specific JSON. Added configuration field for dbSalt which will be used as an encryption salt in the next commit when passwods are stored encrypted in the DB instead of in plaintext. 2022-07-29 17:40:45 -05:00
b1a4251d95 Started building generation functionality, added useful haddock-style comments for several functions 2022-07-22 12:27:35 -05:00
10e3724a1a Added loading indicators via htmx-indicator, removed unattributable ASCII art and replaced with the project logo from the README, minor touches on stylesheet and added clickable links in the display. 2022-07-19 15:57:30 -05:00
1718e69533 Squashed commit of the following:
commit 9aaa5307e7671bc8bcc444733a6e38999f346772
Author: James Eversole <james@eversole.co>
Date:   Mon Jul 18 16:03:43 2022 -0500

    Completed migration to SQLite, full feature parity with original Mongo/Couch implementations. Added ability to submit new passwords with full frontend functionality. Generation of random links now functions as expected and Unix Epoch Timestamps are now included in DB entries.
2022-07-18 16:04:10 -05:00
f1b18f3b47 Updated README with project goals, started prototyping frontend and added route for primary css dist, added reasonable functionality for requesting a password directly via link as well as patching index DOM when requesting HTML stub from /pw 2022-07-03 21:48:40 -05:00
7274560398 Updated hardcoded paths in view templates to be accurate for /pw endpoint 2022-07-02 19:00:31 -05:00
f088ff3690 Beginnings of HTMX frontend interaction, able to request particular PWs by link names and patch the DOM appropriately 2022-07-02 18:37:30 -05:00
d15b40a339 Added Shakespeare templating and setup basic Maybe-bound lookup for conditional rendering of the page or an appropriate notice that the password doesn't exist. 2022-07-02 13:23:53 -05:00