Commit Graph

1942 Commits

Author SHA1 Message Date
Sergio Benitez
804154e537 Improve documentation for contrib library. 2016-09-29 21:26:06 -07:00
Sergio Benitez
fec2866517 Check that version numbers match in testing script. 2016-09-29 20:50:06 -07:00
Sergio Benitez
1c4e0350d9 Use strict version numbers. Bump Rocket version. 2016-09-29 20:49:18 -07:00
Sergio Benitez
4c96f6c71f Revamp README: add documentation, testing, and contributing sections. 2016-09-29 18:56:11 -07:00
Sergio Benitez
85c06fde04 Fix test for new error message. 2016-09-28 20:55:13 -07:00
Sergio Benitez
7544af6e6d Clean-up method parsing error. 2016-09-28 20:41:23 -07:00
Sergio Benitez
a6cd1bd5bd Clean-up form parsing tests. 2016-09-28 20:39:25 -07:00
Sergio Benitez
3ddc133a0e Add more codegen tests. 2016-09-28 20:39:14 -07:00
Sergio Benitez
6498c26473 Fix test for latest nightly. 2016-09-28 19:38:11 -07:00
Sergio Benitez
6fe2f51332 Add form kitchen sink example. 2016-09-28 19:31:26 -07:00
Sergio Benitez
23808d00bc This commit squash three form-related commits:
Remove form_items function in favor of FormItems iterator.

  Add specialized `bool` implementation of FromFormValue.

  Add `&str` implementation of FromFormValue for debugging.
2016-09-28 19:29:18 -07:00
Sergio Benitez
be50ddeca4 Tweaks to the overview. 2016-09-27 22:26:39 -07:00
Sergio Benitez
0972994285 Initial overview document. 2016-09-26 00:41:46 -07:00
Sergio Benitez
b72ac78ce8 Add file test case for streaming. Fix streaming responder.
resolves #3
2016-09-25 04:07:03 -07:00
Sergio Benitez
5b5cb7e087 Send the correct content type in Template contrib. 2016-09-25 03:06:02 -07:00
Sergio Benitez
b175de03ad Move extension derived content type into ContentType. 2016-09-25 02:51:18 -07:00
Sergio Benitez
cd4af6836a Add request preprocessing for _method in forms.
resolves #12
2016-09-25 02:26:15 -07:00
Sergio Benitez
31cca896f4 Use upstream Aster now that PR has been merged. 2016-09-24 17:54:34 -07:00
Sergio Benitez
a967018009 Add guide outline. Remove unused file. 2016-09-22 22:09:41 -07:00
Sergio Benitez
b911c0b73a Merge branch 'master' of github.com:SergioBenitez/rocket 2016-09-22 21:29:06 -07:00
Sergio Benitez
f088459621 Require commas in template macros. 2016-09-22 21:29:03 -07:00
Sergio Benitez
084a9125fa Initial documentation. 2016-09-22 21:28:46 -07:00
Sergio Benitez
31264560e4 Fix typo in hello_ranks example. 2016-09-22 21:10:36 -07:00
Sergio Benitez
d9e8a79ff6 Add template features to contrib doc. 2016-09-22 04:24:04 -07:00
Sergio Benitez
f74e286e31 Add templating support in contrib crate.
The contrib crate now contains support for both Handlebars and Tera. No
documentation yet.

resolves #5
2016-09-22 04:12:07 -07:00
Sergio Benitez
53e5377482 Change meaning of Outcome::Bad. 2016-09-21 18:31:26 -07:00
Sergio Benitez
81fbc0625d Add Bad outcome. Mock config code. 2016-09-21 18:23:44 -07:00
Sergio Benitez
47edc65d34 Rename data_type to data and don't export inner types. 2016-09-20 20:02:33 -07:00
Sergio Benitez
96ee1b10d4 Pull in remote master. 2016-09-19 16:25:08 -07:00
Sergio Benitez
a3218192dd Add contrib crate. Add JSON to contrib. Add JSON example. 2016-09-19 16:24:01 -07:00
Sergio Benitez
ea240b9b58 Merge pull request #7 from SergioBenitez/new-docs
Update the main README file to include an overview.
2016-09-13 16:54:45 -07:00
Sergio Benitez
1c00793d0d Add overview to README. 2016-09-13 16:33:16 -07:00
Sergio Benitez
8824d498d1 Add streaming responder and example. 2016-09-12 02:43:34 -07:00
Sergio Benitez
4e03bb6107 Add NamedFile response type. 2016-09-12 01:51:02 -07:00
Sergio Benitez
9edb1e34d2 Update badge URL in README. 2016-09-12 01:46:08 -07:00
Sergio Benitez
21e26c32c0 Bump version numbers. Approaching release! 2016-09-11 18:57:47 -07:00
Sergio Benitez
e8e85f09cd Add support for flash cookie. Revamp cookie support. 2016-09-11 18:57:04 -07:00
Sergio Benitez
9a9d07f044 Improve default catcher error messages. 2016-09-09 01:00:51 -07:00
Sergio Benitez
8fee2bbf38 Update Travis badge. 2016-09-08 20:41:00 -07:00
Sergio Benitez
46f73ed57c Renamed macros to codegen. 2016-09-08 20:38:58 -07:00
Sergio Benitez
f14dec0728 Use proper ident definition. Add param parse tests. 2016-09-08 20:25:07 -07:00
Sergio Benitez
155ef0d26d Remove codegen_tests dir. 2016-09-08 17:10:10 -07:00
Sergio Benitez
5915c69f39 Fixed unchecked unwrap. Added codegen tests. 2016-09-08 17:09:35 -07:00
Sergio Benitez
f259593727 Use a generic ToString object in new. 2016-09-08 00:25:40 -07:00
Sergio Benitez
32bf3e1737 Add more files to static_files example. 2016-09-08 00:02:35 -07:00
Sergio Benitez
b755e53f63 Add trailing params. 2016-09-08 00:02:17 -07:00
Sergio Benitez
a6967cb48f Strip lifetimes for generated param types. 2016-09-06 23:24:20 -07:00
Sergio Benitez
327b28a98e Add query params to Rocket. Use Ident for attribute params. 2016-09-04 19:18:08 -07:00
Sergio Benitez
ec38d70449 Slightly cleaner Readme. 2016-09-04 15:07:47 -07:00
Sergio Benitez
a4f56f1790 Don't repeat parsing of path. 2016-09-04 14:50:14 -07:00