Simon Martín
|
77f64bee8c
|
stringifyForLogs more usual case first
|
2017-12-18 14:54:36 +01:00 |
|
Simon Martín
|
14e90a6c76
|
add line at EOF
|
2017-12-18 12:59:44 +01:00 |
|
Simon Martín
|
a46f7b3099
|
nested options and using it
|
2017-12-18 12:34:56 +01:00 |
|
Simon Martín
|
cb7fb97a13
|
escape chars function
|
2017-12-18 11:14:27 +01:00 |
|
Simon Martín
|
e0d4a9e596
|
change funcion name
|
2017-11-30 15:04:07 +01:00 |
|
Simon Martín
|
555d3f558c
|
changing error log structure
|
2017-11-28 18:22:55 +01:00 |
|
Simon Martín
|
386d6bfea8
|
removing unneeded check
|
2017-11-28 18:19:28 +01:00 |
|
Simon Martín
|
a007fce913
|
ensuring vars
|
2017-11-28 16:02:12 +01:00 |
|
Simon Martín
|
605d7057c9
|
fix copying array of errors and adding error.label to logs
|
2017-11-27 18:12:44 +01:00 |
|
Simon Martín
|
e7b8d9b223
|
moving logErrors to right position
|
2017-11-27 16:55:11 +01:00 |
|
Simon Martín
|
e041b5b8a9
|
removing ~lost space
|
2017-11-27 16:52:19 +01:00 |
|
Simon Martín
|
9a8f72b8db
|
format details
|
2017-11-27 16:47:45 +01:00 |
|
Simon Martín
|
667925c455
|
adding error name, ensuring data and moving errors copy
|
2017-11-27 16:43:04 +01:00 |
|
Simon Martín
|
f24217a400
|
cloning object and removing logs
|
2017-11-24 18:06:17 +01:00 |
|
Simon Martín
|
84fd01535c
|
adding errors to errors header
|
2017-11-24 17:53:07 +01:00 |
|
Simon Martín
|
0aaafa2068
|
Merge branch 'master' into res-locals-user
|
2017-11-16 11:03:43 +01:00 |
|
Simon Martín
|
667b2a9cb1
|
removing underscore dependency in locals middleware
|
2017-11-15 16:56:21 +01:00 |
|
Simon Martín
|
298882f410
|
remove with spaces and adding line as EOF
|
2017-11-15 15:07:30 +01:00 |
|
Simon Martín
|
0bf36fa058
|
remove unneeded encoding control
|
2017-11-07 16:02:37 +01:00 |
|
Simon Martín
|
1ea4fc50c9
|
make jshint happy
|
2017-11-07 11:17:32 +01:00 |
|
Simon Martín
|
216c877f4b
|
verctor error middleware
|
2017-11-07 11:07:38 +01:00 |
|
Simon Martín
|
c0df0d12c6
|
ensure dont overwrite data in copy from req.params to res.locals
|
2017-10-20 17:21:55 +02:00 |
|
Daniel García Aubert
|
a81e98995a
|
Merge branch 'middlewarify' into stats-middleware
|
2017-10-09 17:54:32 +02:00 |
|
Simon Martín
|
e3405ea2fc
|
doing changes after merge with middlewarify
|
2017-10-09 12:27:58 +02:00 |
|
Simon Martín
|
5c0f597cbb
|
Merge branch 'middlewarify' into res-locals
|
2017-10-09 10:55:43 +02:00 |
|
Daniel García Aubert
|
7289394f6a
|
Missing EOL
|
2017-10-07 19:16:15 +02:00 |
|
Daniel García Aubert
|
1ba1c488fa
|
Do not decorate response methods to set header and send stats
|
2017-10-07 19:02:26 +02:00 |
|
Daniel García Aubert
|
242e63716f
|
Merge branch 'middlewarify' into stats-middleware
|
2017-10-05 18:21:02 +02:00 |
|
Daniel García Aubert
|
c70b8cb5bf
|
Set X-Served-By-DB-Host header in db-conn-setup middleware
|
2017-10-05 18:05:46 +02:00 |
|
Simon Martín
|
06138a82a8
|
Merge branch 'middlewarify' into res-locals
|
2017-10-05 17:53:15 +02:00 |
|
Daniel García Aubert
|
678fbb1c8f
|
Remove bad argument to middleware callback
|
2017-10-05 17:28:41 +02:00 |
|
Simon Martín
|
2f310a15bd
|
do not overwrite creation of res.locals
|
2017-10-05 17:23:07 +02:00 |
|
Daniel García Aubert
|
bf637ccd5b
|
Implement stats middleware removing some duplicated code
|
2017-10-05 17:06:42 +02:00 |
|
Simon Martín
|
1f03a6b181
|
using res.locals instead of params in AuthApi
|
2017-10-05 11:28:41 +02:00 |
|
Simon Martín
|
21720267cf
|
from req.context to res.locals
|
2017-10-03 17:47:57 +02:00 |
|
Simon Martín
|
3ce10690d6
|
send res.locals instead of res when possible
|
2017-10-03 13:06:12 +02:00 |
|
Simon Martín
|
6bfc5d8891
|
fix function name and removing comments of localsMiddleware
|
2017-10-03 13:03:02 +02:00 |
|
Simon Martín
|
55f593eae6
|
adding forgotten semicolon
|
2017-10-02 12:08:10 +02:00 |
|
Simon Martín
|
c22a35489d
|
res.locals forgotten things and make jshint happy
|
2017-09-29 14:38:28 +02:00 |
|
Simon Martín
|
b4d03c074a
|
not move db params to res.locals.db
|
2017-09-29 11:07:11 +02:00 |
|
Simon
|
ca612dd02a
|
res.locals in context middlewares
|
2017-09-28 11:43:12 +02:00 |
|
Unknown
|
fedcb0d0f9
|
remove unused middleware
|
2017-09-28 11:23:53 +02:00 |
|
Simon
|
178b9e8563
|
moving layergroup-token middleware to middlewarify style
|
2017-09-27 16:32:49 +02:00 |
|
Simon
|
ac474cb253
|
Merge branch 'middlewarify' into layergroup-token-param
|
2017-09-27 16:31:08 +02:00 |
|
Simon
|
84cd93b1b0
|
make jshint happy
|
2017-09-26 18:25:47 +02:00 |
|
Simon
|
134cc9ac0c
|
changing req.locals to res.locals
|
2017-09-26 18:23:49 +02:00 |
|
Simon
|
b94dfe066d
|
removing some repeated things
|
2017-09-26 15:39:48 +02:00 |
|
Daniel García Aubert
|
f0920aedef
|
Remove unused module
|
2017-09-25 13:43:15 +02:00 |
|
Daniel García Aubert
|
b236112069
|
Split prepare context middleware and fix unit test
|
2017-09-25 13:40:22 +02:00 |
|
Daniel García Aubert
|
0e8fb68794
|
Extract token param to a middleware
|
2017-09-22 18:49:21 +02:00 |
|