Commit Graph

919 Commits (601c3668e31575322043685d8d069a4ec30253a9)

Author SHA1 Message Date
Eugen Rochko ef2af79a48 Replace sprockets/browserify with Webpack ()
* 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-03 02:04:16 +02:00
Ash Furrow 815e31b884 Darkens colour on stream entries meta. () 2017-05-02 20:10:55 +02:00
Yamagishi Kazutoshi 99fcfb68b5 Reset textarea height when press submit key ()
* Reset textarea height when press submit key

* dry

* DON'T NEED props
2017-05-02 20:08:21 +02:00
hakoai d3f549a864 Fix to completely hide NSFW-tagged images () 2017-05-02 20:03:00 +02:00
Ira 534eb92c2f Add Hebrew interface translation. ()
* 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 

updated strings for latest master

Undo RTL counting, moved out to another branch for future consideration...
2017-05-02 08:54:35 -04:00
Stephen Burgess 0d36cd7375 fix(boost-icon): Align center for Firefox () 2017-05-02 02:15:14 +02:00
Stephen Burgess 167cf737d3 fix(scrolling): Center for large screen w/o breaking horiz scroll () 2017-05-01 18:14:26 +02:00
Stephen Burgess 747d9809cc fix(dropdowns): Allow for dropdowns to fill full column ()
* 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-05-01 18:13:10 +02:00
Matt Jankowski c44ef23e50 Filter on allowed user language preferences ()
* Naive approached to timeline filtering

* Convert allowed_languages into a db column

* Allow users to choose languages to see statuses in

* Style list items as two columns

* Add a hint to explain language filtering preference
2017-05-01 17:42:13 +02:00
Alvina Putri 89ba2f0cbf Updating Indonesian locale ()
* 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-30 11:35:15 -04:00
Noëlle Anthony 4d4d71cd67 Additional key checks for browser compatibility ()
Not all browsers recognize e.key === 'Escape'; some use 'Esc' and some only respond to the keyCode.
2017-04-30 09:12:14 -04:00
Hugo Gameiro ad3a6badb4 Center web app on larger windows sizes ()
* center web app for larger screen sizes

* move center app to components.scss

* center app on larger window sizes

* center .columns-area
2017-04-30 09:01:09 -04:00
AA4ch1 a3297609bb Fix character_counter.jsx ()
This commit fixes 
2017-04-30 08:58:33 -04:00
Sylvhem 20a8b1fb52 Minor fixes in the French translation ()
* 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-30 08:51:32 -04:00
ButterflyOfFire 1e81faeb45 Update ar.jsx ()
* Update ar.jsx

Updating some (ar) translation.

* Update ar.yml

Pushing some missing translation strings on ar.yml
2017-04-30 08:51:12 -04:00
Audun Larsen 9ad7393eb9 Minor changes to Norwegian locale () 2017-04-30 08:50:49 -04:00
Stephen Burgess e2b95ef337 fix(video): Position of play icon ()
* fix(video): Position of play icon



* fix(overlay-button): Positioning

* fix(expand): Bottom align expand icon

* feat(video): Fit landscape videos into preview area
2017-04-29 15:23:27 +02:00
alpaca-tc 1f7634c722 Expand uploaded thumbnail () 2017-04-29 14:29:13 +02:00
Mingye Wang 816f032b7e Minor updates to zh-CN JS translation ()
* Minor updates to zh-CN JS translation

* removed "!" from "toot" per  (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-28 16:45:41 +02:00
Wonderfall 17c95bc96a Update en locale federation description () 2017-04-28 15:11:54 +02:00
Ratmir Karabut 2a16eaf19b Update Russian translation (pluralizations) ()
* 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-28 15:11:36 +02:00
Ratmir Karabut 1fde2d968a Update Russian translation ()
New column subheadings
2017-04-28 09:08:23 -04:00
Wonderfall f97daedce0 Update onboard federation description () 2017-04-28 01:58:45 +02:00
Shel Raphen 4c01112a6f Copy edits to reflect changes in post privacy ()
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-28 01:21:26 +02:00
unarist b6baaa33c4 Update Japanese translation (and English translation file) for JavaScript ()
* Update English translation file for JavaScript

* Update Japanese translation for JavaScript
2017-04-27 20:41:25 +02:00
yhirano f7883d0f32 Change permission from 0755 to 0644 ()
* chmod -x assets.rb

* chmod -x assets/fonts

* raname extname from jpeg to jpg
2017-04-27 19:29:41 +02:00
jeroenpraat 4b81f16197 Another (less urgent) Dutch string update ()
* Another (less urgent) update

* Another (less urgent) update

* Dutch strings: consistency:  let's use 'voorkeuren' as a subset of 'instellingen'
2017-04-27 17:54:34 +02:00
jeroenpraat 64bef924ae Last minute Dutch update and fix (after checking on live 1.3RC) ()
* Update and fix

* Update and fix Dutch strings
2017-04-27 17:00:03 +02:00
Eugen Rochko 4a7dc4fadc OEmbed support for PreviewCard ()
* 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  - return existing access token when applicable instead of creating new

* Fix test

* Extract http client to helper

* Improve oembed controller
2017-04-27 14:42:22 +02:00
Yamagishi Kazutoshi 279f34c797 Sync a locale files for JavaScript ()
There are multiple messages missing in en.jsx.
It is very troublesome when translating other languages.
2017-04-27 12:03:28 +02:00
Lindsey Bieda 0f0fc3fbca Add aria-label to icon driven dropdown menus () 2017-04-27 12:01:36 +02:00
Kaylee 125aec482a Copy over "Boost" hover text fix to detailed view. ()
from , should close out 
2017-04-27 01:53:55 +02:00
Koala Yeung 1fc91facb5 Update Russian translation (rebased) ()
* 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-26 22:33:54 +02:00
Benedikt Geißler f826622dd5 Update German translation () 2017-04-26 15:46:14 +02:00
Yamagishi Kazutoshi 4250a3ed18 Update Japanese translation ()
follow up  & 
2017-04-26 15:45:47 +02:00
Tomohiro Suwa 5440c95867 Don't toot request with only blank characters ()
* Don't toot request with only blank characters

* Enable toot button if no text
2017-04-26 15:18:09 +02:00
Yamagishi Kazutoshi 53a09d3d26 Fix undefined variable in OnboardingModal () 2017-04-26 15:15:47 +02:00
Koala Yeung 513b7eb6f3 Update ar.jsx ()
Adding more missing strings.
2017-04-26 14:55:14 +02:00
Wonderfall 612ae58d61 fix onboarding modal () 2017-04-26 14:54:12 +02:00
Eugen Rochko 0fafcc86ae Fix various regressions () 2017-04-26 04:40:27 +02:00
Eugen Rochko 69f3fab417 Fix - noopener typo () 2017-04-26 03:55:51 +02:00
JP DeVries 435d3f78d7 Toolbar icons accessible names ()
Closes 

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-26 01:44:50 +02:00
Amelia f612bf72c8 Make the getting started ui more intuitive () 2017-04-26 01:21:05 +02:00
Mingye Wang 5884bf8fe5 Refine CW placeholder in Chinese jsx files () 2017-04-25 23:26:46 +02:00
Ash Furrow 109d1bdcda Fixes string length issue for multibyte characters. () 2017-04-25 17:37:51 +02:00
Stephen Burgess e9aca1a596 Adjust status action bar icons ()
Set status action bar to have display flex and center align items so dropdown icon appears center aligned with other icons. Make styles alpha organized.

Add hover state to boost icon - lighten color on hover.
2017-04-25 15:16:09 +02:00
STJrInuyasha 8ea2d2544e Login link for single user instances ()
* Login link for single user instances

* Flip the if statement around
Fixes AuthorizationController tests
2017-04-25 15:06:24 +02:00
Eugen Rochko 553d6a1ea6 Fix - Add Idempotency-Key header to PostStatusService that prevents ()
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-25 15:04:49 +02:00
Ash Furrow c9e51b8ded Username above toot box UI changes ()
* Makes username above toot box into a link.

* Prepends username above toot box with an @.
2017-04-25 04:45:27 +02:00
Masoud Abkenar 7e06f9b711 Persian translation ()
* 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-24 22:39:15 +02:00