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
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
Juho Teperi
d0f42459ee
Add easy-simple wrapper over frontend router
2018-07-13 14:25:36 +03:00
Juho Teperi
88c16bd64d
Merge pull request #107 from metosin/frontend-routing-2
...
Frontend routing fixes
2018-07-12 22:59:30 +03:00
Juho Teperi
2152bf0345
Use setToken in a click handler and add set-token function
2018-07-12 22:52:43 +03:00
Juho Teperi
6b8ebdebe6
Fix creating urls with query string when not using fragment
2018-07-12 22:52:41 +03:00
Juho Teperi
5fd2f7b405
Enable cljs aot-cache
2018-07-12 14:02:48 +03:00
Juho Teperi
93d911d60e
Merge pull request #62 from metosin/frontend-routing
...
Frontend routing implementation (WIP)
2018-07-12 13:13:57 +03:00
Juho Teperi
5024223280
Fix capture-console on node
2018-07-12 12:49:14 +03:00
Juho Teperi
73b1efd5b3
Initialize empty frontend docs
2018-07-12 12:49:14 +03:00
Juho Teperi
82f8aaa8cf
Add frontend-controllers example
2018-07-12 12:49:14 +03:00
Juho Teperi
8971c8fd2b
Add tests for missing route and params warnings
2018-07-12 12:49:14 +03:00
Juho Teperi
ae109e5350
Log warnings about missing route or params
2018-07-12 12:49:14 +03:00
Juho Teperi
358fbc19c6
Clean frontend example project.clj
2018-07-12 12:49:14 +03:00
Juho Teperi
aeadfad880
Add path and query params to frontend example
2018-07-12 12:49:14 +03:00
Juho Teperi
dff9206210
Bump clojurescript
2018-07-12 12:49:14 +03:00
Juho Teperi
264981fd3d
Start version 0.1.4
2018-07-12 12:49:14 +03:00
Juho Teperi
06b641398a
Run history tests only on browser
2018-07-12 12:49:14 +03:00
Juho Teperi
245902bd4d
Use query-string fn in core
2018-07-12 12:49:14 +03:00
Juho Teperi
434bc25cd6
Format code
2018-07-12 12:49:14 +03:00
Juho Teperi
7f1b2ce417
Check if js/location exists
2018-07-12 12:49:10 +03:00
Juho Teperi
61a9871ebb
Fix empty fragment url
2018-07-12 12:48:24 +03:00
Juho Teperi
50faacab25
Fix tests
2018-07-12 12:48:20 +03:00
Juho Teperi
6553795cb5
Add some frontend history tests
2018-07-12 12:46:45 +03:00
Juho Teperi
3611a1bafe
Fix frontend routing tests, add controller ns
2018-07-12 12:46:45 +03:00
Juho Teperi
417f35a318
Create example
2018-07-12 12:46:41 +03:00
Juho Teperi
468a0947d2
Frontend routing implementation
2018-07-12 11:02:35 +03:00
Tommi Reiman
4f78f56464
CHANGELOG
2018-06-25 17:52:48 +03:00
Tommi Reiman
79d8e1bb91
0.1.3
2018-06-25 17:50:36 +03:00
Tommi Reiman
6ed4bb6c40
update deps
2018-06-25 17:50:16 +03:00
Tommi Reiman
e952afa8fd
Merge pull request #105 from metosin/SmallFixes
...
Small fixes
2018-06-25 10:35:05 +03:00
Tommi Reiman
cb0297ac85
reverse-routing docs
2018-06-25 10:33:27 +03:00
Tommi Reiman
1993dee5f2
demo normal swagger-responses
2018-06-25 10:18:40 +03:00
Tommi Reiman
18bd2e684f
bump up version (all but docs)
2018-06-24 22:32:23 +03:00
Tommi Reiman
8bf725f600
0.1.3-SNAPSHOT
2018-06-24 22:29:08 +03:00
Tommi Reiman
1bab89b1a0
more tests
2018-06-24 19:28:50 +03:00
Tommi Reiman
3af1bd2083
Allow empty response :body for Swagger
2018-06-24 19:20:22 +03:00
Tommi Reiman
f6c460d05c
If response body is not defined, response is passed as-is
2018-06-24 18:36:55 +03:00
Tommi Reiman
5bc7b09e19
Merge pull request #104 from metosin/CoerceAllParametes
...
Coerce all parameters
2018-06-24 11:37:43 +03:00
Tommi Reiman
15c12dfb83
fix tests
2018-06-14 18:14:15 +03:00
Tommi Reiman
1923f2d08e
handle query-parameters in reverse routing
2018-06-14 17:57:36 +03:00
Tommi Reiman
26be209d3a
handle nil with IntoString
2018-06-14 17:50:24 +03:00
Tommi Reiman
771128c281
Support all parameter types
2018-06-14 13:40:32 +03:00
Tommi Reiman
8f7bb94c94
Support ds/maybe in spec-coercion
2018-06-14 13:40:17 +03:00