Emi Tatsuo
9feb555b20
Fix branch name in README example
2 years ago
Emii Tatsuo
89e7719939
Fix stable build
2 years ago
Emii Tatsuo
85cbb1d6d8
Remove unused squeegee dep
2 years ago
Emii Tatsuo
05e4d25a53
Added in autorewrite as an option to `Server`
2 years ago
Emii Tatsuo
8f86bac608
Added rewrite_all for body
2 years ago
Emii Tatsuo
64f54e8e58
Fix rewrite_path
2 years ago
Emii Tatsuo
aa6c8d8a57
Remove needless borrow
2 years ago
Emii Tatsuo
723986c011
Add `rewrite_path()`
2 years ago
Emii Tatsuo
6400197514
Treat zero-length input as no input at all
...
Fixes running with molly brown
2 years ago
Emii Tatsuo
de060363f1
Fix the dashmap + user_management_routes build
2 years ago
Emii Tatsuo
3e2865de12
Fix ratelimiting example
...
Geeze, that code's ancient! How long was that broken?
2 years ago
Emii Tatsuo
b265ae985c
Dramatically simplify the certificate example
2 years ago
Emii Tatsuo
f922f8c70d
Merged Meta, Status, and ResponseHeader into Response
2 years ago
Emii Tatsuo
a92b3788e2
Added ./data to .gitignore
2 years ago
Emii Tatsuo
8b9fbce489
Fix user management module, rework certificates to use hashes
2 years ago
Emii Tatsuo
244fd25112
Completely reworked request handling to be able to serve SCGI
...
Multi ~~track~~ protocol ~~drifting~~ abstraction!!
2 years ago
Emii Tatsuo
86ed240761
Remove dependancy on `mime` when `serve_dir` is off
2 years ago
Emii Tatsuo
bc6d0b89bc
Make it clearer that kochab handles certificate generation
2 years ago
Emii Tatsuo
2c09831d22
Move to GitLab
2 years ago
Emii Tatsuo
4a2293ddc6
Add specific methods for getting at UserData
2 years ago
Emii Tatsuo
e7cbbd7d91
Merge branch 'accept-string-docs' into kochab
2 years ago
Emii Tatsuo
9c999609ef
Accept strings in Document methods
...
A lot of the time users are using the document, it's in order to dynamically generate a page. However, when dynamically generating a page, most of the time you're working with String's, not just &str's. Currently, many Document methods only take an &str, which means that each time you call a method with something like the output from `format!()`, you need to add a `.as_str()`, which adds just a little bit of clutter.
This change makes it so that Document methods that previously took an `&str` can now take an `impl AsRef<str>`, which allows users to pass either an `&str` or a `String`.
2 years ago
Emii Tatsuo
eca5c2fd44
Add a couple logging messages
2 years ago
panicbit
f43b03860d
Merge pull request #35 from Alch-Emi/list-example-test
...
Add "serve_dir" feature as a required feature for the example of the same name
2 years ago
panicbit
1296f1bba4
Merge pull request #36 from Alch-Emi/fix-stable-build
...
Fix stable build
2 years ago
Emii Tatsuo
67fe997eee
Merge branch 'fix-stable-build' into kochab
2 years ago
Emii Tatsuo
71a79ad6ff
Fix stable build
2 years ago
Emii Tatsuo
49e62a2300
Add clients page
2 years ago
Emii Tatsuo
fa0d031ee8
Fix crash on successful log in
2 years ago
Emii Tatsuo
6c3ae626e9
Added ability to iterate through users in the database
2 years ago
Emii Tatsuo
1e5e4c8731
Allow directly setting a database when building
2 years ago
Emii Tatsuo
47c6fae79f
Expose user manager in request
2 years ago
Emii Tatsuo
e83f2ca109
Login flow now redirects back to where it started
...
Closes #8
Still in testing, but seems good I think
2 years ago
Emii Tatsuo
98583e737f
Fix user management
2 years ago
Emii Tatsuo
0ea4c62731
Fix a few bugs from combining features
2 years ago
Emii Tatsuo
475b256a5a
Fix example in README
2 years ago
Emii Tatsuo
82c9903598
serve_dir is no longer a default feature
2 years ago
Emii Tatsuo
0633512f86
Remove deprecated gemini_mime function
2 years ago
Emii Tatsuo
1766ab4c9c
Merge `Builder` and `Server` in the public API into one concept
2 years ago
Emii Tatsuo
0b0d925979
Updated README to reflect automatic certificate generation
2 years ago
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
2 years ago
Emii Tatsuo
81761b69d1
Update Cargo.toml
2 years ago
Emii Tatsuo
f1302a1dbb
Add licenses
2 years ago
Emii Tatsuo
b69aba139f
Rebrand as kochab
...
I spent /so/ long looking for that figlet font.
__ __ __
/ /______ _____/ /_ ____ _/ /_
/ //_/ __ \/ ___/ __ \/ __ `/ __ \
/ ,< / /_/ / /__/ / / / /_/ / /_/ /
/_/|_|\____/\___/_/ /_/\__,_/_.___/
2 years ago
Emi Tatsuo
16721a7321
Merge several pending changes into a virtual master
...
Octopus merges are just a cheap trick to make weak branches stronger
2 years ago
Emi Tatsuo
13b1eddd00
Allow serving a single file
2 years ago
Emi Tatsuo
970813f295
Added FilesHandler
2 years ago
Emi Tatsuo
8a929e17e0
Updated changelog
2 years ago
Emi Tatsuo
65f3bbf2a2
Add "serve_dir" feature as a reaquired feature for the example of the same name
2 years ago
Emi Tatsuo
b4e99c5adf
Added ratelimiting to examples
2 years ago