Commit Graph

1028 Commits

Author SHA1 Message Date
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
Kane York
390af7118a Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/templates/topic.hbs
2015-09-16 10:06:47 -07:00
Sam
31d801ce2c don't blur on autocomplete click 2015-09-16 13:16:08 +10:00
Sam
7db4ddcb66 correct disappering header on mobile compose 2015-09-16 12:50:42 +10:00
Robin Ward
975edceff4 Add semi colon linting to Javascript 2015-09-15 17:08:50 -04:00
Kane York
d47f1db2be Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/templates/topic.hbs
2015-09-15 13:52:12 -07:00
Neil Lalonde
b4a724e80a FEATURE: export dashboard reports to csv file 2015-09-15 16:45:10 -04:00
Robin Ward
b12ace5f9d FEATURE: Add staff gear icon to composer with options 2015-09-15 16:42:04 -04:00
Kane York
6be78861ca Merge branch 'master' into signup-cta
Conflicts:
	app/assets/javascripts/discourse/lib/key-value-store.js.es6
2015-09-15 12:26:25 -07:00
Kane York
41721b0898 Rename variables 2015-09-15 12:25:29 -07:00
Neil Lalonde
721b282d3c Merge pull request #3701 from xfalcox/patch-1
Fix same domains links on subfolder installs
2015-09-15 11:49:09 -04:00
Sam
24520937aa FEATURE: improve safari editor hack 2015-09-15 13:09:12 +10:00
Rafael dos Santos Silva
4e39f9662d Rewrite origin so it matches original behavior
As suggested by @nlalonde
2015-09-14 18:29:39 -03:00
Guo Xiang Tan
b4974f5876 UX: Don't allow search if searchTerm is not valid. 2015-09-13 08:56:20 +08:00
Robin Ward
62cc029886 FIX: Support using enter to change the hash, clicks should update hash 2015-09-11 12:47:44 -04:00
Régis Hanol
569f2815d1 FIX: ensure we still works with cookies off 2015-09-11 15:10:56 +02:00
Sam
6437cd0341 FEATURE: add support for generic external avatar services
This changes it so we only ship an avatar template down to the client
it has no magic, all it knows is how to plug in size
2015-09-11 15:10:56 +02:00
Sam
90d49d1497 correct paths used for external service 2015-09-11 13:18:07 +10:00
Kane York
aca70805f1 FIX: Discourse.BaseUri should not default to / 2015-09-10 17:34:08 -07:00
Régis Hanol
2742602254 FEATURE: support for external letter avatars service 2015-09-11 02:12:40 +02:00
Régis Hanol
e43034f08f Revert "FEATURE: SVG letter avatars (based on @eviltrout's spike)"
This reverts commit cd77465788.
2015-09-11 00:23:52 +02:00
Régis Hanol
cd77465788 FEATURE: SVG letter avatars (based on @eviltrout's spike) 2015-09-11 00:11:48 +02:00
Régis Hanol
38cb72b329 FEATURE: upload placeholder 2015-09-09 23:14:06 +02:00
Robin Ward
9548876c2d FIX: Some keyboard commands should not fire when anonymous 2015-09-09 13:45:29 -04:00
Sam
5eb1fb3bfd FEATURE: cache search results for 5 route transitions
DEV: transientCache that can be used to hold data for N route transitions
FEATURE: remember scroll position when hitting back from full page search
2015-09-09 11:52:11 +10:00
Régis Hanol
e3a80936c8 prefer empty href attribute to # 2015-09-08 18:27:20 +02:00
Sam
e13ed24122 FEATURE: on mobile take users to full page search
UX: improve styling on full page search page
FEATURE: allow search context in full page search
FEATURE: visited color link for full page search
FIX: broken search help on fulls page search page
FEATURE: allow preload store to return a null
FEATURE: "mobileAction" for the header buttons
2015-09-08 11:04:03 +10:00
Kane York
342eba4374 FEATURE: Category reordering dialog 2015-09-06 16:53:52 -07:00
Sam
e06d407153 Merge pull request #3718 from tgxworld/allow_emojis_to_be_copy_and_pasted
FIX: Allow user to quote Emojis.
2015-09-07 08:48:34 +10:00
Robin Ward
8e776d0fd7 Move TopicTrackingState to injected object 2015-09-04 13:00:24 -04:00
Sam
a54e8f3c5e FEATURE: live refresh notifications as they happen 2015-09-04 13:20:33 +10:00
Robin Ward
12e0225c51 FIX: Better metaKey support for menu panels 2015-09-03 11:47:18 -04:00
Régis Hanol
e43343354a Merge pull request #3727 from tgxworld/fix_autocomplete_mobile_view
UX: Make autocomplete usable on mobile.
2015-09-03 11:43:21 +02:00
Guo Xiang Tan
a77d5d0cef UX: Make autocomplete usable on mobile. 2015-09-03 17:10:08 +08:00
Robin Ward
a76d1079b2 Support jumping to messages 2015-09-02 13:39:14 -04:00
Sam
262f561a87 FEATURE: relax username rules to allow - and . and leading _
This relaxes our very strict username rules to allow for some long asked for requests

- leading _ is now allowed
- . is allowed except for trailing char and confusing extensions like .gif .json
- dash (-) is now permitted
2015-09-02 12:13:44 +10:00
Kane York
8b37dadec7 remove TODO 2015-09-01 16:52:29 -07:00
Kane York
f595e562ea Signup CTA first attempt 2015-09-01 16:16:19 -07:00
Robin Ward
f2fa7a39be FEATURE: Use shift+Z twice to log out 2015-09-01 16:37:54 -04:00
Robin Ward
6fb69d4434 Notifications cache should use localStorage wrapper 2015-09-01 14:45:24 -04:00
Robin Ward
bf2c18fddb Migrate KeyValueStore to ES6 modules 2015-09-01 14:45:24 -04:00
Robin Ward
11b73e1fb7 Avoid calling Discourse.logout and use an action instead 2015-09-01 14:41:31 -04:00
Guo Xiang Tan
c2eceaa50d FIX: Allow user to quote Emojis. 2015-09-02 00:16:08 +08:00
Guo Xiang Tan
9909c715dc FIX: Emoji can't be copy and pasted. 2015-09-01 15:45:46 +08:00
Robin Ward
e5911e7fc4 FIX: Opening panels by keyboard should respect closing 2015-08-31 14:51:38 -04:00
Robin Ward
82ad3e0401 Support for jump to profile 2015-08-31 14:40:52 -04:00
Robin Ward
ddf0db0338 Refactor notifications localStorage cache into adapter pattern.
Sometimes you want stale data right away, then refresh it async.
This adds `findStale` to the store for that case. If it returns
an object with `hasResults` you can get the `results` and display
them.

It also returns a `refresh()` method to freshen up the stale data.

To enable `localStorage` support for stale data, just include the
mixin `StaleLocalStorage` into an adapter for that model. This
commit includes a sample of doing that for `Notifications`.
2015-08-31 14:12:27 -04:00
Guo Xiang Tan
d3fea106fc FIX: Update relativeAgeMedium to be consistent with relativeAgeTiny. 2015-08-31 00:14:57 +08:00
Guo Xiang Tan
50ce95b37d FIX: Post age time not being translated correctly. 2015-08-31 00:11:52 +08:00
Robin Ward
4dc5717af4 Remove notifications from keyboard shortcuts 2015-08-29 11:00:07 -04:00
Robin Ward
879f9648d2 FIX: Keyboard shortcuts for menu panels were broken 2015-08-29 10:43:46 -04:00
Robin Ward
d4b987ff32 Migrate search drop down to menu-panel component. 2015-08-28 15:44:24 -04:00
Rafael dos Santos Silva
983d3606df Fix same domains links on subfolder installs
isInternal link handling logic needs to test if the link is inside the same subfolder
2015-08-27 18:37:52 -03:00
Robin Ward
2589a75c46 FIX: hitting = should show the hamburger menu 2015-08-27 13:37:41 -04:00
Robin Ward
fc296d88dc FIX: Jumping to last was broken 2015-08-27 13:11:57 -04:00
kerryliu
5bd1d52de2 FIX: emoji unescape 2015-08-26 21:37:57 -07:00
Guo Xiang Tan
a376bc0901 FIX: Allow emoji to be bounded by non-word characters in preview. 2015-08-26 17:06:01 +08:00
Guo Xiang Tan
f3e3cbe3b2 FIX: Trigger autocomplete when bounded by non-word characters. 2015-08-26 16:02:42 +08:00
Sam
540fe953e0 UX: remove swipe support from slideout 2015-08-26 10:36:49 +10:00
Sam
16d532e9c8 FIX: stop disabling default in detect swipe library 2015-08-26 10:26:58 +10:00
Robin Ward
c5460b7d3f FEATURE: Full height hamburger menu
- Rename `site-map` to `hamburger-menu`
- Includes acceptance tests
2015-08-25 16:48:43 -04:00
Guo Xiang Tan
6a31a5d52b Extract logic for censored-words so that it can be reused. 2015-08-25 22:26:01 +08:00
Régis Hanol
07d6bb8d31 FIX: remove client side maximum filesize check 2015-08-21 12:19:35 +02:00
Kane York
7c7580d226 FIX: Remove mouseover listener 2015-08-20 17:10:31 -07:00
Régis Hanol
ffb0690119 FIX: edit history navigation issues 2015-08-19 21:10:12 +02:00
Robin Ward
b0541500b4 FIX: eslint deprecations 2015-08-13 15:14:08 -04:00
Robin Ward
e2e3e7c0e0 Add ES6 support to more files 2015-08-13 10:49:08 -04:00
Régis Hanol
a8d20c623f FIX: eyeline was broken in dev 2015-08-13 12:42:57 +02:00
Régis Hanol
ffbaf8c542 FEATURE: automatically downsize large images 2015-08-12 18:33:13 +02:00
Sam
f6c6f6e7a1 FIX: if localStorage is disabled, still boot 2015-08-11 12:41:07 +10:00
Robin Ward
b7e6eaa961 ES6ify some of the remaining files 2015-08-10 10:21:05 -04:00
Sam
12b6d8a032 FIX: cancel in progress search when flipping to full search 2015-08-10 16:12:51 +10:00
Sam
cc9f6e53f2 FEATURE: add support for plugin-outlet in raw templates 2015-08-06 15:49:11 +10:00
Sam
6352528988 EXTENSIBILITY: add filter api to inject hooks in raw templates
TODO: decide with @eviltrout,
decide if registerUnboundOverride makes more sense
2015-08-04 18:53:44 +10:00
Jeff Atwood
a7f30adb18 minor Emoji tab tweaks 2015-07-31 18:26:06 -07:00
Robin Ward
76aa0795b3 Use small actions for moving posts 2015-07-31 16:30:18 -04:00
Régis Hanol
d71301e406 FIX: always 'return true' when overriding a route action 2015-07-31 20:16:37 +02:00
Robin Ward
29bdaa0dd8 Merge pull request #3636 from riking/patch-7
FEATURE: Add off button on preferences for popup notifications
2015-07-31 11:29:16 -04:00
Régis Hanol
1a5c3b4331 FIX: some pages were missing the footer 2015-07-31 17:18:38 +02:00
Régis Hanol
fb65970530 FIX: footer should also be hidden when using back/forward buttons 2015-07-31 16:53:18 +02:00
Kane York
8c62c8d7bf FEATURE: Add off button on preferences for popup notifications 2015-07-30 19:06:14 -07:00
Arpit Jalan
51b477d1f2 FIX: missed semicolon :fired: 2015-07-28 23:26:32 +05:30
Arpit Jalan
a45e87746e UX: emoji toolbar improvements 2015-07-28 23:03:11 +05:30
Jeff Atwood
c94f15ec98 another missing grouped Emoji, somehow 2015-07-28 00:04:00 -07:00
Jeff Atwood
cda8e09438 few missing Emojis from groups 2015-07-27 23:43:46 -07:00
Jeff Atwood
cc5e92351e fix Emoji synonyms, add explicit tabicon 2015-07-27 23:21:27 -07:00
Jeff Atwood
d5299001ca normalize to Slack Emoji groups + custom 2015-07-27 17:24:39 -07:00
Sam
41ceff8430 UX: move search to its own route
previously search was bundled with discovery, something that makes stuff confusing internally
2015-07-27 16:47:06 +10:00
Robin Ward
29439e5534 SECURITY: Make sure export CSV is generated via a POST 2015-07-24 12:33:53 -04:00
Jeff Atwood
92ced4449f add back in sunglasses guy with nose 2015-07-21 23:25:22 -07:00
Jeff Atwood
36e31be46a Revert "add 8) as sunglasses emoji shortcut"
This reverts commit 59f547cd3f.
2015-07-21 16:49:32 -07:00
Kane York
ad3f805d2f FIX: Do automatic copy on share in click handler 2015-07-21 10:34:41 -07:00
Jeff Atwood
59f547cd3f add 8) as sunglasses emoji shortcut 2015-07-20 22:41:25 -07:00
Sam
d7e7ae33ea FIX: IE9 and 10 were getting white screen, due to ES6 usage 2015-07-17 12:43:45 +10:00
Régis Hanol
ee86ae0537 FIX: use CDN for all user avatars (take 3) 2015-07-16 19:40:09 +02:00
Régis Hanol
80bf7bed21 this obviously doesn't work :( 2015-07-15 23:15:58 +02:00
Régis Hanol
25a1bf421e FIX: use CDN for user avatars (take 2) 2015-07-15 19:24:23 +02:00
Régis Hanol
0eb69398b9 Revert "FIX: use CDN for user avatars"
This reverts commit 8109bd85c0.
2015-07-15 18:00:29 +02:00
Régis Hanol
8109bd85c0 FIX: use CDN for user avatars 2015-07-15 17:27:51 +02:00
Robin Ward
20a338362f FIX: Allow multiple pagedown editors at once. 2015-07-13 16:36:38 -04:00
Robin Ward
ecd48a4b35 FIX: When finding a topic by slug only, use replaceState 2015-07-10 15:56:49 -04:00