Commit Graph

12123 Commits

Author SHA1 Message Date
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 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
Robin Ward ad7e2f15c7 Support linking to anchored headings in the first post 2016-07-19 17:05:45 -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
Robin Ward 8141e1d9bc FIX: details fixes with extra formatting 2016-07-19 15:14:55 -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
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
Jeff Atwood 4076b48d3f Merge pull request #4307 from awesomerobot/master
fixing usercard/profile mentions and profile staff counter spacing
2016-07-04 09:10:09 -07:00
Guo Xiang Tan 37db335599 Merge pull request #4305 from tgxworld/avoid_coupling_composer_and_d_editor
Remove coupling of a composer feature to d editor.
2016-07-04 23:51:25 +08:00
awesomerobot 38d2131bd8 fixing usercard/profile mentions and staff counter bottom spacing 2016-07-04 11:36:59 -04:00
Régis Hanol 59680af329 disable email white/blacklisting for staged users 2016-07-04 16:05:01 +02:00
Guo Xiang Tan 22ade1f811
FEATURE: Add event trigger when a user is logged out. 2016-07-04 17:20:30 +08:00
Guo Xiang Tan 87e3b3cb9a Merge pull request #4302 from tgxworld/fix_query_when_cleaning_uploads
PERF: Split queries when cleaning uploads.
2016-07-04 17:19:41 +08:00
Sam c665607f72 FIX: not doing non leading word match in emoji autocomplete 2016-07-04 19:16:08 +10:00
Sam e805dd7000 UX: improve handling of PM drafts
- Show PM draft if it exists on any of the your user tabs
- If a draft is already open when visiting user profile suppress loading of draft
2016-07-04 18:55:49 +10:00
Guo Xiang Tan bd07658a37
PERF: Split queries when cleaning uploads.
This reduces the number of scans that the db has to do in the query
to fetch orphan uploads. Futheremore, we were not batching our
records which bloats memory.
2016-07-04 16:34:32 +08:00
Guo Xiang Tan c5a66d4b50
Remove coupling of a composer feature to d editor. 2016-07-04 16:15:36 +08:00
Sam 1ad3340325 Merge pull request #4304 from Mittineague/add-badge-slug-to-class
Add badge slug to class
2016-07-04 18:01:44 +10:00
Guo Xiang Tan 4657d22eb0
Make eslint happy. 2016-07-04 11:00:14 +08:00
Sam d61df21d69 FEATURE: allow people to send messages to themselves (for notes etc) 2016-07-04 11:36:43 +10:00
Sam 92daf44daf correct random suggested topic selection 2016-07-04 10:34:54 +10:00
Mittineague 5e816183cd Update show.hbs 2016-07-03 14:16:14 -04:00
Mittineague dc89fc0fbd Update badge-card.js.es6 2016-07-03 14:14:07 -04:00
Sam 0c6d8e155c Merge pull request #4300 from NuckChorris/patch-2
Log RecordInvalid when verbose_sso_logging enabled
2016-07-01 14:12:06 +10:00
Guo Xiang Tan d102a079b1
FIX: Bump plugin API version. 2016-07-01 09:32:30 +08:00
Sam 813fcebdd1 FIX: email_always was not respected correctly
In the past email always meant, email me even if active UNLESS I read post

Now emails always means, always, even if I read the post
2016-07-01 11:22:07 +10:00
Guo Xiang Tan 9fc0b8607c
Add event trigger for post notification alert. 2016-07-01 00:12:07 +08:00
Guo Xiang Tan 904d9735ab
Refactor desktop notifications to be more modular. 2016-07-01 00:11:32 +08:00
Régis Hanol 5dcdfb9777 ensure default locale is 'en' instead of nil 2016-06-30 17:37:00 +02:00
Régis Hanol 5169bcdb6e FIX: httpshttps ultra secure URLs 2016-06-30 16:55:01 +02:00
Peter Lejeck e265b7b090 Log RecordInvalid when verbose_sso_logging enabled 2016-06-29 22:12:25 -07:00
Neil Lalonde 99e88ce39f FIX: n+1 query when fetching tag groups 2016-06-29 18:41:22 -04:00
Neil Lalonde 610d8a5cb1 FIX: layout of topic list nav on mobile when filtered by a tag 2016-06-29 15:51:22 -04:00
Neil Lalonde 0eaf76fc88 FIX: add missing outlet on topic list page when filtered by tag 2016-06-29 14:24:13 -04:00
acshi deda9a6908 Prevent creation of empty entry in _connectorCache for raw templates. (#4296) 2016-06-29 10:59:48 -04:00
Mark Wingerd e4074f75b1 Stop URLs from being censored (#4288)
URLs that contained a censored word were being altered by
censored-words.js and ulimately this broke the links. As an example
www.expertsexchange.com would get censored when it would link to a
legitimate website.  This URL blocking functionality should be
handled through other settings.
2016-06-29 10:41:54 -04:00
Guo Xiang Tan 8db3ab5f2a Merge pull request #4292 from tgxworld/rename_use_https_to_force_https
Rename `SiteSetting#use_https` to `force_https`.
2016-06-29 15:17:57 +08:00
Guo Xiang Tan 64858c10fe
FIX: Set a not expiring key for user enabled readonly mode. 2016-06-29 15:10:01 +08:00
Guo Xiang Tan 20359788dc
Rename `SiteSetting#use_https` to `force_https`. 2016-06-29 15:02:43 +08:00
Guo Xiang Tan 717d606430 Merge pull request #4295 from tgxworld/ux_collapse_users_on_om
UX: Collapse users when composing a private message.
2016-06-29 11:56:19 +08:00
Guo Xiang Tan 41842460b4
UX: Collapse users when composing a private message. 2016-06-29 10:40:38 +08:00
Sam 4b7b80a5c2 Merge pull request #4259 from tgxworld/update_dependencies
Update dependencies
2016-06-29 12:20:18 +10:00
Sam 7a4c3af29d Merge pull request #4279 from scossar/s3cdn-upload-location
FIX: get urlWithCDN before appending protocol
2016-06-29 12:18:44 +10:00
Guo Xiang Tan e221414935
PERF: Remove N+1 queries on user messages page. 2016-06-29 09:30:54 +08:00
Sam b4cb2e367c FIX: require full name at signup when display is suppressed and required 2016-06-29 10:43:40 +10:00
Robin Ward 61ce5c210c FIX: S3Cdn link clicks weren't working 2016-06-28 15:52:38 -04:00
Régis Hanol 76766a25bf FIX: wrong translation key 2016-06-28 17:22:34 +02:00
Régis Hanol f406b9a798 fix lint 2016-06-28 16:49:47 +02:00
Sam 1411eedad3 FEATURE: offer to unwatch categories when unwatching category 2016-06-28 18:34:20 +10:00
Guo Xiang Tan fc81209564
UX: Missing loading wheel on user notifications page. 2016-06-28 08:37:36 +08:00
Guo Xiang Tan 156953bc55
UX: Better alignment on group page. 2016-06-28 08:33:11 +08:00
Guo Xiang Tan dc09b9f8d6 Merge pull request #4290 from linc01n/fix-group-title-page-color
UX: fix group header font color
2016-06-28 08:28:16 +08:00
Sam ea46e5dd57 UX: add minimum height for zoomed composer on mobile 2016-06-27 17:22:42 +10:00
Guo Xiang Tan 994063ac72
UX: Disable toolbar by default on Android devices. 2016-06-27 15:06:58 +08:00
Sam 3ad1423c53 UX: autofocus the edit reason text field 2016-06-27 16:49:16 +10:00
Guo Xiang Tan 5ba12840e0 Merge pull request #4285 from tgxworld/fix_polls_not_cooked
FIX: Incorrect model for embedded post widget.
2016-06-27 13:31:03 +08:00
Guo Xiang Tan 63b8797667
FIX: Incorrect model for embedded post widget. 2016-06-27 13:15:26 +08:00
Arpit Jalan 1b80f1ea39 Fix the build :fired: 2016-06-27 01:11:56 +05:30
Arpit Jalan 83309752ae FEATURE: new site setting 'code formatting style' 2016-06-27 01:00:11 +05:30
Régis Hanol 800081f606 FIX: staged users weren't able to reply in restricted categories 2016-06-26 19:25:45 +02:00
Régis Hanol 74e93d2260 FIX: Reply As New Topic from all 3 different places 2016-06-26 14:20:22 +02:00
Lincoln Lee 2ecbd71bdc UX: fix group header font color
Change according to group header background color
2016-06-26 00:01:15 +08:00
Robin Ward ccf9b70671 When restoring a backup, disable emails.
This prevents accidental sending of emails after a restore before
the admin has had a chance to review everything.
2016-06-24 17:15:15 -04:00
Arpit Jalan 3232ce8265 FIX: better error message when trying to approve post for closed/deleted topic 2016-06-24 15:11:45 +05:30
Régis Hanol 5bfc9cf69e Allow API to create staged users 2016-06-23 12:27:05 +02:00
Jeff Atwood ef285579d6 accidentally inverted dark/light on fps blurb 2016-06-22 17:22:26 -07:00
Jeff Atwood 81a3559b29 adjust full page search result blurb colors 2016-06-22 16:48:36 -07:00
Régis Hanol fc9cfd698d UX: admin flags needed some ❤️ 2016-06-22 16:32:50 +02:00
Régis Hanol 2ecd0da59f REFACTOR: use same code path for handling emails via API and POP 2016-06-22 15:50:49 +02:00
Sam 6e4ff45e44 FIX: deleting a topic result not updated on screen 2016-06-22 17:28:46 +10:00
Sam 3701a8ada2 FIX: missing in action wrench on short topics 2016-06-22 10:56:23 +10:00
Robin Ward 94a4af6af7 FIX: If posts are deleted they should be updated in consistency jobs 2016-06-21 13:05:56 -04:00
James Kiesel 7a6bc3f1d7 Apply notification styles to mailing list email manually (#4283)
* Apply notification styles to mailing list email manually

* Fix failing spec
2016-06-21 20:42:30 +05:30
Guo Xiang Tan 0ed4d3d313 FIX: Topic admin menu item not positioned properly on short topics. (#4284) 2016-06-21 10:40:00 -04:00
Régis Hanol 874c18cbc1 FIX: unstage users when using SSO 2016-06-21 11:28:58 +02:00
Arpit Jalan bf7ea8bb73 Merge pull request #4281 from scossar/add-m4a-to-audio-onebox-filetypes
FEATURE: add m4a to list of audio file extensions
2016-06-21 11:35:35 +05:30
Sam 2d425892c4 FIX: update list of invited users after inviting 2016-06-21 16:01:29 +10:00
scossar 3159dfb0ee add m4a to audio onebox filetypes 2016-06-20 14:41:37 -07:00
scossar 9bf381b95c get urlWithCDN before appending protocol 2016-06-20 14:03:24 -07:00
Neil Lalonde 487c20959c FEATURE: max topics/replies per day for new users now starts counting from the first post, not signup date 2016-06-20 16:55:11 -04:00
Régis Hanol e9a293beeb FIX: clean up uploads job 2016-06-20 22:05:41 +02:00
Régis Hanol 68c158d592 FIX: backup upload when using subfolder 2016-06-20 17:37:24 +02:00
Kris 87a2024d61 fixing link color in profiles (#4278) 2016-06-20 14:22:32 +02:00
Régis Hanol 96c07985b3 UX: move user's bounce score below email in user admin page 2016-06-20 12:39:53 +02:00
Régis Hanol 7fca6f502f fix and improve image downsizing algorithm 2016-06-20 12:35:07 +02:00
Guo Xiang Tan b3a8f7d369 Merge pull request #4277 from tgxworld/fix_bug_when_post_creator_returns_nil
Fix bug when post creator returns nil
2016-06-20 18:15:52 +08:00
Régis Hanol 9c5a727aa2 FIX: reply as new link wasn't working sometimes 2016-06-20 12:09:04 +02:00
Régis Hanol 5e2545a578 FEATURE: improve support for (whitelisted) SVGs as images 2016-06-20 10:22:13 +02:00
Guo Xiang Tan 9a0797204a
FIX: Add check to ensure post has been created. 2016-06-20 15:51:26 +08:00
Sam 41718be67f fix linting 2016-06-20 17:13:43 +10:00
Jeff Atwood bf3b68fbd8 fix typo in URL 2016-06-19 23:32:03 -07:00
Sam 8866169879 FEATURE: can invite/revoke groups on private messages 2016-06-20 16:29:27 +10:00
Guo Xiang Tan e72684f9dc
Stop having things silently fail. 2016-06-20 14:27:15 +08:00
Guo Xiang Tan 3d0be0d47c
UX: Display category and tags on full page search in a seperate row. 2016-06-20 12:03:48 +08:00
Guo Xiang Tan fd800b544f
FIX: Hide popup-menu options when typing. 2016-06-20 10:12:01 +08:00
Guo Xiang Tan a053caeda4
FIX: Make sure we hide popup menu options on esc. 2016-06-20 10:11:42 +08:00
awesomerobot 92fe4118df updating user profile to match theme/usercard 2016-06-19 14:43:17 -04:00
Arpit Jalan 605a302546 UX: move category logo above navigation 2016-06-18 14:20:37 +05:30
Jeff Atwood c882399208 more full page search tweaks 2016-06-17 18:54:41 -07:00
Jeff Atwood 92203c7233 make room in full page search for reply count on right 2016-06-17 18:31:25 -07:00
Jeff Atwood 568ee2ff42 second pass on full page search results layout 2016-06-17 17:25:31 -07:00
Jeff Atwood f083a198c0 first pass on better full page search layout 2016-06-17 17:05:29 -07:00
Jeff Atwood c9de667a83 Merge pull request #4274 from cpradio/fix-keyboard-shortcuts
FIX: Correct the topic notification keyboard shortcuts
2016-06-17 11:53:21 -07:00
cpradio 145ee10f40 FIX: Correct the topic notification keyboard shortcuts 2016-06-17 14:44:08 -04:00
Robin Ward efafdd252e FIX: Close multi select when switching topics 2016-06-17 14:20:14 -04:00
Robin Ward 83e46cc302 FIX: Restrict changing ownership to one topic 2016-06-17 14:20:14 -04:00
Neil Lalonde 612e084595 FIX: disabled combo-box attribute had no effect 2016-06-17 13:42:00 -04:00
Arpit Jalan a4a53d6500 FIX: apply style formatting on post notification emails 2016-06-17 15:09:48 +05:30
Guo Xiang Tan 44b691a1b4 Merge pull request #4272 from tgxworld/add_details_to_popup_menu
FEATURE: Add details to popup menu options.
2016-06-17 16:04:57 +08:00
Arpit Jalan 19f4fe2ada FIX: category search was failing for anon 2016-06-17 10:12:31 +05:30
Sam 7edf7b590f SECURITY: restrict constantize classes in search controller 2016-06-17 13:47:34 +10:00
Guo Xiang Tan ff50e59c4f
FIX: Surround passing in the wrong length. 2016-06-17 11:37:16 +08:00
Guo Xiang Tan 95a58b80d7
Clicking on popup menu options should refocus on selected text. 2016-06-17 11:37:16 +08:00
Guo Xiang Tan 5d9e6d2395
Push plugin options after default options. 2016-06-17 11:37:16 +08:00
Guo Xiang Tan 2484ef93ed
Use ES6 arrow functions instead. 2016-06-17 11:37:15 +08:00
Guo Xiang Tan 93715b5952
FIX: Check if popupMenuOptions is defined. 2016-06-17 11:35:36 +08:00
Guo Xiang Tan ddfb798276
FIX: Popup menu not showing for non-staff users. 2016-06-17 10:13:43 +08:00
Sam dd1a184955 Correct mailing list mode unsubscribe 2016-06-17 11:57:23 +10:00
Sam aee7489a5a annotate models 2016-06-17 11:28:49 +10:00
Sam 977facf4e4 clean up copy and styling of mailing list pref 2016-06-17 11:28:49 +10:00
Sam 852860de66 FEATURE: simpler and friendlier unsubscribe workflow
- All unsubscribes go to the exact same page
- You may unsubscribe from watching a category on that page
- You no longer need to be logged in to unsubscribe from a topic
- Simplified footer on emails
2016-06-17 11:28:49 +10:00
Jeff Atwood 78818551ef remove primary blue from gutter reply button 2016-06-16 16:07:39 -07:00
Jeff Atwood 5b6357ec4b missed a file somehow? 2016-06-16 15:52:44 -07:00
Jeff Atwood 98d95cd7ee UX: switch to glyph for exit anon 2016-06-16 15:23:07 -07:00
Robin Ward 84f0e5ad4d SECURITY: Unapproved, active users should not receive emails 2016-06-16 12:55:47 -04:00
Guo Xiang Tan a74291c91a
We no longer pass it the controller. 2016-06-16 17:12:45 +08:00
Guo Xiang Tan 838989a0d7
Use image-url. 2016-06-16 05:19:18 +08:00
Neil Lalonde be338892ec FIX: post revision history wasn't showing tags correctly 2016-06-15 14:15:30 -04:00
Neil Lalonde d62f2b4d67 UX: rename setting num_flags_to_block_new_user to num_spam_flags_to_block_new_user 2016-06-15 13:19:06 -04:00
Neil Lalonde 1c9519636c FEATURE: new users can be blocked from posting if enough TL3 users flag their posts 2016-06-15 10:51:34 -04:00
Régis Hanol 367954057b should have been 'deleted_topic' 2016-06-15 14:45:18 +02:00
Régis Hanol ed4634dc34 FIX: don't error out when deleting a topic with no user 2016-06-15 14:41:08 +02:00
Guo Xiang Tan bf64280661
FIX: Incorrect scope when checking for existing topic link. 2016-06-15 14:13:30 +08:00
Guo Xiang Tan ba87181506 Merge pull request #4264 from tgxworld/poll_ui_builder
Poll UI Builder.
2016-06-15 11:15:52 +08:00
Guo Xiang Tan 8d46727d67
FEATURE: Poll UI Builder. 2016-06-15 11:14:24 +08:00
Sam 84a1b863a6 UX: add link to watched topics from prefs page 2016-06-15 12:38:47 +10:00
Robin Ward 4cd19ee26e FIX: Avoid weird formatting for decloaked posts 2016-06-14 17:14:20 -04:00
Régis Hanol 0f809d4993 FIX: only show the reply as new topic when user can actually reply as new topic 2016-06-14 23:03:34 +02:00
Robin Ward af4391bbda UX: Don't show right arrow in quotes 2016-06-14 16:38:34 -04:00
Régis Hanol 7efd9359ec reply as new topic requires a post 2016-06-14 20:55:58 +02:00
Jeff Atwood 55b300bae1 better align reply action on link dialog 2016-06-14 11:45:50 -07:00
Régis Hanol 9588583244 'Reply as new topic' link in the share dialog 2016-06-14 20:01:21 +02:00
Robin Ward bdd15d5452 FIX: Don't remove all events, only the ones we created 2016-06-14 13:40:56 -04:00
Guo Xiang Tan 5813352439
FEATURE: Add new API to add a toolbar popup menu button. 2016-06-15 00:39:53 +08:00
Robin Ward 3d3ce56f52 UX: Never show the back button if it's the last post 2016-06-14 12:02:24 -04:00
Régis Hanol 470da6205c FIX: staged users should not watch/track/mute categories by default 2016-06-14 16:45:47 +02:00
Régis Hanol e97e0bb311 FEATURE: new FirstReplyByEmail bronze badge 2016-06-13 15:37:14 +02:00
Régis Hanol 49f8a2baa7 FEATURE: support for mandrill webhooks 2016-06-13 12:32:14 +02:00
Guo Xiang Tan 95a013784f Merge pull request #4260 from jamescook/james/replace-certain-gsub-with-tr
Replace certain uses of 'gsub' with 'tr' / 'chomp' for a speed improvement
2016-06-13 18:25:38 +08:00
Régis Hanol c13cbc8aea FIX: only show topic links from active users 2016-06-13 11:11:25 +02:00
Guo Xiang Tan 191d2283f4
Fix specs. 2016-06-13 14:31:10 +08:00
Guo Xiang Tan 1fe499e893
FIX: Don't include reflections when checking for duplication topic links. 2016-06-13 13:14:35 +08:00
Guo Xiang Tan 8c3e63f87a
Raise an error if create fails. 2016-06-13 13:14:35 +08:00
awesomerobot 3a8d366011 usercard background matches theme background (default = white) 2016-06-12 19:55:44 -04:00
Sam e66c51fd85 correct regression where clicking on unlisted topics does not work 2016-06-12 16:36:38 +10:00
Jeff Atwood 176d9e4863 UX: use link icon for linked posts ;) FINAL DECISION 2016-06-10 22:50:49 -07:00
James Cook c0e25b5a9a Replace certain uses of 'gsub' with 'tr' or 'chomp' for a speed
improvement
2016-06-10 22:08:37 -05:00
Jeff Atwood d1c5949922 switch to dual-way arrow for links 2016-06-10 16:09:10 -07:00
Robin Ward a77f5a75a1 FIX: Scroll jumping in some dimensions of browser 2016-06-10 14:14:25 -04:00
Robin Ward 28e3becf44 FIX: Allow authentication complete window to pop up 2016-06-10 12:24:34 -04:00
Robin Ward 33a418d537 Log errors authenticating with facebook 2016-06-10 12:05:14 -04:00
Robin Ward eff2865278 FIX: Support create account on facebook browser 2016-06-10 11:12:46 -04:00
Sam 9e75b14535 update is not really needed 2016-06-10 17:25:59 +10:00
Sam 65f466cf8c FIX: topic link reflections deleted on second save 2016-06-10 17:25:59 +10:00
Guo Xiang Tan 09b92dd345
Bump minimum Ruby version to 2.3. 2016-06-10 11:40:42 +08:00
Guo Xiang Tan a496574e93
Make eslint happy. 2016-06-10 11:40:21 +08:00
Sam 30e4b17de8 UX: strip outgoing links from bottom of post.
Only show incoming
2016-06-10 13:14:03 +10:00
Sam 3015030fe2 FIX: unlisted topics do not get "slug auto correct" logic 2016-06-10 10:53:26 +10:00
Neil Lalonde d7622f0665 remove unused broken tag_count column 2016-06-09 16:50:09 -04:00
Neil Lalonde addf4822e3 FIX: max_tags_per_topic should not limit how many tags can be in a group 2016-06-09 16:32:19 -04:00
Neil Lalonde a6090339a7 FEATURE: tag group options: limit usage of one tag per group, tags in a group can't be used unless a prerequisite tag is used 2016-06-09 16:01:19 -04:00
Robin Ward 171dbd4b09 Allow redirects on Facebook Browser 2016-06-09 15:51:46 -04:00
Robin Ward f6eb5e823b Temporarily remove FB browser redirect 2016-06-09 15:35:17 -04:00
Robin Ward ba5993ae79 FIX: Invalid escaping of URL 2016-06-09 15:10:21 -04:00
Robin Ward 4730c82b3a FIX: Detect `window.opener` 2016-06-09 14:51:38 -04:00
Robin Ward eee15dfe7f FIX: On facebook browser, don't close the window but redirect instead 2016-06-09 14:20:44 -04:00
Robin Ward df368ce251 FIX: Don't notify of duplicate links on edit of the first post 2016-06-09 13:03:06 -04:00
Robin Ward 9f8b8a1c3a FIX: Couldn't track some post positions properly 2016-06-09 12:17:42 -04:00
Guo Xiang Tan 8f5d3a5cbd UX: Use relative age for logs notice instead. 2016-06-09 11:26:07 +08:00
Régis Hanol 214e25f1b5 use proper 'Message-Id' field 2016-06-09 00:33:13 +02:00
Robin Ward 9a81115c1c FIX: Duplicate link shouldn't happen on edit 2016-06-08 17:22:23 -04:00
Régis Hanol 3e3538d603 loosen security a bit on mailgun's webhook 2016-06-08 22:38:38 +02:00
Robin Ward e38f17524b FIX: Reflected links weren't being cleaned up properly 2016-06-08 16:09:01 -04:00
Jeff Atwood aaafd9f26e slightly better group mention and link dupe copy 2016-06-08 12:37:52 -07:00
Robin Ward 468af7f0d7 FIX: Search was clearing data when you closed it 2016-06-08 14:35:36 -04:00
Robin Ward e393e43ce5 FIX: If the composer started open it didn't check for composer messages 2016-06-08 12:57:41 -04:00
Robin Ward 2169b1ecbc FIX: Duplicate link message should link to the post 2016-06-08 12:35:11 -04:00
Robin Ward ef6bcc08ce FIX: On Safari displaying the link's duplicate date was broken 2016-06-08 12:27:01 -04:00
Robin Ward e621e33321 UX: Apply `no-text` to buttons without labels and content 2016-06-08 11:14:36 -04:00
Robin Ward c275a68daf FIX: `mdash` being displayed when a date was invalid 2016-06-08 11:07:45 -04:00
Régis Hanol da4789253c show more wasn't counting links properly 2016-06-08 16:13:29 +02:00
Arpit Jalan 40e9e1be66 FEATURE: user-friendly custom message 2016-06-08 18:23:22 +05:30
Régis Hanol 2605c87ed9 FIX: post link arrow position with long title 2016-06-08 12:12:40 +02:00
Régis Hanol 1ec25ba2a7 less code 2016-06-08 11:57:33 +02:00
Régis Hanol ec7443b021 prefer incoming over outgoing links 2016-06-08 11:34:36 +02:00
Régis Hanol dc89a77946 tone down the post links styling 2016-06-08 09:59:34 +02:00
Sam 2e0a87a2ff correct linting error 2016-06-08 17:01:30 +10:00
Sam 6d10812b26 FEATURE: auto expand incoming/outgoing links 2016-06-08 16:49:01 +10:00
Sam 0e2d918b3b correct blankish username not treated correctly in post stream 2016-06-08 15:42:18 +10:00
Sam 614f4ca228 correct bugs 2016-06-08 15:24:27 +10:00
Sam b2f26eaa60 correct test case and add condition 2016-06-08 14:57:13 +10:00
Sam 4bf3fa5356 FEATURE: allow admins to prioritize full name vs username in the UI
Use the site setting prioritize_username_in_ux to switch between prioritizing
the full name vs username
2016-06-08 14:29:24 +10:00
Neil Lalonde a49ace0ffb FEATURE: ability to restrict tags to categories using groups 2016-06-07 15:36:20 -04:00
Robin Ward f8051209ba FIX: ESLint 2016-06-07 15:01:30 -04:00
Robin Ward dbdcd0ca0f FIX: Broken group warning 2016-06-07 14:58:57 -04:00
Robin Ward 431179dd25 FEATURE: Prompt users when they are entering duplicate links 2016-06-07 14:47:22 -04:00
Robin Ward 67303d7679 REFACTOR: Composer messages to use new ember idioms 2016-06-07 14:47:22 -04:00
Robin Ward 6aaa484baa REFACTOR: Move composer messages to store 2016-06-07 14:47:22 -04:00
Arpit Jalan 4253141700 FEATURE: custom email message for topic invites 2016-06-07 23:43:15 +05:30
Robin Ward b624c5cc94 FIX: Never show the "Back" button when close to the bottom of the timeline 2016-06-07 11:19:09 -04:00
Arpit Jalan 02e461de8d UX: better invite modal 2016-06-07 13:56:56 +05:30
Jeff Atwood 935c9343e4 desktop editor toggle didn't match mobile color 2016-06-07 00:35:13 -07:00
Jeff Atwood 2ef1dca335 slightly suppress onebox metadata 2016-06-07 00:26:42 -07:00
Arpit Jalan b1a94049e0 FIX: only staff can access 'resend all invites' feature 2016-06-07 10:57:08 +05:30
Arpit Jalan a9c6df198c FEATURE: rate limit resend invites 2016-06-07 10:24:20 +05:30
Jeff Atwood bfc8b3362b UX: remove text from right gutter reply button 2016-06-06 14:40:27 -07:00
Jeff Atwood 5c3e36aec2 Merge pull request #4252 from techAPJ/invite-email-improvements
FEATURE: customize invite email message
2016-06-06 14:24:39 -07:00
Régis Hanol ca1a532cf5 show 'revoke_email' in staff action logs 2016-06-06 22:58:09 +02:00
Neil Lalonde aa3152530c delete tag group 2016-06-06 16:27:46 -04:00
Neil Lalonde 0181f22c70 hide tags-admin-dropdown unless you are staff 2016-06-06 16:04:24 -04:00
Neil Lalonde f3f6c2f98f FEATURE: tag groups 2016-06-06 14:18:48 -04:00
Neil Lalonde a3f1daca5d tag-chooser input detects when bound tags list has changed 2016-06-06 14:18:48 -04:00
Régis Hanol fe595f1653 FEATURE: mailjet webhook 2016-06-06 19:47:45 +02:00
Robin Ward 1e2bad135f FIX: Admin wrench should be visible to leaders too 2016-06-06 12:31:52 -04:00
Arpit Jalan 7b205ebba4 FEATURE: customize invite email message 2016-06-06 20:15:30 +05:30
Guo Xiang Tan 57c56b68f8
FIX: Incorrect attribute. 2016-06-06 14:32:53 +08:00
cpradio 4a0ac2c339 FIX: Show eye-slash icon when able to mark a topic as Unlisted, and eye icon when able to mark it Listed 2016-06-05 07:03:24 -04:00
Arpit Jalan 1e289d1443 FEATURE: support adding tags when creating new topic via link 2016-06-04 11:15:49 +05:30
Robin Ward eccfa1317a
FIX: Safer offset checking 2016-06-03 17:57:52 -04:00
Robin Ward 3ac4a40208
FIX: Wrench should take into account the custom header height 2016-06-03 17:30:40 -04:00
Robin Ward 0f0bff3786
FIX: Timeline issues on sites with large headers 2016-06-03 17:19:06 -04:00
Robin Ward ee6cd3e4c4
FIX: On mobile the highlight was being cut off 2016-06-03 16:54:54 -04:00
Jeff Atwood 8b8397030c Merge pull request #4248 from cpradio/add-classname-to-invite-topic-button
Added class name for invite topic button
2016-06-03 11:43:36 -07:00
cpradio 375a051698 Added class name for invite topic button 2016-06-03 14:36:43 -04:00
Jeff Atwood 768d5126f9 Merge pull request #4247 from cpradio/add-class-name-for-groups
Added class name to the dt tag for groups
2016-06-03 11:36:37 -07:00
cpradio a940496981 Added class name to the dt tag for groups 2016-06-03 14:12:00 -04:00
Arpit Jalan 92006fd344 FEATURE: redirect /groups/:name/members to groups/:name 2016-06-03 21:40:35 +05:30
Robin Ward 2b1e7b1a49 FIX: Topic progress wasn't clickable sometimes 2016-06-03 11:19:03 -04:00
Régis Hanol 99ad251731 different email footer when mailing_list_mode is enabled 2016-06-03 15:48:54 +02:00
Régis Hanol edd80e0298 remove unsubscribe link in invite emails 2016-06-03 12:26:23 +02:00
Jeff Atwood 9ac8974dd1 slight back button improvements 2016-06-03 02:06:35 -07:00
Arpit Jalan c4e1ad0953 FEATURE: Resend all pending invitations 2016-06-03 12:23:13 +05:30
Guo Xiang Tan a3d72efee9
Whoops. 2016-06-03 09:40:11 +08:00
Jeff Atwood 28d8fea4e9 normalize with topic map button color 2016-06-02 16:19:08 -07:00