Commit Graph

73 Commits

Author SHA1 Message Date
Robin Ward
fb94b4c56d Show the whisper preview in the whisper style 2016-10-17 16:53:24 -04:00
Régis Hanol
ee2780466c FIX: too many upload placeholders when uploading several files 2016-07-06 17:58:11 +02:00
Guo Xiang Tan
41842460b4
UX: Collapse users when composing a private message. 2016-06-29 10:40:38 +08:00
Guo Xiang Tan
a053caeda4
FIX: Make sure we hide popup menu options on esc. 2016-06-20 10:11:42 +08:00
Robin Ward
e393e43ce5 FIX: If the composer started open it didn't check for composer messages 2016-06-08 12:57:41 -04:00
Robin Ward
67303d7679 REFACTOR: Composer messages to use new ember idioms 2016-06-07 14:47:22 -04:00
Robin Ward
a832d88375
UX: Hide the timeline when the composer is open 2016-06-01 14:42:00 -04:00
Robin Ward
514c3976f0
PERF: Migrate header to discourse widgets 2016-04-25 10:48:04 -04:00
scossar
0fba9443a6 show popup menu over preview window 2015-12-28 13:51:07 -08:00
Robin Ward
395d01c5f9 FIX: Have the preview refreshed event fire by decorateCooked 2015-11-10 13:26:12 -05:00
Robin Ward
b05f6ddbe1 FIX: Add back in footer padding. iPad is broken for other reasons. 2015-11-10 12:55:21 -05:00
Robin Ward
1bcdade45f ESLint fix 2015-11-07 18:43:18 -05:00
Robin Ward
682a3cdfec FIX: Some iPad fixes for the new composer 2015-11-07 18:38:44 -05:00
Robin Ward
47495a5713 FEATURE: Replace composer editor with ember version 2015-11-06 09:49:16 -05: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
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
Régis Hanol
9e2934f635 FIX: replaceMarkdown should be smart about current caret position 2015-09-25 17:21:44 +02:00
Régis Hanol
e65ddc6c25 FIX: immediately remove upload placeholder when cancelling the upload
FIX: prevent post submit when something is uploading
2015-09-22 18:16:53 +02:00
Régis Hanol
6a4b9a3d38 FIX: remove upload placeholder when cancelling the upload 2015-09-22 17:58:12 +02:00
Régis Hanol
a6934a200e FIX: don't use the filename for the upload placeholder 2015-09-22 17:45:55 +02:00
Régis Hanol
af7f00099f FIX: uploading a file with a non-ASCII character wasn't removing the placeholder 2015-09-21 16:17:25 +02: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
Robin Ward
975edceff4 Add semi colon linting to Javascript 2015-09-15 17:08:50 -04:00
Robin Ward
b12ace5f9d FEATURE: Add staff gear icon to composer with options 2015-09-15 16:42:04 -04: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
Régis Hanol
f6380c66ef oooops 2015-09-11 02:15:45 +02:00
Régis Hanol
2742602254 FEATURE: support for external letter avatars service 2015-09-11 02:12:40 +02:00
Régis Hanol
38cb72b329 FEATURE: upload placeholder 2015-09-09 23:14:06 +02:00
Robin Ward
b3a930f2ed DRY up header height calculation 2015-09-02 14:30:18 -04:00
Robin Ward
f5cbaf5609 Have menu panels show up on top of the composer, stop composer at header 2015-09-01 17:34:04 -04:00
Robin Ward
b0541500b4 FIX: eslint deprecations 2015-08-13 15:14:08 -04:00
Robin Ward
02a968bd27 Remove ObjectController, Discouse Controllers + Presence 2015-08-13 10:49:08 -04:00
Robin Ward
e2e3e7c0e0 Add ES6 support to more files 2015-08-13 10:49:08 -04:00
Guo Xiang Tan
b3a5381e79 FIX: Get composer height after transition. 2015-08-11 11:24:07 +08:00
Sam
2052ceca95 FIX: stop screen from jittering when mobile has images
This fix makes sure we apply reasonable settings to all images while
they are loading, it stops mobile from dancing around on topics that
have images

We no longer use height: auto on mobile!
2015-08-10 13:19:01 +10:00
Sam
aef575aad0 FIX: stop showing incorrect avatars in quote 2015-08-05 19:22:51 +10:00
Sam
7ba7b23aec Merge pull request #3634 from tgxworld/fix_draft_overlaps
FIX: Draft overlaps topic counts blurb in suggested topics.
2015-08-05 14:49:35 +10:00
Sam
7b8b96446e FEATURE: track statistics around post creation
- how long were people typing?
- how long was composer open?
- how many drafts were created?
- correct, draft saved to go away after you continue typing

store in Post.find(xyz).post_stat
2015-08-03 14:29:15 +10:00
Robin Ward
5f45e5361f FIX: Moderation actions can have their messages removed 2015-07-28 16:58:56 -04:00
Guo Xiang Tan
08e69b988c FIX: Draft overlaps topic counts blurb in suggested topics. 2015-07-29 01:02:40 +08:00
Robin Ward
20a338362f FIX: Allow multiple pagedown editors at once. 2015-07-13 16:36:38 -04:00
Robin Ward
ef1d27fffc PERF: Debounce mention lookup, enforce minimum username 2015-06-11 15:12:16 -04:00
Sam Saffron
c58b495e15 SECURITY: Query @usernames in bulk
Otherwise you could add many requests at once while composing.
2015-06-11 13:03:49 -04:00
Sam
77c7bad61f FIX: not unbinding uploadTarget correctly 2015-05-29 16:03:52 +10:00
Sam
bb3fb37650 FIX: when uploading same file was pasted into multiple composers 2015-05-28 15:08:54 +10:00
Robin Ward
23eadc3fb1 The entire qunit suite runs without any deprecations 2015-05-27 15:07:09 -04:00
Régis Hanol
bb0c2813ac FEATURE: generate (avatar) thumbnails in a background task
FIX: keep the "uploading..." indicator until the server replies via the MessageBus
FIX: text was disapearing when uploading an avatar

PERF: always use a region for S3 (defaults to 'us-east-1')
FEATURE: ApplyCDN middleware when using S3
FIX: use the same pattern to store files on S3 and locally
PERF: keep a local cache of uploads when generating thumbnails
FEATURE: migrate_to_s3 rake task
2015-05-25 17:59:00 +02:00
Régis Hanol
8d967d9065 FEATURE: move all uploads to a single endpoint + defer upload creation in a background thread 2015-05-20 16:45:48 +02:00
Robin Ward
a93dfece70 FIX: Incorrect error message when post isn't long enough 2015-05-11 11:20:46 -04:00