Joel Roller
eae22e8dea
shorter, fits 85 cols
2016-12-28 20:48:47 -06:00
Joel Roller
5b1186a530
minimize logic in tera autoescape config closure
...
Incorporate feedback from SergioBenitez: define extension list outside
closure and remove unnecessary comment
2016-12-28 20:22:53 -06:00
Joel Roller
5a99e92e14
autoescape vars in .html.tera files
...
Add .html.tera to list of file extensions that tera should
autoescape. This should allow the same default XSS protection
provided by tera defaults, with the added the .tera extension.
2016-12-28 16:45:41 -06:00
Sergio Benitez
1e2237d726
Add badge linking to Rocket's homepage.
2016-12-27 17:20:24 -06:00
Sergio Benitez
e9ad5b5c02
Switch Travis badge to public builds.
2016-12-27 16:09:50 -06:00
Sergio Benitez
20f13f0bc1
Add CSV as a known Content-Type.
2016-12-27 15:42:27 -06:00
Sergio Benitez
9da512c60c
Warn, but don't error, on unknown route formats.
...
Partially fixes #66 .
2016-12-27 15:30:33 -06:00
Sergio Benitez
3d0f7f2f80
Clarify todo example requirements.
2016-12-27 02:38:21 -06:00
Sergio Benitez
588d95aa58
Remove RDP info from AppVeyor build: it's public.
2016-12-27 02:15:04 -06:00
Sergio Benitez
4f30afc30f
Show RDP information when starting AppVeyor build.
2016-12-27 02:04:47 -06:00
Sergio Benitez
622aea973a
Remove file unrelated to Rocket in .gitignore.
2016-12-26 19:15:23 -06:00
Eric D. Reichert
13cac7db45
Fix URL to config guide in templates/mod.rs.
2016-12-26 19:05:06 -06:00
Sergio Benitez
1e3f1961cd
Remove unnecessary new line.
...
(really just trying to trigger Travis)
2016-12-26 18:46:14 -06:00
Sergio Benitez
2299a3e5a6
Don't depend on path separator in segments tests.
2016-12-26 17:18:15 -06:00
Sergio Benitez
71419933a5
Ignore _method field in derived FromForm.
...
Fixes #45 .
2016-12-26 02:41:57 -06:00
Sergio Benitez
f86b1cd775
Print a nice message when readlink/readpath support is bad.
2016-12-25 22:23:54 -06:00
Sean Griffin
eb8d973abd
Fix typo in Outcome formatting: Succcess -> Success.
2016-12-25 21:37:06 -06:00
Sergio Benitez
61fb573622
Check git status in publish script.
2016-12-24 17:33:43 -06:00
Sergio Benitez
fb7a756cf1
New version: 0.1.2.
2016-12-24 14:15:00 -08:00
Sergio Benitez
89f42a614d
Properly resolve nested template names in contrib.
...
Fixes #42 .
2016-12-24 14:03:56 -08:00
Sergio Benitez
de6de99caf
Add script to automate publishing.
2016-12-24 13:05:32 -08:00
Sergio Benitez
61a998f227
Add script to bump version numbers.
2016-12-24 12:41:30 -08:00
Sergio Benitez
9cebab5037
Fix get_raw_segments index argument in route codegen.
...
Fixes #41 .
2016-12-24 11:58:24 -08:00
Sergio Benitez
14f79c3733
New version: 0.1.1. NamedFile hotfix.
2016-12-23 12:30:44 -08:00
Sergio Benitez
591963106e
Update NamedFile documentation.
2016-12-23 12:02:17 -08:00
Sergio Benitez
586254d1e9
Merge pull request #27 from rbalicki2/fix-typo
...
Fix `li` tag in handlebars_templates example.
2016-12-23 11:56:35 -08:00
Sergio Benitez
16f70480f5
Actually send the file via NamedFile.
2016-12-23 11:51:11 -08:00
Robert
77cfe0ac02
<Li> should be <li>
2016-12-23 14:42:57 -05:00
Sergio Benitez
d28b4eb05b
Remove outdated docs.
2016-12-23 06:04:36 -08:00
Sergio Benitez
2a1426779c
Limit keywords for crates.io.
2016-12-23 05:12:39 -08:00
Sergio Benitez
a94fcf41db
New version: 0.1.0. First public release!
2016-12-23 05:03:07 -08:00
Sergio Benitez
22a058d2d5
Add Cargo metadata to contrib and codegen crates.
2016-12-23 04:20:46 -08:00
Sergio Benitez
d56ea65f27
Fix versions for packaging.
2016-12-23 03:55:59 -08:00
Sergio Benitez
25a4469791
Add Cargo metadata for packaging.
2016-12-23 03:36:26 -08:00
Sergio Benitez
858cb6524f
Add licenses.
2016-12-23 03:18:59 -08:00
Sergio Benitez
12302bcadb
Document default FromParam impls.
2016-12-23 02:39:34 -08:00
Sergio Benitez
2cf7e2c6cd
Sync testing exmaple with guide.
2016-12-23 02:39:10 -08:00
Sergio Benitez
b0f1263c0e
Sync pastebin example with tutorial.
2016-12-23 02:38:50 -08:00
Sergio Benitez
e76ba7d219
Document the JSON responder, default template dir.
2016-12-23 02:38:30 -08:00
Sergio Benitez
b6e3cb6c05
Document segments and debug env var in codegen.
2016-12-23 02:37:57 -08:00
Sergio Benitez
7d97bf04ea
Prepend http:// to address:port in launch message.
2016-12-22 05:27:23 -08:00
Sergio Benitez
2c26777c75
Expose a single function in codegen to docs build.
2016-12-22 04:15:29 -08:00
Sergio Benitez
7da41112cf
Document the codegen crate.
2016-12-22 02:26:02 -08:00
Sergio Benitez
595cc5be57
Emit warning about disabled session keys.
2016-12-22 01:29:58 -08:00
Sergio Benitez
7cf3cb6bc6
Only enable codegen logging with env var.
2016-12-22 00:53:43 -08:00
Sergio Benitez
07b5c3de2e
Remove WIP from Readme.
2016-12-22 00:22:56 -08:00
Sergio Benitez
76073718c7
New version: 0.1.0 release candidate.
2016-12-22 00:05:05 -08:00
Sergio Benitez
2dc1ba29f0
Adds tests for JSON example. Emit warning from JSON FromData.
...
This also includes a tiny change to the `mk-docs` script to build a
blank index at the root of the docs.
2016-12-21 22:56:58 -08:00
Sergio Benitez
b9742c1202
Fix broken links in docs.
2016-12-21 01:33:45 -08:00
Sergio Benitez
80632689f4
Document Request.
2016-12-21 01:30:45 -08:00