Commit Graph

7270 Commits

Author SHA1 Message Date
cpradio f59c11b4ab FIX: Advanced Search to utilize Category Selector so it can distinguish uncategorized from no category selected 2016-10-31 17:27:57 -04:00
Robin Ward e07dfe16d7 FIX: Mentions were refreshing too frequently 2016-10-31 13:19:23 -04:00
Régis Hanol 7a08d1a11b Merge pull request #4520 from jako512/header-plugin-outlets
Added above-site-header and below-site-header plugin outlets
2016-10-31 10:29:15 +01:00
Sam 584dc63d13 UX: align timeline to the right in mobile and add jump to button 2016-10-31 12:40:40 +11:00
David McClure 9bbab6e64e FIX: Auto-link URLs that are inside parentheses 2016-10-29 18:57:25 -07:00
Neil Lalonde 4d58a00387 FIX: clear tag filter when changing category filter 2016-10-28 17:27:47 -04:00
Robin Ward 3505a13bea FIX: Broken build 2016-10-28 16:35:42 -04:00
Robin Ward a319cfe77a Final set of backwards compatible fixes for Ember 1.13 2016-10-28 15:51:39 -04:00
Robin Ward 1e4a56fe14 Backwards compatible support for inline helpers 2016-10-28 12:48:56 -04:00
Robin Ward 319b043f43 FIX: Helpers with multiple parameters were broken in 1.13 2016-10-28 10:13:41 -04:00
Robin Ward 0f1ed1e41a Migration topic footer buttons to components 2016-10-28 10:13:41 -04:00
Guo Xiang Tan 753a65833a Merge pull request #4521 from cpradio/fix-advanced-search-speedy-entry
FIX: Correct Speedy entry in Posted before/after and Minimum Post Count
2016-10-28 12:21:55 +08:00
cpradio dbe9391036 FIX: Correct Speedy entry in Posted before/after and Minimum Post Count 2016-10-27 19:48:09 -04:00
jako512 19479907d0 Added above-site-header and below-site-header plugin outlets 2016-10-27 18:13:51 +02:00
Robin Ward 407cda1dfe FIX: Scrolling on backup logs 2016-10-27 11:57:33 -04:00
Robin Ward 004e71a3fe FIX: Some errors that only appear in Ember 1.13 2016-10-26 16:26:10 -04:00
Robin Ward 7953a53cc5 Replace `findProperty` and `filterProperty` with `findBy` and `filterBy` 2016-10-26 15:45:06 -04:00
Robin Ward 3bb4e22692 FIX: `cleanDOM` couldn't be called from `url` 2016-10-26 13:27:47 -04:00
Robin Ward eeee5f4c08 Use `{{outlets}}` instead of `{{render}}` in the application template 2016-10-26 13:02:58 -04:00
Robin Ward fa3c45bb4c FIX: Mobile raw templates weren't being resolved 2016-10-26 11:19:29 -04:00
Robin Ward b601120b39 Support for Raw Handlebars and helpers in Ember 1.13 2016-10-26 10:27:57 -04:00
Robin Ward 9ac35f07b9 FIX: Missing icon on history buttons 2016-10-25 15:39:09 -04:00
Robin Ward 55be81faa6 Don't use `.@each` dependant keys 2016-10-25 15:39:09 -04:00
Robin Ward 622dc82481 Replace deprecated `render(buffer)` with a custom buffered renderer 2016-10-25 14:00:21 -04:00
Guo Xiang Tan adfd9733c6 FIX: Advanced search should retain search term. 2016-10-25 11:47:11 +08:00
Robin Ward bd352385a5 Framework for supporting Ember 1.12/1.13 helpers simulataneously 2016-10-24 15:13:32 -04:00
Robin Ward e79465a965 FIX: Regression due to deprecation fix on site settings 2016-10-24 11:32:34 -04:00
Guo Xiang Tan b31fa878bb Revert "Properly name tag intersection route"
This reverts commit 01af2a8df0.
2016-10-24 22:27:22 +08:00
Régis Hanol 3841cd9a7f FEATURE: onebox everything by default
FEATURE: new 'max_oneboxes_per_post' site setting
FEATURE: change onebox whitelist to a blacklist
PERF: debounce the loading of oneboxes
PERF: improve perf of mention links in preview
FIX: sort loading of custom oneboxer
2016-10-24 12:46:22 +02:00
Sam f083994f5a FIX: exact group match always should be added 2016-10-24 12:43:38 +11:00
Régis Hanol 3c8e0a8348 Merge pull request #4508 from kstaikov/mailing_list_exclude_own_replies
FEATURE:'No Echo' option for mailing list mode.
2016-10-22 10:45:14 +02:00
Robin Ward fab36e6cf7 Fix more deprecations:
- Remove all `needs:` code
2016-10-21 17:28:37 -04:00
Neil Lalonde 761cc688b4 FEATURE: add a setting to allow url schemes other than http(s) 2016-10-21 12:21:31 -04:00
Robin Ward bf91532260 Fixes some Ember Deprecations for 1.13:
- Remove ArrayController
- Remove {{view}} from templates
- Replace many cases of needs: [‘controller’] with inject
- Enable Ember Legacy Views
2016-10-21 11:06:07 -04:00
Régis Hanol 35a79a70c3 FIX: uploading custom avatar was always hidden 2016-10-20 19:53:41 +02:00
Sam 9457b03da1 UX: make it easier to collapse the timeline from fullscreen 2016-10-20 10:14:53 +11:00
David Taylor 91da124769 Added resolveService function to custom resolver 2016-10-19 22:12:25 +01:00
Kiril Staikov aee943486a FEATURE:'No Echo' option for mailing list mode.
Mailing list mode now includes the 'no echo' option: to only receive emails of posts not created
by you.  If you reply to an email thread in mailing list mode, your reply will not then be echoed
back to you in a duplicate email by the system.
2016-10-19 13:14:36 -04:00
Régis Hanol 9f7b529495 FIX: properly detect when attachments are allowed 2016-10-19 18:42:24 +02:00
Robin Ward c03d25f170 FEATURE: Configure Admin Account
Adds a "Step 0" to the wizard if the site has no admin accounts where
the user is prompted to finish setting up their admin account from the
list of acceptable email addresses.

Once confirmed, the wizard begins.
2016-10-19 11:27:56 -04:00
Arpit Jalan 0a6ed64ca6 FIX: correct computed property 2016-10-19 11:11:54 +05:30
Sam 2ffe62846b FIX: broken localization for auto close 2016-10-19 16:10:31 +11:00
Sam 1bf0b2a5f4 FEATURE: show timeline component when expanding post progress
- Show fullscreen timeline with title of topic in mobile
- Go to post # kb shortcut now unconditionally uses a modal
- Always show wrench on topics (was missing if progress bar was showing)
- Be smarter about rendering timeline even if composer is open (provided there is room)
2016-10-19 14:29:58 +11:00
Robin Ward fb94b4c56d Show the whisper preview in the whisper style 2016-10-17 16:53:24 -04:00
Guo Xiang Tan 41a2f2cfda 💣 comments that are not required. 2016-10-17 22:46:47 +08:00
Guo Xiang Tan 30902d00d7 Merge pull request #4495 from cpradio/empty-search-fields
FIX: Improve removing advanced filters
2016-10-17 22:45:29 +08:00
cpradio ddacda0388 Update based on review comments
Found a few javascript errors when visiting the search page with ?expanded=true and no query.
2016-10-17 00:02:58 -04:00
Guo Xiang Tan d8722e7a87 Merge pull request #4499 from tgxworld/add_options_to_surround_text
Add option to apply surround across multilines.
2016-10-17 10:18:25 +08:00
cpradio 1e7c69044c FIX: Improve removing advanced filters
Prior:
Entering `test after:5` and then removing the 5 via the search text field would result in the UI not updating

After:
UI updates after half a second

Removing it from the UI, removes it from the search field immediately.

Change the regex to detect filter words. This now matches what happens in search.rb, which gives a lot more flexibility (such as iterating over multiple `in:` terms)

Return [] when searchTerm is empty

Move .trim() to this.set('searchTerm', searchTerm) so it doesn't run twice (which was very obvious when watching the search term field)

More refactoring to make this a bit less complex

Update code based on review comments

FEATURE: Add common `in:` options
2016-10-14 19:04:10 -04:00
Guo Xiang Tan 6b40f2c42c Add option to apply surround across multilines. 2016-10-14 14:03:00 +08:00
Sam f4f5524190 FEATURE: user API now contains scopes so permission is granular
previously we supported blanket read and write for user API, this
change amends it so we can define more limited scopes. A scope only
covers a few routes. You can not grant access to part of the site and
leave a large amount of the information hidden to API consumer.
2016-10-14 16:05:42 +11:00
Guo Xiang Tan ce8b850b11 Merge pull request #4496 from cpradio/search-ui-changes
FIX: Shrink tag input and use date type for Post Time
2016-10-14 10:33:10 +08:00
Guo Xiang Tan dff5d6d9b0 Merge pull request #4497 from gdpelican/allow-avatar-title-option
FEATURE: Allow title override for user avatars
2016-10-14 10:27:20 +08:00
Guo Xiang Tan 10dfcc2ae9 Merge pull request #4498 from gdpelican/tags-show-route-fix
FIX: Properly name tag intersection route
2016-10-14 10:18:17 +08:00
James Kiesel 01af2a8df0 Properly name tag intersection route 2016-10-13 13:43:56 -04:00
James Kiesel d76d78f855 Allow title override for user avatars 2016-10-13 13:43:22 -04:00
cpradio 9fd4cf3278 FIX: Shrink tag input and use date type for Post Time 2016-10-13 12:48:36 -04:00
Guo Xiang Tan 94002f5903 FIX: Post search time was updating incorrectly.
* A search term of `after` will result in `after: after:after`.
2016-10-13 21:26:01 +08:00
Guo Xiang Tan 2eb48ee1ce FIX: Search terms are appearing in filters. 2016-10-13 20:42:37 +08:00
Guo Xiang Tan 4c2c21ee2b Opps this should be null. 2016-10-13 15:58:31 +08:00
Guo Xiang Tan b16b2a6fbb FIX: Reset advanced search options when search term is cleared. 2016-10-13 15:54:32 +08:00
Guo Xiang Tan 06cbabb4da FIX: Don't search for tags if tagging is disabled. 2016-10-13 15:09:44 +08:00
Guo Xiang Tan ae0db10e2d Fix full page search tests. 2016-10-13 15:03:58 +08:00
Guo Xiang Tan b4a899b144 Make eslint happy. 2016-10-13 14:47:18 +08:00
Guo Xiang Tan ef1918662c PERF: Don't render advanced search options when not expanded.
* Debounce options update as well.
2016-10-13 14:46:13 +08:00
Guo Xiang Tan 1606ed01f9 FIX: Don't mix camelCase into query params. 2016-10-13 14:43:47 +08:00
Guo Xiang Tan af90a04bd9 FIX: All clicks should close autocomplete. 2016-10-13 13:28:24 +08:00
Guo Xiang Tan 2095b034ad FIX: Make links work with subfolder installs. 2016-10-13 13:21:07 +08:00
Guo Xiang Tan 4f87f1886b Make eslint happy. 2016-10-13 12:10:01 +08:00
Guo Xiang Tan 91a296839f Remove unnecessary computed property. 2016-10-13 12:08:00 +08:00
Guo Xiang Tan 994a03b3e3 FIX: Advanced search link doesn't work with subfolder installs. 2016-10-13 12:00:02 +08:00
Guo Xiang Tan 5dfaceb7a5 Remove unused line. 2016-10-13 11:58:36 +08:00
Arpit Jalan a0e0ab610e FIX: back button behaviour should be consistent when visiting watched/muted topics from user preferences page 2016-10-13 02:16:21 +05:30
cpradio 5091124eed FIX: fix eslint error due to removing the search_help
Related commit that made eslint unhappy
c51992cf5e
2016-10-11 20:35:25 -04:00
cpradio 1d27610ffc FEATURE: search menu options opens full page search 2016-10-11 19:59:37 -04:00
cpradio 6bf0bc3408 FEATURE: search menu options opens full page search 2016-10-11 18:52:31 -04:00
cpradio ca4130f30d FIX: Use @username instead of user:username 2016-10-11 17:41:04 -04:00
Jeff Atwood 70f46d81a9 disable the group and badge searches for now 2016-10-11 14:25:48 -07:00
Jeff Atwood c51992cf5e remove old search help in favor of advanced search 2016-10-11 14:01:16 -07:00
Sam 6031e692f0 Merge pull request #4366 from xfalcox/print
Print Support
2016-10-11 11:47:20 +11:00
Sam b6d0d4d94d tweaks to full page search 2016-10-11 10:36:27 +11:00
Sam ea1f0683c8 Merge pull request #4477 from cpradio/watching-state-on-reply
FEATURE: Add notification level user preference when replying to a topic
2016-10-11 10:05:37 +11:00
Sam f6ac914376 Merge pull request #4467 from cpradio/advanced-search-ui
FEATURE: Advanced Search UI
2016-10-11 10:02:35 +11:00
Arpit Jalan d06c82e555 FEATURE: add unique class to topic navigation pages 2016-10-10 22:38:41 +05:30
Régis Hanol 586ce69b1b UX: properly hide 'Activity Summary' preference when Summaries are disabled 2016-10-10 16:36:36 +02:00
cpradio dc87b6943a Fix the ID for postTime 2016-10-08 09:29:05 -04:00
cpradio a7507dad63 Add Acceptance Tests (which found an error)
Tests for populating category and tags

Added acceptance tests for populating the Username and Category through the Advanced Search UI (will work on the other fields later)

Give the combo-box elements ids
Add acceptance tests for the rest of the advanced search UI (except for Tags, tags are evil)
2016-10-08 09:09:37 -04:00
Leo McArdle c1da9e780e FEATURE: Added user profile and card outlets
Added user-location-and-website outlet
Added user-card-location-and-website outlet
2016-10-07 21:40:41 +01:00
Neil Lalonde a061c025f1 FIX: in create/edit category modal, don't prompt to choose a parent category when allow_uncategorized_topics is false 2016-10-05 12:06:37 -04:00
Sam 843c7a21c9 FIX: properly handle blank localizations 2016-10-05 18:08:54 +11:00
Sam 601a96333a FIX: last visited line not rendering correctly
- stop changing cached models
2016-10-05 15:37:47 +11:00
Neil Lalonde 374617c8c9 FIX: mobile users page search field loses focus on each keypress 2016-10-04 14:09:28 -04:00
cpradio 4b71fd253b Advanced Search UI
Properly support Categories so it updates the search box correctly

Use category id, as it is more consistent with search results than using the slugs, especially for parent/subcategory

Added Status

Improve AutoComplete so it can receive updates
Added the ability for AutoComplete to receive updates to badge-selector and group-selector

Respect null, which is set via web-hooks

Support both # and category: for category detection.

Only update the searchedTerms if they differ from its current value (this helps the Category Selector receive updates)

Opt in receive updates (#3)

* Make the selectors opt-in for receiving updates

* Opt-in to receive updates

* Fix category detection for search-advanced-options

Fix eslint error

Update user-selector so it can receive updates live too
Make the canReceiveUpdates check validate against 'true'

Converted to use template literals

Refactor the regex involved with this feature
Split apart the init to make it a bit more manageable/testable

Switch the category selector to category-chooser, so it is a dropdown of categories instead of auto-complete

Reduce RegEx to make this happier with unicode languages and reduce some of the complexity
2016-10-04 11:18:01 -04:00
Régis Hanol 08c4de388e make eslint happy 2016-10-04 12:14:24 +02:00
Sam baecaddef0 Merge pull request #4475 from xfalcox/last-visit-adjusts
FIX: Last visit must keep working when changing categories
2016-10-04 19:31:22 +11:00
cpradio 6f1c31d777 Add notification level user preference when replying to a topic 2016-09-30 14:58:07 -04:00
Rafael dos Santos Silva 5476dee52d FIX: Last visit must keep working when changing categories 2016-09-29 17:40:28 -03:00
Robin Ward f0937dc5d3 FIX: Route to `.rss` or `.json` as a server side URL 2016-09-28 10:36:56 -04:00
Régis Hanol 064a83c44c Merge pull request #4464 from xfalcox/patch-2
Make deprecated.js ES5 compatible
2016-09-28 11:17:33 +02:00
Robin Ward 8871c9852c FIX: Allow us to link to server side responses 2016-09-28 05:04:23 -04:00
Rafael dos Santos Silva 2ce8845c89 Enable last visit line on mobile 2016-09-27 16:24:23 -03:00
Guo Xiang Tan 119225e496 Make eslint happy. 2016-09-27 15:12:47 +08:00
Rafael dos Santos Silva 16aad189fb UX: Add text to new messages line 2016-09-27 14:52:03 +08:00
Rafael dos Santos Silva 03ec480c65 Removes UI for print, adds CTRL+P shortcut 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva 2a5a0bebb3 Adjusts from review 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva acc70cc3de SiteSetting, admin passtrough, CSS, hide on mobile 2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva c12e533273 Feature: Adds a button to print a topic 2016-09-26 20:44:50 -03:00
Rafael dos Santos Silva c759b5f955 Make ES5 compatible 2016-09-26 18:43:33 -03:00
Jeff Atwood a4dd862ad0 Merge pull request #4463 from xfalcox/emoji-grouping
FIX: New Emoji had missing group info
2016-09-26 23:20:35 +02:00
Rafael dos Santos Silva 7149e2ba20 FIX: New Emoji had missing group info 2016-09-26 18:12:40 -03:00
Rafael dos Santos Silva 048dea01f4 Fix tags separation on new category page 2016-09-26 16:14:41 -03:00
Guo Xiang Tan 999f52954f FIX: Incorrect import path for `iconHTML` helper. 2016-09-25 12:39:17 +08:00
Guo Xiang Tan bddbfa56f6 UX: Format numbers on user summary page. 2016-09-23 12:36:42 +08:00
Robin Ward f90e1ce847 FIX: Don't double escape the category title 2016-09-22 21:13:08 -04:00
Neil Lalonde e0be2f482e FEATURE: tag filter dropdown menu is scoped to user and category 2016-09-22 15:23:37 -04:00
Robin Ward 3d621767cc FIX: Wizard didn't work with subfolders 2016-09-22 14:39:36 -04:00
Robin Ward 92529cd409 FIX: Tab ordering and outlines for wizard 2016-09-22 13:38:58 -04:00
Robin Ward a09a09f686 FIX: Test was broken 2016-09-22 10:01:25 -04:00
Jeff Atwood 3ac348e898 Revert "add bit of random to the confetti"
This reverts commit 913e18579f8c4c6bad3269896c549779b554ece1.
2016-09-22 09:52:19 -04:00
Jeff Atwood 3f09ef70eb add bit of random to the confetti 2016-09-22 09:52:19 -04:00
Robin Ward 9bba0f3288 FIX: Show "Categories" when you are viewing the categories pills 2016-09-22 09:52:19 -04:00
Robin Ward a95bb6006d Show staff count on invites page, don't warn if you have 3 2016-09-22 09:52:19 -04:00
Robin Ward 62e1f88adc Try to be smarter about scaling images on canvases 2016-09-22 09:52:19 -04:00
Robin Ward 14bee641aa Can choose categories or latest as homepage style 2016-09-22 09:52:19 -04:00
Robin Ward 2a0443445b New step to choose emoji set 2016-09-22 09:52:19 -04:00
Robin Ward 8f36f95180 Bump up the size of the theme preview 2016-09-22 09:52:19 -04:00
Robin Ward 2545c2ffa6 Add new welcome message step 2016-09-22 09:52:19 -04:00
Robin Ward 3fac43249c Javascript file was missing 2016-09-22 09:52:19 -04:00
Robin Ward f4f1569e0c Move step text into progress bar 2016-09-22 09:52:19 -04:00
Robin Ward 9938f9bd67 Added images to the first and last step of the wizard 2016-09-22 09:52:19 -04:00
Robin Ward 42f6e52dc6 Warn the user if they haven't invited anyone 2016-09-22 09:52:19 -04:00
Robin Ward cf84538fbf Bump up smallest size again 2016-09-22 09:52:19 -04:00
Robin Ward 1bf1bf4f93 Use our badge colors for the speech bubbles 2016-09-22 09:52:19 -04:00
Robin Ward c718826134 Randomly flip some of the bubbles 2016-09-22 09:52:19 -04:00
Robin Ward 844c86481e Add more particles, remove black color 2016-09-22 09:52:19 -04:00
Robin Ward 899779b3c4 FIX: Confetti should go all the way to the right 2016-09-22 09:52:19 -04:00
Robin Ward afe1a8e895 UX: Remove checkmark icon from Done 2016-09-22 09:52:19 -04:00
Robin Ward 454bcdca0b Add confetti effect for when you finish the wizard 2016-09-22 09:52:19 -04:00
Robin Ward 598db7a81c Add Apple Icon preview 2016-09-22 09:52:19 -04:00
Robin Ward e7c1962aa0 Preview the favicon in the wizard 2016-09-22 09:52:19 -04:00
Robin Ward 0a41217604 Small Logo Preview looks better 2016-09-22 09:52:19 -04:00
Robin Ward a318b18236 Custom Preview for Header Logo 2016-09-22 09:52:19 -04:00
Robin Ward 69325fbe02 Wizard: Support for custom image previews for uploads 2016-09-22 09:52:19 -04:00
Robin Ward 05d1c8167f UX: Use a minimum height for the wizard so it doesn't move as much 2016-09-22 09:52:19 -04:00
Robin Ward 74ed2e82ac UX: Wiggle invalid form elements. Don't allow a site title of Discourse 2016-09-22 09:52:19 -04:00
Robin Ward 2ff6295f71 UX: De-emphasize back/quit buttons in the wizard 2016-09-22 09:52:19 -04:00
Robin Ward 29cf47cfb2 Track steps the user has completed, nag them to finish it. 2016-09-22 09:52:19 -04:00
Robin Ward ef84981e38 Invite Users step 2016-09-22 09:52:19 -04:00
Robin Ward e3640ee5f6 Privacy Step 2016-09-22 09:52:19 -04:00
Robin Ward af83c8dc14 Upload Logos Step 2016-09-22 09:52:19 -04:00
Robin Ward c94e6f1b96 Add locale step 2016-09-22 09:52:19 -04:00
Robin Ward 3f6e3b9aff Wizard - Color Scheme Step 2016-09-22 09:52:19 -04:00
Robin Ward 9f12b571ef Wizard: Server Side Validation + Finished Step 2016-09-22 09:52:19 -04:00
Robin Ward be1d74d207 Split out common functions into `discourse-common` module 2016-09-22 09:52:19 -04:00
Robin Ward 3a4615c205 Wizard: Step 1 2016-09-22 09:48:58 -04:00
Robin Ward 0471ad393c Scaffold for new Wizard - Rails / Ember / Tests 2016-09-22 09:48:58 -04:00
Robin Ward 6070939daa Support for other i18n bundles 2016-09-22 09:48:58 -04:00
Guo Xiang Tan 7acbd63d92 FIX: Remove CSS hack. 2016-09-22 17:39:20 +08:00
Régis Hanol 9aecf4e6d1 Merge pull request #4455 from tgxworld/fix_category_logo_url
FIX: Form CDN URL client side instead.
2016-09-22 11:01:16 +02:00
Guo Xiang Tan 5d2aa957b4 UX: Take into account of header when rendering autocomplete. 2016-09-22 13:42:49 +08:00
Guo Xiang Tan 7dea31adce FIX: Form CDN URL client side instead. 2016-09-22 11:57:18 +08:00
Guo Xiang Tan 6b8a96f2a9 Make eslint happy. 2016-09-21 11:45:17 +08:00
Guo Xiang Tan 24dcd7df47 FIX: 'quote reply' button not showing when an emoji is included. 2016-09-21 11:14:43 +08:00
Guo Xiang Tan 62ce9938ab Add plugin outlet after user names in user profile page. 2016-09-21 10:49:48 +08:00
Arpit Jalan afef9a0668 FEATURE: add page identifier on user badges page 2016-09-20 23:54:59 +05:30
Arpit Jalan 4f13422c47 FEATURE: add more page identifiers 2016-09-20 23:13:56 +05:30
Robin Ward a26e0df0c7 FIX: Bug when linking to anchors 2016-09-20 11:13:40 -04:00
Guo Xiang Tan 547750e9dd Unify API keys and web hooks into a single admin nav header. 2016-09-20 05:22:03 +08:00
Sam 5b3cd3fac9 FEATURE: Import facebook avatars when logging in via facebook
FIX: warning about popup dimensions when using facebook login

Rules are:

- On account creation we always import
- If you already have an avatar uploaded, nothing is changed
- If you have no avatar uploaded, we upload from facebook on login
- If you have no avatar uploaded, we select facebook unless gravatar already selected

This also fixes SSO issues where on account creation accounts had missing avatar uploads
2016-09-19 15:10:23 +10:00
Arpit Jalan 72f9369966 add unique body class to search and user pages 2016-09-19 10:24:58 +05:30
Erick Guan 48fb0558d8 UX: Add headers for webhook events 2016-09-19 12:07:55 +08:00
Erick Guan 00d5facf36 FEATURE: prompts new webhook events 2016-09-19 12:07:17 +08:00
Sam fd9056973a FEATURE: increase interval to 24 hours for "please refresh site"
Used to be 2 hours, which is a bit tight, especially for people who leave
computer running overnight.

Keep in mind we always refresh on route change, so clicking on a topic will
trigger a refresh
2016-09-19 10:12:27 +10:00
Neil Lalonde 28f857c530 FIX: primary group name class missing from poster name 2016-09-16 15:09:35 -04:00
Neil Lalonde b9801d2e26 UX: add text near group flair settings explaining that flair only shows for a user's primary group 2016-09-15 17:39:47 -04:00
Neil Lalonde a74781fbbc fix jslint error 2016-09-15 16:50:23 -04:00
Neil Lalonde d0ebde9d84 don't try to render flair if there's no primary group 2016-09-15 16:26:58 -04:00
Neil Lalonde e3e15182df FEATURE: avatar flair on user cards 2016-09-15 16:15:18 -04:00
Arpit Jalan 5dbd6a304b add search-container class to search page 2016-09-15 13:46:22 +05:30
Sam fe7883eeea UX: don't allow user scaling in mobile view
on iOS 10 behavior of zoom restriction has changed.

This does not disable zooming on iOS 10 but it DOES stop it from randomly
zooming when you are composing
2016-09-15 07:36:16 +10:00
Robin Ward aa7c735d34 FIX: Improve selecting text over line breaks 2016-09-13 11:36:17 -04:00
Neil Lalonde b381d84dd9 FIX: tag search should not be case sensitive 2016-09-09 16:55:26 -04:00
Robin Ward acaac02673 Merge pull request #4423 from SafaAlfulaij/arabic_client_plural_rules
Add Arabic Pluralization Rules for Client
2016-09-06 11:22:21 -04:00
Matt Palmer 51854e56ac Don't hide e-mail in settings behind email-in plugins 2016-09-06 14:23:43 +10:00
Erick Guan 9ce61b4586 FEATURE: Webhooks. 2016-09-05 18:44:00 +08:00
Angus McLeod 422941a606 fix order of plugin template resolution 2016-09-02 12:55:11 -04:00
Sam 034dc52beb UX: adjust to show all and stat period 2016-09-02 11:03:52 +10:00
Neil Lalonde 1078d929cd Revert "see if gtm automatically pushes pageview events without our own page-tracking code" 2016-09-01 13:28:04 -04:00
Neil Lalonde 572713b801 see if gtm automatically pushes pageview events without our own page-tracking code 2016-09-01 12:16:54 -04:00
Sam 1d7df97c30 FIX: display old category style on mobile 2016-09-01 15:57:23 +10:00
Angus McLeod 18da378f9a only perform the check on mobile view 2016-08-31 10:23:56 -04:00
Angus McLeod 0b20c0b581 check the plugin mobile/list dir for templates 2016-08-31 10:12:16 -04:00
Sam 282a4e1efb FIX: remove from preload store so it is not cached forever 2016-08-31 14:07:31 +10:00
Sam 55fad7b339 FIX: missing avatars from categories page when ajax loaded
UX: display last poster on categories page instead of OP
2016-08-31 14:02:30 +10:00
Rafael dos Santos Silva 8fc556f81a FIX: Avatars on new category page 2016-08-30 23:54:15 -03:00
Sam 591dab1bb5 FIX: on load categories list not showing create button 2016-08-31 09:35:23 +10:00
Robin Ward 3d8e75c6ca FIX: Sometimes we hide the `in_reply_to` when a quote is present 2016-08-30 11:11:16 -04:00
Régis Hanol 8ef49a9458 add span around subcategories to allow for better styling 2016-08-30 10:27:09 +02:00
Régis Hanol 96513f3848 FIX: select a period when 2/3 of the categories matches the criteria 2016-08-29 23:50:48 +02:00
Régis Hanol e064e6f7a3 FEATURE: new 'categories_and_latest' endpoint 2016-08-29 22:47:44 +02:00
Régis Hanol 5833e96017 FIX: use 'topic_all_time' as topic count failover in /categories page 2016-08-29 10:25:46 +02:00
Sam 653f94975c FIX: don't fail if targetUsernames is not set 2016-08-29 12:39:25 +10:00
Sam 22b8c0d44e FIX: fullscreen login set from client needs to be respected 2016-08-29 10:13:51 +10:00
Neil Lalonde 2251104e32 FEATURE: avatar flair can be font awesome icons 2016-08-26 17:15:37 -04:00
safaalfulaij 75f6548710 Add Arabic Pluralization Rules for Client 2016-08-26 22:52:15 +03:00
Robin Ward 58cb43884d Merge pull request #4415 from vinkas0/tweak-49070
FIX: “Your search term is too short” message when no search term is entered at all
2016-08-26 14:02:42 -04:00
Vinoth Kannan f373e3ac8d braces added for if condition 2016-08-26 22:38:34 +05:30
Neil Lalonde 39de27a4b2 FIX: top period chooser layout on mobile 2016-08-26 12:39:09 -04:00
Régis Hanol 7d600d9fee FIX: show topic entrance when clicking the # of replies in /categories 2016-08-24 22:25:10 +02:00
Régis Hanol 3e00672c7d FIX: clicking the timestamp next to a feature topics should link to the latest post 2016-08-24 22:07:25 +02:00
Vinoth Kannan fc95764f60 Update search-menu.js.es6 2016-08-24 15:25:51 +05:30
Robin Ward c3a3aff120 FEATURE: Support for a whitelist for embeddable host paths 2016-08-23 14:56:12 -04:00
Guo Xiang Tan 90571f0364 FIX: Format selection as multiline code only when selection spans multiple lines. 2016-08-23 15:00:16 +08:00
Guo Xiang Tan e9927ce5b1 Make eslint happy. 2016-08-23 09:56:24 +08:00
Guo Xiang Tan f32d8e2882 FIX: Code fences shortcut did not insert newlines before and after backticks. 2016-08-23 09:51:01 +08:00
Régis Hanol 2690ef7050 prefix setting with 'desktop_' since it's only used for desktop 2016-08-22 23:43:42 +02:00
Régis Hanol 9573e28df9 remove unecessary console.logsss 2016-08-22 23:03:40 +02:00
Régis Hanol 4d6028ea2d UX: new 'category_page_style' site setting 2016-08-22 23:01:43 +02:00
Robin Ward b6bcfc0426 FIX: Improper routing of https URLs 2016-08-22 16:45:11 -04:00
Arpit Jalan b4e32f20f2 FIX: disable browser autocomplete for invite modal 2016-08-22 23:20:02 +05:30
Robin Ward 9f4ef6eeb6 Add a decorator for the footer links in the hamburger 2016-08-22 13:21:41 -04:00
Robin Ward 884bdf7240 FEATURE: Ability to scrub titles when importing embeddable content 2016-08-22 12:43:02 -04:00
Régis Hanol ecaa751455 FIX: Use Ember.set to update the site settings via the Message Bus 2016-08-22 12:18:45 +02:00
Sam 0a1d7896bf Merge pull request #4407 from dtbaker/patch-1
Typo: Unmatched braces }}
2016-08-21 03:22:51 -07:00
Sam 1e9ca3c7c1 need to pass category on mobile as well 2016-08-21 20:21:07 +10:00
Sam c51fec7fda FIX: improve last visited detection
- clear line detection cache on category change
- don't show last visited unless latest / descending
- improve perf of last visited detection algorithm
2016-08-21 17:06:00 +10:00
dtbaker bbb1517d33 Typo: Unmatched braces }}
Just a little typo
2016-08-20 23:55:07 +10:00
Régis Hanol 4960365689 UX: unread/new topic counts under topic counts column in /categories 2016-08-19 18:10:42 +02:00
Sam 9b1e81cd6d Only display in discovery, correct double highlighting 2016-08-19 12:43:48 +10:00
Sam 11f9a463ac FEATURE: highlight last visited topic in topic list 2016-08-19 11:58:39 +10:00
Régis Hanol eb953c0904 FIX: /categories page on mobile 2016-08-19 01:47:00 +02:00
Régis Hanol 96b6d342cc FIX: /categories page issues
FIX: endless spinner when /categories is set to homepage and you click the home logo
FIX: latest column should respect topic state for the current user (new, unread, etc.)
FIX: post count should have heat colors applied based on like ratios
FIX: Add "More" button at the bottom of the latest column
UX: The topic count number in the categories panel should be slightly larger
2016-08-18 19:41:21 +02:00
Robin Ward 78e8aa823d UX: Just show "1m" if less than 1m 2016-08-18 12:47:00 -04:00
Régis Hanol dd3d8d85d3 FIX: proper logic for 'noTitle' param of the number helper 2016-08-17 23:28:29 +02:00
Régis Hanol 6d1d7b7c8f UX: new /categories layout 2016-08-17 23:23:16 +02:00
Neil Lalonde 36f0bd36f4 remove hard-coded avatar url 2016-08-17 16:57:31 -04:00
Neil Lalonde 2654060c14 sanitize flair style 2016-08-17 15:13:15 -04:00
Neil Lalonde d079f69b7b FEATURE: add flair to avatars using new settings in the groups admin UI 2016-08-17 15:13:15 -04:00
Neil Lalonde d29ccb5e48 FIX: navigating from tags intersection route to singular tag route 2016-08-16 14:06:38 -04:00
Neil Lalonde d835326406 FIX: rendering of tags intersection when show_filter_by_tag is off 2016-08-16 14:02:03 -04:00
Sam 416e7e0d1e FEATURE: basic UI to view user api keys 2016-08-16 17:06:52 +10:00
Neil Lalonde 37b68f10ae FIX: hide admin controls on tags intersection page 2016-08-15 16:46:16 -04:00
Neil Lalonde 3b792054f2 Merge pull request #4387 from gdpelican/feature/tags-intersection
FEATURE: Tags intersection page
2016-08-15 16:24:29 -04:00
James Kiesel 98d300e79c Fix linting error 2016-08-15 15:45:23 -04:00
James Kiesel 5dd9009718 Clean up additionalTags impl 2016-08-15 15:38:23 -04:00
James Kiesel 037e9bb7b8 Support any number of tag intersections 2016-08-15 15:30:17 -04:00
Gerhard Schlager 1042f1a923
UX: Allow translation of composer icons 2016-08-15 18:57:05 +02:00
Robin Ward 4d8584f427 FIX: Support `div dir=` in sanitizer 2016-08-15 11:19:10 -04:00
James Kiesel d3792c0149 Fix linting errors 2016-08-12 16:03:52 -04:00
James Kiesel e14f3c802b Cleanup 2016-08-12 15:56:56 -04:00
James Kiesel 3471499613 Tighten up tags intersection page 2016-08-12 15:51:09 -04:00
James Kiesel 7e73b933c7 First pass 2016-08-12 15:28:46 -04:00
Robin Ward 86c970bac0 FIX: Read FAQ wasn't working with a URL on the same site 2016-08-12 13:47:19 -04:00
Robin Ward 705ab88173 Add a widget setting for the user's avatar size 2016-08-12 11:09:36 -04:00
Robin Ward 8f19f60588 FIX: Broken acceptance test 2016-08-11 15:03:23 -04:00
Robin Ward 6507246e97 UX: Full page search results weren't linked to users 2016-08-11 14:27:19 -04:00
Robin Ward cd371fa20e FIX: When `faq_url` is custom, track the FAQ clicks 2016-08-11 13:43:42 -04:00
Robin Ward 58834663a8 Merge pull request #4383 from cpradio/fix-topic-status-shortcuts
FIX: Permit Timeline Topic Status to receive dispatch events to handle keyboard shortcuts when the topic footer is not loaded
2016-08-11 11:42:53 -04:00
Sam Saffron 58322617ec UX: on mobile devices iOS or Android always use full screen login
This simplifies life for users and embedded browsers and works around
all popup blocking.

There is no point to popup tabs on Android or iOS, it just causes
confusion.
2016-08-11 23:15:45 +10:00
cpradio 46fa70d948 FIX: Permit Timeline Topic Status to receive dispatch events to handle keyboard shortcuts when the topic footer is not loaded 2016-08-11 08:30:37 -04:00
Guo Xiang Tan 8dab20e5b8 SECURITY: Escape image title in lightbox. 2016-08-11 11:15:00 +08:00
safaalfulaij 291c32aa69 Fix Plural Strings 2016-08-10 20:24:28 +03:00
Claas Augner ac87a86975
FIX: Disable pasting hack for Firefox 50+ 2016-08-10 01:24:15 +02:00
Robin Ward 8321bdab4e FIX: If you go to full page search, stop loading 2016-08-09 16:11:14 -04:00
Robin Ward db3ae803c5 UX: Let the user know the search is too short in the header menu 2016-08-09 16:05:58 -04:00
Robin Ward fd3a8583dd UX: Display a message when the search term is too short on full page 2016-08-09 15:11:58 -04:00
Robin Ward 28436a604a FIX: Prevent tricking the search from ignoring minimum lengths 2016-08-09 14:49:46 -04:00
Robin Ward b2134aa173 Refactor full page search for style, remove lookups 2016-08-09 14:49:46 -04:00
Robin Ward d8808aa9ab Add back acceptance tests for full page search 2016-08-09 14:49:46 -04:00
Sam 73b6a22f61 UX: link to PM list from pm suggested topics 2016-08-09 10:12:56 +10:00
Robin Ward 5191cbdcbb Merge pull request #4370 from cpradio/keyboard-enhancements
FEATURE: Allow keyboard shortcuts for topic list to start from last viewed topic
2016-08-08 16:52:10 -04:00
cpradio 754e3b2287 Convert boolean to opts object 2016-08-08 15:15:27 -04:00
Robin Ward 01ced67ab3 FIX: Focus on usernames if it's blank when composing a message 2016-08-08 13:57:23 -04:00
Guo Xiang Tan a9ae99bf82 FIX: Admin dashboard problems not displaying when there is one error. 2016-08-09 00:33:37 +08:00
Robin Ward 3db020f95e FIX: Display anonymous counts nicely on badges 2016-08-08 12:24:30 -04:00
cpradio d8165d7cee FEATURE: Allow keyboard shortcuts for topic list to start from last viewed topic 2016-08-06 11:24:44 -04:00
Robin Ward 3d62e5dd98 SECURITY: XSS issue on Admin users list 2016-08-05 12:01:16 -04:00
Guo Xiang Tan 927bf19d93 UX: Disable dismiss notifications button when there is nothing to dismiss. 2016-08-04 09:48:10 +08:00
Robin Ward 331135a88e Deuglify the admin dashboard loading state. Also clean up the code 2016-08-03 15:36:41 -04:00
Robin Ward 19fa24d888 Add a warning if a user tries to PM themselves 2016-08-03 13:58:24 -04:00
Neil Lalonde 5f67cd7b45 FIX: tag input detects when a tag is not allowed and won't offer to create it anyway 2016-08-03 13:18:56 -04:00
Régis Hanol cb809784df refactor version-check to ES6 2016-08-03 16:13:02 +02:00
Régis Hanol 35c13bca6c Merge pull request #4363 from cpradio/version-link-shows-compare
FEATURE: Installed Version link shows GitHub Compare to branch being followed
2016-08-03 16:03:57 +02:00
Régis Hanol a21d52951a don't use startsWith just yet 2016-08-03 14:31:52 +02:00
Robin Ward 1ae625ec2e FIX: Archetype class wasn't being applied on refresh 2016-08-02 15:26:07 -04:00
Robin Ward 2d7b036b9a UX: Display nicer looking numbers for unread in categories 2016-08-02 15:16:07 -04:00
Robin Ward 857d54162b Redirect to Summary when viewing yourself 2016-08-02 13:21:24 -04:00
cpradio 1b89c2f0ef FEATURE: Installed Version link shows GitHub Compare to branch being followed 2016-08-02 06:18:44 -04:00
Guo Xiang Tan dc2dae2cc4 FIX: Logs notice was not displaying the right Date. 2016-08-02 12:40:28 +08:00
Guo Xiang Tan bf683178a8 FIX: Remove tag plugin code from tag hashtag check. 2016-08-02 10:59:12 +08:00
Régis Hanol 0fa458c5a7 Merge pull request #4356 from acshi/datapayloadarchetype
data.archetype should be data.payload.archetype in topic_tracking_state.js.es6
2016-08-01 14:10:51 +02:00
Sam 9018de39ed FEATURE: allow shipping bio markdown via SSO
- Also adds site setting for sso_overrides_bio to disable bio editing by end users
2016-08-01 15:29:28 +10:00
Rafael dos Santos Silva 5d91355c97 FIX upload hints 2016-07-30 15:39:11 -03:00
Robin Ward 9cb8d5d19e FIX: Whitelist the `big` tag 2016-07-29 16:11:18 -04:00
Acshi Haggenmiller 26e8eed83b changed data.archetype typo to data.payload.archetype in topic_tracking_state.js.es6 2016-07-29 11:23:00 -04:00
Robin Ward efc6408b1d FIX: Regression with escaping on badge page 2016-07-28 15:57:06 -04:00
Robin Ward cf5b756b1a SECURITY: Cross-Site Scripting in Category and Group Settings 2016-07-28 11:57:59 -04:00
Robin Ward 2f8ab8cd30 SECURITY: XSS in "Account Suspended" Messages and Badge Descriptions 2016-07-28 11:38:12 -04:00
Guo Xiang Tan 0128fdfc46 FIX: `Discourse.ajax` is deprecated. 2016-07-28 18:20:24 +08:00
Guo Xiang Tan 36ddb1787e FEATURE: Add toggle topic visibility button in popup menu. 2016-07-28 16:57:04 +08:00
Sam c6dbaca0dc SECURITY: disable user entered badge SQL by default
- Hidden site settings now must be change via rails console
2016-07-28 09:03:00 +10:00
Régis Hanol e848c336bb FIX: only prevent clicks on links in the preview 2016-07-27 20:53:45 +02:00
Régis Hanol c4b52b1a19 GET is a more RESTy verb for '/users/:username/emails' 2016-07-27 20:15:28 +02:00
Régis Hanol ea59283c1e FIX: PM automatic groups via URL 2016-07-27 19:16:31 +02:00
Andre Pereira 8cbd585e20 FEATURE: Allow staff users to merge posts. 2016-07-27 12:04:14 +08:00
Neil Lalonde 3af27a6d83 FIX: category settings should not limit number of tags 2016-07-26 16:04:11 -04:00
Neil Lalonde 3c0df3510a FIX: tags index should show all tags belonging to a category even if they have never been used 2016-07-26 16:04:11 -04:00
Robin Ward 424bb143db FIX: Jump to post on iOS was broken - replace with prompt 2016-07-26 15:08:04 -04:00
Neil Lalonde de99853dee FIX: routes for tag nav items 2016-07-26 12:39:36 -04:00
Robin Ward fbfd3124a0 Whitelist some more tags and add extra tests 2016-07-26 11:02:09 -04:00
Guo Xiang Tan 2242568507 UX: Missing spinning wheel on topics list. 2016-07-26 17:31:28 +08:00
Guo Xiang Tan 47c835f0f0 UX: Missing spinning wheel on user topics list. 2016-07-26 17:17:39 +08:00
Sam 521d3d11f2 allow some more tags through 2016-07-26 09:43:30 +10:00
Jeff Atwood 41dda1882e let's expire all emoji 2016-07-25 15:38:13 -07:00
Robin Ward 3200d836f7 FIX: After uploading an image the selection was not in the correct spot 2016-07-25 15:31:21 -04:00
Robin Ward 215eae9972 FIX: Add a `title` to the groups pages 2016-07-25 14:24:43 -04:00
Neil Lalonde e52c0e2087 FIX: tag filter shows when "no tags" is selected 2016-07-25 12:13:07 -04:00
Robin Ward b2289d733f List the "Watching First Post" tags on preferences 2016-07-22 16:16:45 -04:00
Robin Ward c28dd826fe UX: Focus on usernames if creating a PM from your user page 2016-07-22 13:56:17 -04: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 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 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
Jeff Atwood bd88d05ac6 missed a spot for dismiss new 2016-07-19 01:05:28 -07:00
Jeff Atwood 0bafb52a03 add fa-check to dismiss to match notifications 2016-07-19 00:41:59 -07:00
Guo Xiang Tan 57f1bf1ddd UX: Better handle width for fields in sign up form. 2016-07-18 17:28:13 +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
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
Robin Ward e5bbfe1f1b Lint inner function declarations to prevent Safari breakage 2016-07-14 10:22:39 -04: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
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
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
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 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 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 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
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 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 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
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 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
Robin Ward 6129fda8af REFACTOR: `styleCategory` doesn't seem to be used in any way? 2016-07-04 12:11:12 -04: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
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 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
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
Guo Xiang Tan d102a079b1
FIX: Bump plugin API version. 2016-07-01 09:32:30 +08:00
Guo Xiang Tan 904d9735ab
Refactor desktop notifications to be more modular. 2016-07-01 00:11:32 +08: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 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 7a4c3af29d Merge pull request #4279 from scossar/s3cdn-upload-location
FIX: get urlWithCDN before appending protocol
2016-06-29 12:18:44 +10:00
Sam b4cb2e367c FIX: require full name at signup when display is suppressed and required 2016-06-29 10:43:40 +10: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
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 74e93d2260 FIX: Reply As New Topic from all 3 different places 2016-06-26 14:20:22 +02:00
Régis Hanol fc9cfd698d UX: admin flags needed some ❤️ 2016-06-22 16:32:50 +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
Guo Xiang Tan 0ed4d3d313 FIX: Topic admin menu item not positioned properly on short topics. (#4284) 2016-06-21 10:40:00 -04: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
Régis Hanol 68c158d592 FIX: backup upload when using subfolder 2016-06-20 17:37:24 +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 9c5a727aa2 FIX: reply as new link wasn't working sometimes 2016-06-20 12:09:04 +02:00
Sam 41718be67f fix linting 2016-06-20 17:13:43 +10:00
Sam 8866169879 FEATURE: can invite/revoke groups on private messages 2016-06-20 16:29:27 +10: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
Arpit Jalan 605a302546 UX: move category logo above navigation 2016-06-18 14:20:37 +05:30
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
Neil Lalonde 612e084595 FIX: disabled combo-box attribute had no effect 2016-06-17 13:42:00 -04:00
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
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
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
Guo Xiang Tan a74291c91a
We no longer pass it the controller. 2016-06-16 17:12:45 +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
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
Jeff Atwood 176d9e4863 UX: use link icon for linked posts ;) FINAL DECISION 2016-06-10 22:50:49 -07: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
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
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 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
Robin Ward 9a81115c1c FIX: Duplicate link shouldn't happen on edit 2016-06-08 17:22:23 -04: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
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
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