Commit Graph

13249 Commits

Author SHA1 Message Date
Sam ab3d4471fe PERF: remove eval cause it is costing lots of memory
see: http://tenderlovemaking.com/2013/03/03/dynamic_method_definitions.html

isolated via memory profiler gem.
2015-02-12 14:44:40 +11:00
Sam 3c6aede1aa using wrong var here 2015-02-12 14:40:07 +11:00
Sam e96dbd6f06 Revert "Upgrade i18n gem"
This reverts commit dde24c4ddb.
2015-02-12 12:11:49 +11:00
Sam a5f46c98c1 PERF: only load locale files we are using
We used to load up all translations in all languages
2015-02-12 12:08:14 +11:00
Sam dde24c4ddb Upgrade i18n gem 2015-02-12 12:05:19 +11:00
Sam fce9e296e7 background reqs failed or not are always counted seperately 2015-02-12 09:47:46 +11:00
Neil Lalonde fcae399481 fix my totally broken ApplicationRequest.stats method 2015-02-11 17:41:35 -05:00
Régis Hanol 9a637836d0 FEATURE: readonly safeguard 2015-02-11 21:50:17 +01:00
Régis Hanol db53e022cc FEATURE: prevent upload of more than 10 files at a time 2015-02-11 19:34:48 +01:00
Robin Ward 38fbdf65ef FIX: Sometimes `postChangedRoute` could be triggered when torn down 2015-02-11 12:57:22 -05:00
Robin Ward 282476fdf9 FIX: Hide "error logs" logs from staff. Refactor admin menu HTML. 2015-02-11 11:53:06 -05:00
Régis Hanol 38279c79c9 Merge pull request #3196 from fantasticfears/discuz
find more reply syntax during processing in discuzx importer
2015-02-11 09:57:25 +01:00
riking 3c035dce7c FIX: Don't expire ratelimits at midnight server time 2015-02-10 22:45:46 -08:00
Sam ca915e8ad7 correct issue under 2.0.0 2015-02-11 17:41:24 +11:00
Sam 9a59caf800 add regexp to reporting 2015-02-11 17:23:54 +11:00
Sam e427d54191 FEATURE: show large objects in admin/memory_stats 2015-02-11 17:18:47 +11:00
Erick Guan b1e69d1f95 find more reply syntax during processing in discuzx importer 2015-02-10 21:43:16 -08:00
Sam c5fde808cf PERF: remove addressable gem, its consuming huge amount of memory 2015-02-11 14:30:12 +11:00
Sam 577f7446b4 FIX: only load S3 stuff when we need it 2015-02-11 10:55:04 +11:00
Sam 3cf87b94c9 whitespace 2015-02-11 09:39:04 +11:00
Robin Ward cf3582bedb FIX: JSHint wasn't validating ES6 files, this fixes a bunch of errors. 2015-02-10 17:21:16 -05:00
Neil Lalonde d5712e43cf FIX: auto-close time can be a date like 2015-2-22 2015-02-10 17:10:20 -05:00
Robin Ward c0856daf13 Merge pull request #3192 from riking/patch-xss
SECURITY: missed html escaping
2015-02-10 15:24:09 -05:00
Régis Hanol c4e427cf73 FEATURE: filter screened IP addresses 2015-02-10 19:38:59 +01:00
Robin Ward 9b12e53d9c Merge pull request #3195 from techAPJ/patch-1
FIX: set base_url for usage_tips
2015-02-10 12:53:33 -05:00
Robin Ward d8c616a68a Add a `store` so we can start using ES6 modules for models, finally. 2015-02-10 12:35:53 -05:00
Robin Ward 8d46de4819 Add a spec for the new plugins controller 2015-02-10 12:35:53 -05:00
Arpit Jalan 9d5baf12ff FIX: set base_url for usage_tips 2015-02-10 23:04:00 +05:30
Sam 0ce6524153 correct brokeness 2015-02-10 17:05:24 +11:00
Sam acda6ebd60 FIX: view tracking needs to release data earlier
retaining data during queuing was causing huge memory spikes
2015-02-10 17:03:33 +11:00
Sam 39e828dee4 improve formatting 2015-02-10 15:59:08 +11:00
Sam d5405eebde Add basic snapshot comparison for tracking memory leaks 2015-02-10 15:54:16 +11:00
Sam 1d99f5c9c0 FEATURE: add process stats to memory report 2015-02-10 12:34:01 +11:00
Jeff Atwood c1d93b2713 move private reply welcome notice to bottom 2015-02-09 17:26:58 -08:00
Sam 3aea00473b FEATURE: improve memory reporting of /admin/memory_stats 2015-02-10 11:48:30 +11:00
Jeff Atwood e14f38f19e make relative links absolute in welcome PM/email 2015-02-09 16:42:05 -08:00
riking 83b51875bb Use html_escape method instead of gsub 2015-02-09 15:03:17 -08:00
riking 7e79daf9af SECURITY: missed html escaping 2015-02-09 14:34:05 -08:00
Robin Ward 0da022a1ba FIX: Make sure to observe shadowed settings when refreshing 2015-02-09 17:28:55 -05:00
riking bc06b7f0aa FIX: 🈂️ Pluralization rules had wrong lang keys 2015-02-09 14:19:11 -08:00
Robin Ward 5d6f6c4887 Revert "FIX: `refresh` should work with shadowed globals"
This reverts commit 226f4b5bd9.
2015-02-09 17:08:52 -05:00
Robin Ward 226f4b5bd9 FIX: `refresh` should work with shadowed globals 2015-02-09 16:52:21 -05:00
riking 68ccd2d664 FEATURE: All 500 errors now show up in Logster
Added Discourse.handle_request_exception()
2015-02-09 12:48:33 -08:00
riking 5657006aca Rename handle_exception to handle_job_exception 2015-02-09 12:47:46 -08:00
Robin Ward 62b1969c4b Merge pull request #3185 from techAPJ/patch-1
FIX: uncategorized is showing up in title tag on topics
2015-02-09 14:30:19 -05:00
Arpit Jalan e87ff31d4c FIX: uncategorized is showing up in title tag on topics 2015-02-10 00:54:43 +05:30
Robin Ward f445d025f6 Merge pull request #3189 from riking/patch-1
FEATURE: Make default locale settable during bootstrap
2015-02-09 14:17:27 -05:00
riking 380185e24a FEATURE: Make default locale settable during bootstrap 2015-02-09 11:15:41 -08:00
Robin Ward b7f45f6667 Merge pull request #3188 from techAPJ/patch-2
Remove group names warning
2015-02-09 14:01:52 -05:00
Arpit Jalan cf1815ca40 Remove group names warning 2015-02-10 00:17:05 +05:30