Commit Graph

1028 Commits

Author SHA1 Message Date
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
Gerhard Schlager
d10741170f FIX: Pressing Ctrl+F twice should show browser find 2015-10-08 22:30:33 +02:00
Guo Xiang Tan
8b59f76f59 FIX: Don't append when there is nothing to append. 2015-10-03 17:22:13 +08:00
Guo Xiang Tan
904a36eea2 UX: Emoji Toolbar was too wide on mobile. 2015-10-03 17:08:13 +08:00
Régis Hanol
2c384aec83 FIX: reply as new topic wasn't working in FF when the post was only composed of an image 2015-10-01 21:43:43 +02:00
Robin Ward
4986314122 Add "more..." to emoji popup in composer. 2015-09-29 16:16:52 -04:00
Régis Hanol
321d1bd0a9 FIX: allow for more than 1 markdown editor instances 2015-09-29 20:21:47 +02:00
Sam
855419064c FIX: don't use Safari hack on Windows Phone 2015-09-28 16:50:24 +10:00
Sam
a890d45cb6 FIX: disable cloaked view while running ios positioning hack 2015-09-25 16:42:57 +10:00
Régis Hanol
a6934a200e FIX: don't use the filename for the upload placeholder 2015-09-22 17:45:55 +02:00
Sam
086d31d53b UX: when on full page search header search should not pop open
fix `/` handling in full page search to highlight search term
2015-09-18 12:20:59 +10:00
Robin Ward
4eaaf4198c FIX: Liking a post shouldn't contract who liked it 2015-09-17 16:29:17 -04:00
Robin Ward
0a78cdbd83 FIX: Clicking users in Private Messages Map should show card 2015-09-17 11:38:21 -04:00
Sam
183d72f2e9 correct composer in iPad landscape 2015-09-17 17:19:50 +10:00
Sam
527c9158eb we must hide the header for iPad 2015-09-17 13:19:08 +10:00
Sam
e254030760 FIX: header undocking when opening mobile view
FIX: make it possible to upload an image on iphone
FIX: mobile can now upload more than 1 image
2015-09-17 13:05:31 +10:00
Kane York
4e587eb68f Store nothing if anon cta is disabled 2015-09-16 16:32:15 -07:00