about summary refs log tree commit diff
path: root/app/assets/javascripts
AgeCommit message (Collapse)Author
2017-05-03Replace sprockets/browserify with Webpack (#2617)Eugen Rochko
* Replace browserify with webpack * Add react-intl-translations-manager * Do not minify in development, add offline-plugin for ServiceWorker background cache updates * Adjust tests and dependencies * Fix production deployments * Fix tests * More optimizations * Improve travis cache for npm stuff * Re-run travis * Add back support for custom.scss as before * Remove offline-plugin and babili * Fix issue with Immutable.List().unshift(...values) not working as expected * Make travis load schema instead of running all migrations in sequence * Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in <UI /> * Add react definitions to places that use JSX * Add Procfile.dev for running rails, webpack and streaming API at the same time
2017-05-02Reset textarea height when press submit key (#2681)Yamagishi Kazutoshi
* Reset textarea height when press submit key * dry * DON'T NEED props
2017-05-02Add Hebrew interface translation. (#2573)Ira
* follow the instructions for registering the language as stated on the Tootsuite's docs. * Added translation strings from latest master Adding &rlm; characters to many strings that are misdirected in the interface. A tiny grammar fix Updates of Hebrew strings to v1.3.1 Hebrew translation of the mailer templates. Fix strings and a missing comma. Just discovered two string keys were updated. this should lay Travis' mind to rest at last. Remove mentions before counting characters to decide RTL ratio Fixes for PR #2573 updated strings for latest master Undo RTL counting, moved out to another branch for future consideration...
2017-05-01fix(dropdowns): Allow for dropdowns to fill full column (#2684)Stephen Burgess
* fix(dropdowns): Allow for dropdowns to fill full column When the text inside a dropdown is longer than it is for English, the text is truncated which can result in a less-than-usable experience for languages such as German with longer words. This commit addresses the following: * Allow the dropdown to expand to the entire width of the column based on the length of the text in the dropdown * Align active dropdown arrow in relation to the trigger rather than the dropdown * Show the right hand side of the dropdown which was previously hidden (could not see border radius) * Ensure the three places dropdowns of status, account, and emoji appear well in Chrome, Firefox, Safari * fix(emoji-dropdown): Restore emoji dropdown caret
2017-04-30Updating Indonesian locale (#2644)Alvina Putri
* update id.jsx file * update id.yml for new strings and improvements * add activerecord.id.yml * improve translation that out of context * fix another ooc string * fix main key
2017-04-30Additional key checks for browser compatibility (#2539)Noëlle Anthony
Not all browsers recognize e.key === 'Escape'; some use 'Esc' and some only respond to the keyCode.
2017-04-30Fix character_counter.jsx (#2653)AA4ch1
This commit fixes #2576
2017-04-30Minor fixes in the French translation (#2607)Sylvhem
* Changement de « muets » en « silencés » Utiliser le mot « muet » donne la fausse impression que ces comptes ne diffusent juste rien. Utiliser le mot « silencé » met l’accent sur le fait que ceci résulte d’une action de l’utilisateur·rice. By using tho word "muet" (mute), we give the false impression that this accounts don't publish anything. Using the "silencé" (muted) put emphasis on the fact that this is the result of one of the user's action. * Remplacement de « ' » par « ’ » En français, l’apostrophe utilisée est une apostrophe courbe « ’ » (U+2019) et non pas une apostrophe droite « ' » (U+0027). La plupart des chaînes utilisaient une apostrophe droite. Ce commit harmonise le type d’apostrophe utilisé en remplaçant toutes les apostrophes droites par des apostrophes courbes. In French, the apostrophe used is the curly one (U+2019) and not the vertical one (U+0027). Almost all the strings used a vertical apostrophe. This commit harmonize the kind of apostrophe used in the French localization by replacing all the vertical apostrophes by curly apostrophes. * Remplacement de « ... » par « … » Certaines chaînes utilisaient trois points d’affilié afin de représenter les points de suspension au lieu d’utiliser le caractère dédié « … » (U+2026). Ce commit harmonise la façon de représenter des points en remplaçant toutes les séries de trois points par le caractère dédié. Some chains used a series of three dots to show the ellipsis instead of using the dedicated character "…" (U+2026). This commit harmonize how the ellipsis is shown in the French localization by replacing all the series of three dots by the dedicated character. * Ajout d’un point final Il manque un point à la fin de la dernière phrase de la chaîne « compose_form.privacy_disclaimer ». Ce commit le rajoute. The last sentence of the "compose_form.privacy_disclaimer" string is missing a final dot. This commit will add it. * Retrait d’un « s » final à « Mastodon » Suite à la remarque de @wxcafe, retrait du « s » final à « Mastodon ». Following @wxcafe comment, this commit remove the final "s" in the word "Mastodon".
2017-04-30Update ar.jsx (#2647)ButterflyOfFire
* Update ar.jsx Updating some (ar) translation. * Update ar.yml Pushing some missing translation strings on ar.yml
2017-04-30Minor changes to Norwegian locale (#2652)Audun Larsen
2017-04-29Expand uploaded thumbnail (#2611)alpaca-tc
2017-04-28Minor updates to zh-CN JS translation (#2557)Mingye Wang
* Minor updates to zh-CN JS translation * removed "!" from "toot" per #2549 (it's a privacy indicator) * ellipsis work (from ... to some U+2026 horizontal ellipsis unicode stuff) * Spillcheck for zh-CN js translations (squash this) 部 [份→分]
2017-04-28Update en locale federation description (#2558)Wonderfall
2017-04-28Update Russian translation (pluralizations) (#2565)Ratmir Karabut
* Add Russian translation (ru) * Fix a missing comma * Fix the wording for better consistency * Update Russian translation * Arrange Russian setting alphabetically * Fix syntax error * Update Russian translation * Fix formatting error * Update Russian translation * Update Russian translation * Update ru.jsx * Fix syntax error * Remove two_factor_auth.warning (appears obsolete) * Add missing strings in ru.yml A lot of new strings translated, especially for the newly added admin section * Fix translation consistency * Update Russian translation * Update Russian translation (pluralizations)
2017-04-28Update Russian translation (#2570)Ratmir Karabut
New column subheadings
2017-04-28Update onboard federation description (#2555)Wonderfall
2017-04-28Copy edits to reflect changes in post privacy (#2552)Shel Raphen
There was still a reference to "private posts" and the phrasing of unlisted in contrast to the others now made it seem strangely more private.
2017-04-27Update Japanese translation (and English translation file) for JavaScript ↵unarist
(#2538) * Update English translation file for JavaScript * Update Japanese translation for JavaScript
2017-04-27Another (less urgent) Dutch string update (#2533)jeroenpraat
* Another (less urgent) update * Another (less urgent) update * Dutch strings: consistency: let's use 'voorkeuren' as a subset of 'instellingen'
2017-04-27Last minute Dutch update and fix (after checking on live 1.3RC) (#2529)jeroenpraat
* Update and fix * Update and fix Dutch strings
2017-04-27OEmbed support for PreviewCard (#2337)Eugen Rochko
* OEmbed support for PreviewCard * Improve ProviderDiscovery code failure treatment * Do not crawl links if there is a content warning, since those don't display a link card anyway * Reset db schema * Fresh migrate * Fix rubocop style issues Fix #1681 - return existing access token when applicable instead of creating new * Fix test * Extract http client to helper * Improve oembed controller
2017-04-27Sync a locale files for JavaScript (#2513)Yamagishi Kazutoshi
There are multiple messages missing in en.jsx. It is very troublesome when translating other languages.
2017-04-27Add aria-label to icon driven dropdown menus (#2516)Lindsey Bieda
2017-04-27Copy over "Boost" hover text fix to detailed view. (#2508)Kaylee
from #1754, should close out #1394
2017-04-26Update Russian translation (rebased) (#2503)Koala Yeung
* Fix syntax error * Remove two_factor_auth.warning (appears obsolete) * Add missing strings in ru.yml A lot of new strings translated, especially for the newly added admin section * Update Russian translation * Fix merge conflicts Redid Works by @rkarabut
2017-04-26Update German translation (#2485)Benedikt Geißler
2017-04-26Update Japanese translation (#2487)Yamagishi Kazutoshi
follow up #1309 & #2279
2017-04-26Don't toot request with only blank characters (#2154)Tomohiro Suwa
* Don't toot request with only blank characters * Enable toot button if no text
2017-04-26Fix undefined variable in OnboardingModal (#2482)Yamagishi Kazutoshi
2017-04-26Update ar.jsx (#2469)Koala Yeung
Adding more missing strings.
2017-04-26fix onboarding modal (#2477)Wonderfall
2017-04-26Fix various regressions (#2466)Eugen Rochko
2017-04-26Fix #2261 - noopener typo (#2463)Eugen Rochko
2017-04-26Toolbar icons accessible names (#1424)JP DeVries
Closes tootsuite/mastodon#1349 This is my first PR and I’m only checking in the source JSX file. Please let me know if it should be checked in after being built also.
2017-04-26Make the getting started ui more intuitive (#1309)Amelia
2017-04-25Refine CW placeholder in Chinese jsx files (#2447)Mingye Wang
2017-04-25Fixes string length issue for multibyte characters. (#2443)Ash Furrow
2017-04-25Fix #2402 - Add Idempotency-Key header to PostStatusService that prevents ↵Eugen Rochko
(#2419) duplicates. Web UI regenerates UUID for that header every time the compose form is changed or successfully submitted Also, fix Farsi i18n overwriting the English one
2017-04-25Username above toot box UI changes (#2418)Ash Furrow
* Makes username above toot box into a link. * Prepends username above toot box with an @.
2017-04-24Persian translation (#2405)Masoud Abkenar
* Persian translation * adding :fa to make the site use the rtl stylesheet based on [this comment](https://github.com/tootsuite/mastodon/pull/2405#issuecomment-296721105) * fix missing quotes * add 'fa' locale
2017-04-24Only show upload modal when drag event contains files (#2409)Stephen Burgess
* fix(upload): Only show upload modal when drag even contains files * fix(firefox): Close drag window ondragend also Do not only end drag styles on drag leave, but also on drag end. Fixes firefox bug. #687 * fix(drag-modal): Remove drag modal trigger cruft * fix(upload-modal): Allow close with escape button
2017-04-24Hide some components rather than unmounting (#2271)Akihiko Odaki
Hide some components rather than unmounting them to allow to show again quickly and keep the view state such as the scrolled offset.
2017-04-24Fix background-size being overwritten (#2382)Yamagishi Kazutoshi
2017-04-24Improve Japanese translation (#2376)Yamagishi Kazutoshi
ref #2359 - https://github.com/tootsuite/mastodon/pull/2359#discussion_r112838771 - https://github.com/tootsuite/mastodon/pull/2359#discussion_r112838772 - https://github.com/tootsuite/mastodon/pull/2359#discussion_r112838812 - https://github.com/tootsuite/mastodon/pull/2359#discussion_r112838823 - https://github.com/tootsuite/mastodon/pull/2359#discussion_r112838829
2017-04-24Followers-only post federation (#2111)Eugen
* Make private toots get PuSHed to subscription URLs that belong to domains where you have approved followers * Authorized followers controller, stub for bulk action * Soft block in the background * Add simple test for new controller * Rename Settings::FollowersController to Settings::FollowerDomainsController, paginate results, rename "private" post setting to "followers-only", fix pagination style, improve post privacy preferences style, improve warning style * Extract compose form warnings into own container, show warning when posting to followers-only with unlocked account
2017-04-23fix(style): Fix styles after classname refactor (#2368)Stephen Burgess
Float detailed status display avatar left. Only apply display block to display names in status info, not in detailed status. Thanks to @nightpool for finding those. Make star icon in notification show up as gold. Add anchor selector back to status__content__spoiler-link in order to override default anchor style elsewhere.
2017-04-23feat(cw-button): Add aria controls to CW trigger (#2303)Stephen Burgess
Add an ID to the CW spoiler input field to give aria-controls a handle on it. Pass that id to the CW trigger button. Modify text icon button component to accept aria controls id value. Add aria-expanded value to text icon button to indicate when it is expanded.
2017-04-23Add Japanese translation to EmojiPicker component (#2359)Yamagishi Kazutoshi
2017-04-23fix(style): Fix regressions introduced by #2338 (#2345)Stephen Burgess
Put Column Slim Back Button classnames in order so it is positioned right and top. Add icon button style back to privacy dropdown and upload buttons so they are positioned correctly and do not wiggle. Remove abstracted style from CSS. Add missed class for the upload form thumbnail. Add the missed styles for upload form thumnail. Alphabetize styles for column-back-button. Fix fontSize typo for media-spoiler-video-play-icon.
2017-04-23Adding arabic string localization (rebased) (#1895)Koala Yeung
* Create ar.jsx * Preparing file for translation. * Create ar.yml * Preparing file for translation. * Create simple_form.ar.yml * Preparing file for translation. * Create devise.ar.yml * Preparing file for translation. * Create doorkeeper.ar.yml * Preparing file for translation. * Update index.jsx Preparing file for translation. * Update mastodon.jsx * Preparing file to translation. * Correction thanks to @Taekiro https://github.com/tootsuite/mastodon/pull/1798#pullrequestreview-32924922 * Update settings_helper.rb Preparing file to translation. * Update application.rb * Preparing file to translation. * Update simple_form.ar.yml * Update doorkeeper.ar.yml * Update devise.ar.yml * Update ar.yml * Fix i18n-tasks unused issue (ar) Remove unused translation strings * Update application.rb * Update ar.jsx * Fix various issues with Arabic translation * Fix duplication caused in merge * Fix syntax error in devise.ar.yml * Fix import error Duplicated incorrect import in mastodon.jsx * Fix duplication error in locales/index.jsx * Update ar.yml * Update ar.jsx * Update ar.yml * Update ar.jsx * Fix ar translation