14 Commits

Author SHA1 Message Date
7796fcb9b4 Move static assets into data dir 2024-02-17 13:44:55 -06:00
0e8144b82c Don't allow configuration of dbFile path or name; use the DATADIR and a hardcoded path 2024-02-17 08:41:39 -06:00
dbe5cb2985 Update environment variables to support custom data directory 2024-02-17 08:23:10 -06:00
5484699565 Remove Dhall dependency and ReaderT; use dotenv; create encryption key on startup if it doesn't exist 2024-02-17 07:46:09 -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
cb45c4ce1d Start formatting with stylish-haskell. Start refactoring for clearer types. 2023-01-10 21:53:10 -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
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
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
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
f7a61dcddc Organize application logic by core/feature breakouts, add dhall configuration support and add a range of new config options in the Reader, add example configuration/deployment files 2022-07-01 20:34:29 -05:00