about summary refs log tree commit diff
path: root/app/javascript/mastodon/reducers/compose.js
AgeCommit message (Collapse)Author
2023-02-13Fix case-sensitive check for previously used hashtags (#23526)Dean Bassett
2023-02-10Fix attached media uploads not being cleared when replying to a post (#23504)Claire
2023-01-30autofocus the compose form again on /share (#23094)Akira Ouchi
2023-01-18Add support for editing media description and focus point of already-posted ↵Claire
statuses (#20878) * Add backend support for editing media attachments of existing posts * Allow editing media attachments of already-posted toots * Add tests
2022-12-19Enable eslint:recommended ruleset (#22433)Nick Schonning
* Enable ESLint recommended ruleset * Disable failing ESLint recommended rules * Remove rules shadowed by eslint:recommended
2022-12-15Fix being stuck in edit mode when deleting the edited status (#22126)Claire
2022-12-13Change default reply language to be default language when replying to a ↵Claire
translated reply (#22272) Fixes #22250
2022-11-27Fix status mismatch of sensitive check (#21724)kedama
2022-11-14Fix media metadata being only editable once (#20665)Claire
2022-11-11Add the ability to edit media attachment metadata for any unattached media ↵Claire
(#20402)
2022-11-08Fix redrafting a currently-editing post not leaving edit mode (#20023)Claire
2022-10-29Fix upload progress not communicating processing phase in web UI (#19530)Eugen Rochko
2022-05-31Change language to be carried over on reply (#18557)Claire
In most cases, replies to a toot are written in the same language as the toot being replied to.
2022-05-16Add language dropdown to compose in web UI (#18420)Eugen Rochko
2022-02-10Add editing for published statuses (#17320)Eugen Rochko
* Add editing for published statuses * Fix change of multiple-choice boolean in poll not resetting votes * Remove the ability to update existing media attachments for now
2021-12-15ignore hashtag suggestions if they vary only in case (#16460)David Sterry
* ignore hashtag suggestions if they vary only in case * remove console.logs and unused args * consistently add space when dismissing suggestions * linting
2021-07-25Add confirmation modal when closing media edit modal with unsaved changes ↵Claire
(#16518) * Add confirmation modal when closing media edit modal with unsaved changes * Move focal point media state to redux so it does not get erased by confirmation dialog * Change upload modal behavior to keep it open while saving changes Instead of closing it immediately and losing changes if they fail to save… * Make it work with react-intl 2.9
2020-07-07Add ability to choose media thumbnail in web UI (#14244)Eugen Rochko
2020-03-31Fix content warning being unnecessarily cleared when enabling/disabling CW ↵ThibG
(#13348)
2019-11-29Fix pending upload count not being decremented on error (#12499)ThibG
The arguments were passed to the wrong function… also, there is no need to have a conditional decrementation: failure to upload means we marked an upload as pending, in all cases.
2019-11-07Fix WebUI allowing to upload more items than the limit (#12300)ThibG
Until this patch, drag'n'drop and copy-paste allowed to start uploading as long as the number of *finished* uploads was below the limit.
2019-09-27Avoid storing audio and video file data in memory (#11974)ThibG
2019-09-27Use blob URL for Tesseract to avoid CORS issues (#11964)ThibG
2019-08-22Restore hashtag suggestions from local tag history (#11632)ThibG
* Restore hashtag suggestions from local tag history * Append local hashtag suggestions instead of prepending them * Do not display inaccurate usage statistics for hashtags not retrieved from API * Fixup
2019-07-30Add hashtag score for better sorting of autosuggestions (#11427)Eugen Rochko
* Add hashtag score for better sorting of autosuggestions * Do not use `~<~` operator with no text_pattern_ops index
2019-07-29Fix emoji autosuggestions (#11442)Eugen Rochko
Regression from cfb2ed78231758a79af038a964ab7f7b7b35274e
2019-07-28Add autosuggestions for hashtags (#11422)Eugen Rochko
2019-07-02When deleting & redrafting a poll, fill in closest expires_in (#11203)ThibG
Use the smallest preset expires_in such that the new poll would not expire before the old one. In the typical case of a quick delete & redraft, this results in using the same poll duration. Fixes #10567
2019-06-29When sending a toot, ensure a CW is only set if the CW field is visible (#11206)ThibG
In some occasions, such as the browser or a browser extension auto-filling the existing but disabled/hidden CW field, a CW can be set without the user knowing.
2019-06-06Fix “mark as sensitive” not being used in delete & redraft (#10980)ThibG
2019-05-11Fix incorrect reference to raw_content (it is raw_text instead) (#10753)ThibG
2019-05-11Add toot source to delete result to ease Delete & Redraft (#10669)ThibG
* Return Status with raw text in raw_content when deleting a status * Use raw content if available on delete & redraft * Rename raw_content to text; do not serialize formatted content when source is requested
2019-05-09Add emoji suggestions to CW and poll option fields (#10555)ThibG
* Refactor selectComposeSuggestion so that different paths can be updated * Add suggestions in CW field * Add emoji suggestion to poll options * Attempt to fix CSS * Hide suggestions by default They will be enabled if the input has focus
2019-03-06Add UI for creating polls (#10184)Eugen Rochko
* Add actions and reducers for polls * Add poll button * Disable media upload if poll enabled * Add poll form * Make delete & redraft work with polls
2018-12-16Split out is_changing_upload from is_submitting (#9536)ThibG
There is no reason to disable the composer textarea when some media metadata is being modified, nor is there any reason to focus the textarea when some media metadata has been modified (prevents clicking one image's description field right after having modified another).
2018-08-23Preserve hashtag casing in web UI hashtag history (#8394)Eugen Rochko
Fix #8241
2018-07-04Refactor privacyPrefence() to use priority list (#7945)Maciek Baron
2018-06-06Preserve newlines in delete & redraft and desktop notifications (#7750)Eugen Rochko
Fix #7748
2018-06-05Add redraft function (#7735)Eugen Rochko
* Add redraft function Fix #7010 * Add explicit confirmation * Add explicit confirmation message
2018-05-23Fix caret position after selected suggestion and media upload (#7595)ThibG
* Fix media upload reseting caret position to last inserted emoji * Fix caret position after inserting suggestions (fixes #6089)
2018-04-17Fix caret position after inserting emoji (#7167)abcang
2018-04-09Feature: Direct message from Statuses (#7089)Emelia Smith
* Fix: Switching between composing direct message and mention from menus Previously clicking "direct message" followed by "mention" resulted in the composed status staying as "direct", along with weird spacing of items in the text area. This attempts to fix that. * Fix: Add missing proptype check for onMention in Status component * Add the ability to send a direct message to a user from the menu on Statuses * Add space between "Embed" and "Mention" on expanded statuses menu
2018-04-02Fix issues with sending direct messages from user profile (#6999)Emelia Smith
* Clear compose textarea when starting a new direct message Previous behaviour resulted in potentially misdirected direct messages. * Hide search when starting to compose a direct message
2018-03-29Feature: Direct message from menu (#6956)Emelia Smith
* Implement ability to send direct messages from the user menu * Implement message warning users that direct messages are visible to all mentioned users * Update locales
2018-03-12Insert space before shortcode if necessary (#6751)Akihiko Odaki
2018-03-07Remove text requirement when media attached from statuses (#6672)Eugen Rochko
2018-03-04Implement tag auto-completion by history (#6621)Akihiko Odaki
This is a functionality similar to one implemented in Pawoo: https://github.com/pixiv/mastodon/commit/21a3c70f8083b1347d2b8420ed7001b78c2c9620
2018-02-22Focal points (#6520)Eugen Rochko
* Add focus param to media API, center thumbnails on focus point * Add UI for setting a focal point * Improve focal point icon on upload item * Use focal point in upload preview * Add focalPoint property to ActivityPub * Don't show focal point button for non-image attachments
2018-02-21fix #6523 (#6524)りんすき
2017-10-31Refactor initial state: "me" (#5563)Nolan Lawson
* Refactor initial state: "me" * remove "me" from reducers/meta.js