Gered
3413527b16
oops, how silly of me. forgot to rename this directory ...
2016-04-30 16:16:43 -04:00
Gered
a80a62c4db
rename project
2016-04-30 14:27:37 -04:00
Gered
457afba989
update dependencies
2016-01-25 13:06:03 -05:00
Gered
bb8cd87475
better default checked route error handlers
2015-02-14 21:05:22 -05:00
Gered
28377f0ef2
double negatives are bad
2015-02-14 20:27:45 -05:00
Gered
faecfe712d
fix check for whether the fail-response needs to be returned
2015-02-14 20:25:56 -05:00
Gered
bd8c88d0d4
comment adjustments
2015-02-14 20:25:30 -05:00
Gered
096fd8fad5
use a blank string for empty body instead of nil
...
otherwise the string "null" ends up used as the response body
2015-02-14 20:14:22 -05:00
Gered
4eab47cbdd
rename and make set-validation-error utility function public
2015-02-14 18:12:03 -05:00
Gered
bc9e2a8912
add ability for checked failure handling to get validation errors list
...
'validate' functions now add params to the request under
:validation-errors when validations fail. if the fail-response used
is a function, the request that gets passed in is the last request
map that was used in the most recent validation instead of the original
2015-02-14 18:09:32 -05:00
Gered
228a2eff39
split out session helpers into separate namespace
...
mainly done for code readability. nicer to alias the namespace
separately and be able to write code like
(session/assoc :foo "bar")
instead of
(response/session-assoc :foo "bar")
but clearly a minor cosmetic change regardless
2015-02-14 15:42:35 -05:00
Gered
e10a5e08e4
body now optional for response helpers (if just http status is enough)
2015-01-08 19:08:03 -05:00
Gered
6f203c26ea
add common http response helper functions
2015-01-08 18:31:14 -05:00
Gered
5780caa698
rename wrap-checks
2015-01-07 22:09:04 -05:00
Gered
f4527253b7
allow for either assoc or merge to get body content into :safe-params
2015-01-05 13:23:38 -05:00
Gered
14a462940d
add auto-transform-body
2015-01-05 13:13:40 -05:00
Gered
bb7438d555
checked-routes -> wrap-checks (mainly just a minor syntax cleanup)
2015-01-05 12:35:38 -05:00
Gered
da94d5fd75
with-middleware -> wrap-middleware. uses compojure's wrap-routes now
...
this fixes problems where middleware could be run even if the wrapped
routes did not match the request (depended on scoping, e.g. nesting
in a context could limit this, but was not perfect).
2015-01-05 12:11:03 -05:00
Gered
ad8401f88c
support for transforming/validating/marking-safe the request body
2015-01-05 00:28:11 -05:00
Gered
d59bc300fa
add basic validation helper for checking against a schema definition
2015-01-04 23:40:23 -05:00
Gered
4fb8b7a002
allow alternate param parents to be specified. allow nested params.
2015-01-04 23:31:24 -05:00
Gered
a5010e423e
comments
2015-01-04 15:14:02 -05:00
Gered
bd038047db
initial commit
2015-01-04 00:11:24 -05:00