Commit graph

1445 commits

Author SHA1 Message Date
Juho Teperi
0d71141b55 Fix exception log handler, *out* is Writer, not PrintWriter
*out* is usually OutputStreamWriter (set by clojure.lang.RT)
*out* could also be java.io.StringWriter (with-out-str)
2021-03-11 22:19:17 +02:00
Tommi Reiman
349c838de4
Merge pull request #478 from jmckitrick/patch-1
Update swagger_ui.cljc
2021-03-11 15:56:25 +02:00
Jonathon McKitrick
c033f10e4e
Update swagger_ui.cljc
Fix spelling in docstring.
2021-03-11 08:41:31 -05:00
Miikka Koskinen
fb5eb1ff98
Update development.md 2021-03-05 20:45:28 +02:00
Tommi Reiman
7520cd425c malli 0.3.0 2021-03-02 21:25:02 +02:00
Miikka Koskinen
6f2e181335
Merge pull request #473 from metosin/feature/finish-not-found
Make the not-found-handler fix backwards compatible
2021-03-02 08:38:54 +02:00
Miikka Koskinen
b6d9707b53 Copy file & resource handler docstring update to docs 2021-03-02 08:28:36 +02:00
Tommi Reiman
0c93cfb1f9 update deps 2021-02-27 19:22:42 +02:00
Miikka Koskinen
1f18cbe747
Update CHANGELOG.md 2021-02-26 08:46:01 +02:00
Miikka Koskinen
39fc17c5fd
Update CHANGELOG.md 2021-02-26 08:45:29 +02:00
Miikka Koskinen
5824d9eeef Make the not-found-handler fix backwards compatible
PR #471 aimed to fix issue #464. However, the change was slightly
backwards-incompatible, since it made the file and resource handlers use
the default 404 handler when mounted outside of the router. The previous
behavior was to return nil in that case.

This patch restores the previous behavior and clarifies that `:path`
option can be used only when the file/resource handler is mounted
outside of a router.
2021-02-26 08:14:01 +02:00
Miikka Koskinen
88897a2264 Remove useless testing calls 2021-02-26 07:41:03 +02:00
Tommi Reiman
07dfb91d96
Merge pull request #472 from metosin/malli-coercion-doc-fix
Missing curly brace in documentation
2021-02-21 09:18:36 +02:00
Kari Marttila
60fee31733 Missing curly brace in documentation - I noticed this while trying the example in REPL 2021-02-20 21:00:59 +02:00
Miikka Koskinen
ff55f85677
Merge pull request #471 from metosin/resource-handler-issue
Support not-found-handler with path in resource handler (#464)
2021-02-19 15:31:55 +02:00
Kari Marttila
902b33f004 Support not-found-handler with path in resource handler (#464) 2021-02-19 15:17:26 +02:00
Miikka Koskinen
e64490f473
Merge pull request #470 from metosin/feature/migrate-to-github-actions
Migrate to GitHub Actions
2021-02-17 16:31:04 +02:00
Miikka Koskinen
d80f1038f6 Stop using CircleCI 2021-02-17 16:22:17 +02:00
Miikka Koskinen
a94b6db06e Start using GitHub Actions 2021-02-17 16:22:01 +02:00
Tommi Reiman
03f029e536 mob rules 2021-02-04 20:48:08 +02:00
Tommi Reiman
f43a8311fc 0.5.12 2021-02-04 20:40:25 +02:00
Tommi Reiman
e7cec06b71
Merge pull request #469 from ykarikos/feature/upgrade-dependencies
Upgrade Clojure dependencies
2021-02-04 20:09:25 +02:00
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
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