Commit Graph

458 Commits (c727eae4412ac9e4f1bafdc68fe89dcd46d602ca)

Author SHA1 Message Date
Ondřej Hruška 945c5812d3 Added extra clickable area in status gutter 9 years ago
Yamagishi Kazutoshi 63baab088d Fix regular expression for RFC 5646 (regression from #3604) (#4133) 9 years ago
Yamagishi Kazutoshi 2b9721d1b3 Add setting a always mark media as sensitive (#4136) 9 years ago
Ondřej Hruška 667b567606 Make avatar in compose navbar hover-to-play 9 years ago
Lynx Kotoura 1c6cbdd4e4 Fix duplication of tag in columns_area.js (#4131)
Deleted ">" just a typo.
9 years ago
Sorin Davidoi 4122a837fa fix(components/media_modal): Aspect ratio (#4128)
* fix(components/media_modal): Aspect ratio

* fix: Remove useless style
9 years ago
Sorin Davidoi fc4c74660b Swipeable views (#4105)
* feat: Replace react-swipeable with react-swipeable-views

* fix: iOS 9
9 years ago
unarist caf938562e Avoid async import if the component is previously loaded (#4127) 9 years ago
Ondřej Hruška 8e2b1f79e4 Small indent fix in components.scss 9 years ago
Ondřej Hruška 345290a905 Avatar in the detail column no longer autoplays 9 years ago
unarist ce3a371eee Fix initial loading of pinned Notifications column (#4126) 9 years ago
Sorin Davidoi 37c832cdf7 refactor: Make all reducers sync (#4125) 9 years ago
Ondřej Hruška 2fb78fefc6 Fix fullwidth media CSS bugs with NSFW video, and bad spoiler margin on static pages (#60)
* Fix fullwidth style not applied to NSFW video correctly

* Fix botched video .media-spoiler margin on static pages
9 years ago
Sorin Davidoi 91cacb1e8f fix: Rerender Bundle on route change (#4120) 9 years ago
unarist 46f5d3a2e9 Fix first loading of notifications when the column is pinned (#4114) 9 years ago
Yamagishi Kazutoshi 76318f8830 Don't use preview when image size is unknown (#4113) 9 years ago
Yamagishi Kazutoshi 852bda3d32 Use srcSet only when know width (#4112) 9 years ago
Jeroen 0324f807f4 Update and improvement Dutch language strings (#4117)
* Update

* Update
9 years ago
Ondřej Hruška dc2b8bdecd Added a toggle for full-width media previews 9 years ago
Ondřej Hruška e3c2183c12 New design for visibility icons 9 years ago
Nolan Lawson 63b77f2320 Avoid using getBoundingClientRect to calculate height (#4001) 9 years ago
Sylvhem 8fecd80108 Various fixes in the French translation (#4107)
* 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).
9 years ago
kibigo! 86f8df7903 Fixed avis on static pages 9 years ago
Sorin Davidoi 348d6f5e75 Lazy load components (#3879)
* 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
9 years ago
Ondřej Hruška d41cec90cf Added toot visibility icons and removed Boost btn changing icon 9 years ago
Ondřej Hruška 7859e6ad45 Fix back button to never go to a different website using history len check 9 years ago
Surinna Curtis 3464bb30f8 replies to local-only toots default to local-only, and fix some regex bugs 9 years ago
Ondřej Hruška d87d70e89a Fixed js type error in advanced_options_dropdown.js 9 years ago
Damien Erambert 18d3fa953b Add a setting allowing the use of system's default font in Web UI (#4033)
* 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
9 years ago
abcang f76e71825d Improve Activity stream spoiler (#4088) 9 years ago
STJrInuyasha 6bf6d35637 Parse links in status content on update as well as mount (#4042)
* 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
9 years ago
unarist 9c03fd9cae Unobserve status on unmount (#4013)
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.
9 years ago
Mantas 34c8a46d7d Remove ugly blue highlight on Android browsers (#4031) 9 years ago
Quent-in 26949607d2 l10n Occitan locale (#4089)
* Small adjustments

About the report part.

* Update time format
9 years ago
Shin Kojima e7c0d87d98 Fix embedded SVG fill attribute (#4086)
* 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
9 years ago
m4sk1n 6d106d3943 i18n: minor changes in Polish translation (#4087)
* i18n: minor changes in Polish translation

* Update pl.json
9 years ago
kibigo! 0c7ee5c792 Fixed non-status notification styling 9 years ago
kibigo! bba75c15f1 Statuses redux!
- Better unified reblogs, statuses, and notifications
- Polished up collapsed toots greatly
- Apologies to bea if this makes everything more difficult
9 years ago
unarist b52a5e6bd6 Show LoadMore button on Notifications even if all items are filtered (#4077) 9 years ago
Ondřej Hruška 4cbbea5881 Improved CSS for drawer to restore original looks (full height) 9 years ago
Ondřej Hruška 167c392efd Fix drawer clipping dropdowns 9 years ago
Surinna Curtis 193f354d3e a real default for advanced options long description 9 years ago
Surinna Curtis 6b67b91eb1 satisfy eslint 9 years ago
Surinna Curtis 6b77424660 some adjustments to open/active for advanced options dropdown 9 years ago
Surinna Curtis 301c185878 highlight … button if any options enabled 9 years ago
Surinna Curtis cb7f54891f Revert "change active/hover display on advanced options"
This reverts commit ade773cb0a8c0c4b862074f7ee8e607023bc8bbe.
9 years ago
Surinna Curtis f6ce1a9592 toggles for advanced options 9 years ago
Surinna Curtis aee64b996c change active/hover display on advanced options 9 years ago
Surinna Curtis 0c71c0ccc8 reset advanced options when appropriate 9 years ago
Surinna Curtis 49e82c1e0f add an eye when submitting a toot with do_not_federate enabled 9 years ago
Surinna Curtis 556cede00f Local-only option and dropdown all working 9 years ago
Surinna Curtis b73ee36949 Reduce advanced options dropdown width 9 years ago
Surinna Curtis dd49c10cdb Further improvements to dropdown html 9 years ago
Surinna Curtis 85d5249479 The beginnings of an advanced options dropdown 9 years ago
Minori Hiraoka 976c18aa5f Fix Korean translation (#4065)
* 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
9 years ago
Gyuhwan Park 4cddef1cea i18n: Add korean translation (#4064)
* 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
9 years ago
Surinna Curtis ff9f2088f7 Move layout override into app settings modal
Squashed commit of the following:

commit 3842f879865818a3299f8283f8ed1b43c5566500
Author: Surinna Curtis <ekiru.0@gmail.com>
Date:   Mon Jul 3 19:57:39 2017 -0500

    Fix some style issues

commit 08628a0234392ecac90e869a1272f429de0b6db2
Author: Surinna Curtis <ekiru.0@gmail.com>
Date:   Mon Jul 3 19:35:22 2017 -0500

    Improved styling and layout of select app settings

commit 1787a7c20f2bf7101c6d6830450564178314a737
Author: Surinna Curtis <ekiru.0@gmail.com>
Date:   Mon Jul 3 17:13:53 2017 -0500

    remove the layout selector ui from the drawer

commit 7d93b180b1e615e2c36210ad6f119fe80a2778d8
Author: Surinna Curtis <ekiru.0@gmail.com>
Date:   Mon Jul 3 17:01:51 2017 -0500

    Add layout setting to app settings modal
9 years ago
Nolan Lawson e282580101 Faster emojify() by avoiding str.replace() entirely (#4049) 9 years ago
Damien Erambert 133b892e0d Update French locales (#4034)
* 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
9 years ago
Sorin Davidoi 60da49f856 fix(components/columns_area): Increase delta for swipe detection (#4037) 9 years ago
Eugen Rochko bf50e3e5ae Fix height issue in report modal 9 years ago
adbelle 15227c713d Remove color lightening for search results section
This will cause it to match the shading of the container behind it.
9 years ago
adbelle 30736f4886 Add opaque background to search results section 9 years ago
kibigo! c58877862d createBio function added 9 years ago
Nolan Lawson a978b88997 Faster emojify() algorithm, avoid regex replace (#4019)
* Faster emojify() algorithm, avoid regex replace

* add semicolon
9 years ago
Yamagishi Kazutoshi 0e09048537 Fix broken style in media gallery (regression from #3963) (#4014) 9 years ago
kibigo! 46f83bb28b Styling fixes to media spoilers 9 years ago
kibigo! ec2daae71c Media display improvements
- built in fullwidth styling
 - letterbox settings toggle
 - media no longer counts towards height when making toot-collapsing
measurements
9 years ago
kibigo! b525caf40a Fixing an aspect of #32 which had previously escaped my attention 9 years ago
kibigo! 651c3d643c Images behind CWs in detailed statuses too 9 years ago
Yamagishi Kazutoshi a27879c0cf Replace state to /web when root path (#4009) 9 years ago
Naoki Kosaka 049cea30b0 Fix media-gallery, overflow is hidden. (#4008) 9 years ago
kibigo! cc4cba8afd Improvements to image icon appearance on SHOW MORE 9 years ago
kibigo! 99889ea57d Tiny Status improvements
- Media toots are no longer auto-collapsed if the media is behind a CW
- Display names no longer appear clickable when a toot is collapsed
- Fixed #36 by adding reduplicating the media icon inside the SHOW
MORE/LESS
9 years ago
kibigo! 19690d3e33 Fixes #32 bug with revealing sensitive media 9 years ago
kibigo! 0b371da971 Fixed improper centering of columns-area 9 years ago
kibigo! 2d8ebdcc72 Initial store for local settings is now Immutable all the way down 9 years ago
kibigo! 595c6de32c Added App Setttings Modal 9 years ago
kibigo! 7b1d233f4f Linear gradient no longer extends under metadata on account pages 9 years ago
kibigo! 03f9648377 Improvements to static metadata styling, especially for mobile 9 years ago
kibigo! 6107e95404 Backend YAML Processing + Profile Metadata on Static Pages 9 years ago
kibigo! 36805a39db Moved reblog wrapper outside of <Status> 9 years ago
kibigo! ab4632a41e Allow line-breaks in bio metadata 9 years ago
beatrix-bitrot ddafde942c Merge remote-tracking branch 'upstream/master' 9 years ago
m4sk1n 6ad72728f6 i18n: Turn report screen into a modal (pl) (#3974) 9 years ago
Sorin Davidoi 64d9c016bd fix(components/status): Up & down jump due to content being added to the DOM (#3972) 9 years ago
Eugen Rochko 12e7c81dd8 Turn report screen into a modal (#3965) 9 years ago
kibigo! e6300de142 Profile metadata improvements 9 years ago
Sorin Davidoi be92babd00 Responsive images in media gallery (#3963)
* feat(components/media_gallery): Responsive images

* fix(components/media_gallery): Link to image URL
9 years ago
Yamagishi Kazutoshi 8f2c91568c Maintain aspect ratio for preview image (#3966) 9 years ago
kibigo! 59503a88ae Disable account linking on collapsed toots too 9 years ago
kibigo! 5df7bc3a8b Disable links on collapsed toots 9 years ago
kibigo! c806fef865 Notifications collapsed by default 9 years ago
Surinna Curtis 7b53d4bbca Bio length on client side mostly doesn't count metadata 9 years ago
Alda Marteau-Hardi f53ed108b0 Translate pin/unpin and fix some inconsistencies in gender neutral strings (#3952) 9 years ago
kibigo! 56ca33a6d3 Time needs to be just a little wider to accomodate minutes 9 years ago
kibigo! aeff898137 We want wrapping here, sorry 😥 9 years ago
kibigo! b323e00bf3 Merge branch 'master' of https://github.com/glitch-soc/mastodon 9 years ago
kibigo! a520b118e4 Expand toot by clicking on body [fixed!] 9 years ago
beatrix-bitrot c0a665865e update bio length to 500 9 years ago