Commit Graph

17 Commits

Author SHA1 Message Date
Guo Xiang Tan
5012d46cbd Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
Matt Palmer
90d654c46c Include HTTP Host header in nginx logs
This is crucial in multisite installations, because otherwise the nginx logs
are fairly useless, however it can also be quite handy to know what
hostnames are being sent to your site.  The variable is quoted, because it
is untrusted input (it is taken directly from the HTTP request), but nginx
helpfully escapes the quoting character automagically, so we don't have to
worry about that.

For now, the log analysis plugin *recognises* the new log format
(and continues to recognise the previous format, for backwards
compatibility), but doesn't do anything with the new log entry field.  This
means your multisite performance plugin data is still broken, but it's no
worse than it was before.
2017-06-28 14:41:02 +10:00
Régis Hanol
ecdae9f863 FIX: i18n integrity specs
FIX: check all .yml files in the project for integrity
FIX: ensure localized yamls are compatible with english
2017-02-24 11:35:33 +01:00
Sawood Alam
49fc54aac6 Add initial Urdu support with RTL direction 2016-12-03 23:17:51 -05:00
Mohamad Abras
fe07200dbf refinement Arabic translation of NGINX plugin 2016-11-04 23:12:03 +02: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
Robin Ward
440558517f Revert "Let's avoid Ruby 2.3 syntax for now"
According to @tgxworld we only support 2.3 now so let's put this back!

This reverts commit ede19943b3.
2016-07-21 15:22:57 -04:00
Guo Xiang Tan
f5c8d05f1e Should be api_username. 2016-07-20 09:30:08 +08:00
Robin Ward
ede19943b3 Let's avoid Ruby 2.3 syntax for now 2016-07-19 12:43:06 -04:00
Guo Xiang Tan
374592d599 Request url may be empty. 2016-07-19 17:29:03 +08:00
Guo Xiang Tan
9730d2e3a7 FIX: Load scheduled job from a file. 2016-07-19 17:18:40 +08:00
Guo Xiang Tan
9c24f09fd9 Urgh this shouldn't be here. 2016-07-19 16:32:26 +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