Commit Graph

11 Commits

Author SHA1 Message Date
Sam Saffron 30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
Guo Xiang Tan 152238b4cf DEV: Prefer `public_send` over `send`. 2019-05-07 09:33:21 +08:00
Guo Xiang Tan 5012d46cbd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
Guo Xiang Tan 4895723f7b FIX: Regression where api_key is not filtered properly. 2016-09-23 11:38:37 +08:00
Guo Xiang Tan 41a22b8c5a FIX: Don't sanitize API username so that we can potentially identify the source. 2016-08-25 16:32:11 +08:00
frictionel 7f33687bd5 Update nginx_analyze.rb 2016-08-16 01:04:19 +02:00
Guo Xiang Tan f5c8d05f1e Should be `api_username`. 2016-07-20 09:30:08 +08:00
Guo Xiang Tan 374592d599 Request url may be empty. 2016-07-19 17:29:03 +08:00
Guo Xiang Tan 662f6ef68a Fix typo. 2016-07-19 16:12:21 +08:00
Guo Xiang Tan 85d7526219 FIX: Sanitize sensitive parameters in nginx log report. 2016-07-19 15:44:00 +08:00
Guo Xiang Tan 1ea1cefb35 Extract Nginx log analyzer into a plugin that ships with Discourse. 2016-07-19 15:44:00 +08:00