Commit graph

719 commits

Author SHA1 Message Date
Tommi Reiman
b54ee1a86b read encodes and decodes from Muuntaja! 2018-08-02 16:12:32 +03:00
Tommi Reiman
10ccbb72e3 wip 2018-08-02 16:12:32 +03:00
Tommi Reiman
fb66ad602c
Merge pull request #120 from metosin/encode-decode
Encode decode
2018-08-02 16:09:50 +03:00
Tommi Reiman
230717ba65 double fast byte formatting 2018-08-02 16:06:34 +03:00
Tommi Reiman
7389838b59 mention sources 2018-08-01 19:51:54 +03:00
Tommi Reiman
ebecb7ee12 update readme 2018-08-01 19:46:47 +03:00
Tommi Reiman
bf3fb64088 query is a form-param 2018-08-01 19:43:58 +03:00
Tommi Reiman
077a1887cb CHANGELOG 2018-08-01 19:38:16 +03:00
Tommi Reiman
682dd05568 tune perf 2018-08-01 19:28:52 +03:00
Tommi Reiman
6c23a5562a form-encode & form-decode 2018-08-01 18:57:17 +03:00
Tommi Reiman
303b124973 format 2018-08-01 18:56:58 +03:00
Tommi Reiman
0b4d1d2ee1 url-encode & url-decode 2018-08-01 18:08:03 +03:00
Tommi Reiman
bb4f861f00 0.2.0-SNAPSHOT 2018-07-28 12:07:16 +03:00
Tommi Reiman
23e79e2688
Merge pull request #119 from metosin/MiddlewareRegistry
Middleware registry
2018-07-28 12:05:35 +03:00
Tommi Reiman
604291f98e Better interceptor error messages 2018-07-28 12:05:12 +03:00
Tommi Reiman
8321589f04 Polish docs 2018-07-28 12:01:12 +03:00
Tommi Reiman
dc0fae875a CHANGELOG 2018-07-27 15:25:03 +03:00
Tommi Reiman
6c47b5fa94 Welcome Interceptor registry! 2018-07-27 15:14:10 +03:00
Tommi Reiman
94431352b8 Welcome Middleware registry! 2018-07-27 15:14:00 +03:00
Tommi Reiman
055a03c793 prepare 2018-07-27 15:10:02 +03:00
Tommi Reiman
e879e66f26 Update guide 2018-07-26 16:25:07 +03:00
Tommi Reiman
bf3007bfe1 Support for sequential child routes 2018-07-26 10:07:49 +03:00
Tommi Reiman
ef7a91697f polish 2018-07-25 11:17:05 +03:00
Tommi Reiman
6aa86cd055 typo 2018-07-25 11:08:11 +03:00
Tommi Reiman
04bb5cd2f0 fix example 2018-07-25 10:57:53 +03:00
Tommi Reiman
3b9130e640 composing routers 2018-07-25 10:55:33 +03:00
Juho Teperi
ba10470fbb
Merge pull request #118 from metosin/frontend-routing-3
Frontend routing 3
2018-07-24 14:02:53 +03:00
Juho Teperi
08156f6a6d Replace Closure Html5History
- Create History protocol and two implementations: FragmentHistory and
Html5History
- API follows now Html5 history, i.e. push-state and replace-state
- path-prefix is removed
2018-07-24 13:58:22 +03:00
Juho Teperi
d54c05426c Share router between history tests 2018-07-24 11:45:51 +03:00
Juho Teperi
9d787ef81a Add example button using set-token 2018-07-24 11:45:22 +03:00
Juho Teperi
7e9ea8f905 Don't options using default values 2018-07-24 11:45:06 +03:00
Matthew Davidson
f6054a7c40 Add URL-decoding support
Enables matching URLs with %-encoded chars, and decodes path params.
Currently Reitit cannot handle %-encoded paths, even though they can be
quite common (like `/search/my random search string`)

E.g.:
Successfully match `/space in path` to `/space%20in%20path`
Match `/path/:param1` to `/path/foo%20bar` and see
`:param1` => `"foo bar"` in path params

Does not apply %-decoding to routes, only URLs
Does not guarantee decoding '+' into a space. (Java's URLDecoder
supports it, but it shouldn't for URL path part.)
2018-07-23 00:53:53 -04:00
Tommi Reiman
48509fefbd fix routes 2018-07-21 10:02:08 +03:00
Tommi Reiman
35a08b80f3
Merge pull request #112 from metosin/conflict-resolution
handle name conflicts in router
2018-07-21 09:48:55 +03:00
Tommi Reiman
16856749b1 handle name conflicts in router 2018-07-21 09:48:07 +03:00
Tommi Reiman
73f0f355eb
Merge pull request #113 from metosin/infer-swagger-id
Infer swagger
2018-07-21 09:47:17 +03:00
Tommi Reiman
c1bed9e9e6 Changelog 2018-07-21 09:42:51 +03:00
Tommi Reiman
8b6bc9bb80 [:swagger :id] defaults to :reitit.swagger/default 2018-07-21 09:38:44 +03:00
Tommi Reiman
7fcefdd428 typo 2018-07-18 13:20:39 +03:00
Tommi Reiman
f180204125
Merge pull request #111 from metosin/routes-fix
Routes fix
2018-07-18 13:12:17 +03:00
Tommi Reiman
ffe1009a18 docs 2018-07-18 13:11:51 +03:00
Tommi Reiman
9c573823b2 Fix fronend doc links 2018-07-18 12:24:41 +03:00
Tommi Reiman
d6d2ee478c r/routes & r/compiled-routes 2018-07-18 12:17:16 +03:00
Tommi Reiman
1291ae0bcc
Merge pull request #110 from metosin/FrontendSmallChanges
Frontend small changes
2018-07-17 14:53:08 +03:00
Tommi Reiman
5ded652147 coercion/coerce! can be used now 2018-07-17 12:41:29 +03:00
Tommi Reiman
4bbc1564ae cleanup imports 2018-07-17 12:41:19 +03:00
Juho Teperi
d90b7cff04
Merge pull request #108 from metosin/frontend-routing-easy
Add easy-simple wrapper over frontend router
2018-07-17 10:21:09 +03:00
Tommi Reiman
7514d1b263 rename extract-request-format 2018-07-16 16:01:34 +03:00
Tommi Reiman
0f03d0786c Works by default with Muuntaja 2018-07-16 15:57:12 +03:00
Tommi Reiman
346fbad775 Fix #109 2018-07-16 09:34:52 +03:00