Commit Graph

1028 Commits

Author SHA1 Message Date
Jeff Atwood
ad6cb3c638 force all iOS editors to minimum height for compat 2017-02-22 16:56:19 -08:00
Jeff Atwood
22fc761cc3 tweak iOS composer heights a bit 2017-02-22 15:48:39 -08:00
cpradio
38d7234018 FEATURE: Autocomplete support on advanced search 2017-02-22 08:42:16 -05:00
Jeff Atwood
c191e2e84c more conservative editor heights on iOS 2017-02-21 16:25:46 -08:00
James Kiesel
7dc0e11360 Rename exported function 2017-02-21 02:53:16 +13:00
James Kiesel
ffe41c9ae8 Allow access to safari hack applicable function 2017-02-21 02:32:01 +13:00
Sam
023bd0e9e7 FEATURE: allow client side of topic list to accept custom params
- Also normalize API version to use a version comparison function instead of float
2017-02-15 16:14:43 -05:00
Sam
675cb1c715 FEATURE: allow registrations of custom small action icons via plugins 2017-02-10 12:55:21 -05:00
Sam Saffron
4332f0dde1 FEATURE: allow user search API to restrict to group 2017-02-09 18:45:39 -05:00
Robin Ward
cef8a0af34 Merge pull request #4657 from gdpelican/reopen-widget
Add reopenWidget method
2017-02-01 13:18:55 -05:00
Guo Xiang Tan
18007ed34b FIX: Can't use an internal name here if SiteSetting.convert_pasted_images_to_hq_jpg is false. 2017-02-01 14:51:56 +08:00
Guo Xiang Tan
6c8c91dca4 UX: Change default filename for images that have been pasted. 2017-02-01 14:44:41 +08:00
James Kiesel
816a030f78 Bump plugin api to 0.7 2017-02-01 11:05:47 +13:00
Robin Ward
0c71e37aab Merge pull request #4660 from ryantm/serversideonly
add more SERVER_SIDE_ONLY routes; use pathname in matching
2017-01-17 13:55:40 -05:00
Ryan Mulligan
f641655f1b add more SERVER_SIDE_ONLY routes; use pathname in matching 2017-01-17 09:51:39 -08:00
Robin Ward
11641fb3cd Whitelist the alternative raw url 2017-01-17 11:11:27 -05:00
James Kiesel
646b49e5ae Expose reopenWidget through plugin api 2017-01-17 08:19:29 +13:00
Arpit Jalan
e793caf3e3 FIX: only allow CSV file to be uploaded for bulk invite 2017-01-11 16:26:01 +05:30
Robin Ward
7c8095294d FIX: Raw plugin outlets were broken 2017-01-05 11:38:57 -05:00
Guo Xiang Tan
1cf0401e26 Allow option to not include title on emoji images. 2017-01-03 11:07:55 +08:00
Régis Hanol
d8be3e8bb1 UX: ensure we only allow images when uploading an avatar, user card background, etc... 2017-01-02 11:37:56 +01:00
Robin Ward
da76dd3d6b REFACTOR: Cleaner quoteButton object, and some bug fixes 2016-12-30 12:14:56 -05:00
Robin Ward
61584f6c0c UX: Improve composer heights in some resolutions 2016-12-29 12:51:57 -05:00
Claas Augner
2e9bbccea9
Move cursor/selection algo to lib/utilities. 2016-12-29 10:16:17 +01:00
Robin Ward
3786d3679c FIX: Always return the latest API version requested 2016-12-27 11:57:46 -05:00
Angus McLeod
6f0a937fa1 Resolve raw templates in 'javascripts/mobile' and 'javascripts' on mobile 2016-12-22 18:13:26 -05:00
Neil Lalonde
b5cc6851cf FIX: tag chooser input was navigating to tag pgaes on some mobile browsers 2016-12-21 12:01:53 -05:00
Robin Ward
1be800b673 FIX: Prioritize raw template overrides from plugins 2016-12-20 13:07:09 -05:00
Robin Ward
da4e27ca7d FIX: Allow resolution of javascripts prefixed raw templates 2016-12-20 11:53:43 -05:00
Robin Ward
e03d5e2140 Reapply Ember 2.10 for good this time!
This reverts commit ddd299f4aa.
2016-12-19 11:19:10 -05:00
Robin Ward
ddd299f4aa Revert "Revert "Revert Ember 2.10+ for a short while""
This reverts commit 76bbc481cb.
2016-12-16 10:29:30 -05:00
Robin Ward
76bbc481cb Revert "Revert Ember 2.10+ for a short while"
This reverts commit 21682fd60b.
2016-12-16 09:52:29 -05:00
Robin Ward
21682fd60b Revert Ember 2.10+ for a short while 2016-12-15 16:43:38 -05:00
Robin Ward
250ca11416 Add PluginAPI for registering a connector class 2016-12-15 11:54:37 -05:00
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