Commit Graph

65 Commits

Author SHA1 Message Date
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
Robin Ward
098556c78d Assorted Ember 1.11 fixes 2015-05-11 11:20:45 -04:00
Robin Ward
ed398e65e0 Fixes issues with composer 2015-05-11 11:18:38 -04:00
Robin Ward
aee12fd6ef Ember Deprecations for Topics 2015-05-11 11:18:37 -04:00
Régis Hanol
a737090442 - FEATURE: revamped poll plugin
- add User.staff scope
- inject MessageBus into Ember views (so it can be used by the poll plugin)
- REFACTOR: use more accurate is_first_post? method instead of post_number == 1
- FEATURE: add support for JSON-typed custom fields
- FEATURE: allow plugins to add validation
- FEATURE: add post_custom_fields to PostSerializer
- FEATURE: allow plugins to whitelist post_custom_fields
- FIX: don't bump when post did not save successfully
- FEATURE: polls are supported in any post
- FEATURE: allow for multiple polls in the same post
- FEATURE: multiple choice polls
- FEATURE: rating polls
- FEATURE: new dialect allowing users to preview polls in the composer
2015-04-23 19:33:29 +02:00
Neil Lalonde
3071650eb3 FEATURE: when post is too short, suggest using the like button instead 2015-04-20 11:10:56 -04:00
Robin Ward
ed58a87616 FIX: Disable links in the preview to avoid losing your drafts 2015-03-27 14:24:41 -04:00
Sam
1bdce815e2 FIX: workaround for Safari on iOS causing crazy composer positioning
see: http://stackoverflow.com/questions/29001977/safari-in-ios8-is-scrolling-screen-when-fixed-elements-get-focus
2015-03-24 17:43:05 +11:00
Robin Ward
893c1aa067 FIX: Quoting an avatar when default_avatars was set was broken. 2015-03-12 15:51:28 -04:00