Sorin Davidoi
ed7abec8f5
feat: Cache status height to avoid expensive renders ( #4439 )
...
* feat: Cache status height to avoid expensive renders
* feat: Escape content and emojify in reducers
* fix(css): Remove backface-visibility: hidden from .scrollable
* fix(statuses): Avoid creating DOMParses inside a loop
7 years ago
Ondřej Hruška
199affb141
Refactor Avatar and AvatarOverlay to have 'account' as prop instead of src and staticSrc ( #4526 )
...
* Refactored Avatar and AvatarOverlay (DRY) to have 'account' as prop.
Also removed animate attribute from compose navigation bar, which should
have never been there. Added test for avatar overlay.
* fix broken tests
* god dammit another bug in tests! travis please let this pass
* formatting in avatar overlay
7 years ago
Yamagishi Kazutoshi
730fa0a06b
Set false to animated options for thumbnail processor ( #4547 )
...
Resolve #3199
Fix the aspect ratio of animated GIF whose background is transparent.
7 years ago
Masoud Abkenar
50c089d5ca
i18n: update Persian translation ( #4540 )
7 years ago
MitarashiDango
ad1065cbc5
fix columns_area.js ( #4528 )
7 years ago
Eugen Rochko
fd69694749
Add "signed in as" header to some pages ( #4523 )
7 years ago
Akihiko Odaki
c4a21aa352
Scroll columns area to right when children property is changed ( #4517 )
...
The feature to pin column could hide the rightmost column, which is
specified with children property of ColumnsArea.
The user is likely to see the column when the property changed, so scroll
the area in such cases.
7 years ago
Krzysztof Jurewicz
e55ecdf48f
Fix some mistakes in Polish translation ( #4495 )
7 years ago
nullkal
62b92a4c0a
Redirect to PasswordController#new when reset_password_token is invalid ( #4506 )
7 years ago
MIYAGI Hikaru
a1db03b345
make number of comparison in emojify() fewer ( #4500 )
...
fix style
"©"削除処理をemojione_lightに移動
7 years ago
TheKinrar
a62b6a4f12
Don't normalize invalid domain names ( #4499 )
...
Fixes #4496
7 years ago
unarist
465aaedbcf
Fix column-back-button style for some browsers ( #4484 )
...
Use `text-align: unset` instead of `text-align: start` which Edge doesn't support for now.
Also remove default margin on Safari.
7 years ago
Sorin Davidoi
9fc6c974f6
fix(status_list): Use correct keys for keyboard navigation ( #4487 )
7 years ago
Komic
0c10b35c11
fr.json update ( #4492 )
7 years ago
Quent-in
b516afc42c
l10n #4457 update for Occitan language ( #4483 )
...
Previous and Next buttons
7 years ago
Jeroen
765dbd296f
Update Dutch (nl) strings ( #4480 )
7 years ago
Sorin Davidoi
d8f78827a4
fix(web_push_notifications): Send message with welcome notifications ( #4471 )
...
* fix(web_push_notifications): Send grouping title in welcome notification
* fix(web_push_notifications): Read message from last notification
7 years ago
Yamagishi Kazutoshi
5a5e9d61e3
Re-add outline ( #4474 )
...
* Re-add outline
* respect default of web browser
7 years ago
Ondřej Hruška
81142bdf24
do not emojify tm, (R) and (C) ( #4472 )
7 years ago
Masoud Abkenar
755a7f2646
i18n: update Persian translation ( #4470 )
...
* i18n: update Persian translation
* i18n: fix quotes
7 years ago
Yamagishi Kazutoshi
54257c9325
Load extra polyfills when isIntersecting is undefined ( #4469 )
7 years ago
Eugen Rochko
7ccb3a9d77
Simplify web UI character counter logic ( #4463 )
7 years ago
unarist
9e2971e899
Fix button overflow on confirmation modal for mobile ( #4465 )
7 years ago
Yamagishi Kazutoshi
f95fca19d4
Change RuboCop rules to loose ( #4464 )
7 years ago
m4sk1n
beeeebb42f
i18n: Update Polish translation ( #4467 )
7 years ago
Yamagishi Kazutoshi
5be327104f
Disable sensitive button when with content warnings ( #4460 )
7 years ago
Eugen Rochko
14004daca4
Fix length validator counting things that look like URIs like URLs ( #4462 )
...
URI.extract is too strong, not limited to URLs, matched real text.
Same issue was present in language detector.
7 years ago
unarist
15a8d9b0ca
Make salutation of email localizable ( #4454 )
7 years ago
Sorin Davidoi
2032e2500c
Improve accessibility (part 7) ( #4457 )
...
* fix(media_modal): Keyboard navigation
* fix(column_back_button): Use native button
* fix(media_gallery): Keyboard navigation
* fix(status_content): Make CW content focusable
7 years ago
Yamagishi Kazutoshi
fc9f793f2e
Change to sensitive when adding content warning from web UI ( #4456 )
7 years ago
Yamagishi Kazutoshi
74712bf1c6
Remove outline from focused toot ( #4448 )
...
* Remove outline from focused toot
* change style
7 years ago
Yamagishi Kazutoshi
5d364da590
Do not create empty a element when there is no e-mail ( #4455 )
...
Empty a element is created when there is no business e-mail input.
7 years ago
unarist
a3df68eea8
Update Japanese translations ( #4453 )
7 years ago
Lynx Kotoura
71bea1cd76
Set contact address in about/more as mailto link ( #4450 )
...
* Set contact address as mailto link
To be able to copy long email address
* Set style for mailto link
7 years ago
Damien Erambert
e941d689f3
Use a fainted text color for <hr> elements in the landing page ( #4443 )
...
* Use a fainted text color for <hr> elements in the landing page
* remove trailing whitespace
7 years ago
Sorin Davidoi
a39a909fc1
feat(tabs_bar): Avoid optimization for non-touch devices ( #4444 )
...
* fix(tabs_bar): Check if transition is necessary
* feat(tabs_bar): Only apply optimization for touch devices
7 years ago
Jeroen
0fac382422
Dutch: only one (new) string ( #4440 )
7 years ago
Lynx Kotoura
b7482e4a9f
Fix autocomplete option in haml files ( #4438 )
...
* Fix autocomplete in two_factor.html.haml
* Fix autocomplete in registrations edit.html.haml
* Fix autocomplete in passwords edit.html.haml
* Fix autocomplete in _registration.html.haml
* Fix autocomplete in new.html.haml
* Fix autocomplete in show.html.haml
* Add autocomplete option to sessions new.html.haml
* Add autocomplete option to 2FA new.html.haml
* Add autocomplete option to 2FA show.html.haml
7 years ago
unarist
de3a2eaf4d
fix(status): Don't add tabIndex to wrapped status ( #4437 )
7 years ago
みたらしだんご
b5d1e48916
fix tabs_bar.js ( #4436 )
7 years ago
Sorin Davidoi
56e35ab6e7
Improve accessibility (part 6) ( #4435 )
...
* fix(status_action_bar): Use aria-pressed for reblog and favourite button
* fix(column_back_button): Keyboard accessible
* fix(status_content): Make focusable and accessible
* fix(dropdown_menu): Use aria-expanded instead of aria-pressed
* fix(emoji_picker_dropdown): Use aria-expanded instead of aria-hidden
* feat(icon_button): Add aria-expanded
* fix(privacy_dropdown): Use aria-expanded instead of aria-hidden
7 years ago
Eugen Rochko
39b0588256
Count all URLs in text as 23 characters flat, do not count domain part of usernames ( #4427 )
...
* Count all URLs in text as 23 characters flat, do not count domain part of usernames
* Add new status text counting logic to web UI
7 years ago
Sorin Davidoi
aa108f8570
Accessability fixes ( #4432 )
...
* fix(modal_root): Read type from props, not from component
* fix(status_list): Do not user event.path
7 years ago
Sorin Davidoi
e69bfa140a
fix(tabs_bar): Allow animation to end before navigating ( #4429 )
...
* fix(tabs_bar): Allow animation to end before navigating
* fix(tabs_bar): Do not use event.path
7 years ago
Eugen Rochko
ed3d301791
Fix web push notifications "boost" icon not being loaded (regression from #4426 ) ( #4431 )
7 years ago
Eugen Rochko
2e32794a12
Use consistent icons for web push notifications, same as web UI ( #4426 )
7 years ago
Eugen Rochko
64a6609d3e
Fix guard clause in WebPushNotificationWorker ( #4421 )
7 years ago
Eugen Rochko
a8631a9aac
When PuSH subscribe attempts are exhausted, unsubscribe ( #4422 )
7 years ago
Quent-in
321162b983
i18n update of OC version ( #4425 )
...
* Correction of misspellings
* Improve the OC version
* Improve of the OC version
* Improvement of OC version
7 years ago
Eugen Rochko
be1a5d9ae9
Improve actions modal style ( #4423 )
7 years ago
Eugen Rochko
043dfdb474
Fix current session not being displayed in sessions list ( #4424 )
7 years ago
Yamagishi Kazutoshi
f24996028d
Unify webpackChunkName to lowercase ( #4412 )
7 years ago
Lynx Kotoura
e33c379065
Fix protruded infomation board section in about/more page ( #4415 )
...
* Fix protruded infomation board section
Set "flexwrap: wrap" for sections. Set upper and lower padding for each section, and adjust clearances around sections accordingly. Settings for viewport threshold 500px is no more needed.
* Fix mistake of reducing information-board padding
In according with this fix, additional padding setting for maximum 840px width is no more needed.
7 years ago
Sorin Davidoi
c2f18083f2
fix(actions-modal): Inconsistent margins ( #4418 )
7 years ago
Sorin Davidoi
fd6c6cf717
Improve accessibility (part 5) ( #4417 )
...
* fix(status): Add tabIndex=0
* fix(status_list): Make keyboard navigable
7 years ago
Yamagishi Kazutoshi
16075fc5ef
Fix column header in landing page (regression from #4405 ) ( #4416 )
7 years ago
Yamagishi Kazutoshi
c196698be5
Fix broken PropTypes ( #4413 )
7 years ago
m4sk1n
24ec1e69b3
i18n: Update Polish translation ( #4414 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years ago
Sorin Davidoi
56c021c349
feat(web_push_notifications): Group notifications ( #4388 )
7 years ago
Sorin Davidoi
b16e20e105
fix(web_push_notification): Do not hard reload tab ( #4380 )
...
* fix(web_push_notification): Do not hard reload tab
* fix(web_push_notification_worker): Guard against null subscription
* refactor: Incorporate pull request feedback
7 years ago
Sorin Davidoi
3ddfab69a5
Improve accessibility (part 4) ( #4408 )
...
* fix(dropdown_menu): Keyboard navigation
* fix(icon_button): Add aria-pressed attribute
* fix(privacy_dropdown): Make accessible
* fix(emoji_picker_dropdown): Make accessible
* fix(icon_button): Support tabIndex
* fix(actions_modal): Remove icon from tab order
* fix(dropdown_menu): Add role=group
* fix(setting_toggle): Toggle via space key
* fix(dropdown_menu): Remove redundant handling of Space key
* fix(emoji_picker_dropdown): Remove redundant Space key handling
* fix(privacy_dropdown): Remove redundant Space key handling
* fix(status): Switch to article and add aria-posinset, aria-setsize
* fix(status_list): Use role=feed and pass more ARIA props to Status
* chore(eslint): jsx-a11y/role-supports-aria-props
7 years ago
Sorin Davidoi
c58bcdeb5d
feat: Web Share for detailed status and account ( #4402 )
...
* feat: Web Share for detailed status and account
* fix(account/action_bar): Move share under mention
7 years ago
Sorin Davidoi
8a9d376d6a
Improve accessibility (part 3) ( #4405 )
...
* fix(compose): Add aria-label for the navigation links
* fix(search): Add input label
* fix(navigation_bar): Link description
* fix(autosuggest_textarea): Add input label
* fix(compose_form): Add input label
* fix(upload_button): Add input label
* fix(account/header): Add link content
* fix(column_header): Use h1 tag
* fix(column_header): Labels move buttons moving column
* fix(settings_text): Add label to input
* fix(column_header): Remove role from h1
* fix(modal_root): Use role=dialog
* fix(modal_root): Focus restauration
* fix(modal_root): Apply inert to sibligs
* fix(column_header): Add role=button
* chore(eslint): Disable jsx-a11y/label-has-for
7 years ago
Sorin Davidoi
270039d6df
fix(actions_modal): Warning about missing prop ( #4406 )
7 years ago
Sorin Davidoi
9cb72c6600
fix(dropdown_menu): Open as modal on mobile ( #4295 )
...
* fix(dropdown_menu): Open as modal on mobile
* fix(dropdown_menu): Open modal on touch
* fix(dropdown_menu): Show status
* fix(dropdown_menu): Max dimensions and reduce padding
* chore(dropdown_menu): Test new functionality
* refactor: Use DropdownMenuContainer instead of DropdownMenu
* feat(privacy_dropdown): Open as modal on touch devices
* feat(modal_root): Do not load actions-modal async
7 years ago
Yamagishi Kazutoshi
fdea9d72bc
Update intersection-observer to version 0.4.0 ( #4398 )
7 years ago
unarist
2c3996193d
Fix timeline height on landing page for Safari ( #4392 )
...
`height: 100%` in `align-self: stretch` flexboxes doesn't work on Safari < 11.
https://bugs.webkit.org/show_bug.cgi?id=137730
This workaround uses flexbox instead of `height: 100%` to stretch height.
7 years ago
Sorin Davidoi
097fb21522
fix(push_subscription): Use star icon for favourite action ( #4396 )
7 years ago
Yamagishi Kazutoshi
ba1f0b8426
Fallback to site_hostname when site_title is empty ( #4394 )
7 years ago
nullkal
977140ed3c
Fix an error when a user tries to search nonexistent remote user (regression from #4275 ) ( #4400 )
7 years ago
Ondřej Hruška
5eb1a1aaca
Fix multipoint shortcode bug ( #4387 )
...
* Fix multipoint shortcode bug
* Added testcase for composite emoji shortcode
7 years ago
Clworld
0c86b36cac
Add callback_url/acct information for Sidekiq PuSH workers Exception. ( #4281 )
...
* Add destination informations to exception on SubscribeWorker and DeliveryWorker.
* Simplify delivery error message.
* Prevent changing Exception type...
* fix typo.
7 years ago
Jeroen
3fd358b641
Update Dutch strings ( #4389 )
7 years ago
Eugen Rochko
84b40ce9a7
Fix #4026 - Accept backup codes for disabling 2FA ( #4382 )
7 years ago
Eugen Rochko
24ab0958f9
Fix infinite scroll fluidity ( #4381 )
7 years ago
Sorin Davidoi
7ae272fbb6
fix(columns_area): Manually set tabs style when swiping ( #4320 )
7 years ago
Sorin Davidoi
eb30328beb
fix(web_push_notification_worker): Guard against deleted notifications ( #4379 )
7 years ago
Sorin Davidoi
d63950f5b0
fix(column): Crash when heading is undefined ( #4378 )
7 years ago
mayaeh
4f5d39c879
Update Japanese translations ( #4376 )
...
* Update Japanese translations for remote profile, settings toggle button and web share button.
* Update Japanese translation for remote profile.
7 years ago
Sorin Davidoi
8345b4d79a
Improve accessibility (part 2) ( #4377 )
...
* fix(column_header): Invalid ARIA role
* fix(column): Remove hidden nodes from the DOM
* refactor(column_link): Remove unused property hideOnMobile
* fix(column_header): Use aria-pressed
* fix(column_header): Make collapsed content not focusable, add focusable property
* fix(column_loading): Make header non-focusable
* fix(column_settings): Use role to group the toggles
7 years ago
Lynx Kotoura
0e69833b30
Fix padding in hero container of landing page ( #4373 )
...
* Fix padding in hero container, landing page
Erase hero container padding to fit registration form to full width. By this setting, heading padding disappears, so I adjust heading padding.
* Specify attribute strictly for heading padding
To overwrite padding-bottom in superior settings.
* Make padding shorthand more concise
7 years ago
m4sk1n
878a07bf01
i18n: Update Polish translation ( #4371 )
7 years ago
Sorin Davidoi
9582932d0a
Improve accessibility ( #4369 )
...
* fix(compose): Use nav and remove redundant aria-label
* fix(tabs_tab): Use nav and add aria-label
* fix(app): Add aria-label for settings toggle button
* chore: Run yarn manage:translations
7 years ago
Ondřej Hruška
74e54cd45b
Added external link icons to joinmastodon navbar buttons ( #4368 )
7 years ago
m4sk1n
107405f0ea
i18n: Update Polish translation ( #4367 )
7 years ago
Lynx Kotoura
2e201ac766
Adjust mobile landing page ( #4366 )
...
* Adjust mobile landing page
Change mobile viewport threshold to 840px in consideration of padding. Fix loss of "container hero" padding in about/more under 675px.
* Fix indent
7 years ago
Sorin Davidoi
b504cdb82e
feat(status_action_bar): Web share button ( #4365 )
7 years ago
Lynx Kotoura
8a9b89ed72
Fix multiple-gif display in user page ( #4364 )
...
Divide media-items to equal width, and hide overlaps.
7 years ago
Clworld
c04a271cca
Allow longer link text on landing page (reduce padding for Mobile) ( #4363 )
...
* Allow longer link text on landing page (reduce padding for Mobile)
* remove empty line
7 years ago
Akihiko Odaki
98ba57efca
Merge queries in Api::V1::FavouritesController ( #4359 )
7 years ago
Yamagishi Kazutoshi
9510179cc1
Send short account URL to remote instance (regression from #3844 ) ( #4355 )
...
* Send short account URL to remote instance (regression from #3844 )
Resolve #4347
* remove format: 'json'
7 years ago
m4sk1n
547991156b
i18n: Update Polish translation ( #4361 )
7 years ago
Komic
5c23678037
Small fr.json update ( #4354 )
...
* Small fr.json update
• Translation for #4342
• Fixed a couple of typos as well as a few weird phrasings
* insert final newline
7 years ago
Sorin Davidoi
348994c2de
fix(status_list): Guard against missing ref ( #4353 )
7 years ago
Jeroen
1c9aac4878
Update and (almost) completing Dutch strings for 1.5 ( #4351 )
...
* Update and expanding Dutch strings for 1.5
Only privacy policy is not translated, but is included. Hopefully I have time to translate this another time (you can set your own privacy policy now anyway).
* Missing file
* A few changes cause of changes in another file
* Fix
* Update Dutch strings for 1.5
* nl
* fix
don't know how that ended up there
* Update nl.yml
7 years ago
Sorin Davidoi
3e17162902
fix(column): Use passive wheel listener ( #4348 )
...
* chore(yarn): Install detect-passive-events
* fix(column): Use passive listener
7 years ago
Sorin Davidoi
94ac88ec7f
fix(components/bundle): Exit early in load function ( #4349 )
7 years ago
Sorin Davidoi
bbc0ba610b
fix(getting_started): No scrollbar if not needed ( #4350 )
7 years ago
Eugen Rochko
5a7d5c0fd8
Improve remote profile disclaimer ( #4342 )
...
* Improve remote profile disclaimer
* yarn run manage:translations
7 years ago
Sorin Davidoi
c0925a2cdd
fix(compose_from): Do not autofocus on mobile ( #4344 )
7 years ago