Commit Graph

17 Commits

Author SHA1 Message Date
Emi Tatsuo 9ec1a5663d
Merge branch 'devel' into gemtext 2020-12-07 17:29:34 -05:00
Emi Tatsuo 27f3f2aee0
Move URI reference to the crate base 2020-12-07 15:58:49 -05:00
Emii Tatsuo f922f8c70d
Merged Meta, Status, and ResponseHeader into Response 2020-12-01 16:36:29 -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 4ba099f947
Outsource document building to the gemtext crate
This change is still pending on some of my PRs being merged to main in the gemtext repository.  Please see:

=> https://tulpa.dev/cadey/maj/pulls/12 Add conversion traits to Builder
=> https://tulpa.dev/cadey/maj/pulls/13 Add a `blank_line()` method to `Builder`
=> https://tulpa.dev/cadey/maj/pulls/14 Accept an Option<&str> as a link name
=> https://tulpa.dev/cadey/maj/pulls/15 Add support for alt-text in preformatted blocks

Once these changes are merged, the dependency on gemtext should be moved to the crates.io version
2020-11-30 14:27:58 -05:00
panicbit 0c05d6d162 implement document API 2020-11-14 09:55:21 +01:00
panicbit 28162bde5c move split types module into submodules 2020-11-14 04:43:29 +01:00
panicbit bfb6282a9b improve error messages 2020-11-14 03:58:57 +01:00
panicbit 82dc34b2c5 respect meta max len of 1024 in constructors 2020-11-14 02:54:34 +01:00
panicbit af614a06aa reduce number of functions that return Result 2020-11-14 01:55:47 +01:00
panicbit 1a145c922c add Meta::new_lossy 2020-11-14 01:45:16 +01:00
Emi Tatsuo 168bb56aa2
Renamed methods to match spec 2020-11-13 17:54:06 -05:00
Emi Tatsuo eaee14d174
Moved certificate into request, so this is no longer a breaking change 2020-11-13 15:07:30 -05:00
Emi Tatsuo 3547143860
Expose client certificates to the user 2020-11-13 14:20:59 -05:00
panicbit acef45c75c init 2020-10-31 20:53:03 +01:00