Commit Graph

38 Commits

Author SHA1 Message Date
Sami J. Mäkinen 403da19d0e default pool size2 2021-09-19 13:05:43 +03:00
Raphaël Thériault fa02a9adb5 Add passwd launch option 2020-03-09 15:35:18 -04:00
Raphaël Thériault 35ba76a28d Prevent overwrites from web UI (closes #12) 2020-01-16 00:56:36 -05:00
Raphaël Thériault 7dcf7c3746 Add init command (closes #7) 2020-01-16 00:40:03 -05:00
Raphaël Thériault 5bb1fc46e0 Use dialoguer for password input (closes #5) 2020-01-16 00:22:03 -05:00
Raphaël Thériault 5855965e24 Switch to BLAKE3, slightly better security, simplify with globals 2020-01-15 23:47:38 -05:00
Raphaël Thériault f1c40f4748 Always use multipart for files 2020-01-15 22:35:10 -05:00
Raphaël Thériault 2fbd134743 Backend support for code highlighting 2020-01-15 01:50:54 -05:00
Raphaël Thériault 4d835ed4c7
Merge pull request #15 from steven-joruk/no-password-no-auth
No password no auth
2019-10-27 18:54:59 -04:00
Raphaël Thériault 39c0d101c9
Fixed what I assume was a copy-pasting error 2019-10-27 18:52:33 -04:00
Raphaël Thériault ab3d325bb4
Slightly change error message formulation 2019-10-27 18:48:28 -04:00
Steven Joruk c2ab9514c3 Don't require authentication when the configured password is blank
Verify the user wants to enter an empty password.
2019-10-26 18:34:47 +01:00
Steven Joruk 49c1ad8232 Always generate missing config and password files 2019-10-26 14:12:04 +01:00
Steven Joruk 4012651741 Use the correct application directories for the platform
* Replace `let mut f = p; f.push(x)` with `let f = p.join(x)`
* Use `println!` for normal messages
2019-10-26 12:37:55 +01:00
Steven Joruk 08c86c892e Fix clippy warnings 2019-10-26 01:10:38 +01:00
Raphaël Thériault 212ac3617f Fix DB related bugs 2019-10-25 14:13:44 -04:00
Raphaël Thériault 004d64467e Rename token to password 2019-10-24 23:39:34 -04:00
Raphaël Thériault 29bb955757 Fixed prod builds 2019-10-21 17:22:42 -04:00
Raphaël Thériault 7952615735 Added auth support to route handlers 2019-10-21 15:19:16 -04:00
Raphaël Thériault fb5f2b25a4 Reformat uses 2019-10-21 14:29:39 -04:00
Raphaël Thériault a4ad899479 Added TOKEN to .env.example 2019-10-21 12:31:25 -04:00
Raphaël Thériault 23d12a80fb Parse token hash at startup 2019-10-21 11:19:54 -04:00
Raphaël Thériault c3aee8b422 Replace debug assertions with a dev feature 2019-10-21 10:57:14 -04:00
Raphaël Thériault db393569c2 Added token input at first startup 2019-10-17 15:12:42 -04:00
Raphaël Thériault fdd232c776 Move init function to setup module 2019-10-17 14:55:59 -04:00
Raphaël Thériault dcd5200485 Fix release builds 2019-10-17 14:15:39 -04:00
Raphaël Thériault 9924925911 Exclude release only stuff from debug builds 2019-10-17 13:56:46 -04:00
Raphaël Thériault eca73144f3 Remove updated fields and update queries 2019-10-15 08:16:23 -04:00
Raphaël Thériault cc0f304563 Ditch cfg_if and remove lib 2019-10-15 08:04:34 -04:00
Raphaël Thériault 901bf9bdac Added PUT routes 2019-10-09 11:59:52 -04:00
Raphaël Thériault ea56031235 Custom log format support 2019-10-09 09:14:47 -04:00
Raphaël Thériault 5492744299 Added basic GET routes 2019-10-08 22:49:38 -04:00
Raphaël Thériault 4653c60f31 Add config to webserver data 2019-10-08 12:06:30 -04:00
Raphaël Thériault 9a0c5f2583 Basic webserver 2019-10-07 22:37:25 -04:00
Raphaël Thériault b573d14ab2 Started working on main 2019-10-07 22:17:11 -04:00
Raphaël Thériault b9aaab5f5e Moved debug config to its own function 2019-10-07 21:38:58 -04:00
Raphaël Thériault 315b2f1926 Custom static files path in cdebug builds 2019-10-07 21:18:34 -04:00
Raphaël Thériault 12a00a81b9 Moved setup module to separate file 2019-10-07 20:56:38 -04:00