Simon Martín
|
254991c56c
|
changing endpoint groups constant keys
|
2018-02-27 17:57:25 +01:00 |
|
Simon Martín
|
a492ab0143
|
improving naming
|
2018-02-27 17:36:03 +01:00 |
|
Simon Martín
|
b0d63b2ec0
|
changing module exports and middleware name
|
2018-02-27 16:52:27 +01:00 |
|
Simon Martín
|
85b0c63eb0
|
destructuring array assignment
|
2018-02-27 16:24:30 +01:00 |
|
Simon Martín
|
98a92f51e6
|
make jshint happy
|
2018-02-26 17:17:01 +01:00 |
|
Simon Martín
|
f03ee4b836
|
removing hardcoded user
|
2018-02-26 11:20:31 +01:00 |
|
Simon Martín
|
90418b204e
|
getLowerRateLimit tests
|
2018-02-26 10:51:51 +01:00 |
|
Simon Martín
|
918674e01a
|
changing endpoint groups names
|
2018-02-23 21:09:27 +01:00 |
|
Simon Martín
|
9b01a05727
|
rate limit supporting multiple limits
|
2018-02-23 17:42:24 +01:00 |
|
Simon Martín
|
2937b6a804
|
updating redis keys
|
2018-02-21 17:25:26 +01:00 |
|
Simon Martín
|
08a5e57180
|
new config params and using them in middleware
|
2018-02-20 18:18:15 +01:00 |
|
Simon Martín
|
faab174a79
|
redis keys in easier way
|
2018-02-20 17:19:50 +01:00 |
|
Simon Martín
|
98907a886c
|
using a real endpoint in test
|
2018-02-19 17:08:26 +01:00 |
|
Simon Martín
|
e519984790
|
changing const names and exporting them
|
2018-02-19 17:01:41 +01:00 |
|
Simon Martín
|
63d1c19263
|
validation in lua script
|
2018-02-15 12:44:27 +01:00 |
|
Simon Martín
|
c059f44bf1
|
lua script and rate limit process
|
2018-02-14 18:39:57 +01:00 |
|
Simon Martín
|
86d4f8e219
|
lua script v1
|
2018-02-14 15:40:12 +01:00 |
|
Simon Martín
|
15bf74f770
|
starting rate limit middleware
|
2018-02-12 17:19:08 +01:00 |
|
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 |
|