Commit graph

1974 commits

Author SHA1 Message Date
Yrjö Kari-Koskinen
d478ec1d23
Upgrade dependencies 2021-02-04 08:41:33 +02:00
Miikka Koskinen
36673d4674
Update CHANGELOG.md 2021-01-29 15:08:44 +02:00
Miikka Koskinen
eb10af92c4
Merge pull request #466 from metosin/feature/space-as-separator
Allow space as separator, fixes #411
2021-01-29 15:08:35 +02:00
Kimmo Koskinen
496e6b6fc7 Allow space as separator, fixes #411
Fixes https://github.com/metosin/reitit/issues/411
2021-01-29 15:02:35 +02:00
Tommi Reiman
0ecc2fb9a7
Merge pull request #456 from raphaelsaunier/fix/relative-urls-in-doc
Fix relative links in documentation
2021-01-10 18:10:53 +02:00
Tommi Reiman
8cca1fe40b
Merge pull request #460 from scott-silver/patch-1
Pedantic grammer correction
2020-12-28 00:00:44 +02:00
Tommi Reiman
b4099169be 0..5.11 with updated deps 2020-12-27 22:50:02 +02:00
scott-silver
d663342fbb
Update README.md 2020-12-27 10:31:48 -08:00
Tommi Reiman
8be1b16cc7
Merge pull request #458 from pariyatti/restful_forms_doc_fix
Downcase hidden methods in RESTful example
2020-12-20 21:53:10 +02:00
Juho Teperi
12d3dcabec Fix #457, fix reflection warning in reitit.ring 2020-12-19 19:50:35 +02:00
Steven Deobald
7fb720ef36 Handle nil for lower-case
- when "_method" is actually empty, we need to avoid trying to
  do string manipulation on nil from params.
2020-12-15 19:29:50 -06:00
Steven Deobald
a3b251449b Downcase hidden methods in RESTful example
- this documentation is mildly confusing when combined with hiccup's
  `form-to` since hiccup forcibly transforms the method specified in
  its convenience syntax: `(form-to [:delete "/my-url"] ... )` into an
  upper-case string:
  80e48352dd/src/hiccup/form.clj (L130)

- it's also common to get an upper-case string from elsewhere so it
  seems best to wrap the hidden `_method` in `lower-case`.
2020-12-15 15:48:00 -06:00
Raphaël Saunier
c539c53ae2 Fix broken links in documentation 2020-12-01 10:00:20 +01:00
Timo Kramer
e095cd2efa Support operationId in reitit-swagger
OpenAPI Specification allows the operationId to be added to the
"Operation Object" alongside e.g. summary and description. This
commit introduces the support of this element in the
reitit-swagger module and extends the tests. One test shows the
correct use of operationId where both are distinct and one
shows the failing of the swagger creation when the IDs are not
distinct.

- Spec: https://swagger.io/specification/#operation-object
- Adds the support for operationId
- Adds operationId in two places of the swagger test
- Adds a test that checks exception on duplicate IDs
- Closes #451
2020-11-25 18:38:35 +01:00
Tommi Reiman
3a6985eb71
Merge pull request #448 from teodorlu/docs-coercion-malli
Link to docs for Malli coercion
2020-11-01 17:55:50 +02:00
Teodor Heggelund
d1b8e1b98b Link to docs for Malli coercion 2020-11-01 16:49:03 +01:00
Tommi Reiman
fb771a33bd
Merge pull request #446 from zelark/update-handler
Update create-swagger-ui-handler
2020-10-22 17:23:07 +03:00
Aleksandr Zhuravlev
2fc893bf6f Update examples 2020-10-22 17:03:14 +03:00
Aleksandr Zhuravlev
abfe810700 Update link to config params doc 2020-10-22 15:18:16 +03:00
Aleksandr Zhuravlev
bf3242a6f4 Get rid of conf.js (not used anymore) 2020-10-22 15:16:55 +03:00
Tommi Reiman
e27d5c0213 CHANGELOG 2020-10-22 00:13:39 +03:00
Tommi Reiman
0b2c4d0d8e 0.5.10 2020-10-22 00:10:52 +03:00
Tommi Reiman
dbf3751815 0.5.9 2020-10-19 10:46:38 +03:00
Tommi Reiman
f2f7d3a428
Merge pull request #438 from metosin/frontend-fixes
Frontend fixes
2020-10-19 10:42:45 +03:00
Tommi Reiman
ff647f3a2c 0.5.8 2020-10-19 08:31:29 +03:00
Tommi Reiman
422e97ffed Update CHANGELOG 2020-10-19 08:29:53 +03:00
Tommi Reiman
c3df762b48
Merge pull request #444 from dawran6/376-route-data-spec-for-conflicting
Add :conflicting to route data spec
2020-10-19 08:08:38 +03:00
Daw-Ran Liou
c0a76c6648 Add :conflicting to route data spec 2020-10-19 03:02:18 +08:00
Tommi Reiman
8c3ad99276 0.5.7 2020-10-18 20:43:24 +03:00
Tommi Reiman
9ce7e6593c malli 0.2.0, update docs & tune 2020-10-18 20:22:01 +03:00
Tommi Reiman
b4d1b36c8d
Merge pull request #442 from metosin/params-to-parameters
Update nested controllers example, :params -> :parameters
2020-10-18 19:19:44 +03:00
Tommi Reiman
21df83c804
Merge pull request #443 from skibe/resource-handler-path-size-fix
Fix resource handler path matching
2020-10-16 11:24:48 +03:00
Kimmo Rantala
2ed5b48067 Fix resource handler path matching
File/resource handler checks that uri actually matches to path instead
of comparing just path length to uri length.
2020-10-15 23:33:20 +03:00
Juho Teperi
845240d330
Merge branch 'master' into frontend-fixes 2020-10-15 09:49:14 +03:00
Kimmo Koskinen
b51374fec2
Update example, :params -> :parameters 2020-10-14 10:08:20 +03:00
Tommi Reiman
d57851c2d3
Merge pull request #441 from PrestanceDesign/patch-1
One more Reitit project example
2020-10-14 10:06:04 +03:00
Michael Salihi
61945adddf
One more Reitit project example
Adding on todo backend with Reitit on https://www.todobackend.com/ website.
2020-10-13 23:47:10 +02:00
Tommi Reiman
d7ed4f32af Merge branches 'master' and 'master' of github.com:metosin/reitit 2020-10-12 10:17:13 +03:00
Tommi Reiman
15812930a3 Update deps 2020-10-12 10:17:07 +03:00
Tommi Reiman
f037b803b6
Merge pull request #439 from nate/patch-1
Fixing broken links to documentation in README
2020-10-02 12:43:23 +03:00
Nate Sutton
5825694153
Fixing broken links to documentation in README
A number of links were broken in the topmost link section of the README and this commit fixes them.
2020-10-01 18:53:32 -05:00
Tommi Reiman
39ec264da8
Merge pull request #417 from Koura/issue-217-consume-form-params
Issue 217 consume form params
2020-09-30 12:25:52 +03:00
Juho Teperi
c4afca9417 Update CHANGELOG.md 2020-09-26 16:54:35 +03:00
Juho Teperi
58f9871747 Test rfe start! 2020-09-26 16:51:19 +03:00
Juho Teperi
5651b4648a Fix reitit.frontend.easy not correctly removing old event listeners
In 0.5.0 rfe start! fn started using first on-navigate callback to get
the reference to History instance, so that user on-navigate can use rfe
functions that need this reference. History implementations called
on-navigate with the instance without event listeners set, so when stop!
was called listeners weren't removed.
2020-09-26 16:51:19 +03:00
Juho Teperi
390cdb1e4e Rename some re-frame effects/events 2020-09-26 16:51:19 +03:00
Juho Teperi
0c85b3d54b Reindent re-frame example code 2020-09-26 16:51:19 +03:00
Juho Teperi
dea8894610 Clean re-frame example initialization 2020-09-26 16:51:19 +03:00
Tommi Reiman
208eeeb5c5 0.5.6 2020-09-26 16:09:49 +03:00
Tommi Reiman
5e290db106 0.5.6 2020-09-26 16:08:34 +03:00