Krzysztof Jurewicz
e55ecdf48f
Fix some mistakes in Polish translation ( #4495 )
7 years ago
MIYAGI Hikaru
a1db03b345
make number of comparison in emojify() fewer ( #4500 )
...
fix style
"©"削除処理をemojione_lightに移動
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
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
m4sk1n
beeeebb42f
i18n: Update Polish translation ( #4467 )
7 years ago
Yamagishi Kazutoshi
5be327104f
Disable sensitive button when with content warnings ( #4460 )
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
unarist
a3df68eea8
Update Japanese translations ( #4453 )
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
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
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
Yamagishi Kazutoshi
f24996028d
Unify webpackChunkName to lowercase ( #4412 )
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
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
Jeroen
3fd358b641
Update Dutch strings ( #4389 )
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
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
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
m4sk1n
107405f0ea
i18n: Update Polish translation ( #4367 )
7 years ago
Sorin Davidoi
b504cdb82e
feat(status_action_bar): Web share button ( #4365 )
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
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
Yamagishi Kazutoshi
6a0cf5945c
Change defaultMessage for spoiler placeholder ( #4329 )
7 years ago
Andrew Zyabin
bf06178f16
Update Russian translation for #4313 ( #4334 )
7 years ago
m4sk1n
9be9227c38
i18n: Update Polish translation ( #4327 )
...
* i18n: Update Polish translation
* i18n: Update Polish translation
7 years ago
Sorin Davidoi
78ff8d3421
feat: Enable push subscription for mobile devices by default ( #4321 )
7 years ago
Yamagishi Kazutoshi
0e677c278d
Update Japanese translations for #4313 and #4315 ( #4323 )
...
* Update Japanese translations for #4313
* Update Japanese translations for #4315
7 years ago
Eugen Rochko
0b14f80814
Add loading indicator animation ( #4316 )
7 years ago
Sylvhem
55947cddc1
Change "Content Warning" to "Write your warning here" ( #4313 )
...
Change the placeholder used in the content warning field from "Content Warning" to "Write your warning here". This change should made it easier to understand what the field is about.
Change le message de substitution utilisé dans le champ d’avertissement de « Avertissement » à « Écrivez ici votre avertissement ». Ce changement devrait rendre plus évidente la fonction du champ.
7 years ago
m4sk1n
719eb72650
i18n: Update Polish translation ( #4311 )
7 years ago
Sorin Davidoi
ad33c1e6bc
fix(columns_area): Show correct title for preview columns ( #4310 )
7 years ago
Quent-in
f62d565969
i10n Update for Occitan ( #4301 )
...
* Update to translate new strings
* Update
* Update
* Indend added
* Update oc.yml
7 years ago
Eugen Rochko
9f232204b8
Run yarn run manage:translations and i18n-tasks normalize ( #4302 )
7 years ago
Damien Erambert
70d4d90813
Update French locales (settings, ToS, & co) ( #4261 )
...
* add fr-FR locales to the landing page
* moar french locales
* terms of service/privacy policy
* remove un-used locales in the client (yarn manage:translations)
* update french locales in the client
* remove duplicate locales in fr.yml
* fix typos per PR comments in fr.yml
* put back default messages
* translate untranslated keys on the client
* add "push" after notifications
* correctly ident ToS in fr.yml
7 years ago
Sorin Davidoi
324d98b5a8
feat(compose): More space on mobile devices ( #4282 )
...
* feat(compose): More space on mobile devices
* feat(compose): Hide navigation when typing on mobile devices
* fix(compose): Make animation faster
* fix(navigation_bar): Remove hardcoded title
* fix(compose): Prevent accidental bluring
* fix(compose): Increase max-height to 600px
7 years ago
Sorin Davidoi
707d6fa9c0
fix(status_list): Update scroll position after toots are appended ( #4277 )
7 years ago
unarist
c44fcfd9e7
Update scroll top state on column mounting ( #4276 )
7 years ago
Sorin Davidoi
e6275b4ade
fix: Handle errors without response ( #4274 )
7 years ago
m4sk1n
8465019f54
i18n: Update Polish translation ( #4268 )
7 years ago
Sorin Davidoi
fa9c117921
feat(emoji): Add back title attribute ( #4253 )
7 years ago
lindwurm
b8db4f786a
Update Japanese translation (chase #4249 ) ( #4251 )
...
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
7 years ago
m4sk1n
03644ac855
i18n: Update Polish translation ( #4252 )
...
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years ago
lindwurm
9756975884
Add Japanese translation for #4246 ( #4249 )
...
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
7 years ago
lindwurm
7c0b509ba9
Update Japanese translations for new landing page ( #4159 )
...
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
7 years ago
Yamagishi Kazutoshi
87bb16a236
Add unfollow modal (optional) ( #4246 )
...
* Add unfollow modal
* unfollowing someone
* remove unnecessary prop
7 years ago
abcang
c5cd48bff7
Fixed issue that the NSFW image is not hidden on detail page ( #4244 )
7 years ago
Yamagishi Kazutoshi
af027b6b30
Exclude self toots from regular expression filter ( #4245 )
...
* Exclude self toots from regular expression filter
* refactor
7 years ago
Sorin Davidoi
49389c3809
feat(push-notifications): Open link in current tab if possible ( #4228 )
...
* fix(push-notification): Open link in current tab if possible
* feat(sw): Skip waiting and claim clients
7 years ago
Akihiko Odaki
df2a07d354
Require any modules after loading polyfill in entry points ( #4231 )
...
app/javascript/mastodon/main.js delayed the execution of modules,
but other entry points didn't. That leads to failure in executing
modules, which requires those polyfills.
Strictly enforce the rule to require any modules after loading
polyfill in entry points.
7 years ago
Lynx Kotoura
64202d0fcf
Quit overwriting style of extended-video-player ( #4237 )
...
Though size of extended-video-player is already fixed to 80vw*80vh in components.scss, player size was also set to original video size in extended_video_player.js. Video size is fixed to 80vw*80vh, so video player's size must also be fixed to 80vw*80vh.
7 years ago
Sorin Davidoi
36d42f83f3
fix(emojis): Handle multipoint emojis (e.g. country flags) ( #4221 )
7 years ago
Akihiko Odaki
53cb659076
Require images in common.js ( #4232 )
7 years ago
unarist
55313a0102
Fix column swiping ( #4211 )
...
This fixes broken behavior and enable animation only on swiping.
7 years ago
Eugen Rochko
c0e596062b
Fix #3773 - Pin favourites column ( #4201 )
7 years ago
Sorin Davidoi
20111dd4d5
Small style fixes ( #4206 )
...
* fix(components/media_modal): Center horizontally in Firefox
* fix(components/status_list): Do not remove load more button
7 years ago
Sorin Davidoi
8207918890
🎄 🔨 Force tree shake emojione ( #4202 )
...
* chore(yarn): Install babel-plugin-preval as development dependency
* feat(babel): Add preval as a plugin
* feat(emojione_light): Prevaled module what tree-shaked emojione
* refactor(emoji): Use emojione_light
* feat: Preload emojione_picker bundle
* fix(emojione_light): Do not use Object.entries
* fix(emojify): Update tests
* chore(emojione_light): Remove silly ascii art
7 years ago
Eugen Rochko
5138dde794
Fix #4149 , fix #1199 - Store emojis as unicode ( #4189 )
...
- Use unicode when selecting emoji through picker
- Convert shortcodes to unicode when storing text input server-side
- Do not convert shortcodes in JS anymore
7 years ago
Albert ARIBAUD
2772a256c1
fr.json: replace "silencer" with "masquer" ( #4196 )
...
"Silencer" as a verb does not exist in French. A good and valid replacement is "masquer".
7 years ago
Yamagishi Kazutoshi
5b2a54e305
Do not load unnecessary script files ( #4193 )
7 years ago
Yamagishi Kazutoshi
9669dc86f4
Add Japanese translations for #3243 ( #4192 )
7 years ago
unarist
e9f905bc87
Add object-fit polyfill for Edge ( #4182 )
7 years ago
Sorin Davidoi
912ca0fa57
Improve swiping ( #4188 )
...
* feat(components/columns_area): Toggle animation settings
* fix(components/media_modal): Center non-visible views
* fix(components/media_modal): Check for null
* refactor(columns_area): Better logic
7 years ago
Sorin Davidoi
b047d5c747
fix(components/media_modal): Style issues ( #4187 )
7 years ago
Sorin Davidoi
ecab38fd66
Web Push Notifications ( #3243 )
...
* feat: Register push subscription
* feat: Notify when mentioned
* feat: Boost, favourite, reply, follow, follow request
* feat: Notification interaction
* feat: Handle change of public key
* feat: Unsubscribe if things go wrong
* feat: Do not send normal notifications if push is enabled
* feat: Focus client if open
* refactor: Move push logic to WebPushSubscription
* feat: Better title and body
* feat: Localize messages
* chore: Fix lint errors
* feat: Settings
* refactor: Lazy load
* fix: Check if push settings exist
* feat: Device-based preferences
* refactor: Simplify logic
* refactor: Pull request feedback
* refactor: Pull request feedback
* refactor: Create /api/web/push_subscriptions endpoint
* feat: Spec PushSubscriptionController
* refactor: WebPushSubscription => Web::PushSubscription
* feat: Spec Web::PushSubscription
* feat: Display first media attachment
* feat: Support direction
* fix: Stuff broken while rebasing
* refactor: Integration with session activations
* refactor: Cleanup
* refactor: Simplify implementation
* feat: Set VAPID keys via environment
* chore: Comments
* fix: Crash when no alerts
* fix: Set VAPID keys in testing environment
* fix: Follow link
* feat: Notification actions
* fix: Delete previous subscription
* chore: Temporary logs
* refactor: Move migration to a later date
* fix: Fetch the correct session activation and misc bugs
* refactor: Move migration to a later date
* fix: Remove follow request (no notifications)
* feat: Send administrator contact to push service
* feat: Set time-to-live
* fix: Do not show sensitive images
* fix: Reducer crash in error handling
* feat: Add badge
* chore: Fix lint error
* fix: Checkbox label overlap
* fix: Check for payload support
* fix: Rename action "type" (crash in latest Chrome)
* feat: Action to expand notification
* fix: Lint errors
* fix: Unescape notification body
* fix: Do not allow boosting if the status is hidden
* feat: Add VAPID keys to the production sample environment
* fix: Strip HTML tags from status
* refactor: Better error messages
* refactor: Handle browser not implementing the VAPID protocol (Samsung Internet)
* fix: Error when target_status is nil
* fix: Handle lack of image
* fix: Delete reference to invalid subscriptions
* feat: Better error handling
* fix: Unescape HTML characters after tags are striped
* refactor: Simpify code
* fix: Modify to work with #4091
* Sort strings alphabetically
* i18n: Updated Polish translation
it annoys me that it's not fully localized :P
* refactor: Use current_session in PushSubscriptionController
* fix: Rebase mistake
* fix: Set cacheName to mastodon
* refactor: Pull request feedback
* refactor: Remove logging statements
* chore(yarn): Fix conflicts with master
* chore(yarn): Copy latest from master
* chore(yarn): Readd offline-plugin
* refactor: Use save! and update!
* refactor: Send notifications async
* fix: Allow retry when push fails
* fix: Save track for failed pushes
* fix: Minify sw.js
* fix: Remove account_id from fabricator
7 years ago
unarist
c3ec4f2dac
Rerender modal on property changes ( #4175 )
...
Render function for BundleContainer must not be methods.
React doesn't know dependency of the method, so they won't rerender on property updates.
In this case, when you close modal and open another modal immediately,
old modal will be open instead of new one.
7 years ago
m4sk1n
a5ea495c96
i18n: @49026e2, @8abeec1 + consistency improvement (pl) ( #4171 )
...
* i18n: @49026e2 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* i18n: @8abeec1 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* i18n: Improve consistency (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years ago
Naoki Kosaka
6e511ee673
Fix media modal prev button behavior. ( #4158 )
7 years ago