Sam
62a27f9d57
FEATURE: warn if attempting to mention a group with too many members
2017-12-21 16:13:57 +11:00
Vinoth Kannan
9cd48207f2
make eslint happy
2017-12-15 17:08:17 +05:30
Vinoth Kannan
236ecec0b0
Skip HTML pasting if image upload available
2017-12-15 16:40:40 +05:30
Joffrey JAFFEUX
c1c31b99ce
Replaces toolbar popup-menu with select-kit
2017-12-13 10:49:32 +01:00
Vinoth Kannan
fdef4e58f0
Skip markdown table conversion from rich text feature flag setting
2017-12-08 18:30:38 +05:30
Vinoth Kannan
b9c0488687
New site setting to enable or disable rich text pasting
2017-12-08 14:09:39 +05:30
Joffrey JAFFEUX
fd99e1ef56
FEATURE: site setting enable_mentions to turn on/off mentions
2017-12-07 16:27:58 -05:00
Vinoth Kannan
be848b8a5c
FIX: Image pasted twice when it copied from browser
2017-12-07 21:23:31 +05:30
Kris
f559275b14
FIX: Adjusted the composer preview to avoid odd scroll issue
2017-12-06 11:31:36 -05:00
Guo Xiang Tan
4531563717
Hide new advanced editor and preview sync behind a hidden site settings.
2017-12-06 12:34:58 +08:00
Vinoth Kannan
8cf7152151
FIX: IE compatability issue in clipboard data types array
2017-12-06 01:02:06 +05:30
Vinoth Kannan
ab4c953d82
FEATURE: Paste plain text table as Markdown table
2017-12-04 20:53:42 +05:30
Vinoth Kannan
e2c60ea4b2
FIX: Skip pasting files if plain text available in clipboard
2017-12-02 02:05:11 +05:30
Guo Xiang Tan
2e860eddc1
Don't sync scroll when input is not scrollable.
...
https://meta.discourse.org/t/composer-preview-scroll-not-syncing-with-editor/74975/14?u=tgxworld
2017-12-01 17:08:03 +08:00
Guo Xiang Tan
3e9c3f6f13
Fix JS test.
...
* `new Array` doesn't seem to be available in phantomJS yet.
2017-11-29 16:03:00 +08:00
Guo Xiang Tan
5b965ab5d0
Sync editor and preview when preview is updated.
2017-11-29 11:19:04 +08:00
Guo Xiang Tan
ebc31975e8
Ember.run.schedule -> Ember.run.scheduleOnce.
2017-11-29 10:43:59 +08:00
Guo Xiang Tan
de17a8e856
UX: Sync input and preview when user is typing.
2017-11-29 09:56:15 +08:00
Guo Xiang Tan
4816619ba3
FIX: Editor and preview does not sync when scrolled to the bottom.
2017-11-29 08:38:57 +08:00
Sam
eb428ef54d
FEATURE: uploads are processed a faster
...
Also cleans up API to always return 422 on upload error. (previously returned 200)
Uploads are processed using new hijack pattern
2017-11-27 12:43:35 +11:00
Guo Xiang Tan
f3f051a344
UX: Composer textarea should always start at the top.
2017-11-24 23:24:37 +08:00
Guo Xiang Tan
44333c5de3
REFACTORY: Dry up some composer syncing code.
2017-11-24 14:57:36 +08:00
Guo Xiang Tan
c5745feac6
Build scrollMap only on scroll.
2017-11-23 21:44:09 +08:00
Guo Xiang Tan
ab839d134b
Fix scrollmap included NaN values.
2017-11-23 18:08:43 +08:00
Guo Xiang Tan
486016acea
UX: Improve editor and preview scroll syncing.
2017-11-23 17:02:02 +08:00
Robin Ward
f8164956dd
Add quote and mention support for username formatters
2017-11-20 16:28:03 -05:00
Sam
232311aa8c
FIX: missing short image resolution on queued posts
2017-11-13 12:08:11 +11:00
Régis Hanol
0bb07d395a
REFACTOR: composer to use flexbox
2017-11-08 10:39:26 +01:00
ckeboss
93633865d9
Adds primary user group as a class to quote ( #5285 )
...
* Adds primary user group as a class to quote
This feature addition will add the class `group-PRIMARY_USER_GROUP` to
the quote `aside`. `PRIMARY_USER_GROUP` will be the primary user group
of the user being quoted. This is similar to the class that is added to
a `topic-post`.
* Remove trailing whitespace
* Fix avatar in test
* Address PR comments
* Fix trailing whitespace
2017-11-03 09:51:40 -04:00
Guo Xiang Tan
91c5f928c2
FIX: Group#mentionable and Group#messageable not fully working.
2017-10-02 16:50:58 +08:00
Sam
d7a2584c6e
FEATURE: image uploads now have short urls
...
Shorten all image uploads to use short urls, this is the client
side implementation.
2017-08-22 16:40:08 -04:00
Robin Ward
657e592a39
FIX: Oneboxes were not being previewed
2017-07-20 17:12:54 -04:00
Robin Ward
3882722195
FEATURE: Inline (Mini) Oneboxing
...
see:
https://meta.discourse.org/t/mini-inline-onebox-support-rfc/66400?source_topic_id=66066
2017-07-20 15:38:04 -04:00
Arpit Jalan
3fb1c21dd5
Fix the build.
2017-07-11 19:26:33 +05:30
Bianca Nenciu
375eb290b9
Made changes as per review.
2017-07-10 23:28:35 +01:00
Bianca Nenciu
1e7f0fd8f1
Added events to show and hide the preview pane.
2017-07-10 20:23:56 +01:00
Régis Hanol
73a4a05c5b
make eslint happy again
2017-06-23 16:06:32 +02:00
Régis Hanol
a9c0df0b58
FIX: always try to convert PNG to JPG when pasting an image
2017-06-23 12:13:48 +02:00
Joffrey JAFFEUX
df75df7169
missing semicolon
2017-06-14 14:47:53 +02:00
Régis Hanol
f943efe1a9
remove use of soon-to-be-deprecated 'Discourse.SiteSettings' (cc @eviltrout)
2017-06-14 10:02:13 +02:00
Régis Hanol
54e8fb0d89
FEATURE: new 'allow_staff_to_upload_any_file_in_pm' site setting
2017-06-12 22:41:29 +02:00
cpradio
aeb169bd0e
FIX: Do not show User Cannot See Mention dialog when crafting a new topic or a new message
...
Use the model/composer topic.id to determine what users cannot be mentioned and what message to show as a warning.
2017-04-06 11:20:30 +08:00
Régis Hanol
52cd9972bb
FIX: prevent DDoS with lots of _oneboxable_ links
...
FIX: ensure the onebox route is only allowed to logged in users
FIX: only allow 1 outgoing onebox preview per user
FIX: client should only do 1 preview at a time
2016-12-20 00:31:10 +01: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
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