Emii Tatsuo
475b256a5a
Fix example in README
2020-11-25 20:29:31 -05:00
Emii Tatsuo
82c9903598
serve_dir is no longer a default feature
2020-11-25 20:28:55 -05:00
Emii Tatsuo
0633512f86
Remove deprecated gemini_mime function
2020-11-25 16:04:04 -05:00
Emii Tatsuo
1766ab4c9c
Merge Builder
and Server
in the public API into one concept
2020-11-25 15:52:44 -05:00
Emii Tatsuo
0b0d925979
Updated README to reflect automatic certificate generation
2020-11-25 15:44:20 -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
f1302a1dbb
Add licenses
2020-11-25 00:53:34 -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
13b1eddd00
Allow serving a single file
2020-11-24 17:28:54 -05:00
Emi Tatsuo
970813f295
Added FilesHandler
2020-11-24 17:22:47 -05:00
Emi Tatsuo
8a929e17e0
Updated changelog
2020-11-24 16:58:30 -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
3e07e24e41
Added automatic clearing of ratelimit keys
2020-11-24 16:45:30 -05:00
Emi Tatsuo
5ae6f578e3
Merge branch 'routes' into rate-limiting
2020-11-24 15:27:27 -05:00
Emi Tatsuo
560760c489
Added another test for RoutingNode
2020-11-24 15:08:05 -05:00
Emi Tatsuo
b2a671993e
Add ability to iterate over a routing node
2020-11-24 14:51:21 -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
c3d7381860
Added a static handler type. Impl AsRef<Body> for Response
...
im so tired i havent slept enough in so long but also i havent done any productive work like do you think im using this project as an excuse or like a bad coping mechanism for my mental health or something like that cause thats what its starting to feel like
2020-11-23 23:34:11 -05:00
Emi Tatsuo
7990739884
Move the handler type to it's own mod, change to an enum
...
The new enum can be converted to from anything that could previously be passed to
add_route, so this is not a breaking change. If fact, from the end user's perspective,
nothing changed, but internally, this gives us a lot of potential as far as having
multiple types of routes.
2020-11-23 11:55:40 -05:00
Emi Tatsuo
2400ef8796
Move user management routes to their seperate feature
2020-11-23 11:37:47 -05:00
Emi Tatsuo
f572209dfa
Merge branch 'reduce-arcs' into routes
2020-11-23 10:55:48 -05:00
Emi Tatsuo
57f083b1d0
Updated changelog to reflect changes to success
...
Dang it I always forget to do that
2020-11-23 10:05:47 -05:00
Emi Tatsuo
4743419f1e
Update changelog with improved error handling for serve_dir
2020-11-23 09:49:04 -05:00
Emi Tatsuo
48c0783e36
Improve error handling for serve_dir
...
Specifically:
- Serve NOT_FOUND when file or directory doesn't exist
- Serve NOT_FOUND and warn in log when permission denied for file or directory
- Serve SERVER_ERROR and warn in log when permission denied or not found for path to serve from
- Serve SERVER_ERROR and warn in log with a link to the GH if an unexpected error happens
2020-11-23 09:39:45 -05:00
Emi Tatsuo
71c1ac0fab
Fix serve_dir
feature
2020-11-23 08:44:45 -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
9916770bd2
Added add_authenticated_input_route
2020-11-22 20:56:15 -05:00
Emi Tatsuo
edbfd3ed78
Merge branch 'reduce-arcs' into user-management
2020-11-22 20:35:47 -05:00
panicbit
eebf7119fb
Merge branch 'master' into routes
2020-11-22 21:00:33 +01:00
panicbit
3a999a16fe
Merge pull request #30 from Alch-Emi/doc-into-req
...
Allow direct conversion for Document -> Response
2020-11-22 20:54:08 +01:00
Emi Tatsuo
95a4a8d75d
Reduce number of required Arc
s
...
Should improve performance because cloning an `Arc` is expensive
2020-11-22 11:55:33 -05:00
panicbit
6930a06ece
Merge pull request #32 from Alch-Emi/fix-kristall
...
Include a workaround for a bug with rustls & webpki
2020-11-22 10:18:15 +01:00
Emi Tatsuo
7854a2a4c4
Add the add_authenticated_route method
...
I'm really proud of how small the user_management example has gotten
2020-11-22 02:56:41 -05:00
Emi Tatsuo
502e68f1aa
Updated the user management example to be more accessible
2020-11-22 01:29:24 -05:00
Emi Tatsuo
916ac1009c
Add docs for add_um_routes
2020-11-22 01:05:34 -05:00
Emi Tatsuo
0756dd7394
Update a few pages
2020-11-22 00:46:32 -05:00
Emi Tatsuo
b03fe0e5f7
Add password management facilities
2020-11-22 00:46:24 -05:00
Emi Tatsuo
2b5ee33762
Fixed bug where user password was never saved
2020-11-22 00:42:26 -05:00
Emi Tatsuo
3c7d3457ef
Added has_password to RegisteredUser
2020-11-22 00:33:57 -05:00
Emi Tatsuo
abe3c00fbf
Merge branch 'fix-kristall' into user-management
2020-11-21 23:57:35 -05:00
Ben Aaron Goldberg
4d0b0521d6
Include a workaround for a bug with rustls & webpki
2020-11-21 23:45:05 -05:00
Emi Tatsuo
6e82ae059d
Add user management routes
2020-11-21 23:03:56 -05:00
Emi Tatsuo
a9b347a8c9
Merge branch 'rework-success' into user-management
2020-11-21 17:34:08 -05:00
Emi Tatsuo
d5f213b270
Add ratelimiting example
...
Was really supposed to add this earlier but I forgot about it. Oops
2020-11-21 17:20:32 -05:00
Emi Tatsuo
115d0aa120
Merge branch 'doc-into-req' into user-management
2020-11-21 17:19:49 -05:00
Emi Tatsuo
0b4fca2c69
Merge branch 'allow-async-handlers' into user-management
2020-11-21 16:55:36 -05:00
Emi Tatsuo
cd7af1025a
Cleanup typos in routes docs
...
I should really use spellcheck more often
2020-11-20 23:51:22 -05:00