Commit graph

1184 commits

Author SHA1 Message Date
Toni Vanhala
271c1d91ec Revert unnecessary line change
- This commit to be merged to `Allow customizing route resolution`
2019-12-04 20:50:14 +02:00
Toni Vanhala
c42f76af92 Publish intermediate paths by default #175
Change current default of Ring routers and frontend to publish both leaf paths and intermediate paths as endpoints.
`:name` in route data is required for intermediate frontend routes, and `:handler` for Ring routes.
2019-12-04 16:40:37 +02:00
Toni Vanhala
841f581a17 Allow customizing route resolution
- Support custom predicate for checking if path is a valid endpoint
- Use default predicate to implement the current behaviour, where leaves of the route tree are endpoints
2019-12-04 16:34:28 +02:00
Toni Vanhala
a68ac257e7 Add tests for intermediate frontend paths
Added failing tests for resolving intermediate paths in frontend.
See Github issue #175.
2019-12-04 16:34:00 +02:00
Toni Vanhala
6bf4335f84 Add tests for intermediate paths in Ring
Added failing tests for resolving intermediate paths with Ring.
Handlers are inherited by children, but names are consumed by intermediate routes
See Github issue #175
2019-12-04 16:33:38 +02:00
Tommi Reiman
0faf2af876
Merge pull request #332 from nilern/frontend-multi-query-params
Frontend: Multi-valued query params
2019-12-02 17:07:12 +02:00
Pauli Jaakkola
81a1a8eb7e Update CHANGELOG. 2019-12-02 15:41:59 +02:00
Pauli Jaakkola
6d5bf64833 Implement encoding of multi-valued query params. 2019-12-02 15:33:55 +02:00
Pauli Jaakkola
0adb820bba Collect multi-valued query params into vector. 2019-11-15 12:53:32 +02:00
Miikka Koskinen
da18a4f113
CHANGELOG.md: Add #324 conflicting route data 2019-11-14 07:59:17 +02:00
Ilmo Raunio
25728ae8f2 Use transducer per #329 review suggestion 2019-11-13 22:49:21 +02:00
Ilmo Raunio
e092001568 Add test cases to check for deep paths 2019-11-13 22:49:21 +02:00
Ilmo Raunio
8a86701902 Allow path conflict resolution with :conflicting 2019-11-13 22:49:21 +02:00
Tommi Reiman
5fc86737b8
Update README.md 2019-10-30 16:37:58 +02:00
Miikka Koskinen
842c1e5a5b Revert "Remove unused parameters"
This reverts commit ac1536e057.
2019-10-30 11:33:24 +02:00
Miikka Koskinen
20776a1bfc Stray change to trigger CircleCI 2019-10-29 20:52:24 +02:00
Miikka Koskinen
ac1536e057 Remove unused parameters 2019-10-29 20:11:19 +02:00
Tommi Reiman
54dc6e3dab
Merge pull request #327 from valerauko/test-multiple-jdk
Test against multiple JDK
2019-10-29 18:32:45 +02:00
Vale
92c7fe8e3c Explicitly name stages 2019-10-30 01:24:34 +09:00
Vale
216bba6c47 Revert "Name builds properly"
This reverts commit eb31c04fd6.
2019-10-30 00:44:05 +09:00
Vale
c1991badb2 Enable build-docs again 2019-10-30 00:42:51 +09:00
Vale
eb31c04fd6 Name builds properly 2019-10-30 00:42:03 +09:00
Vale
59ea24f48b Add curl if missing 2019-10-30 00:38:51 +09:00
Vale
f7a4e89e7b Use CircleCI images for curl 2019-10-30 00:26:46 +09:00
Vale
41f880fb0c Use version 2.1 2019-10-30 00:15:11 +09:00
Vale
590d811619 "image" is a disallowed key 2019-10-30 00:13:12 +09:00
Vale
c3650cf539 Build against multiple JDKs 2019-10-30 00:10:13 +09:00
Vale
bdbe16a685 Temporarily disable build-docs
Doesn't work on forked repos
2019-10-30 00:09:51 +09:00
Daw-Ran Liou
c00c299e13 Add integrant repl for better development experience
- Create `user` ns for REPL-driven development.
- Add entry point in `example.server` to start server in production.
2019-10-27 20:15:54 +02:00
Daw-Ran Liou
c3e6682151 Add an example project with integrant 2019-10-27 20:15:54 +02:00
Andrey Krasnov
bd5c67e75c Add grammar and style fixes
A couple of grammatical and stylistic changes that I think should make reading this doc a bit nicer.
2019-10-23 22:38:38 +03:00
Cody Canning
8cd314bd3f Update compiling_middleware.md regarding specs 2019-10-22 07:18:38 +03:00
Tommi Reiman
e2a297a69d More tests, fixes #320 2019-10-10 15:09:58 +03:00
Daw-Ran Liou
69795f5fe7 Tighten middleware spec from collection to vector
This avoids messing up the order of middleware chain accidentally.
2019-10-09 18:38:32 +03:00
Daw-Ran Liou
4a199b918a Add test to validate middleware cannot be list
When meta-merges list with a vector, the resulting order is reversed. To avoid
this for the middleware chain, middleware cannot be lists.
2019-10-09 18:38:32 +03:00
Miikka Koskinen
eeeba281ac
Merge pull request #318 from metosin/miikka-patch-2
How do you pronounce "reitit"?
2019-10-09 08:31:39 +03:00
Miikka Koskinen
f91638d2e4
Update doc/faq.md 2019-10-08 22:36:27 +03:00
Miikka Koskinen
5ab5e5c761
How do you pronounce "reitit"?
This truly is a frequently asked question.
2019-10-08 22:32:35 +03:00
Tommi Reiman
c23f591283 0.3.10 2019-10-08 10:28:25 +03:00
Tommi Reiman
248d6087bc
Update performance.md 2019-10-08 10:26:06 +03:00
Tommi Reiman
02ba8712a1 perf image 2019-10-08 10:20:03 +03:00
Tommi Reiman
4ff1c963f4 Polish README 2019-10-07 20:59:22 +03:00
Tommi Reiman
66efdf3a3d Update DEPS 2019-10-07 20:58:45 +03:00
Juho Teperi
1d6f3c994a Update changelog 2019-09-20 11:25:16 +03:00
Juho Teperi
10c9097c40
Merge pull request #301 from uosl/fix/composedpath
Use aget for composedPath to avoid casting JS array to seq
2019-09-20 10:43:35 +03:00
Juho Teperi
99ea1ef091
Merge pull request #300 from nextjournal/html5-hist-fragments
Pass uri fragments to history pushState
2019-09-20 10:39:29 +03:00
Juho Teperi
f0fef3e525
Merge branch 'master' into html5-hist-fragments 2019-09-20 10:36:08 +03:00
Juho Teperi
500d5d6540
Merge pull request #259 from metosin/ignore-anchor-click-fn
Ignore anchor click fn
2019-09-20 10:34:15 +03:00
Tommi Reiman
3644c2e392 FIxes #308 2019-09-09 21:14:40 +03:00
dimovich
031a777c8c Fix event definitions for routes with parameters
The current implementation will fail for `(re-frame/dispatch [::navigate ::some-route {:some :params}])`.

Update the definitions of `::navigate` and `::navigated!` events to accept the full route arguments.
2019-09-09 20:48:26 +03:00