Commit graph

19750 commits

Author SHA1 Message Date
Robin Ward
f38347400c FIX: currentUser can be null 2016-07-19 12:48:52 -04:00
Robin Ward
ede19943b3 Let's avoid Ruby 2.3 syntax for now 2016-07-19 12:43:06 -04:00
Neil Lalonde
f9d0fea0ad FIX: user tag prefs should allow any tag and any number of tags 2016-07-19 12:39:11 -04:00
Neil Lalonde
fa9d8bd8bd FIX: category settings shouldn't limit tag input size 2016-07-19 12:30:02 -04:00
Guo Xiang Tan
4e4b1cb4a3 Merge pull request #4326 from dachary/wip-plugin-spec
explain how to run tests for a given plugin
2016-07-19 20:03:29 +08:00
Loic Dachary
7c7aaec7f1 explain how to run tests for a given plugin
See
https://meta.discourse.org/t/how-do-i-run-only-discourse-plugins-poll-spec/47244/5
for the corresponding discussion.

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-07-19 13:35:04 +02:00
Guo Xiang Tan
d4a80f9c6e Merge pull request #4337 from tgxworld/disable_readonly_mode_during_backup
FEATURE: Add SiteSetting to disable readonly mode during backup.
2016-07-19 17:53:54 +08:00
Guo Xiang Tan
1adfa0a4b5 FEATURE: Add SiteSetting to disable readonly mode during backup. 2016-07-19 17:44:04 +08: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
Jeff Atwood
bd88d05ac6 missed a spot for dismiss new 2016-07-19 01:05:28 -07:00
Arpit Jalan
f1566ef80b FIX: escape comma in exported CSV file 2016-07-19 13:19:46 +05:30
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
Jeff Atwood
0bafb52a03 add fa-check to dismiss to match notifications 2016-07-19 00:41:59 -07:00
Guo Xiang Tan
89e28c12ed UX: Fix polls on dark theme. 2016-07-19 13:01:54 +08:00
Sam
1c964bf730 PERF: cache category topic ids 2016-07-19 12:34:54 +10:00
Sam
c1a01b2a28 PERF: limit maximum number of topic links to 50
When a giant topic has huge numbers of links only show top 50
if expanded from the show more links... button.
2016-07-19 10:55:35 +10:00
Sam
a5d0e0f277 PERF: index for deleted posts in a topic to speed up has_deleted detection 2016-07-19 10:29:22 +10:00
Robin Ward
7d4aed66c7 Email Cooker can onebox posts too 2016-07-18 15:00:12 -04:00
Robin Ward
12cfc8cedd FIX: Email cooker should support links within blockquotes 2016-07-18 14:38:40 -04:00
Robin Ward
6db50b820d FIX: Email cooker should link links that don't begin a line 2016-07-18 13:46:13 -04:00
Guo Xiang Tan
57f1bf1ddd UX: Better handle width for fields in sign up form. 2016-07-18 17:28:13 +08:00
Jeff Atwood
fa5942f56c make email tokens (forgot,activate) live for 48 hours 2016-07-18 02:00:18 -07:00
Jeff Atwood
d4161c6bce mark old ga.js settings obselete in help text 2016-07-18 01:58:22 -07:00
Guo Xiang Tan
da21fad10b SECURITY: Possible SQL injection. 2016-07-18 15:35:41 +08:00
Vinoth Kannan
e99a73e16d New AWS S3 Storage Mumbai region added (#4335)
* ap-south-1 region added

* Update client.en.yml

* ap-south-1 region added
2016-07-18 09:03:26 +02:00
cpradio
64bdededd3 Allow plugins that implement OAuth and OAuth2 to show up under associated accounts in the Admin area. (#4333) 2016-07-18 09:02:41 +02:00
Guo Xiang Tan
d55da4fe1b Revert "Revert "Update rails.""
This reverts commit 4d27d7e1d3.
2016-07-18 11:00:23 +08:00
Guo Xiang Tan
5f481ec097 Merge pull request #4328 from dachary/wip-poll-empty-lines
FIX: poll builder should ignore empty lines
2016-07-17 09:24:36 +08:00
Sam Saffron
46b34e3c62 FEATURE: remove user option for edit history public
Users can no longer opt-in for "public" edit history
if site owner disables it.

This feature adds cost and complexity to post rendering since
user options need to be premeptively loaded for every user in the
stream. It is also confusing to explain to communities with private edit
history.
2016-07-16 21:30:00 +10:00
Sam Saffron
9893953f62 PERF: no need to nest a transaction when featuring topics
adding featured topics is already in a transaction, no need to nest
2016-07-16 15:36:40 +10:00
Sam Saffron
4cef1c1750 PERF: stop featuring users on categories
(this feature has long been removed, no need to run expensive queries
every 15 minutes)
2016-07-16 15:33:57 +10:00
Sam Saffron
6777bd2629 warm up v8 after fork 2016-07-16 15:11:34 +10:00
Robin Ward
2d1d9a78b8 Revert "Try warming up pretty text before we fork"
This reverts commit 2e71e6fc6f.
2016-07-15 18:10:22 -04:00
Neil Lalonde
a74606c87c PERF: tag groups index query 2016-07-15 17:16:26 -04:00
Robin Ward
4d27d7e1d3 Revert "Update rails."
This reverts commit 898ec43989.
2016-07-15 16:35:57 -04:00
Robin Ward
56a7249498 Minor quoting improvements to email cooker 2016-07-15 15:37:16 -04:00
Neil Lalonde
61ada93a99 FIX: category settings showed top tags instead of tag settings 2016-07-15 14:08:42 -04:00
Régis Hanol
caa1aea995 FIX: ensure emojis have absolute URLs and uses CDN 2016-07-15 18:37:51 +02:00
Régis Hanol
6ed03bf3d9 FIX: always update bounce_score even when email was not auto_generated 2016-07-15 18:00:40 +02:00
Régis Hanol
8d2c878b34 FIX: only send 1 rejection email per day to prevent loops 2016-07-15 13:18:55 +02:00
Régis Hanol
7848a84e0e FIX: ensure summary emails have the 'List-Unsubscribe' header set 2016-07-15 11:39:29 +02:00
Guo Xiang Tan
9353013b40 Merge pull request #4332 from tgxworld/bunch_of_fixes_for_backup
Bunch of fixes for backup
2016-07-15 17:26:30 +08:00
Jeff Atwood
802b502818 I think check works better for dismiss 2016-07-15 00:59:23 -07:00
Guo Xiang Tan
898ec43989 Update rails. 2016-07-15 13:18:30 +08:00
Guo Xiang Tan
a604c6393d UX: Add icon to dismiss notifications button. 2016-07-15 12:11:58 +08:00
Guo Xiang Tan
b981041f6f Make sure we log failures in ensure block. 2016-07-15 11:36:47 +08:00