55 Commits

Author SHA1 Message Date
66cf9d4600 More explicit error handling and messages when required environment variables are missing 2024-02-20 07:48:54 -06:00
5072fb4df4 Clarify README further, ensure production logger is used when set to PRODUCTION environment 2024-02-18 19:34:16 -06:00
d713f9b4e6 Add containerless instructions to run the application 2024-02-18 19:11:53 -06:00
a1edace600 Update both README and LICENSE (still ISC) 2024-02-18 19:04:28 -06:00
5354c950fa Adjust generators size on mobile and allow horizontal scroll instead of text overflow 2024-02-17 15:08:52 -06:00
4909bb9c96 Extensive commenting of functions; refactor some duplicate pattern matching logic 2024-02-17 14:56:13 -06:00
7796fcb9b4 Move static assets into data dir 2024-02-17 13:44:55 -06:00
c26c7e8696 Allow users to opt out of reading anything from the expected environment file location 2024-02-17 09:28:47 -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
f065300113 Update deployment details 2024-02-17 08:34:26 -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
8545b969f3 \n 2024-02-16 18:35:42 -06:00
6f684564ed Update README 2024-02-16 18:35:12 -06:00
b4a5da0ed1 Merge branch 'feature/nixify-and-saltine' 2024-02-16 18:30:37 -06:00
9ad3d1ee7a Working saltine encryption and decryption 2024-02-16 18:30:06 -06:00
c883e4d9e9 Moving on from Purr 2023-06-16 16:32:26 -05:00
f9c3a40c99 Add README warning that project is currently broken due to a change in crypto libraries 2023-05-07 14:04:25 -05:00
1ad7ce3440 Remove nix2container from flake, update dev shell config 2023-05-07 13:08:47 -05:00
a9c0841592 Stop using a Cabal library to achieve reasonable Docker image sizes 2023-05-05 19:38:59 -05:00
a05d227138 Resolve cached naming issue; statically link Haskell dependencies 2023-05-04 07:45:02 -05:00
9efdc01828 Pure nix flake; replace crypto-simple with Saltine; update README and TODO 2023-05-02 21:26:40 -05:00
b4bbf6e5a7 Add --impure flag for native build; add disclaimer that I'm working on dropping the impure requirement 2023-05-02 18:41:00 -05:00
a04b129e37 Update README for Nix; add TODO 2023-05-02 18:39:25 -05:00
e95f9e4433 Flakeify repository and remove Stack 2023-05-02 18:35:04 -05:00
ed2ebc91b8 Longer pure random password offering. Remove some wordlist options. 2023-01-16 19:21:04 -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
84c49319a6 Add UPX executable compression to Docker build in order to reduce binary and docker image sizes significantly 2022-12-29 17:57:34 -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
5ce04d5bb0 Add missing stack setup for initializing repo 2022-12-27 12:37:10 -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
efc7f64ed3 Update LICENSE and README for plaintext 2022-12-24 11:35:35 -06:00
689f4bb4b7 Remove DeltaChat group 2022-12-24 11:35:25 -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
478384aae9 Secrets are now stored as AES encrypted -> Base64 encoded strings, retrieval is still plaintext and will need to be updated to reflect the required unencoding and decryption process 2022-07-29 20:31:58 -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
cb013e5bf7 Updated example config file and docker-stack YAML to reflect SQLite requirements 2022-07-18 16:07:04 -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
6a0b5b0144 Squashed commit of the following:
commit 86ee3c4d262916bec531ad5616273b391cdffeb3
Author: James Eversole <james@eversole.co>
Date:   Tue Jul 5 20:09:22 2022 -0500

    Refactored findByLink for modularity, started prototyping document creation

commit 65b68df295069edb57adcdc16a3300c9d762dc2f
Author: James Eversole <james@eversole.co>
Date:   Tue Jul 5 18:45:25 2022 -0500

    Feature parity with MongoDB implementation in main; need to refactor Feature.Sharing.Couch.findByLink into multiple functions so that more information regarding retrieved documents can be used compositionally to DRY before merging into main

commit e10cc4de8acd45488679f0587732f02fee950c77
Author: James Eversole <james@eversole.co>
Date:   Mon Jul 4 20:53:55 2022 -0500

    Better configuration file keys

commit d683a51cac4ad891856f7782aa6221402988fea4
Author: James Eversole <james@eversole.co>
Date:   Mon Jul 4 20:38:40 2022 -0500

    Added beginnings of CouchDB logic while removing all Mongo references and dependencies. Updated configuration file and related data types. Added a MonadHttp instance for PurrAction to enable requests in their monadic context. Will merge into main once feature parity on the Sharing Feature is reached
2022-07-05 20:11:41 -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