Commit graph

20330 commits

Author SHA1 Message Date
Ryan Mulligan
2a257190e7 FEATURE: make discourse remap optionally do regex_replace (#4116)
This adds a --regex option to discourse remap to use the regexp_replace
feature in PostgreSQL. Example usage:

discourse remap --regex "\[\/?color(=[^\]]*)*]" ""

removes all the "color" bbcodes.

Also, this commit fixes the --global option, which did not work because
of how Thor processes the options.
2016-07-22 10:08:41 +02:00
Sam
12dc511fea PERF: make score calculator cheaper when site has long topics 2016-07-22 09:48:44 +10: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
Robin Ward
c279889191 FIX: Watching First Post in groups was working incorrectly 2016-07-21 15:05:10 -04:00
Robin Ward
c11f7bee99 FIX: Registering emoji via plugin.rb was broken 2016-07-21 14:15:51 -04:00
Jeff Atwood
d7ffbf9c97 copyedit to reflect improved watch/track 2016-07-21 00:49:32 -07:00
Guo Xiang Tan
33a628b0b0 UX: Vote now button to show up as primary once options have been selected. 2016-07-21 06:05:06 +08:00
Robin Ward
87b52e4cea FIX: Support emoji in "Popular Links" 2016-07-20 16:46:19 -04:00
Neil Lalonde
7c092b0fe0 FEATURE: add filter to show topics that have not been tagged 2016-07-20 16:21:51 -04:00
Robin Ward
8e87a727ef FIX: Add topic entrance to mobile categories page when clicking count 2016-07-20 16:08:58 -04:00
Robin Ward
cc976e3046 FIX: Don't lose focus when refreshing user results 2016-07-20 15:37:32 -04:00
Robin Ward
078f6c3fb5 FIX: Consistency with HTML anchors 2016-07-20 15:13:56 -04:00
Robin Ward
e09a304122 FIX: Jumping within a topic should respect anchors 2016-07-20 14:39:26 -04:00
Robin Ward
b9177af1eb FIX: Protocol-less links that begin with a shouldn't error 2016-07-20 13:44:12 -04:00
Robin Ward
16383a1749 FIX: Also support just open 2016-07-20 13:30:36 -04:00
Robin Ward
e341596536 FIX: Suppory open details elements 2016-07-20 13:26:23 -04:00
Robin Ward
7dd4470075 FIX: Allow div align 2016-07-20 12:39:12 -04:00
Robin Ward
e7e6840803 FIX: I shouldn't commit while tired :) 2016-07-20 10:42:35 -04:00
Régis Hanol
af53d37e47 FEATURE: add plugin-outlets from groups & categories incoming emails 2016-07-20 16:00:30 +02:00
Régis Hanol
fe080f5c57 FIX: allows plugin-outlets to use to block syntax 2016-07-20 15:59:25 +02:00
Guo Xiang Tan
1b986f2266 Fix the build. 2016-07-20 14:11:10 +08:00
Guo Xiang Tan
ab1b3472bd Merge pull request #4338 from eriko/patch-3
add `bundle exec` so that the admin account created runs
2016-07-20 12:32:15 +08:00
Guo Xiang Tan
f5c8d05f1e Should be api_username. 2016-07-20 09:30:08 +08:00
Robin Ward
8b314304f2 FIX: We don't sanitize h ids anymore 2016-07-19 17:39:34 -04:00
Robin Ward
ad7e2f15c7 Support linking to anchored headings in the first post 2016-07-19 17:05:45 -04:00
Robin Ward
81500e6f40 FIX: Move details tests into the plugin directory 2016-07-19 16:20:59 -04:00
Robin Ward
09be741820 FIX: Don't alert on new posts in a topic unless it's a new record 2016-07-19 15:57:05 -04:00
Erik Ordway
c43f57ce23 add bundle exec so that the admin account created runs 2016-07-19 12:54:09 -07:00
Robin Ward
8141e1d9bc FIX: details fixes with extra formatting 2016-07-19 15:14:55 -04:00
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