about summary refs log tree commit diff
path: root/app/javascript
AgeCommit message (Collapse)Author
2017-07-08Use srcSet only when know width (#4112)Yamagishi Kazutoshi
2017-07-08Update and improvement Dutch language strings (#4117)Jeroen
* Update * Update
2017-07-08Avoid using getBoundingClientRect to calculate height (#4001)Nolan Lawson
2017-07-08Various fixes in the French translation (#4107)Sylvhem
* Changement de « Changement de mot de passe » en « Sécurité » * Suppression de « (Two-factor auth) » Change la valeur de la chaîne « two_factor_authentication » de « Identification à deux facteurs (Two-factor auth) » à « Identification à deux facteurs ». La traduction anglaise entre parathentèse était redondante et gênait la lecture. Change the value of the "two_factor_authentication" from "Identification à deux facteurs (Two-factor auth)" to "Identification à deux facteurs". The English translation in brackets was superflous and was getting in the way of the reader. * Remplace « ' » par « ’ » Retire de la traduction les apostrophes droites « ' » (U+0027) au profit des apostrophes typographiques « ’ » (U+2019). En typographie française, les apostrophes typographiques sont utilisées à la place des apostrophes droites. La traduction était jusqu’ici incohérente et utilisait les deux. Remove from the translation all the vertical apostrophes (U+0027) in favor of the curly ones (U+2019). In French typography, typographic apostrophes are used instead of vertical ones. The translation was incoherent and used both. * Remplace « ... » par « … » Remplace les séries de trois points par le caractère dédié « … » (U+2026). Replace all the series of three dots by the dedicated character "…" (U+2026). * Mise à jour Crée config/locales/activerecord.fr.yml, ajoute de nouvelles chaînes et met à jour certains textes. Les compteurs de caractères pour le pseudonyme et la biographie devrait maintenant pouvoir fonctionner même quand l’interface est en français. Create config/locales/activerecord.fr.yml, add new strings et update some textes. The caracters counters for the username and the biography should now work even when the interface is in French. * Remplace « A » par « À » Remplace « A » par « À » aux endroits où le mot est mal orthographié. Replace "A" by "À" when the wrong word is used. * Ajout d’espaces insécables Ajoute des espaces insécables suivant les régles nécessaires en typographie française. Add non-breaking spaces following rules of French typography. * Remplace « certain » par « certain·e » Harmonise la traduction en remplaçant « certain » par sa forme épicène. Harmonize the translation by replacing "certain" (sure) by its epicene form. * Corrige un angliscisme Remplace « adresse e-mail » par « adresse électronique ». Replace "adresse e-mail" (e-mail address) by "adresse électronique" (electronic address).
2017-07-08Lazy load components (#3879)Sorin Davidoi
* feat: Lazy-load routes * feat: Lazy-load modals * feat: Lazy-load columns * refactor: Simplify Bundle API * feat: Optimize bundles * feat: Prevent flashing the waiting state * feat: Preload commonly used bundles * feat: Lazy load Compose reducers * feat: Lazy load Notifications reducer * refactor: Move all dynamic imports into one file * fix: Minor bugs * fix: Manually hydrate the lazy-loaded reducers * refactor: Move all dynamic imports to async-components * fix: Loading modal style * refactor: Avoid converting the raw state for each lazy hydration * refactor: Remove unused component * refactor: Maintain modal name * fix: Add as=script to preload link * chore: Fix lint error * fix(components/bundle): Check if timestamp is set when computing elapsed * fix: Load compose reducers for the onboarding modal
2017-07-06Add a setting allowing the use of system's default font in Web UI (#4033)Damien Erambert
* add a system_font_ui setting on the server * Plug the system_font_ui on the front-end * add EN/FR locales for the new setting * put Roboto after all other fonts * remove trailing whitespace so CodeClimate is happy * fix user_spec.rb * correctly write user_spect this time * slightly better way of adding the classes * add comments to the system-font stack for clarification * use .system-font for the class instead * don't use multiple lines for comments * remove trailing whitespace * use the classnames module for consistency * use `mastodon-font-sans-serif` instead of Roboto directly
2017-07-06Improve Activity stream spoiler (#4088)abcang
2017-07-06Parse links in status content on update as well as mount (#4042)STJrInuyasha
* Update links in status content on update as well as mount Fixes occasional bugs with mentions and hashtags not being set to open in a new column like they should, and instead opening in a new page * use classList instead of raw className
2017-07-06Unobserve status on unmount (#4013)unarist
This fixes a warning on status unmounting (e.g. deletion). This also resets IntersectionObserverWrapper on disconnect to avoid `unobserve()` calls which has bug in Edge.
2017-07-06Remove ugly blue highlight on Android browsers (#4031)Mantas
2017-07-06l10n Occitan locale (#4089)Quent-in
* Small adjustments About the report part. * Update time format
2017-07-06Fix embedded SVG fill attribute (#4086)Shin Kojima
* Fix embedded SVG fill attribute SCSS darken/lighten functions may not return a color value, but a color name like "white". See following example: https://www.sassmeister.com/gist/c41da93b87d536890ddf30a1f42e7816 This patch will normalize $color argument to FFFFFF style. I also changed the function name from "url-friendly-colour" to "hex-color", Because... 1. The name "url-friendly" is not meaningful enough to describe what it does. 2. It is familier to me using "color" rather than "colour" kojima:kojiMac mastodon[master]$ git grep -l colour app/javascript/styles/boost.scss spec/fixtures/files/attachment.jpg kojima:kojiMac mastodon[master]$ git grep -l color .rspec .scss-lint.yml Gemfile.lock app/javascript/mastodon/features/status/components/action_bar.js app/javascript/styles/about.scss app/javascript/styles/accounts.scss app/javascript/styles/admin.scss app/javascript/styles/basics.scss app/javascript/styles/boost.scss app/javascript/styles/compact_header.scss app/javascript/styles/components.scss app/javascript/styles/containers.scss app/javascript/styles/footer.scss app/javascript/styles/forms.scss app/javascript/styles/landing_strip.scss app/javascript/styles/reset.scss app/javascript/styles/stream_entries.scss app/javascript/styles/tables.scss app/javascript/styles/variables.scss app/views/admin/subscriptions/_subscription.html.haml app/views/layouts/application.html.haml app/views/layouts/error.html.haml app/views/manifests/show.json.rabl bin/webpack-dev-server config/initializers/httplog.rb public/500.html public/emoji/1f1e6-1f1e8.svg public/emoji/1f1ec-1f1f8.svg public/emoji/1f1f3-1f1ee.svg public/emoji/1f1fb-1f1ec.svg spec/fixtures/requests/idn.txt yarn.lock * Add semicolon
2017-07-06i18n: minor changes in Polish translation (#4087)m4sk1n
* i18n: minor changes in Polish translation * Update pl.json
2017-07-05Show LoadMore button on Notifications even if all items are filtered (#4077)unarist
2017-07-04Fix Korean translation (#4065)Minori Hiraoka
* Added Korean Translation (based on japanese) * Update korean translation * Update korean translation: fix syntax error * Updated korean translation * Update korean translation * Update ko.json Translate non-translated parts * Update ko.yml Translated missed parts - and fixed some typos * Create simple_form.ko.yml * Update simple_form.ko.yml Translation error fix - password change form * Update simple_form.ko.yml * Update ko.json Missing translation
2017-07-04i18n: Add korean translation (#4064)Gyuhwan Park
* Added Korean Translation (based on japanese) * Update korean translation * Update korean translation: fix syntax error * Updated korean translation * Update korean translation * Update ko.json Translate non-translated parts * Update ko.yml Translated missed parts - and fixed some typos * Create simple_form.ko.yml * Updated korean translation * i18n: fix test fails
2017-07-03Faster emojify() by avoiding str.replace() entirely (#4049)Nolan Lawson
2017-07-02Update French locales (#4034)Damien Erambert
* add missing locales for French translation * accent "Media" in the front-end locales * images => médias * Change 'rapport' to 'signalement' in French locales to be more coherent * fix typo * remove duplicate EN locale * translate missing locales * update missing locale * fix typo * unify with "utilisateur⋅ice⋅s" * address PR comments
2017-07-02fix(components/columns_area): Increase delta for swipe detection (#4037)Sorin Davidoi
2017-07-01Fix height issue in report modalEugen Rochko
2017-06-30Faster emojify() algorithm, avoid regex replace (#4019)Nolan Lawson
* Faster emojify() algorithm, avoid regex replace * add semicolon
2017-06-30Fix broken style in media gallery (regression from #3963) (#4014)Yamagishi Kazutoshi
2017-06-30Replace state to /web when root path (#4009)Yamagishi Kazutoshi
2017-06-30Fix media-gallery, overflow is hidden. (#4008)Naoki Kosaka
2017-06-27i18n: Turn report screen into a modal (pl) (#3974)m4sk1n
2017-06-27fix(components/status): Up & down jump due to content being added to the DOM ↵Sorin Davidoi
(#3972)
2017-06-27Turn report screen into a modal (#3965)Eugen Rochko
2017-06-27Responsive images in media gallery (#3963)Sorin Davidoi
* feat(components/media_gallery): Responsive images * fix(components/media_gallery): Link to image URL
2017-06-27Maintain aspect ratio for preview image (#3966)Yamagishi Kazutoshi
2017-06-26Translate pin/unpin and fix some inconsistencies in gender neutral strings ↵Alda Marteau-Hardi
(#3952)
2017-06-25Fix #3910 - Require OTP authentication to disable 2FA (#3935)Eugen Rochko
* Fix #3910 - Require OTP authentication to disable 2FA. Also, remove ability to generate new OTP backup codes *after* initial backup codes were handed out during activation * Restore recovery code re-generation * Improve display of some 2FA elements
2017-06-25fix(features/compose): Handle external changes to the textarea (#3632)Sorin Davidoi
2017-06-25Add overview of active sessions (#3929)Eugen Rochko
* Add overview of active sessions * Better display of browser/platform name * Improve how browser information is stored and displayed for sessions overview * Fix test
2017-06-25Fix "undefined" in className (#3939)PFM
2017-06-24Fix elephant in onboarding modal being very small sized on small devices (#3932)unarist
2017-06-24Clean column collapsible (#3931)unarist
* Remove unused column_collapsable.js * Remove old styles * Extract `> div` style to independent class
2017-06-24feat(components/onboarding_modal): Swipe between pages (#3934)Sorin Davidoi
2017-06-24Fix #3924 (regression from #3906) (#3925)Yamagishi Kazutoshi
2017-06-24Use debounce for dispatch scrollTopNotification and expandNotifications (#3700)unarist
2017-06-23Fix a typo and give CW'd statuses the right cursor (#3918)Daniel Hunsaker
2017-06-23Use Class and Property Decorators (#3730)Yamagishi Kazutoshi
ref https://tc39.github.io/proposal-decorators/
2017-06-23Merge branch 'swipe-gestures' of git://github.com/sorin-davidoi/mastodon ↵Eugen Rochko
into sorin-davidoi-swipe-gestures
2017-06-23Remove unused variables (#3906)Yamagishi Kazutoshi
2017-06-23Add prefix to setting toggle ID (#3907)Yamagishi Kazutoshi
2017-06-23fix: Apply :hover, :focus and :active only when multiple columnsSorin Davidoi
2017-06-23feat: Swipeable mediaSorin Davidoi
2017-06-23feat: Swipeable columnsSorin Davidoi
2017-06-21Don't attach IntersectionObserver for wrapped statuses (#3883)unarist
(This patch has been merged as bugfix and reverted, but still valuable as improvement) Previously, we've attached IntersectionObserver twice for boosted statuses: wrapper Status and wrapped Status. but wrapped Status don't need to manage intersection and visibility by itself, because it's a part of wrapper Status.
2017-06-21Revert #3851 (#3878)Eugen Rochko
2017-06-21Revert "Don't attach IntersectionObserver for wrapped statuses" (#3877)Eugen Rochko
* Revert "Bump version to 1.4.4" This reverts commit 1585b0c6cce6cebda3fdc8ba944aa2247e76d1be. * Revert "Fix conversations (fixes #3869) (#3870)" This reverts commit 15b43f555dcb06742c677d84c25d05774ef1bde2. * Revert "Fix streaming server. Redis connection subscribe for each channel. (#3828)" This reverts commit d8ec83280637e53ded67d4938a198cbeb9e8db05. * Revert "Filter direct statuses in Status.as_home_timeline (#3842)" This reverts commit bab5a18232a163b0c3c6a245f7f95d50d7022b36. * Revert "Fix RemoteFollow behavior (#3868)" This reverts commit a20cf3b64e93d764f1dfe88ecdb39f3fd4eefe03. * Revert "Update fabricator for MediaAttachment to attach a file according to type (#3862)" This reverts commit 356df7ae6b6edfc600fbc532f32fbc46314e00a0. * Revert "Upgrade React Router (#3677)" This reverts commit 8f03fdce7fa16fcaa829a40f395cefc85eb957d5. * Revert "Do not call setState from unmounted component (#3853)" This reverts commit 1fc6cb499742c1a872ad717a689c58a80aeb714d. * Revert "Replace TextIconButton for SensitiveButton to IconButton (#3759)" This reverts commit eb832e88f44d661a504a091defc051e052eb1252. * Revert "Fix RTL detection on Ruby side (#3867)" This reverts commit b16b69350eb4ded2e1011931433b51dac5e34b53. * Revert "i18n: Fixed typo in Polish translation (#3864)" This reverts commit da6fa029f66d50f38f2b6c85687994793f7766aa. * Revert "Don't attach IntersectionObserver for wrapped statuses (#3863)" This reverts commit 94ad0706f514e25c58c0a8f3201f96c1d1ccbbd8.