Commit Graph

245 Commits (devel)

Author SHA1 Message Date
Emi Tatsuo caf8e3ee50
Add in drone configuration with basic testing
continuous-integration/drone/push Build is passing Details
2020-12-21 13:52:11 -05:00
Emi Tatsuo 260e5f9a8b
Add missing page 2020-12-17 18:03:15 -05:00
Emi Tatsuo 0e4c1f2c3b
Actually swap out the stargazer conf 2020-12-17 17:57:12 -05:00
Emi Tatsuo 33114616e0
Added a bunch of logging to user management 2020-12-16 20:09:36 -05:00
Emi Tatsuo ac9650977b
Prevent bug where user account not deleted if changes were pending 2020-12-16 19:51:37 -05:00
Emi Tatsuo 00584c2f27
Switch to using UIDs 2020-12-16 19:20:54 -05:00
Emi Tatsuo 12a7a24694
Split off DeserializeError into its own thing 2020-12-16 16:45:35 -05:00
Emi Tatsuo 4911f8f2d9
Add a whole bunch of comments to the examples 2020-12-16 11:38:29 -05:00
Emi Tatsuo 2ae721f131
Fix ratelimit build, tweak ratelimit example 2020-12-16 10:17:27 -05:00
Emi Tatsuo 679af3e313
Add the Request::fingerprint associated function 2020-12-16 09:24:34 -05:00
Emi Tatsuo 389401e3c5
Made logging a tiny bit less aggressive 2020-12-15 19:25:10 -05:00
Emi Tatsuo 2fbaf39c0c
Use a clear phrase instead of the user's password 2020-12-15 19:25:05 -05:00
Emi Tatsuo bfaa81d9d0
Add delete link to account page 2020-12-15 19:23:24 -05:00
Emi Tatsuo 65fe416973
Added a route to delete the user's account 2020-12-15 19:16:00 -05:00
Emi Tatsuo f40f8337f3
Fix a warning about unused variables 2020-12-15 10:36:50 -05:00
Emi Tatsuo e49b71b6d2
Pass the user manager by reference
Serving a request now takes 0 arc clones!
2020-12-15 10:36:38 -05:00
Emi Tatsuo 597bc6aa6b
Clone fewer Arcs by using statics to distribute references to the server 2020-12-15 10:13:18 -05:00
Emi Tatsuo 285768f509
Silence clippy false positive 2020-12-15 09:13:11 -05:00
Emi Tatsuo cd0c4c328d
Fix bug in is_success 2020-12-14 20:33:22 -05:00
Emi Tatsuo 8f0d76fa55
Added a method to delete a user 2020-12-13 20:13:32 -05:00
Emi Tatsuo 92a8c61757
I really wrote half a sentence and committed it, huh? 2020-12-13 19:54:51 -05:00
Emi Tatsuo 63c228bcfa
Replace molly brown w/ stargazer, serve examples in IP
Stargazer is available thru cargo, which makes it more accessable to new users.  Serving ip allows examples to be run in gemini_srv mode
2020-12-13 19:53:18 -05:00
Emi Tatsuo 3347c708af
Add a cute little emoji logo to the docs 2020-12-11 14:44:14 -05:00
Emi Tatsuo 80198818af
Expand the README 2020-12-11 14:41:29 -05:00
Emi Tatsuo 2501c9021a
Fix building docs with `--all-features` 2020-12-11 12:30:20 -05:00
Emi Tatsuo 6c3eeb1db2
Document a few more types in the UserManagement module 2020-12-08 11:01:07 -05:00
Emi Tatsuo 6b30521c77
Add the last two docs for Server 2020-12-07 16:46:13 -05:00
Emi Tatsuo 7dff9674b6
Removed some unused imports 2020-12-07 15:59:43 -05:00
Emi Tatsuo 27f3f2aee0
Move URI reference to the crate base 2020-12-07 15:58:49 -05:00
Emi Tatsuo 05089bfea6
Redo Handler docs 2020-12-06 10:24:54 -05:00
Emi Tatsuo f98b94235a
Cranking out some docs
Not finished yet we've got so many docs to write.  It's doc writing time!
2020-12-05 14:09:16 -05:00
Emi Tatsuo 3ef7b2751e
Warn if a response is sent with a non-success code & a body 2020-12-05 13:41:53 -05:00
Emi Tatsuo b1d1fb7c0d
Warn the first time a request is missing SCRIPT_PATH 2020-12-05 13:01:45 -05:00
Emi Tatsuo 868dfb6f9f
Update rustls 2020-12-05 11:49:17 -05:00
Emi Tatsuo 1068c00e55
Fix broken links in docs 2020-12-05 11:37:14 -05:00
Emi Tatsuo 7add331e0b
Made the link rewriting docs *way* better 2020-12-05 11:27:30 -05:00
Emi Tatsuo 9bc1f317c5
Fix bug where autorewrite was always on, respond 50 and log instead of panic on rewrite error 2020-12-05 11:09:00 -05:00
Emi Tatsuo 680c04abe4
Add documentation about SCGI 2020-12-05 10:30:13 -05:00
Emi Tatsuo ae247312f7
Fix `gemini_srv` with more conditional comp 2020-12-05 09:54:05 -05:00
Emi Tatsuo f592ecf73b
Move opt_timeout to 2020-12-03 15:04:12 -05:00
Emi Tatsuo cb9b3ea167
Fix crash on no certificate provided 2020-12-03 10:47:33 -05:00
Emi Tatsuo d8d15d8f72
Add tolerance for REMOTE_ADDR without a port 2020-12-03 08:32:06 -05:00
Emi Tatsuo fb357b59eb
Support base64 encoded certificate hashes, remove ring as mandatory dep for scgi_srv
Removing ring also means switching out some of the code around user password hashes so that's what that is, if you're wondering.  Also, the sunrise today was absolutely beautiful.  I haven't been awake for a sunrise in a long time, so I guess that's one upside to not sleeping.  Like, melencholy sunsets get a lot of love, but man, nothing fills you with hope and positivity like a sunrise.
2020-12-03 08:10:50 -05:00
Emi Tatsuo d71c3f952d
Reduce visibility of some methods in CertGenMode, fix docs 2020-12-03 05:20:16 -05:00
Emi Tatsuo e55f5c675b
Rename ->, move in a bunch of certificate functions.
Make the module private.

Refactor refactor refactor!!!

2020-12-03 05:14:09 -05:00
Emi Tatsuo dc71a2f2cf
Add .gemgit 2020-12-03 04:35:20 -05:00
Emi Tatsuo fa8adbd265
Started writing feature docs [UNFINISHED] 2020-12-03 00:53:05 -05:00
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
Emi Tatsuo 23c5141dd0
Add a compiler error giving an actual reason if invalid features are active 2020-12-03 00:06:48 -05:00