Commit graph

1485 commits

Author SHA1 Message Date
Thomas Ricouard
386b34e065 Bump to 1.6.17 2023-06-26 15:54:12 +02:00
nathanwale
abcd63a136
Post length is counted differently from server (see #1439) (#1440)
Mastodon server replaces all URLs with a 23 character string, not just those that are longer than 23 characters
2023-06-26 11:46:04 +02:00
sebnoumea
044d3b6b84
FIXES issue#1200 (#1297) 2023-06-26 11:45:45 +02:00
Nathan Reed
ffe9e7a714
Add setting to control share button default behavior (#1421)
* Add setting to control share button default behavior

This adds a setting to control the behavior of the share button on the status row actions view.
Currently, it always shares the link to the post as well as the post text.
In iOS 16.4, Apple added iMessage unfurling for Mastodon URLs.
When sharing posts from Ice Cubes via iMessage, this leads to the recipient seeing two copies of the post: one from the unfurled link and one from Ice Cubes including the post text.
Users will now have the option to exclude the post text from their sharing.
This is easier than tapping the 3-dots button on the post (which is kind of small) and then expanding the Share menu in the context menu, which is the other way to access this functionality at the
moment.

The default value for the new option will be "Link and Text", which is the current behavior - so we won't change the behavior on existing users.

* Add new strings to other language localizations
2023-06-26 11:45:14 +02:00
sh95014
eb2222cc11
Update zh_Hant localization (#1427)
* checkpoint

* checkpoint

* plurals and a couple of minor fixes

* Update Localizable.strings

* Update Localizable.strings

* Update zh-Hant localizations

* improve translation of "by" in "filtered by"

* update zh-Hant localization
2023-06-26 11:44:54 +02:00
Thomas Ricouard
a740fe8ca8 Streaming: exponential backoff on reconnect #1438 2023-06-23 07:38:21 +02:00
Thomas Ricouard
831ff08082 Streaming: Send message as UTF8 + token in subprotocols fix #1438 2023-06-23 07:33:10 +02:00
Raphael Monteiro
9e01e6b0f6
Improve Brazilian Portuguese (pt-BR) localization (#1420) 2023-06-05 13:16:16 +02:00
Thomas Ricouard
8eb9daac3e Fix ISO 639 languages 2023-04-25 15:39:17 +02:00
Thomas Ricouard
1870b80f4a Fix AI Prompts 2023-04-18 13:04:05 +02:00
Thomas Ricouard
2bb910aca5 Bump to 1.6.16 2023-04-17 11:09:59 +02:00
sh95014
5659961036
Update zh-Hant localization (#1381)
* checkpoint

* checkpoint

* plurals and a couple of minor fixes

* Update Localizable.strings

* Update Localizable.strings

* Update zh-Hant localizations
2023-04-15 12:27:54 +02:00
Peter-Josef Meisch
fd074f4ca3
Fix broken localization file (#1380) 2023-04-15 12:27:42 +02:00
Yusuke Arakawa
ec854cad9e
Update Localizable.strings (#1368) 2023-04-12 18:58:13 +02:00
Xabi
3f3129afc1
Update EU localisation (#1367)
New:
- accessibility.status.media-viewer-action.label
2023-04-12 18:58:06 +02:00
Thomas Ricouard
9897307c79 Better safeguard around timeline refresh 2023-04-09 15:11:02 +02:00
Thomas Ricouard
b48e921699 Bump to 1.6.15 2023-04-09 06:42:54 +02:00
Paul Schuetz
7e5c4ed92a
Show verified URLs in account lists (#1364)
* Show verified URLs in account lists

This allows the user to quickly assess which account of multiple is the official
one, especially when searching for a person with multiple search results.
Fixes #1361

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Replace the verified urls text with a checkmark

This makes it easy for the user to directly see why the urls are listed.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Swiftformat

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-04-08 13:31:43 +02:00
Yusuke Arakawa
67d5c9648f
Update Localizable.strings (#1363) 2023-04-07 18:14:11 +02:00
Valeriy Van
57c42869a7
Fix URL to icon in README.md (#1366) 2023-04-07 18:14:02 +02:00
Vitaly Kovalyshyn
6d6d2c5d08
update ukrainian Localization (#1365)
* update ukrainian Localization

* Fixed incorrect translation
2023-04-07 18:13:54 +02:00
Roberto Pastor
852bc3c1af
Updated spanish translation (#1362)
Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
2023-04-06 10:57:00 +02:00
Chanhwi Joo
95469bcc9a
Update Korean localization (#1360) 2023-04-06 10:56:53 +02:00
Andrzej Rózga
57634652df
Polish localization update (#1358) 2023-04-06 10:56:46 +02:00
Ico Davids
b9a66552ec
Updated NL localization (#1356)
- 'take photo' in status editor
- translations for untranslated accessibility strings
2023-04-06 10:56:39 +02:00
Cthulhux
4619e73e56
updated de.. (#1357)
* de: updated translation

Fixed 1 typo, translated a couple of remaining strings

* Update Localizable.strings

+1 string
2023-04-06 10:56:30 +02:00
Jerry
dc0f72c742
Update Simplified Chinese localization (#1351)
* Update Simplified Chinese localization

Simplified Chinese localization for Accessibility

* Update Simplified Chinese translation

"accessibility.status.media-viewer-action.label" = "打开媒体查看器"
2023-04-06 10:56:23 +02:00
Chris Kolbu
7391c12644
Accessibility fix for Timeline StatusRowView and Status detail (#1355)
* Add StatusRowView accessibility action to open media attachment viewer

Previously, there would be no way to open QuickLook from the timeline.

Now, we add a custom accessibility action to do this.

* Work around initial accessibility focus bug in StatusDetailView

Previously, (due to identity issues?) the focus would be set on the header view. However, moving to the next element in the focus order. would skip over a random number of elements, depending on the context of the detail view.

Now, we manually set the focus once, allowing the focus order to work as intended.

* Respect filters in Timeline combined accessibility label

* Add explicit action to show filtered warnings from `filterView`

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-04-04 08:12:25 +02:00
Ico Davids
4351cec117
Translated accessibility strings for toggles (#1350) 2023-04-04 08:04:07 +02:00
Xabi
0c7adca0cf
Update EU localisation (#1353)
New:
- status.editor.camera-picker
- filter.expired
- filter.expiry-%@
- accessibility.general.toggle.on
- accessibility.general.toggle.off
- accessibility.status.poll.option-prefix-%lld-of-%lld
- accessibility.status.poll.active.label
- accessibility.status.poll.finished.label
- accessibility.status.poll.selected.label
- accessibility.media.supported-type.image.label
- accessibility.media.supported-type.gifv.label
- accessibility.media.supported-type.video.label
- accessibility.media.supported-type.audio.label
- accessibility.status.contains-media.label-%@
- accessibility.status.application.label

Improved:
- account.favorited-by
- account.follow-requests.pending-requests
- account.follow-requests.instructions
- notifications.label.favorite.push

'account.follow-requests.instructions' has been changed to: "*The users above*…" instead of "*Those users*…"
2023-04-04 08:03:58 +02:00
Thomas Ricouard
2601764b28 Poll: Support hidden votesCount close #1354 2023-04-04 08:03:33 +02:00
Thomas Ricouard
ab5c6643b3 Fix a crash when deleting an uploading image 2023-04-04 07:51:46 +02:00
Thomas Ricouard
573497ed52 Disable take photo option on macOS 2023-04-04 07:44:29 +02:00
Thomas Ricouard
9ba18a8ca3 Fix camera photo upload 2023-04-03 14:48:32 +02:00
Thomas Ricouard
477dd520b9 Editor: Add Take Photo option close #1339 2023-04-03 13:54:16 +02:00
Thomas Ricouard
ab51d57648 Cleanup debounce 2023-04-03 13:53:41 +02:00
Thomas Ricouard
14e91a680e Bump to 1.6.14 2023-04-03 13:53:29 +02:00
Chris Kolbu
f728ea652e
Accessibility bug fixes (#1348)
* Fix bug affecting accessibillityRepresentation of type Toggle

Previously, the action on the button would not get executed. This is a SwiftUI bug, as views passed into `accessibilityRepresentation` should not have any behaviour.

Now, we set an equivalent `accessibilityValue` on|off to emulate the same functionality.

* Remove conditional ViewModifier in favour of inlined modifier

Since this view is part of the `StatusRowView` it’s better to err on the side of less branching with ModifiedContent<>

* Avoid combining StatusRowMediaPreviewView accessibility children

By combining the elements, the end result was that the intended action (opening QuickLook) was swallowed in favour of displaying the alt text alert of images.
2023-04-03 11:14:44 +02:00
Chris Kolbu
db81486f14
Restore HTMLString link parsing (#1347) 2023-04-01 15:47:12 +02:00
Yusuke Arakawa
00ee8c2373
Update Localizable.strings (#1346) 2023-04-01 15:47:00 +02:00
Yusuke Arakawa
6af794dc72
Update Localizable.strings (#1343) 2023-03-31 15:34:37 +02:00
Paul Schuetz
59b16d86a7
Fix the lag of the display setting sliders (#1342) close #1341
* Fix the lag of the display setting sliders

The sliders in the display settings were laggy because changing the value in the
theme class needs comparatively much time. This writing to the class is now
only done when the user lets go of the slider, so sliding it is responsive. I
was unable to make writing to the class more responsive, the example post needs
therefore a short time before it accepts the new values. Furthermore, all
AppStorage keys are now realized with a ThemeKey to clean the class up.
Fixes #1341

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Remove unnecessary changes to theme

The changing of theme keys is unnecessary for the fix oft the lag, so it's
removed.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

* Rework fix to be more similar to other lag fixes

The fix now uses the ...LocalValues class, which published updates only every
half a second.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-03-31 15:34:24 +02:00
Thomas Ricouard
d3e71cea74 Fix screenshots sharing on iOS 16.4 2023-03-31 14:52:39 +02:00
Thomas Ricouard
eb3cbfe6f6 Bump to 1.6.13 2023-03-31 09:08:59 +02:00
Thomas Ricouard
d3888d8c40 Accessibility: Disable links parsing for now 2023-03-30 16:29:44 +02:00
Thomas Ricouard
dda6ee8f8f Bump to 1.6.12 2023-03-30 08:47:55 +02:00
Andrzej Rózga
501af24cf5
Polish localization update (#1328) 2023-03-30 08:04:28 +02:00
Jerry
1f5960b257
Update Simplified Chinese localization (#1330)
* Line Spacing Chinese localization

* Filter Settings Chinese localization

* Accessibility Chinese localization
2023-03-30 08:04:19 +02:00
Yusuke Arakawa
6c304df78f
Update Localizable.strings (#1333) 2023-03-30 08:04:12 +02:00
Chanhwi Joo
c390a2ee10
Update Korean localization (#1335)
* Remove unnecessary comments

* Translate VoiceOver strings

* Read poll options better
2023-03-30 08:04:04 +02:00