about summary refs log tree commit diff
AgeCommit message (Collapse)Author
2017-09-24Fix media gallery CSS (#5064)Eugen Rochko
2017-09-24Require at least 2 characters before showing autosuggestions (#5065)Eugen Rochko
2017-09-23Fix intl warning with disabled secondary toot btnOndřej Hruška
- Moved building the secondary btn text into the if to avoid trying to translate 'none' visibility
2017-09-23Make secondary toot button work nicer with file attachments & revert to the ↵Ondřej Hruška
original behavior if it's disabled
2017-09-23Add secondary toot button (opt-in) (#153)Ondřej Hruška
Add secondary toot button + other toot button enhancements. Squashing so it's easy to revert if needed.
2017-09-23jsx/zh-*: Fix "pin column" for Chinese (#5060)Mingye Wang
2017-09-23i18n: Update Polish translation (#5058)m4sk1n
2017-09-23Fix overflowing tabs in account__action-bar (#5056)Lynx Kotoura
* Fix numbers in accounts columns * Support edge compact-header
2017-09-23Add emoji autosuggest (#5053)Eugen Rochko
* Add emoji autosuggest Some credit goes to glitch-soc/mastodon#149 * Remove server-side shortcode->unicode conversion * Insert shortcode when suggestion is custom emoji * Remove remnant of server-side emojis * Update style of autosuggestions * Fix wrong emoji filenames generated in autosuggest item * Do not lazy load emoji picker, as that no longer works * Fix custom emoji autosuggest * Fix multiple "Custom" categories getting added to emoji index, only add once
2017-09-23Add custom emojis to the emoji picker (#5052)Eugen Rochko
2017-09-23New API: GET /api/v1/custom_emojis to get a server's custom emojis (#5051)Eugen Rochko
2017-09-23Fix custom emojis not detected when used in content warning (#5049)Eugen Rochko
2017-09-23Switch from EmojiOne to Twemoji, different emoji picker (#5046)Eugen Rochko
* Switch from EmojiOne to Twemoji, different emoji picker * Make emoji-mart use a local spritesheet * Fix emojify test * yarn manage:translations
2017-09-23Remove "extra clickable spaces" made obsolete by status re-designOndřej Hruška
2017-09-22applied blackle's fix for gallery offset with full-width mediaOndřej Hruška
2017-09-22Do not filter statuses with unknown languages (#5045)Akihiko Odaki
2017-09-22Fix the migration error when deprecated_preview_cards has been deleted (#5043)nullkal
* Fix the migration error when deprecated_preview_cards has deleted * Re-run Travis CI
2017-09-22Fix PropTypes.oneOfType() warning (#5041)Nolan Lawson
2017-09-22Hardcode IdToBigints migration columns (#5039)aschmitz
This addresses a comment during review: https://github.com/tootsuite/mastodon/pull/4801#discussion_r139337452 This means we'll need to make sure that all _id columns going forward are bigints, but that should happen automatically in most cases.
2017-09-22Document REDIS_NAMESPACE (#5038)Nolan Lawson
2017-09-22Make dropdowns render into portal, expand animation (#5018)Eugen Rochko
* Make dropdowns render into portal, expand animation * Improve actions modal style
2017-09-22Use passive listener in privacy_dropdown.js (#5037)Nolan Lawson
2017-09-22Eliminate re-renders for intersection_observer_article.js (#5036)Nolan Lawson
2017-09-21Long display names now ellipsis properlykibigo!
2017-09-21Styling fixes for header redesignkibigo!
2017-09-21Merge pull request #148 from glitch-soc/better-headerDavid Yip
Improvements to status headers and content
2017-09-21autoscroll emoji suggestions boxOndřej Hruška
2017-09-21fix : mobile style of /about/more (#5034)syui
2017-09-20Merge pull request #149 from glitch-soc/mojon-suggestbeatrix
Emoji and Hashtag autocomplete
2017-09-21Fix shortname problem in emojify() (regression from #5016) (#5032)MIYAGI Hikaru
When colon appears end of line, skiped all character containing unicode emojis. Fixed. https://github.com/tootsuite/mastodon/pull/5016#issuecomment-331012008
2017-09-20Fixed notification appearancekibigo!
2017-09-20fulltext mojo suggestionsOndřej Hruška
2017-09-20TURBO shortcode searchOndřej Hruška
2017-09-20add scrollbar to mojon suggestions list when too longOndřej Hruška
2017-09-20cache allShortcodesOndřej Hruška
2017-09-20typo in commentOndřej Hruška
2017-09-20Appease TravisOndřej Hruška
2017-09-20Emoji and Hashtag autocompleteOndřej Hruška
2017-09-20Reduce wasted renders for column_loading.js (#5021)Nolan Lawson
* Reduce wasted renders for column_loading.js * Use defaultProps
2017-09-20Fix theme translations alphabetically (#5031)Lynx Kotoura
2017-09-20Disable private status federation over OStatus (#5027)Eugen Rochko
2017-09-20Use file extensions in addition to MIME types for file picker (#5029)unarist
Currently we're using a list of MIME types for `accept` attribute on `input[type="file"]` for filter options of file picker, and actual file extensions will be infered by browsers. However, infered extensions may not include our expected items. For example, "image/jpeg" seems to be infered to only ".jfif" extension in Firefox. To ensure common file extensions are in the list, this PR adds file extensions in addition to MIME types. Also having items in both format is encouraged by HTML5 spec. https://www.w3.org/TR/html5/forms.html#file-upload-state-(type=file)
2017-09-21Better Japanese translations (#5030)Lynx Kotoura
2017-09-20Add Japanese translations for multiple themes, custom emoji (#5026)mayaeh
* Add Japanese translations for multiple themes * Change Japanese translation for custom emoji's created_msg.
2017-09-20Remove unnecessary css property (#5025)TomoyaShibata
2017-09-20l10n Occitan: theme site, custom emoji, Oauth, newcomers follow admins, ... ↵JeanGauthier
(#5023) * Oauto code string * Theme, custom emoji and more * Site theme * added two spaces wierdly gone away * Update oc.yml Changes adviced
2017-09-20Add japanese translations for custom emoji. (#5007)mayaeh
* Add japanese translations for custom emoji. * Remove spaces. * Change destroyed_msg. * Revert "Change destroyed_msg."
2017-09-20Change IDs to strings rather than numbers in API JSON output (#5019)aschmitz
* Fix JavaScript interface with long IDs Somewhat predictably, the JS interface handled IDs as numbers, which in JS are IEEE double-precision floats. This loses some precision when working with numbers as large as those generated by the new ID scheme, so we instead handle them here as strings. This is relatively simple, and doesn't appear to have caused any problems, but should definitely be tested more thoroughly than the built-in tests. Several days of use appear to support this working properly. BREAKING CHANGE: The major(!) change here is that IDs are now returned as strings by the REST endpoints, rather than as integers. In practice, relatively few changes were required to make the existing JS UI work with this change, but it will likely hit API clients pretty hard: it's an entirely different type to consume. (The one API client I tested, Tusky, handles this with no problems, however.) Twitter ran into this issue when introducing Snowflake IDs, and decided to instead introduce an `id_str` field in JSON responses. I have opted to *not* do that, and instead force all IDs to 64-bit integers represented by strings in one go. (I believe Twitter exacerbated their problem by rolling out the changes three times: once for statuses, once for DMs, and once for user IDs, as well as by leaving an integer ID value in JSON. As they said, "If you’re using the `id` field with JSON in a Javascript-related language, there is a very high likelihood that the integers will be silently munged by Javascript interpreters. In most cases, this will result in behavior such as being unable to load or delete a specific direct message, because the ID you're sending to the API is different than the actual identifier associated with the message." [1]) However, given that this is a significant change for API users, alternatives or a transition time may be appropriate. 1: https://blog.twitter.com/developer/en_us/a/2011/direct-messages-going-snowflake-on-sep-30-2011.html * Additional fixes for stringified IDs in JSON These should be the last two. These were identified using eslint to try to identify any plain casts to JavaScript numbers. (Some such casts are legitimate, but these were not.) Adding the following to .eslintrc.yml will identify casts to numbers: ~~~ no-restricted-syntax: - warn - selector: UnaryExpression[operator='+'] > :not(Literal) message: Avoid the use of unary + - selector: CallExpression[callee.name='Number'] message: Casting with Number() may coerce string IDs to numbers ~~~ The remaining three casts appear legitimate: two casts to array indices, one in a server to turn an environment variable into a number. * Back out RelationshipsController Change This was made to make a test a bit less flakey, but has nothing to do with this branch. * Change internal streaming payloads to stringified IDs as well Per https://github.com/tootsuite/mastodon/pull/5019#issuecomment-330736452 we need these changes to send deleted status IDs as strings, not integers.
2017-09-20Pinned toots; embedskibigo!
2017-09-20Added GIF hover-to-play supportkibigo!