Commit graph

43 commits

Author SHA1 Message Date
Emi Tatsuo 73da764a8f
Switched back to using raw gemini as the default mode 2020-12-03 00:52:25 -05:00
Emi Tatsuo 477d31dae3
Make it clear in the version string that this is unreleased 2020-12-03 00:09:51 -05:00
Emii Tatsuo 85cbb1d6d8
Remove unused squeegee dep 2020-12-01 23:24:10 -05:00
Emii Tatsuo 8b9fbce489
Fix user management module, rework certificates to use hashes 2020-12-01 14:43:15 -05:00
Emii Tatsuo 244fd25112
Completely reworked request handling to be able to serve SCGI
Multi ~~track~~ protocol ~~drifting~~ abstraction!!
2020-12-01 02:31:08 -05:00
Emii Tatsuo 86ed240761
Remove dependancy on mime when serve_dir is off 2020-11-30 21:26:25 -05:00
Emii Tatsuo 2c09831d22
Move to GitLab 2020-11-30 17:46:28 -05:00
Emii Tatsuo 82c9903598
serve_dir is no longer a default feature 2020-11-25 20:28:55 -05:00
Emii Tatsuo a4f1017c5f
Added automatic certificate generation (Closes #4)
All my roommates left and now my apartment is lonely, but at least I can still pour unhealthy amounts of time into software projects nobody will ever use
2020-11-25 15:39:00 -05:00
Emii Tatsuo 81761b69d1
Update Cargo.toml 2020-11-25 12:42:57 -05:00
Emii Tatsuo b69aba139f
Rebrand as kochab
I spent /so/ long looking for that figlet font.
    __              __          __
   / /______  _____/ /_  ____ _/ /_
  / //_/ __ \/ ___/ __ \/ __ `/ __ \
 / ,< / /_/ / /__/ / / / /_/ / /_/ /
/_/|_|\____/\___/_/ /_/\__,_/_.___/
2020-11-25 00:42:09 -05:00
Emi Tatsuo 16721a7321
Merge several pending changes into a virtual master
Octopus merges are just a cheap trick to make weak branches stronger
2020-11-24 23:04:26 -05:00
Emi Tatsuo 65f3bbf2a2
Add "serve_dir" feature as a reaquired feature for the example of the same name 2020-11-24 16:50:28 -05:00
Emi Tatsuo b4e99c5adf
Added ratelimiting to examples 2020-11-24 16:48:28 -05:00
Emi Tatsuo df2350a8bb
Switch to a much lighter in-house rate-limiting solution, and use consistant naming of ratelimiting 2020-11-24 13:58:18 -05:00
Emi Tatsuo 2400ef8796
Move user management routes to their seperate feature 2020-11-23 11:37:47 -05:00
Emi Tatsuo 28a4d64c5f
Segregate features surrounding multiple certificates & passwords to a seperate feature 2020-11-22 22:24:36 -05:00
Emi Tatsuo 0b4fca2c69
Merge branch 'allow-async-handlers' into user-management 2020-11-21 16:55:36 -05:00
Emi Tatsuo 349f6da698
Add rate limiting feature
ugghhhhhh I hate how big the governer crate is but there's no alternative besides DIY
2020-11-20 21:15:37 -05:00
Emi Tatsuo 5612ce1085
Removed unnecessary dependency on futures-rs 2020-11-19 23:51:25 -05:00
Emi Tatsuo 29c831649d
Changed the add_route API to allow the use of simpler, async handlers 2020-11-19 23:48:55 -05:00
Emi Tatsuo e6c66ed9e7
Don't feature gate routing
I really thought this was gonna be more complicated when I was planning it.  Well,
"planning" it.
2020-11-19 21:45:41 -05:00
Emi Tatsuo 26e0fd2702
Added some routing classes 2020-11-19 21:37:02 -05:00
Emi Tatsuo 1908d0a0d7
Implement the set password method 2020-11-19 16:39:02 -05:00
Emi Tatsuo fb205cd397
Switched from bcrypt to argon 2020-11-19 16:07:52 -05:00
Emi Tatsuo 4996ae99d2
Merge remote-tracking branch 'upstream/master' into user-management 2020-11-19 14:41:18 -05:00
Emi Tatsuo e7cf782a60
Improve user management docs 2020-11-19 13:20:14 -05:00
Emi Tatsuo 475db6af79
Adapted a type from futures-util allowing us to drop the dep and remove a big chunk of the dep tree 2020-11-19 11:09:53 -05:00
Emi Tatsuo 87d71cb207
Fixed examples 2020-11-19 11:08:20 -05:00
Emi Tatsuo 3da18ca530
Reduced tokio featureset 2020-11-19 10:21:32 -05:00
Emi Tatsuo e0abe6344b
Reduced dependency on futures-rs 2020-11-19 02:54:45 -05:00
Emi Tatsuo 753ecf708d
Isolate directory serving methods behind feature, incl mime_guess. Remove itertools 2020-11-19 02:49:41 -05:00
panicbit 5a92d8d28f use mime_guess for guessing mime 2020-11-18 23:00:46 +01:00
Emi Tatsuo 0e2f8d5f62
Added user management API [WIP] 2020-11-16 01:13:16 -05:00
panicbit 75a1cd1eb5 bump crate version to 0.3.1 2020-11-14 04:58:03 +01:00
panicbit 3f0e17adeb add repo and doc links to Cargo.toml 2020-11-14 04:57:48 +01:00
panicbit 5924c684f8 bump crate version to 0.3.0 2020-11-14 04:50:36 +01:00
panicbit bfb6282a9b improve error messages 2020-11-14 03:58:57 +01:00
panicbit 9b9955827d introduce GEMINI_MIME static 2020-11-14 00:48:50 +01:00
panicbit 4b08edc890 bump version to 0.2.0 2020-11-13 23:59:51 +01:00
Emi Tatsuo 3547143860
Expose client certificates to the user 2020-11-13 14:20:59 -05:00
panicbit 7999fe491a add cargo metadata 2020-10-31 20:55:28 +01:00
panicbit acef45c75c init 2020-10-31 20:53:03 +01:00