Daniel García Aubert
7b53b7c30a
Stop using profiling wrongly. Now it only saves custom events from backends (tile, map, attributes, etc..) and calculates the response time. Besides, removed tags to know whether overviews are being used.
4 years ago
Daniel García Aubert
b60116410a
Use req/res logger instead of the one bound to global object
4 years ago
Daniel García Aubert
163c546236
Replace log4js by pino as logger:
...
- Logs to stdout, disabled while testing
- Change log calls signature when needed
- Use development version of camshaft
- Removes unused log cofiguration
- Bind request id to log req/res
- Log req at the begining of the cycle and res at the end
4 years ago
Daniel García Aubert
8cc24bc665
- Drop support for Node.js < 12
...
- Support Node.js 12
- Upgrade `windshaft` to version `7.0.0`
- Upgrade `camshaft` to version `0.65.3`
- Upgrade `cartodb-redis` to version `3.0.0`
4 years ago
Daniel García Aubert
a196a26ab4
Get templateHash for static tile request and errored named map instantiations
4 years ago
Daniel García Aubert
70f0b6ea50
Avoid to use "pubsub" for the name of modules, middlewares, variables, etc..
4 years ago
Daniel García Aubert
1bbde4f5e3
Let to the caller to choose how to handle the call to a method
4 years ago
Daniel García Aubert
e90c196598
Simplified metrics middleware and backend
4 years ago
Daniel García Aubert
6a2333be64
Topic name's lifetime is longer than pubsub backend, we can keep it as property.
4 years ago
Daniel García Aubert
7d6a64d383
Do not expose functions just to be able to mock them while testing
4 years ago
Daniel García Aubert
f583a4240a
Remove jshint comments
5 years ago
Esther Lozano
4a41ee8f75
Add backend and middleware for pubsub metrics
5 years ago
Daniel García Aubert
c877d0b964
Implement polygon filter
5 years ago
Daniel García Aubert
17f151cd5a
Implement circle filter for dataviews
5 years ago
Raúl Marín
fcf2fd1455
Enforce the usage of cartodb schema
5 years ago
Raúl Marín
6eb66de94e
Unify stripQuotes
5 years ago
Raúl Marín
f545b4d002
camshaft quote_columns
5 years ago
Daniel García Aubert
d4719d5707
camel case
5 years ago
Daniel García Aubert
2c8a030ecb
Merge branch 'master' into eslint
5 years ago
Raúl Marín
aa09c079f6
Fix multiple DB login issues
5 years ago
Raúl Marín
3c586caba4
Qualify calls to cartodb extension so having it in the search_path isn't necessary
5 years ago
Daniel García Aubert
575fe8e350
Remove unnecessary escape usage
5 years ago
Daniel García Aubert
d5218a86f6
Enforce callback error handling
5 years ago
Daniel García Aubert
7a1d2ca205
Avoid calling Object.prototype methods directly on object instances
5 years ago
Daniel García Aubert
4d70ac0894
Apply automatic eslint fixes
5 years ago
Daniel García Aubert
e8cff194fc
Rename template_maps -> template-maps
5 years ago
Daniel García Aubert
8fe0112568
Rename overviews_query_rewriter -> overviews-query-rewriter
5 years ago
Daniel García Aubert
b1d5f0f9e8
Rename pg_query_runner -> pg-query-runner
5 years ago
Daniel García Aubert
7142e4db37
Rename pg_connection -> pg-connection
5 years ago
Daniel García Aubert
281a079a62
Simplify folder structure
5 years ago