Commit Graph

11860 Commits

Author SHA1 Message Date
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
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 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
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
Guo Xiang Tan 57f1bf1ddd UX: Better handle width for fields in sign up form. 2016-07-18 17:28:13 +08: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
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
Neil Lalonde a74606c87c PERF: tag groups index query 2016-07-15 17:16:26 -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 7848a84e0e FIX: ensure summary emails have the 'List-Unsubscribe' header set 2016-07-15 11:39:29 +02:00
Jeff Atwood 802b502818 I think check works better for dismiss 2016-07-15 00:59:23 -07:00
Guo Xiang Tan a604c6393d UX: Add icon to dismiss notifications button. 2016-07-15 12:11:58 +08:00
Neil Lalonde ba637e40b6 FEATURE: Google Tag Manager Universal Analytics support 2016-07-14 16:35:20 -04:00
Hu Ming f8a12d4940 Add support for AWS cn (#4327) 2016-07-14 16:56:09 +02:00
Robin Ward e5bbfe1f1b Lint inner function declarations to prevent Safari breakage 2016-07-14 10:22:39 -04:00
Sam Saffron bea06afd3d UX: suppress description excerpt on mobile 2016-07-14 22:38:16 +10:00
Sam Saffron fa8ba3b408 UX: don't expand pinned on mobile categories page 2016-07-14 22:30:51 +10:00
Sam Saffron 3dcd6edb46 FEATURE: stage post in stream on edit 2016-07-14 22:20:43 +10:00
Jeff Atwood 1386f9c8c9 make the activate account button a btn-primary 2016-07-14 03:40:55 -07:00
Régis Hanol 7b6d946613 FIX: searching received emails for TO was broken 2016-07-13 22:43:25 +02:00
Robin Ward 00e45c0d3c FIX: Safari strict mode errors 2016-07-13 15:36:34 -04:00
Robin Ward 29c9979b9b Deprecate the BBCode module too for plugins that reach in there. 2016-07-13 14:05:54 -04:00
Neil Lalonde 5e8cfe8cef tag group input needs to be bigger 2016-07-13 13:55:42 -04:00
Arpit Jalan c7bbc1cebf update onebox gem 2016-07-13 21:54:49 +05:30
Guo Xiang Tan 5fed886c8f FIX: Update post replies when we move posts. (#4324) 2016-07-13 17:34:21 +02:00
Guo Xiang Tan c3cab98998 FEATURE: Admins should be able to create polls even when plugin is disabled. 2016-07-13 18:05:19 +08:00
Guo Xiang Tan 973a7c9d3a FIX: Redeeming an invitation fails if inviter has been destroyed. 2016-07-13 11:58:31 +08:00
Sam Saffron f369d492b3 FEATURE: stop linking to last post in crawler view
This only makes stuff harder for google AND does not even function correctly
2016-07-12 21:11:33 +10:00
Sam Saffron 86b3de510b UX: staged posts show up with opacity 0.4 till on server 2016-07-12 17:03:42 +10:00
Sam Saffron dbc25a9d64 FEATURE: flags for suppressing pinned expansion
To suppress pinned excerpt expansion
on mobile set "show_pinned_excerpt_mobile" to false

To suppress pinned excerpt expansion
on desktop set "show_pinned_excerpt_desktop" to false
2016-07-12 13:53:59 +10:00
Robin Ward 4d65370797 FIX: `<strike>` was no longer whitelisted 2016-07-11 12:57:05 -04:00
Robin Ward e5293f2c9a FIX: Force HTML to recompile 2016-07-11 12:57:05 -04:00
Robin Ward 529fea3c42 FIX: Duplicate variable 2016-07-11 12:57:05 -04:00
Robin Ward 748ce74653 FIX: Deprecations have to be ES5 2016-07-11 12:57:05 -04:00
Régis Hanol a2b9b01d0f FIX: details plugin wasn't working properly 2016-07-11 12:57:05 -04:00
Robin Ward 6dc4a3f2d6 A constant we can use to detect if the new dialect engine is present 2016-07-11 12:57:05 -04:00
Robin Ward cda58511ac Better deprecation messages for Pretty Text 2016-07-11 12:57:05 -04:00
Robin Ward c1d4ca4031 FIX: Raw templates in customizations were broken 2016-07-11 12:57:05 -04:00
Robin Ward 3d21805022 FIX: Backwards compatibility for plugins who sanitize 2016-07-11 12:57:05 -04:00
Robin Ward 6d7e8bd68b FIX: Customizations were broken 2016-07-11 12:57:05 -04:00
Robin Ward a291944835 FIX: Add `kbd` support to the sanitizer 2016-07-11 12:57:05 -04:00
Robin Ward bba0fd0654 REFACTOR: PreloadStore to ES6 2016-07-11 12:57:05 -04:00
Robin Ward 25d6915cac Migrate discourse.js to ES6 2016-07-11 12:57:05 -04:00
Robin Ward 7ff5b228cd REFACTOR: Raw Handlebars ported to ES6 2016-07-11 12:57:05 -04:00
Robin Ward b8125b3512 REFACTOR: Remove `Discourse.Ajax` 2016-07-11 12:57:05 -04:00
Robin Ward 56f07529bb REFACTOR: Migrate more legacy JS to ES6 2016-07-11 12:57:05 -04:00
Robin Ward a546395397 REFACTOR: Migrate markdown functionality in ES6 2016-07-11 12:57:05 -04:00
Guo Xiang Tan 56e43a3ca0 UX: Make sure we reposition popup menu on mobile when windows is resized. 2016-07-11 12:45:19 +08:00
Guo Xiang Tan 5c4fdd1207 UX: Remove margins on popup menu on mobile. 2016-07-11 11:01:25 +08:00
Guo Xiang Tan 4b557842eb FIX: Clicking on gear icon should hide popup menu. 2016-07-11 10:54:30 +08:00
Sam 64ca5552bc correct scoping 2016-07-10 16:45:24 +10:00
Sam c5c443fda3 correct typo 2016-07-10 10:51:49 +10:00
Neil Lalonde 304f7040a3 FIX: tag filter dropdown was gone if some tags were restricted to a category. 2016-07-08 17:13:40 -04:00
Robin Ward 2cfb0d60a8 FIX: Remove the last auth result after authenticating 2016-07-08 15:53:27 -04:00
Arpit Jalan c626558d36 UX: group pages should not show Messages tab to unauthorised users (#4318) 2016-07-09 00:50:04 +05:30
Robin Ward f7c303c82e FIX: If there's no `window.opener` use the localStorage method for login 2016-07-08 14:45:34 -04:00
Robin Ward d5b54b0f52 FIX: Unread count was not showing up 2016-07-08 13:09:04 -04:00
Guo Xiang Tan c402641684 Whoops. 2016-07-08 16:09:30 +08:00
Guo Xiang Tan c6a6d6e1d6 FIX: Quote reply button not taking into scrolling offset. 2016-07-08 15:58:24 +08:00
Guo Xiang Tan 2484b8eb91 FIX: Show overriden checkbox not triggering search on check. 2016-07-08 14:37:24 +08:00
Guo Xiang Tan e619af3eee UX: Select text in input when toggling search menu. 2016-07-08 14:17:02 +08:00
Sam d1bb71f99d allow for incomplete fixture 2016-07-08 14:39:27 +10:00
Sam f1b1b0da14 FEATURE: show watched first post in user page 2016-07-08 14:08:10 +10:00
Sam 4161ee210a FEATURE: improved tag and category watching and tracking
- present tags watched on the user prefs page
- automatically watch or unwatch old topics based on watch status

New watching and tracking logic takes care of handling old topics
(either with or without read state)

When you watch a topic you now watch historically

Also removes confusing warnings from user.
2016-07-08 12:58:30 +10:00
Guo Xiang Tan 423dc37f6c Merge pull request #4315 from tgxworld/fix_tags_not_in_category_showing
Tags which are not allowed in a category showing in drop down.
2016-07-08 10:28:10 +08:00
Guo Xiang Tan 8fd0414cdf
WIP: Tags which are not allowed in a category showing in drop down. 2016-07-08 10:27:56 +08:00
Travis Northcutt e4316523d4 Put 👍 and 👎 emojis in emotional order (#4317)
Inspired by [Slack](https://twitter.com/SlackHQ/status/472141845703565312)
2016-07-07 13:47:41 -04:00
Robin Ward 97ef5d87c5 FIX: Change the order of notifications in the drop down 2016-07-07 13:44:50 -04:00
Robin Ward 5f91919663 Email support for watching first post 2016-07-07 12:23:19 -04:00
Robin Ward 2005565c9c Server side code for Watching First Post Only 2016-07-07 11:21:50 -04:00
Robin Ward 1eb64151f6 User interface for watching first post 2016-07-07 11:21:50 -04:00
Guo Xiang Tan 323efcab71
Fix eslint. 2016-07-07 18:46:15 +08:00
Guo Xiang Tan 2b651b20cf
UX: Display message when user has no notifications instead of a blank page. 2016-07-07 18:25:48 +08:00
Guo Xiang Tan 6684e4ab87
UX: Don't show more notifications message when there is none. 2016-07-07 17:42:18 +08:00
Robin Ward 21684c98be FIX: Don't remove the `id` from the input to `createRecord` 2016-07-06 13:52:30 -04:00
Régis Hanol ee2780466c FIX: too many upload placeholders when uploading several files 2016-07-06 17:58:11 +02:00
James Kiesel 3035d144c0 FEATURE: Add options to inject class / page into emoji toolbar (#4312)
* Add options to inject class / page into emoji toolbar

* Fix options page setter
2016-07-06 11:42:24 -04:00
Arpit Jalan a80e8cb9bd FIX: do not execute onceoff badge queries if the badges are disabled 2016-07-06 13:04:08 +05:30
Robin Ward aa16f043ea FIX: When moving a topic, skip validations in case user is TL4 2016-07-05 16:48:14 -04:00
Neil Lalonde c63b0162e0 FIX: show tags in suggested topics list 2016-07-05 15:00:09 -04:00
Robin Ward 3fe4903e63 FIX: Support unicode replacements with multiple codepoints 2016-07-05 13:55:41 -04:00
Régis Hanol c104e4c022 allow avatars up to 1000px 2016-07-05 18:49:33 +02:00
James Kiesel 5c1e18ecc8 Add keydown hook for widgets (#4308) 2016-07-05 11:25:08 -04:00
Guo Xiang Tan 3cb8bbb851 UX: Automatically generate poll name for poll builder. 2016-07-05 22:15:52 +08:00
Guo Xiang Tan f256e3afb6 Merge pull request #4297 from tgxworld/handle_user_enabled_readonly_mode
Handle user enabled readonly mode
2016-07-05 19:54:32 +08:00
Guo Xiang Tan e4a82cdd85 Merge pull request #4306 from tgxworld/add_discourse_event_trigger_when_user_logs_out
FEATURE: Add event trigger when a user is logged out.
2016-07-05 19:50:46 +08:00
Régis Hanol 17890f95a1 FIX: don't send emails to mailing_list users when bounce threshold is reached 2016-07-05 12:20:07 +02:00
Guo Xiang Tan 7e076d63ba
Fix failing tests. 2016-07-05 12:17:29 +08:00
Sam bd46bc62ff FEATURE: show like button to anon 2016-07-05 12:11:48 +10:00
Sam c182836709 UX: include posters in suggested topics
required for mobile
2016-07-05 10:10:12 +10:00
Robin Ward 72560b5260 UX: Apply the category class on initial page load 2016-07-04 12:11:12 -04:00
Robin Ward 6129fda8af REFACTOR: `styleCategory` doesn't seem to be used in any way? 2016-07-04 12:11:12 -04:00