Robin Ward
0348f23f6d
FIX: Register a test waiter rather than using hidden properties
2016-12-15 11:36:21 -05:00
Robin Ward
ea3db56d1c
FIX: Mobile raw templates were not being resolved
2016-12-15 10:28:15 -05:00
Robin Ward
28699e66d8
Revert "REVERT: Ember 2.10 -- it's not building properly"
...
This reverts commit 600541c623 .
2016-12-15 10:28:15 -05:00
Robin Ward
600541c623
REVERT: Ember 2.10 -- it's not building properly
2016-12-12 16:19:05 -05:00
Robin Ward
b6e03116ba
Auto discover connector classes. Support a setup method
2016-12-12 14:44:29 -05:00
Robin Ward
9a7998a930
Various fixes for Ember 2.10
2016-12-12 14:44:29 -05:00
Robin Ward
2efe4900cf
Plugin Outlets need their arguments to be explicit
2016-12-12 14:44:29 -05:00
Neil Lalonde
a62b028e16
Remove the open_topic_featured_link_in_external_window setting. Use the user preference.
2016-12-09 13:48:29 -05:00
Neil Lalonde
56ee4ffadc
Merge pull request #4522 from fantasticfears/featured-link
...
FEATURE: Allow posting a link with the topic
2016-12-05 16:05:38 -05:00
Robin Ward
9e807896bc
FIX: We can route from user cards
2016-12-05 13:45:31 -05:00
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics
2016-12-05 17:20:54 +01:00
Sam
7b5b255168
UX: improve topic composition on mobile
...
- tighten up space used for composer body
- stop collapsing and expanding so much
2016-12-02 17:43:18 +11:00
Guo Xiang Tan
e0803e1f91
Merge pull request #4567 from toumou/master
...
FIX uploadLocation when window.location.port is empty
2016-12-01 07:19:24 +01:00
Arpit Jalan
8a18c5be1f
FIX: use proper locale for user archive download alerts
2016-11-29 12:48:28 +05:30
Régis Hanol
af387edeb0
FIX: quote button issues
...
- disappear when moving to another topic
- disappears when clicking outside of the selection
- works even when selecting the last paragraph of a post
- works on all latest mobile OS
2016-11-24 18:23:33 +01:00
Thomas Ferracin
c74a5771fd
FIX uploadLocation when window.location.port is empty
...
More information available: https://meta.discourse.org/t/uploaded-video-are-not-embedded-and-display-a-link/53346
2016-11-24 18:01:08 +01:00
Robin Ward
5ba653d604
Allow old plugins without d-modal-body to work
2016-11-24 11:24:06 -05:00
Robin Ward
9afa55a3fd
FIX: Random failing plugin tests
2016-11-22 15:36:18 -05:00
Robin Ward
438e1bc0a9
Use the view registry instead of Ember.View.views
2016-11-21 15:31:14 -05:00
Guo Xiang Tan
07717dfaa7
FIX: Emoji not rendering using plugin api.
2016-11-21 14:33:17 +08:00
Guo Xiang Tan
6397d935ce
Merge pull request #4560 from tgxworld/optional_title_for_emoji_widget
...
Make title attribute on emoji widget optional.
2016-11-21 06:17:44 +01:00
Guo Xiang Tan
cba763a162
Revert "FIX: Login was broken on mobile"
...
This reverts commit fe94c5f9a5 .
2016-11-20 10:11:16 +08:00
Rafael dos Santos Silva
fe94c5f9a5
FIX: Login was broken on mobile
2016-11-19 21:13:52 -02:00
Robin Ward
06254d3163
Remove the last of the ModalBodyView uses
2016-11-18 12:13:21 -05:00
Guo Xiang Tan
3f54730c2d
Make title attribute on emoji widget optional.
2016-11-18 12:36:48 +08:00
Régis Hanol
ec28789b99
Merge pull request #4558 from fantasticfears/long-date-i18n
...
FIX: activy column title shows the non-i18n datetime
2016-11-17 10:57:26 +01:00
Robin Ward
6431b03d66
Remove the last of the admin view classes
2016-11-16 16:41:15 -05:00
Erick Guan
fb3c5bcd0f
FIX: activy column title shows the non-i18n datetime
2016-11-16 22:15:34 +01:00
cpradio
c3d4c949f1
Add comments to relevant sections denoting "create new topic" scenario is not supported for cannot-see-mention (per @coding-horror instruction)
2016-11-16 06:26:36 -05:00
Guo Xiang Tan
239cbc6e68
Make eslint happy.
2016-11-16 10:55:57 +08:00
Guo Xiang Tan
64b5c81843
FIX: Add alt and title attribute to emoji widget.
2016-11-16 10:48:20 +08:00
Robin Ward
aa86e5f206
Remove admin modal views
2016-11-15 17:18:36 -05:00
cpradio
824c235760
FEATURE: Notify user when mention can't see the reply they were mentioned in
...
FIX: Group Mention Notifications
2016-11-14 22:03:16 -05:00
Robin Ward
0904ad5537
Migrate createViewWithBodyClass helper to components
2016-11-10 14:28:04 -05:00
Robin Ward
70fb2431a1
Migrate this.container to getOwner(this)
2016-11-07 15:21:31 -05:00
Robin Ward
2d126cff8f
Ember.String.fmt is deprecated
2016-11-03 11:00:26 -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
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
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
Régis Hanol
35a79a70c3
FIX: uploading custom avatar was always hidden
2016-10-20 19:53:41 +02:00
Régis Hanol
9f7b529495
FIX: properly detect when attachments are allowed
2016-10-19 18:42:24 +02: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
Guo Xiang Tan
af90a04bd9
FIX: All clicks should close autocomplete.
2016-10-13 13:28:24 +08:00
Sam
6031e692f0
Merge pull request #4366 from xfalcox/print
...
Print Support
2016-10-11 11:47:20 +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
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
Robin Ward
f0937dc5d3
FIX: Route to .rss or .json as a server side URL
2016-09-28 10:36:56 -04: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
03ec480c65
Removes UI for print, adds CTRL+P shortcut
2016-09-26 20:46:55 -03:00
Rafael dos Santos Silva
7149e2ba20
FIX: New Emoji had missing group info
2016-09-26 18:12:40 -03:00
Robin Ward
be1d74d207
Split out common functions into discourse-common module
2016-09-22 09:52:19 -04: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
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
Robin Ward
a26e0df0c7
FIX: Bug when linking to anchors
2016-09-20 11:13:40 -04:00
Arpit Jalan
72f9369966
add unique body class to search and user pages
2016-09-19 10:24:58 +05:30
Neil Lalonde
e3e15182df
FEATURE: avatar flair on user cards
2016-09-15 16:15:18 -04:00
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
Erick Guan
9ce61b4586
FEATURE: Webhooks.
2016-09-05 18:44:00 +08:00
Neil Lalonde
2251104e32
FEATURE: avatar flair can be font awesome icons
2016-08-26 17:15:37 -04:00
Robin Ward
b6bcfc0426
FIX: Improper routing of https URLs
2016-08-22 16:45:11 -04: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
Neil Lalonde
d079f69b7b
FEATURE: add flair to avatars using new settings in the groups admin UI
2016-08-17 15:13:15 -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
Guo Xiang Tan
8dab20e5b8
SECURITY: Escape image title in lightbox.
2016-08-11 11:15:00 +08: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
cpradio
d8165d7cee
FEATURE: Allow keyboard shortcuts for topic list to start from last viewed topic
2016-08-06 11:24:44 -04:00
Régis Hanol
a21d52951a
don't use startsWith just yet
2016-08-03 14:31:52 +02:00
Guo Xiang Tan
bf683178a8
FIX: Remove tag plugin code from tag hashtag check.
2016-08-02 10:59:12 +08:00
Robin Ward
efc6408b1d
FIX: Regression with escaping on badge page
2016-07-28 15:57:06 -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
e7e6840803
FIX: I shouldn't commit while tired :)
2016-07-20 10:42:35 -04:00
Robin Ward
ad7e2f15c7
Support linking to anchored headings in the first post
2016-07-19 17:05:45 -04: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
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
Robin Ward
3d21805022
FIX: Backwards compatibility for plugins who sanitize
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
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
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
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
Sam
bd46bc62ff
FEATURE: show like button to anon
2016-07-05 12:11:48 +10:00
Sam
c665607f72
FIX: not doing non leading word match in emoji autocomplete
2016-07-04 19:16:08 +10:00
Guo Xiang Tan
4657d22eb0
Make eslint happy.
2016-07-04 11:00:14 +08: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
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
ea46e5dd57
UX: add minimum height for zoomed composer on mobile
2016-06-27 17:22:42 +10:00
Guo Xiang Tan
63b8797667
FIX: Incorrect model for embedded post widget.
2016-06-27 13:15:26 +08: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
cpradio
145ee10f40
FIX: Correct the topic notification keyboard shortcuts
2016-06-17 14:44:08 -04:00
Guo Xiang Tan
2484ef93ed
Use ES6 arrow functions instead.
2016-06-17 11:37:15 +08:00
Guo Xiang Tan
a74291c91a
We no longer pass it the controller.
2016-06-16 17:12:45 +08: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
df368ce251
FIX: Don't notify of duplicate links on edit of the first post
2016-06-09 13:03:06 -04:00
Robin Ward
9a81115c1c
FIX: Duplicate link shouldn't happen on edit
2016-06-08 17:22:23 -04:00
Robin Ward
c275a68daf
FIX: mdash being displayed when a date was invalid
2016-06-08 11:07:45 -04:00
Robin Ward
431179dd25
FEATURE: Prompt users when they are entering duplicate links
2016-06-07 14:47:22 -04:00
Robin Ward
74a454c203
FIX: Lock keyboard controls for navigating posts to eyeline
2016-06-02 13:50:12 -04:00
Robin Ward
d2ebf0436c
FIX: On small heights jumping to posts was iffy
2016-05-31 10:52:00 -04:00
Robin Ward
5fc47e6942
FIX: Much less jankiness on the scroller
2016-05-31 10:52:00 -04:00
Robin Ward
717999b302
FIX: iPad locking on was broken when posting.
2016-05-31 10:51:59 -04:00
Robin Ward
f854eebc5f
FIX: Entering a topic at the bottom would cause scroll jumps
2016-05-31 10:51:59 -04:00
Robin Ward
0b8a3ff5da
FIX: Better handling of position when near the top or bottom
2016-05-31 10:51:56 -04:00
Robin Ward
9e1021dfa3
WIP: Add notifications button to timeline
2016-05-31 10:51:53 -04:00
Robin Ward
288b407bd1
UX: Also use timeline date format on the bottom of the timeline
2016-05-31 10:51:52 -04:00
Robin Ward
a6b2f5ddba
FIX: Use topic progress widget for jumping to posts
2016-05-31 10:51:50 -04:00
Robin Ward
3cebba5b1f
UX: Add "ago" to the bottom of the timeline when relative
2016-05-31 10:51:49 -04:00
Robin Ward
90330d30f4
FIX: Error in smart short date function
2016-05-31 10:51:47 -04:00
Robin Ward
2bd59d7ca1
FIX: Some odd jumping behavior for the timeline
2016-05-31 10:51:44 -04:00
Robin Ward
1c49c57494
UX: Change the date formatting for timeline start + scroller
2016-05-31 10:51:42 -04:00
Robin Ward
559fa36c18
FEATURE: Topic timeline widget
2016-05-31 10:51:39 -04:00
Robin Ward
751e354ca6
Refactor topic-progress into a component
2016-05-31 10:51:39 -04:00
Jeff Atwood
817df3e3a0
Merge pull request #4175 from danielhers/user-search-non-whitespace
...
Allow any username character in user search
2016-05-28 01:58:23 -07:00
Guo Xiang Tan
2dcabd4762
Merge pull request #4229 from tgxworld/uncaught_error_warning
...
FIX: Don't throw uncaught error warning when in readonly mode.
2016-05-25 23:09:51 +08:00
Régis Hanol
c4f93846f9
add linebreaks when uploading a file
2016-05-20 11:35:47 +02:00
Régis Hanol
2c2c47fe4e
add support for 'command + up/down' to go to first/last post
2016-05-19 22:16:23 +02:00
Guo Xiang Tan
5ee9b3cd19
FIX: Don't throw uncaught error warning when in readonly mode.
2016-05-18 10:33:21 +08:00
Guo Xiang Tan
dd0260e435
Improve example for addStorePluralization.
2016-05-17 11:23:32 +08:00
Guo Xiang Tan
4f671724cc
Add store addPluralization to plugin-api. ( #4224 )
2016-05-16 11:11:15 -04:00
Simon Cossar
6077ac013b
FIX[WIP]: return correct path for uploads stored on s3 ( #4222 )
...
* return correct path for uploads stored on s3
* rename method
2016-05-16 08:12:05 +02:00
Robin Ward
f401d8d7de
FIX: undefined text on user profile
2016-05-11 16:25:43 -04:00
Robin Ward
7c0fb41ec0
Deprecation: Use Ember.Helper for later versions of Ember
2016-05-11 14:26:09 -04:00
Robin Ward
c7beecd8e3
Deprecation: somethingBinding is deprecated in newer embers
2016-05-11 14:26:07 -04:00
Robin Ward
da5e7c7383
Deprecations: {{bind-attr}} is deprecated
2016-05-11 14:26:06 -04:00
Robin Ward
e831203897
FIX: Widgets should support links to foreign hosts
2016-05-11 12:02:10 -04:00
Robin Ward
4875fe1c3e
FIX: Logo links to a different domain were broken
2016-05-10 10:42:16 -04:00
Robin Ward
3d392670a7
FIX: ES5 file shouldn't have const in it
2016-05-09 17:05:07 -04:00
Robin Ward
2d2bf4dd56
FIX: Keyboard controls were broken at the bottom of topics
2016-05-06 11:11:14 -04:00
Robin Ward
0fcfc6bed9
Add acceptance tests for all mobile templates
2016-05-05 12:49:12 -04:00
Robin Ward
3220f9e3cc
FIX: ESLint
2016-05-04 17:20:36 -04:00
Robin Ward
148c4da23d
FIX: Server side missing jQuery
2016-05-04 17:01:13 -04:00
Robin Ward
9ea32bf7d8
Deprecation: Change {{#each x in y}} to {{#each y as |x|}}
2016-05-04 16:18:09 -04:00
Robin Ward
2950a82a7d
FIX: showFlags was not triggered correctly by the keyboard shortcut
2016-05-04 12:03:20 -04:00
Régis Hanol
ad15049ef0
FIX: don't track clicks on links in quotes
2016-05-03 18:47:01 +02:00
cpradio
b7b5caa50e
FEATURE: Apply external window setting to Revision History ( #4207 )
2016-05-02 14:48:34 -04:00
cpradio
5c583ff5bb
FEATURE: Extend clicking tracking to the user profile page. ( #4203 )
...
* Extend clicking tracking to the user profile page.
Added qunit tests
Fixed click-track-test so it uses the correct data attribute for topic_id in its fixture
* Added a second excerpt to verify test pulls from the appropriate one.
2016-05-02 11:43:58 -04:00
Arpit Jalan
b1d6e2307f
FIX: do not track mailto links
2016-04-30 15:40:19 +05:30
Robin Ward
1a3b63e07d
createWithMixins is deprecated.
2016-04-29 16:50:52 -04:00
Robin Ward
187d7d6f96
Remove more views and deprecations.
2016-04-28 16:17:18 -04:00
Robin Ward
04ec679d82
Fixes some deprecations:
...
- LoadMore as a Mixin for discovery, groups
- Removed Views for discovery, groups
2016-04-28 15:25:45 -04:00
Neil Lalonde
e5918c7d00
FEATURE: Merge tagging plugin into core
2016-04-27 11:58:53 -04:00
Robin Ward
514c3976f0
PERF: Migrate header to discourse widgets
2016-04-25 10:48:04 -04:00
Régis Hanol
4960b62110
FEATURE: new 'block_auto_generated_emails' site setting
2016-04-20 21:29:27 +02:00
Guo Xiang Tan
2db42e970d
FIX: Autocomplete retriggering when term is blank on keyup.
2016-04-16 23:53:24 +08:00
Daniel Hershcovich
8aac646759
Allow any username character in user search
2016-04-16 10:39:33 +03:00
Robin Ward
95854a94c9
FIX: When viewing a summary, if a post jumps to the bottom cancel it.
2016-04-13 15:58:54 -04:00
Sam
cb6d1632ba
FIX: stop suppressing browser search for short closed topics
...
If a topic is closed (or closed and reopened)
browser search was unconditionally suppressed
2016-04-12 10:48:17 +10:00
Régis Hanol
e4e37fe70c
Merge pull request #4163 from frictionel/keyboard-shortcuts2
...
FIX: position view on `j`+`k` keyboard shortcuts
2016-04-11 23:04:02 +02:00
Régis Hanol
6ee11adf58
FIX: 'Discourse.isInternal' wasn't working with protocol-less URLs
2016-04-11 22:21:39 +02:00
Peter Lejeck
9bba68ed74
Allow disabling link tracking with .no-track-link ( #4160 )
2016-04-11 11:39:49 -04:00
TK
18a0a15c75
FIX: position view on j+k keyboard shortcuts
2016-04-10 14:00:15 +02:00
Robin Ward
b10b6c673d
Add h helper to plugin-api in v0.3
2016-04-07 16:38:30 -04:00
Régis Hanol
a5d8dfb07e
FIX: don't hardcode maximum file size
2016-04-06 22:51:28 +02:00
Régis Hanol
514d6ede0e
FIX: addPosterIcon wasn't working on initial load
2016-04-01 18:25:13 +02:00
Sam
d5b63730bc
don't bother with register emoji if dialect is missing
2016-03-30 18:10:14 +11:00
Robin Ward
e0347b18da
UX: Improve icon positioning on mobile
2016-03-23 14:44:34 -04:00
Robin Ward
86d2773d3a
FIX: Don't process infinite scrolling while safari hacks are active
2016-03-22 16:36:20 -04:00
Konrad Borowski
dd2605bae7
FIX: Allow displaying posts by deleted users.
2016-03-21 08:49:49 +01:00
Robin Ward
b1ac7491de
Include the topic's creator in transformed posts
2016-03-18 13:18:06 -04:00
Angus McLeod
99d93264b7
Move autosize from admin/lib to discourse/lib
2016-03-18 09:48:57 -04:00
Robin Ward
7e97724341
FIX: On mobile jumping to replies was not working
2016-03-14 13:26:30 -04:00
Robin Ward
1006b1ba94
Various Plugin Enhancements and Extension Points
2016-03-11 15:53:37 -05:00
Sam Saffron
0f29269de8
lang-auto not being treated correctly after update
2016-03-10 16:44:24 +11:00
Sam
f590036525
zero width joiner for emojis so no space is added when converting
2016-03-10 08:58:19 +11:00
Robin Ward
616006a9ce
FIX: All unicode replacements beside words. Omit some symbols.
2016-03-09 14:59:36 -05:00
Robin Ward
0a96829508
FIX: Search aliases but don't add them to the results
2016-03-04 16:08:17 -05:00
Robin Ward
396713718b
FEATURE: Adds ~200 more emoji
...
This includes all new emoji from Unicode 7 and Unicode 8 with the
exception of skin tones which will require a new interface.
2016-03-04 15:10:14 -05:00
Robin Ward
0167f6bb57
FIX: Don't substitute emojis within code blocks
2016-03-02 14:32:00 -05:00
Robin Ward
08e43588f6
FIX: Autocomplete wasn't properly updating d-editor
2016-03-01 15:17:17 -05:00
Guo Xiang Tan
39c3f06379
FIX: j keyboard shortcut skipping first post in topic.
2016-03-01 16:47:47 +08:00
Robin Ward
d538bcbe40
FIX: Don't cloak videos once they begin playing
2016-02-29 13:56:54 -05:00
Robin Ward
ff31403a60
FIX: When cloaked, posts would break jumping to top/bottom
2016-02-29 11:31:30 -05:00
Robin Ward
627ef54efe
New PluginAPI for widget settings
2016-02-26 14:26:29 -05:00
Robin Ward
5c3d14b421
Backwards compatibility for people who use Discourse.PageTracker
...
Rather than importing it.
2016-02-24 11:06:49 -05:00
Robin Ward
015eb47ea0
Don't pass topic down to the widgets
2016-02-24 10:44:27 -05:00
Sam
bc61cfcad4
correct autocomplete edge case on android
...
@ backspace @ was not opening an autocomplete
2016-02-24 15:20:12 +11:00
Sam
ee931e9f76
FIX: link to topic when clicking on up arrow
2016-02-24 14:50:14 +11:00
Robin Ward
05a0308663
Finish documenting new PluginAPI
2016-02-23 12:44:52 -05:00
Robin Ward
ef079004da
Ability to decorate after post cooked, and rawHtml helper
2016-02-23 12:10:25 -05:00
Sam Saffron
27052717a4
Merge branch 'master' into vdom
2016-02-23 17:23:05 +11:00
Sam Saffron
d59c9badbe
correct build
2016-02-23 17:22:41 +11:00
Sam Saffron
10aa1923a4
Merge branch 'master' into vdom
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-02-23 17:07:01 +11:00
Sam Saffron
32d3dd22a0
FIX: broken autocomplete on Android
...
Android Chrome does not support keypress event, instead use keyup
2016-02-23 17:06:15 +11:00
Sam Saffron
d0a86f8032
Merge branch 'master' into vdom
2016-02-23 15:58:46 +11:00
Sam Saffron
6d22354ac3
FIX: cleaner error handling for multiple autocomplete matchers
2016-02-23 15:48:39 +11:00
Robin Ward
54904133a0
Ability to mount ember views into vdom
...
It's slow but can be used as a last resort for old plugins.
2016-02-22 12:10:34 -05:00
Robin Ward
e848ea5a99
Depcreate PageTracker in favor of PluginAPI
2016-02-19 16:30:59 -05:00
Robin Ward
9b0b213ba2
FIX: Less safe API for icons
2016-02-19 16:03:26 -05:00
Robin Ward
8b318f76a1
Expose decoration for plugins such as signatures
2016-02-19 14:46:29 -05:00
Robin Ward
f2f49a5e96
Ability to add text to a poster name icon
2016-02-19 14:22:36 -05:00
Robin Ward
4d599612a2
Support for emoji poster icons
2016-02-18 17:03:18 -05:00
Robin Ward
6935925f10
Update Polls plugin to work with new Plugin API
2016-02-18 15:23:43 -05:00
Robin Ward
f6aa1ac37a
Migrate onToolbarCreate to the DiscourseAPI
2016-02-18 15:23:43 -05:00
Robin Ward
849c99f83d
Remove Discourse.Mobile constants
2016-02-18 12:19:00 -05:00
Robin Ward
ef75f87c8b
Remove unused file
2016-02-18 12:19:00 -05:00
Robin Ward
c0a6e34610
API for extra post menu buttons and support for solved button
2016-02-17 15:56:30 -05:00
Robin Ward
98f4b3f8a9
FIX: Bad merge
2016-02-17 12:00:08 -05:00
Sam
e8f76c335a
Merge branch 'master' into vdom
2016-02-17 18:10:12 +11:00
Robin Ward
63cda22623
Upgrade withPluginApi to support non-api callbacks
2016-02-16 16:44:27 -05:00
Robin Ward
c6456f5c3e
Provide an option callback to the API
2016-02-16 16:22:35 -05:00
Robin Ward
5d9278c098
FIX: Can force all shadow trees to rerender
2016-02-16 14:20:16 -05:00
Robin Ward
9eed95dc7b
FIX: Flag button was visible to anon
2016-02-16 12:51:20 -05:00
Robin Ward
3811b8aa4c
withPluginAPI shim to updated plugins will not raise errors
2016-02-16 12:25:01 -05:00
Robin Ward
3a78321c63
withPluginApi means you don't have to check for null.
2016-02-16 12:17:22 -05:00
Sam
1dc168a7e6
Merge branch 'master' into vdom
2016-02-15 19:29:59 +11:00
Sam
dd6ebde824
FIX: Always ensure notifications are treated as read once clicked
...
UX: improve messaging so notifications list is far more stable
PERF: improve performance of notifcation lookup queries
- Add feature "SetTransientHeader" that allows shipping info to server
in the next Ajax request
- remove local storage hack used for notifications
- amend lookupStale to return hydrated objects, move logic into store
- stop magically clearing various notifications (likes, invitee accepted, group_summary, granted badge)
2016-02-15 19:29:47 +11:00
Robin Ward
f9722f8598
Add custom post icons to PluginAPI
2016-02-12 16:57:24 -05:00
Robin Ward
9b8871d7dd
PluginAPI for more stable backwards compatibility going forward
2016-02-12 15:46:36 -05:00
Robin Ward
aa31f3081a
FIX: Placeholders should not show up to non-admins when deleting posts
2016-02-11 16:45:28 -05:00
Robin Ward
786f6ff8b0
FIX: Use chrome's scrollRestoration to fix scrolling uses with history
2016-02-11 13:14:43 -05:00
Robin Ward
5f65bf420c
FIX: Support the plugin-api for decorators
2016-02-11 11:00:42 -05:00
Robin Ward
0b84426a3a
FIX: Could like your own posts if they already had likes
2016-02-11 11:00:41 -05:00
Robin Ward
bd967ba38c
FIX: Placeholders were missing when scrolling downwards
2016-02-11 11:00:41 -05:00
Robin Ward
cd412976d7
FIX: Bookmark by keyboard was broken
2016-02-11 11:00:40 -05:00
Robin Ward
363cf5c5da
FIX: Couldn't like via keyboard
2016-02-11 11:00:40 -05:00
Robin Ward
d1e85bdd8b
FEATURE: Use virtual dom framework for faster post rendering
2016-02-11 11:00:40 -05:00
Guo Xiang Tan
c7186b1403
FIX: Close autocomplete is term is blank.
2016-02-10 19:50:58 +08:00
Sam
3df2ee3431
UX: allow for an optional toolbar in composer in mobile
...
Allows preview of text, emoji, quoting, whisper
2016-02-09 17:10:41 +11:00
Sam Saffron
b9e8732018
UX: tweak autocomplete to limit hijacking
...
- Stop eating up back arrow when you hit @
- Clicking anywhere closes autocomplete
- Forward arrow no longer issues autocompletion, instead functions as right arrow
2016-02-08 10:51:59 +11:00
Guo Xiang Tan
726d81f83b
FIX: Don't update autocomplete when removing the key.
2016-02-05 16:47:47 +08:00
Guo Xiang Tan
90100378b8
Extract category hashtag autocomplete into a resuable function.
2016-01-29 10:55:29 +08:00
Guo Xiang Tan
a2857d68bb
Make eslint happy.
2016-01-21 12:31:50 +08:00
Guo Xiang Tan
bd86e88b05
UX: Remove category hashtag decoration.
2016-01-21 12:27:52 +08:00
Guo Xiang Tan
fa794ef59d
FIX: Deleting characters on category hashtag was not triggering autocomplete.
2016-01-20 17:18:04 +08:00
Guo Xiang Tan
55352eeb1b
FIX: Make eslint happy.
2016-01-20 12:51:54 +08:00
Guo Xiang Tan
c6697e2c14
Prefix decorate category badges with '#'.
2016-01-20 12:48:00 +08:00
Guo Xiang Tan
9652c3df4f
FIX: Don't track category-badges links.
2016-01-20 12:48:00 +08:00
Guo Xiang Tan
4a7f560a35
FEATURE: Decorate category hashtag links.
2016-01-19 10:58:15 +08:00
Robin Ward
7b755c3280
FIX: Precompiler should apply get magic too
2016-01-15 14:26:10 -05:00
Robin Ward
4bbbdd8dc4
SECURITY: Upgrade Ember to fix CVE-2015-7565. Also upgrade Handlebars
2016-01-15 13:57:45 -05:00
Arpit Jalan
0dec98f50a
FIX: CDN URL should start with protocol
2016-01-14 18:31:23 +05:30
Arpit Jalan
d2c297955a
FIX: use CDN URL for audio/video uploads
2016-01-14 17:44:22 +05:30
Guo Xiang Tan
c1dbf5c1c4
FEATURE: Autolinking to category using hashtags.
2016-01-05 00:12:24 +08:00
Régis Hanol
bebeeffc30
FIX: ico are images too
2015-12-31 11:40:23 +01:00
Arpit Jalan
3a28bafc0f
FEATURE: onebox internal audio or video files
2015-12-25 01:52:14 +05:30
Sam
205b1c5fbd
Update emoji.js.erb
...
bump emoji number
2015-12-23 08:46:42 +11:00
Robin Ward
3095dd160e
Add slightly_smiling emoji and use it as default smile.
2015-12-22 14:40:49 -05:00
Kelle Connolly
a7aeeaffdb
Add Discourse.getURL to the url passed into page view events
...
This means that instances in a subdirectory correctly receive the
subfolder string as a part of the path.
2015-12-18 14:17:51 +11:00
Sam Saffron
f97a754b30
Revert "Try adding an ALT tag for avatars"
2015-12-15 19:57:54 +11:00
Sam Saffron
dd6e38133a
correct tests and implemenation
2015-12-15 19:46:00 +11:00
Sam Saffron
f2bed10087
Try adding an ALT tag for avatars
2015-12-15 18:00:59 +11:00
Guo Xiang Tan
f60a53762f
FIX: Keyboard shortcut to quote reply selecting wrong post.
2015-12-14 20:06:38 +08:00
Guo Xiang Tan
7bf4ebf2f6
FIX: Incorrect key when checking for primary tab.
2015-12-12 11:43:43 +08:00
Robin Ward
b2c73e7045
UX: On mobile use a dropdown for topic controls instead of many buttons
2015-12-11 15:09:09 -05:00
Robin Ward
8f1937e88f
Clean up PostsWithPlaceholders
2015-12-07 14:21:07 -05:00
Guo Xiang Tan
8dbf1e457b
FIX: Allow '/' to trigger autocomplete.
2015-12-07 20:22:14 +08:00
Robin Ward
63ba6c78af
FIX: Jump to previously loaded post was broken
2015-12-04 16:20:43 -05:00
Robin Ward
40c8d39137
FEATURE: Reply Placeholders in Stream
2015-12-04 10:02:58 -05:00
Sam
7917316f6f
FEATURE: display warning on top of composer for group mentions
...
If users attempt to mention a group that is "mentionable" display a warning
informing them that people will be notified.
2015-12-04 13:41:07 +11:00
Sam
9899e8d4a5
FEATURE: First class messages to groups, you can select a group as a target of a message
2015-12-02 15:49:43 +11:00
Sam
ad3dd161e7
FEATURE: first class group mentions built in
...
If you allow a group to be mentioned it can be mentioned with the @ symbol.
Keep in mind as a safety mechanism max_users_notified_per_group_mention is set to 100
2015-11-30 17:08:43 +11:00
Sam
43d63367fd
PERF: stop loading handlebars and ember compilers in prod
...
(this removes a nice 50K from our initial payload and saves memory)
Also fixes invalid HTML automatically if added to HEAD or /BODY
2015-11-27 11:59:01 +11:00
Robin Ward
434deb1bd3
SECURITY: Backported XSS fixes from Handlebars
2015-11-24 16:08:08 -05:00
Régis Hanol
bec1606328
Merge pull request #3858 from tgxworld/exclude_letter_character_class
...
UX: Trigger autocompleter only for specific characters.
2015-11-23 10:08:19 +01:00
Guo Xiang Tan
f835a0ba22
UX: Trigger autocompleter only for specific characters.
2015-11-23 16:33:47 +08:00
Guo Xiang Tan
8d1636db2b
FIX: Keyboard shortcut to quote reply.
2015-11-23 15:58:54 +08:00
Sam
5c899c765b
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS""
...
This reverts commit c21457d6a7 .
2015-11-21 12:27:06 +11:00
Robin Ward
c21457d6a7
Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"
...
This reverts commit c0b277d273 .
2015-11-20 10:00:12 -05:00
Sam
0c5d0ddb1b
FIX: defer requires to avoid future dependencies
2015-11-21 00:43:41 +11:00
Sam
c0b277d273
REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS
...
This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821
Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
2015-11-21 00:14:50 +11:00
Robin Ward
84a50a1260
FIX: Keyboard handling regression
2015-11-18 12:35:17 -05:00
Gerhard Schlager
2d1c21755f
FIX: Pressing Ctrl+F twice should close Discourse search window
2015-11-17 20:31:00 +01:00
Robin Ward
ea29e1c693
FIX: Use proper replaceState when updating a location hash
2015-11-12 12:03:25 -05:00
Régis Hanol
a911d93885
remove spoiler-related dialect/whitelists since there's a new spoiler dialect (cf. discourse-spoiler-alert plugin)
2015-11-12 17:55:27 +01:00
Robin Ward
395d01c5f9
FIX: Have the preview refreshed event fire by decorateCooked
2015-11-10 13:26:12 -05:00
Robin Ward
f85d848649
Remove a bunch of old deprecated code
2015-11-10 13:09:05 -05:00
Robin Ward
52579179bd
FIX: Broken tests in phantom, not in browser
2015-11-06 16:44:38 -05:00
Robin Ward
8ba7c06b7d
Merge pull request #3735 from riking/patch-4
...
FIX: Discourse.BaseUri should not default to /
2015-11-06 14:52:19 -05:00
Robin Ward
47495a5713
FEATURE: Replace composer editor with ember version
2015-11-06 09:49:16 -05:00
Régis Hanol
86f76e5b4d
FIX: better plugin emojis API
2015-11-06 15:02:40 +01:00
Régis Hanol
7fbf902d09
FIX: prevent cross-contamination of emojis in multisites
2015-10-30 23:26:34 +01:00
Guo Xiang Tan
25161eef39
FIX: 'q' keyboard shortcut not working.
2015-10-24 23:57:55 +08:00
Régis Hanol
227689d77b
Merge pull request #3866 from cpradio/fix-broken-keyboard-shortcuts
...
FIX: Fix the shortcuts shift+j and shift+k
2015-10-20 15:21:29 +02:00
cpradio
35496cae4f
FIX: Fix the shortcuts shift+j and shift+k
2015-10-20 09:17:40 -04:00
Guo Xiang Tan
97d11b6656
FIX: Emoji toolbar too wide on mobile.
2015-10-20 09:19:45 +08:00
Robin Ward
94b60e62a2
FEATURE: New markdown editor re-written in Ember
...
Note this commit leaves out the biggest occurrence of the editor
which is the post/topic composer.
To avoid major breakage, this replaces it everywhere else it was
used:
* User preferences (About Me)
* Admin Customizations > Text Content
* Category Templates
* Editing Queued Posts
A future commit will replace the main composer with this editor
and will remove the unused pagedown code.
2015-10-19 11:01:20 -04:00
Neil Lalonde
14bfeec25e
Merge pull request #3844 from gschlager/patch-1
...
FIX: Pressing Ctrl+F twice should show browser find
2015-10-16 13:16:55 -04:00
Guo Xiang Tan
8e8e787ad0
FIX: Whitelist parentheses and brackets in autocomplete.
2015-10-16 13:17:51 +08:00
Régis Hanol
d863defd3b
convert emoji toolbar to use safe local storage
2015-10-13 10:52:42 +02:00
Régis Hanol
7c369ab2b7
convert desktop notifications to use safe localStorage
2015-10-13 10:34:44 +02:00
Régis Hanol
cafff9bf01
FIX: ensure we can write to the localStorage
2015-10-13 10:21:49 +02:00