Commit graph

527 commits

Author SHA1 Message Date
Paul Schuetz d00b66034d
Show the translate-with-DeepL button if necessary (#1248)
Previously, the button was shown if the always use DeepL setting was active.
This is redundant. Instead, the button is now shown, if the setting isn't
active.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-03-16 07:09:34 +01:00
Thomas Ricouard 3e88d89de3 Status detail: Handle status update 2023-03-15 14:55:45 +01:00
Thomas Ricouard 6e47f9410d Open links in Safari if remote status loading fails 2023-03-15 08:25:23 +01:00
Yusuke Arakawa 7f96d97d7c
Changed so that pictograms can be entered continuously (#1246) 2023-03-14 18:53:16 +01:00
Paul Schuetz baf853f46e
Add the ability to translate using deepl even if the instance offers its own service (#1237)
* Allow forced translation with DeepL

Translation with DeepL can now be forced either per post or on the system level.

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

* Require the use of a private API key

A private API key of the user is now required to allow "always translate via
DeepL".

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

* Persist a stored API key

An API key is stored even if useOnlyDeepL is disabled. If the API key is empty,
the setting is still disabled.

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

* Localize the texts

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

* Save API key while writing

The API key is now saved, even if the app is closed before leaving the
translation settings view.

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

* Fix build

* Fix theme

* Transition to KeychainSwift, clean up

KeychainHelper is replaced with the already-used KeychainSwift package, the
functions are cleaned up so that the process is easier to understand. The
deactivateToggleIfNoKey function doesn't change the behavior of the buttons or
context menus in the timeline, only demonstrates the necessity of an API key to
the user. Consequently, it's only called when the settings view is shown.

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

* Swiftformat + fixes

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-14 18:50:19 +01:00
Thomas Ricouard 4f6f98271a Fix #1236 2023-03-13 18:47:24 +01:00
Thomas Ricouard 6c307aba63 SwiftFormat 2023-03-13 13:38:28 +01:00
Thomas Ricouard 8b4f6dbd05 Fix image max size in app extension 2023-03-12 11:43:15 +01:00
Thomas Ricouard 6f484fa6c5 Status row: fix navigating to account from remote timeline 2023-03-12 08:04:20 +01:00
Thomas Ricouard 0132e51509 Add more path to compressor image 2023-03-11 13:42:07 +01:00
Thomas Ricouard f172d6d4a6 Rework image compression / upload 2023-03-11 13:38:08 +01:00
Thomas Ricouard 9057740162 Add upload from file browsing + better compression for images 2023-03-10 18:22:45 +01:00
Thomas Ricouard b9793057e0 Bigger font for focused status 2023-03-09 20:27:03 +01:00
Thomas Ricouard 93d9ded447 Switch to new Chat completion API + Add Tags completion 2023-03-09 13:46:04 +01:00
Thomas Ricouard 5c69aa64bc Re upload medias when account is changed in the share sheet 2023-03-08 19:02:23 +01:00
Thomas Ricouard 4c7d0f3386 Play sound effects before the server action for status 2023-03-08 19:02:12 +01:00
Paul Schuetz 156279faac
Remove unnecessary dictionary in favor of tuple (#1192)
The dictionary for the detected and selected language when posting is replaced
with a named tuple to include named values that are checked at compile time.
This removes a source of error while still being expressive.

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-03-07 18:24:12 +01:00
Ico Davids b3919702e0
Outlined icons in status editor (#1194) 2023-03-07 18:23:38 +01:00
Thomas Ricouard 58957c779a Align reblog / reply view in leading mode Fix #1186 2023-03-07 07:10:57 +01:00
Yusuke Arakawa 62fd7bae12
Fix spoiler image content alignment (#1177)
Fixed an issue where the alignment of the spoiler button and the spoiler image is split left and right when the image size is set to compact.

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-03-07 07:05:20 +01:00
David Walter 2ac615b0ba
Fix CustomEmoji Baseline Offset (#1188) 2023-03-06 15:21:26 +01:00
Sami Samhuri 796f451f3a
Fix poll percentage wrapping with larger font sizes (#1182) 2023-03-06 07:07:59 +01:00
Andrzej Rózga b0ee77caed
Polish localization (#1174)
* Fixed problem with with the translation of "mentions" in plural form
- Localizable.stringsdict needs a digit (not string) to make a choice of a correct plural form.
- fixed StatusEditorAutoCompleteView
- changed %@ format specifier in Localizable.strings with %lld

* Polish localization update

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-06 07:07:35 +01:00
Keita Watanabe 1989ee1b0b
Fix String interpolation warnings (#1172) 2023-03-05 07:25:52 +01:00
Thomas Ricouard 1466d9690a Suggestion: cancel previous task 2023-03-04 09:55:17 +01:00
Thomas Ricouard 761c8ed3be Composer: Sort suggested tags by usage + display it 2023-03-04 09:50:13 +01:00
Thomas Ricouard f00f843a77 Improve padding in card link 2023-03-04 07:53:42 +01:00
Thomas Ricouard b6b3c30931 Fix rendering of the rocket ship 2023-03-04 07:13:38 +01:00
Thomas Ricouard df4a76f9d1 StatusDataControllerProvider: Update all statuses in detail view fetch 2023-03-03 19:29:31 +01:00
Thomas Ricouard e3d00d2b3e Composer: Don't allow description until the image is finished processing 2023-03-03 18:47:25 +01:00
Thomas Ricouard 42c444fb03 Cleanup / fixes 2023-03-03 12:41:38 +01:00
Thomas Ricouard 82179e5f6f Fix notification text color 2023-03-03 09:20:17 +01:00
Peter-Josef Meisch db5d0b9274
Display and edit filter expirations (#1141) 2023-03-03 08:15:34 +01:00
Thomas Ricouard eea6d93dd5 Add customization of text color close #385 2023-03-03 08:12:01 +01:00
Thomas Ricouard 1ea8af4445 Fix #1096 2023-03-03 07:12:02 +01:00
Thomas Ricouard df80321433 StatusRow: Remove client env object 2023-03-02 21:16:03 +01:00
Thomas Ricouard 37ed178c3f Various fixes + fix Explore navigation 2023-03-02 20:15:07 +01:00
Thomas Ricouard 15b7954705 StatusRowViewModel: Cleanup 2023-03-02 06:56:25 +01:00
Thomas Ricouard a9e935016f StatusDataController: update to fresh statuses data on user profile 2023-03-01 19:27:56 +01:00
Thomas Ricouard 43a4551d9b StatusRow: Flatify the hierarchy to work around iOS 16.4 issues 2023-03-01 17:34:03 +01:00
Thomas Ricouard 87ef2f2a39 Composer lang: Use reply / quote lang and latest recently used language as default 2023-03-01 07:44:37 +01:00
Thomas Ricouard d2c58482f0 StatusDataController: Handle remote status 2023-03-01 07:28:46 +01:00
Thomas Ricouard 963cef02a1 Add sent toot sound effect 2023-03-01 07:04:07 +01:00
Thomas Ricouard 147ba5a179 Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-03-01 07:03:15 +01:00
Thomas Ricouard 05da36c27a StatusDataController: Properly fix update cycle 2023-03-01 07:03:09 +01:00
Gareth Simpson bd1593a107
Record quote toots that have failed to load so that we don't try and load them again. (#1119)
* Record quote toots that have failed to load so that we don't try and load them again.

Fixes
1: Repeated visible insertion and removal of placeholder quote toot.
2: Link hijacking of inline status viewer allowing links to be followed as regular URLs

* Move set

* Add back to routeur check

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-03-01 06:46:55 +01:00
Mike Cohen 8621d71cb1
Update ReblogCache.swift (#1121)
Increase cache size to 300, since 100 was too small and I was still seeing many duplicate boosts.
2023-03-01 06:30:54 +01:00
Yusuke Arakawa ddebf87080
A cancel button has been placed on the custom pictogram selection screen on the post screen (#1101)
Currently, the post screen has a cancel button only on the screen for selecting drafts, so we placed a cancel button for consistency and UX improvement.
Related: #1073

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-28 21:11:32 +01:00
Thomas Ricouard 9ad9b2d93a Fix status data controller 2023-02-28 21:11:06 +01:00
Thomas Ricouard a3e2d3f8b3 Add sound effects 2023-02-28 18:55:08 +01:00
Gareth Simpson 9ebe0b314c
Change arrows icon to rocket for boosts (#1099)
* Change arrows icon to rocket for boosts

* Fixing case (part 1)

* Fixing Case (part 2)

* Clean up after merge

* Fix for disabled boost

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-28 14:53:31 +01:00
Thomas Ricouard adf8d004f7 Update status on fetching detail 2023-02-28 14:16:16 +01:00
Thomas Ricouard 23fe7d3373 Media: Cleanup unused context menu 2023-02-28 08:09:13 +01:00
Thomas Ricouard f93e4063f2 Consistent favorites / boosts / bookmark state / count for statuses + refactor close #889 2023-02-28 06:58:52 +01:00
Thomas Ricouard 6dcce79379 Fix swipe actions not updating 2023-02-27 13:09:50 +01:00
Jim Dovey d1209e6704
Updated to resolve all possible Sendability warnings from Swift 6 compatibility mode. (#1072)
Co-authored-by: Jim Dovey <jimdovey@apple.com>
2023-02-27 06:39:07 +01:00
Peter-Josef Meisch 4d28e2348e
Change icon for locked profile (#1065) 2023-02-26 17:33:16 +01:00
Peter-Josef Meisch 3a144b7792
collapse long posts (#1037) close #914
* collapse long posts

* initialize user pref setting in init(), remove onAppear and onChange(pref) from view

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-26 17:32:09 +01:00
Thomas Ricouard 9d47427769 Fix notifications status images on iPad 2023-02-26 09:54:34 +01:00
Thomas Ricouard 347335f770 Move userMentioned outside of Status 2023-02-26 09:38:26 +01:00
Thomas Ricouard 83e4e74329 Swiftformat 2023-02-26 06:45:57 +01:00
Yusuke Arakawa f1db2f716d
Adjusted how to hide the voting screen (#1054)
Like other submission item selection screens, the voting screen can now be shown/hidden with a button toggle.

Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-25 18:28:27 +01:00
Thomas Ricouard b036e90ce4 Simplify Timeline refresh 2023-02-25 10:10:27 +01:00
Thomas Ricouard abb1c53ae6 Various fixes 2023-02-24 17:16:39 +01:00
Thomas Ricouard 8e72430b4f Revert the isThread behaviour 2023-02-24 13:25:40 +01:00
Thomas Ricouard 29aaa7c5cb Optimisations: Autoclosure for StatusRowViewModel 2023-02-24 13:25:21 +01:00
Thomas Ricouard 63ff87f640 Move languages into Models 2023-02-24 08:24:51 +01:00
Thomas Ricouard 3cc589851f Composer: Scale down image that are too big for upload 2023-02-23 21:21:21 +01:00
Thomas Ricouard aad3e27748 Composer: Normalize error UI for media upload 2023-02-23 19:53:16 +01:00
Thomas Ricouard 3f17afa8ac Accounts: Replace lock / robot emojis with SF Symbols 2023-02-23 18:57:48 +01:00
Thomas Ricouard 0db7ea897a Show thread icons whenever there is reply 2023-02-23 09:02:12 +01:00
Thomas Ricouard 1ac9d8a6f8 Don't fetch status accounts when already fetched 2023-02-23 07:32:00 +01:00
Thomas Ricouard ead649125e Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-02-23 07:23:22 +01:00
Thomas Ricouard f93f0f0974 Quote statuses: Added cache + faster 2023-02-23 07:23:18 +01:00
David Walter a0e37273a4
Fix scaling of custom emoji (#1020) 2023-02-22 22:13:46 +01:00
Ico Davids e4b880dfe5
Make primary action bold: (#1021) 2023-02-22 22:12:10 +01:00
Thomas Ricouard a4910037b8 Swiftformat . 2023-02-22 19:09:39 +01:00
Paul Schuetz 4af78478ba
Don't show the source-language before translating (#1008)
* Clear up the translate-button

The Translate button on the post and in the context menu now does not show the
source language to avoid user confusion if the language set by the poster is
not the actual language of the post. This language is now only used to decide
whether to display the button in the main view. The Translate button in the
context menu is independent.

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

* Show the translation-source-language

The source-language of a translation is now shown.

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

* Remove unused strings

The now unused translate-from-strings are removed.

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

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-22 19:03:05 +01:00
Peter-Josef Meisch fc63830b27
Add lock icon to protected account (#1011)
Closes #915
2023-02-22 19:00:39 +01:00
Daniel Dickison bdf5d3c783
Always show buttons on focus status (#1015)
I think it's helpful to have the buttons and their numeric badges visible when showing a status detail view for the focused status, even if the user has opted to hide them in timeline display settings.

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-22 19:00:29 +01:00
Pascal Batty f1a1905098
Fix action button counter glitch in most scenarios (#1009)
Adds monospacedDigit modifier to the counter next to action button counter labels. This fixes the layout glitch that happens when the counter changes, most noticeably when you tap the boost or favorite button except for when the counter gains or loses a digit (9 -> 10, 99 -> 100 etc…)
Still greatly improves the actions view experience though.

Co-authored-by: Pascal Batty <pascal@zen.ly>
2023-02-22 18:56:49 +01:00
Thomas Ricouard 4b40678931 Add a new context menu action to copy link 2023-02-22 18:49:32 +01:00
Thomas Ricouard c8c7f2d29d Don't include post actions button in capture mode 2023-02-22 18:49:17 +01:00
Thomas Ricouard 2828550531 Support medium display mode for card view 2023-02-22 18:49:00 +01:00
Chanhwi Joo 40386d6312
Make boost swipe buttons consistent with ones from inline & context menu (#999)
* Show different label and icon for boosting my followers-only post

* Disable boost swipe actions on posts that can't be boosted

* Remove unnecessary function calls
2023-02-22 12:49:36 +01:00
Pascal Batty 50b8c93787
Add flair to status action buttons (#1005)
* Add flair to status action buttons

- makes tintColor viewModel independent in Action
- adds isOn function to Action
- moves actionButton to its own function for clarity (and help compilo)
- moves the counter outside the button
- creates StatusActionButtonStyle that defines how an action button behaves when tapped and toggled
- adds nested SparklesView that animates sparkles when the action button is tapped

Sidenote : couldn't get the "bouncy" scale effect I wanted. It wouldn't work on an iOS device, but did on the simulator.

* Fix private boost action icon regression

---------

Co-authored-by: Pascal Batty <pascal@zen.ly>
2023-02-22 12:48:51 +01:00
Thomas Ricouard 5ca0180c4c Show full username for leading avatar position 2023-02-22 07:31:14 +01:00
Thomas Ricouard 4576507225 Added a new Medium media style 2023-02-22 07:26:32 +01:00
Alex Grebenyuk 37a69650ef
Remove capture mode for images (#996)
* Remove capture mode for images

* Simplify how processor is created in StatusRowMediaPreviewView

* Optimize StatusViewId further
2023-02-22 07:09:56 +01:00
Thomas Durand 2c174ab72e
Fixed compact layout for video tip when video autoplay is disabled (#989) 2023-02-22 07:06:01 +01:00
Julian Kahnert 0011b25a1c
fixes 965 (#991) 2023-02-22 07:04:02 +01:00
Thomas Ricouard ed9b2a37a7 Fixes for composer and DM 2023-02-21 19:38:35 +01:00
Louis Lac bf49a4558c
Singularize enum type names (#978) 2023-02-21 18:52:30 +01:00
Thomas Ricouard 255af8c482 Composer: Better ALT editing UI 2023-02-21 18:50:56 +01:00
Thomas Ricouard 263ecbb715 Composer: Fix swipe to dismiss 2023-02-21 18:50:45 +01:00
Thomas Ricouard e758df04a8 Bigger secondary column width 2023-02-21 18:46:28 +01:00
Thomas Ricouard 7a997ebd8a Make secondary column available on any size + add a toggle + faster macOS window resize 2023-02-21 13:37:31 +01:00
Thomas Ricouard 533558eb81 Fix a localization + make the ... menu zone bigger 2023-02-21 08:09:27 +01:00
Thomas Ricouard b259b6739e Swiftformat 2023-02-21 07:23:42 +01:00
Peter-Josef Meisch 6aeb25885c
Fix display of multiple vote polls (#967)
Closes #952
2023-02-21 07:05:21 +01:00
Chanhwi Joo f04c15b8fe
Fix status actions on boosting posts (#974)
* Fix context menus for boosts

* Allow my boost of my followers-only post

* Disable boost context menu on posts can't be boosted and show different string for boosting my own private post

* Localizations

* CR

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-21 06:59:47 +01:00
Thomas Ricouard 88173adc9e Add indicator for bots accounts 2023-02-20 18:15:45 +01:00
Thomas Ricouard e7fffa07d4 Fix theme not being applied live on status row close #961 2023-02-20 13:00:50 +01:00
Thomas Ricouard aa63dd5ab7 Fix threading UI 2023-02-19 20:56:56 +01:00
Thomas Ricouard 052586022d Fix post header 2023-02-19 20:56:50 +01:00
Thomas Ricouard a74f292696 Show post header thread icon more consistently 2023-02-19 20:12:31 +01:00
Thomas Ricouard b64b21be20 Further improvement to the post header 2023-02-19 19:57:17 +01:00
Thomas Ricouard ed583a937d Better header spacing 2023-02-19 19:51:37 +01:00
Thomas Ricouard 0d6eff391b Reworked post header view + add option to hide server name from username 2023-02-19 19:16:39 +01:00
Thomas Ricouard e48260f309 More tweak to capture mode 2023-02-19 16:03:27 +01:00
Thomas Ricouard a965386a1e Fix threading UI 2023-02-19 15:44:09 +01:00
Thomas Ricouard ccc504fc6f Share post as image close #885 2023-02-19 15:29:07 +01:00
Thomas Durand dd2ebe5506
Added a tip that it's a video, and not an image when autoplay is off (#939)
* Added a tip that it's a video, and not an image when autoplay is off

* Centered - bigger version of the video tip
2023-02-19 11:44:18 +01:00
Alex Grebenyuk 03d60d2236
Update Nuke (#940) 2023-02-19 07:25:57 +01:00
Alex Grebenyuk a8459638e9
Add image prefetch to the timeline + resize close #931 (#930)
* Add image prefectch to the timeline

* Use preview url for post with multiple attachements

* Add image resize

* Prefetch link cards

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-18 18:44:43 +01:00
Thomas Ricouard b1424aadd0 Fix two crashes 2023-02-18 17:08:32 +01:00
Thomas Ricouard 9281e72e8c Fix status context menu mention for boost 2023-02-18 08:02:50 +01:00
Thomas Ricouard ca4e80101f Swiftformat 2023-02-18 07:26:48 +01:00
Alex Grebenyuk 425a4eef4f
Update to Nuke 12 (Beta 1) (#924)
* Install Nuke from nuke-12 branch

* Fixes

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-18 07:25:10 +01:00
Thomas Ricouard 88fdeec100 Fix link preview image size 2023-02-17 19:11:09 +01:00
Thomas Ricouard c02cbde72e Fix translate button on boost 2023-02-17 19:11:01 +01:00
Thomas Ricouard f09781582f Various optimizations to views & images rendering 2023-02-17 18:17:51 +01:00
Thomas Ricouard 881816730c Composer: Disable in app account switching 2023-02-17 14:02:05 +01:00
Thomas Ricouard a3744525df StatusRow: Split into proper view struct 2023-02-17 13:30:56 +01:00
Thomas Ricouard b7e7ee0736 Composer: Fix account switcher in share sheet 2023-02-17 13:30:45 +01:00
Thomas Ricouard 59d8346bc8 Composer: Fix sharing an UIImage directly 2023-02-17 08:33:56 +01:00
Thomas Ricouard ea702e1101 Composer: Fix to account switcher + display full acct name close #906 2023-02-17 08:09:26 +01:00
Thomas Ricouard c3ae101df2 More fix to detail screen 2023-02-16 21:06:45 +01:00
Thomas Ricouard 4304977924 Fix status detail 2023-02-16 18:46:25 +01:00
Thomas Ricouard ac32410200 Proper threading UI 2023-02-16 17:07:52 +01:00
Thomas Ricouard ef7d75d3d5 Fix requestReview crash on macOS 2023-02-16 13:22:04 +01:00
Thomas Ricouard f1919305ab Show threading / reply to UI in post detail 2023-02-16 12:15:13 +01:00
Thomas Ricouard ab0b207596 Request store rating when publishing a post 2023-02-16 12:14:57 +01:00
Thomas Ricouard 41fdb3adde Various timeline fixes for smoother scrolling 2023-02-16 08:52:11 +01:00
Thomas Ricouard ba7b76f5a1 Various optimizations for StatusRow 2023-02-15 19:27:26 +01:00
Thomas Ricouard c40ca6eb4d Fix filtered / hidden view for status 2023-02-15 19:10:34 +01:00
Thomas Ricouard d958d10036 Remove Client and RouterPath from StatusRowView env object 2023-02-15 08:46:14 +01:00
Yusuke Arakawa c09543b9de
Fix an empty dialog would appear if the selected language was empty (#873)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-15 08:20:45 +01:00
Thomas Ricouard 0526c1025f Fix pasting screenshot close #864 2023-02-15 06:49:53 +01:00
Thomas Ricouard b707749558 Composer: Remove unavailable features when editing close #868 2023-02-15 06:44:51 +01:00
Thomas Ricouard c4b9e74bcd Escape characters when editing close #811 2023-02-15 06:41:28 +01:00
Yusuke Arakawa 1b47419458
Ignore the report button on my post (#856)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-02-15 06:35:11 +01:00
Peter-Josef Meisch fc21a3721a
Add setting to disable display of alt texts for media (#854) 2023-02-14 22:13:48 +01:00
Thomas Ricouard 1f14311c2c Better sharing for status and account close #837 2023-02-14 07:26:57 +01:00
Chanhwi Joo af61ff7914
Improve swipe actions (#825)
* Remove icons from settings

* Add new toggle for using the theme tint

* Localizations

* Add icon style picker

* Localizations

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-14 07:01:55 +01:00
Thomas Ricouard 50f6f1b007 Report status 2023-02-13 21:12:18 +01:00
Ico Davids 853d70f12a
Use previously unused LocalizedStringKey in language selector (#833) 2023-02-13 18:13:33 +01:00
Thomas Ricouard 9867faa6de Show inline actions for remote local timeline + fetch remote status 2023-02-13 06:48:29 +01:00
Thomas Ricouard ef37db496c Swiftformat 2023-02-12 18:24:09 +01:00
Paul Schuetz cd3c50e151
Automatically detect language of posts, improve language detection when posting (#800)
* Use language detection to translate posts

The source language of a post is now determined via Apples internal language
detection, translation from the transmitted language is still possible.

* Make language detection posting more accessible

Language recognition is now always applied before posting, even if the user has
explicitly selected a different language. However, the user is always asked in
which of the two languages he wants to post.

* Add localizations

* Remove language detection in the timeline for now

The language detection in the timeline is for now removed to increase
timeline-performance.

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

* Show translate button even if no language is sent

The translate-button is shown even if no language is sent with the post.

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

* Adjust to new commits on main

Adjustments are made in regards to new developments on main.

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

---------

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-12 18:23:29 +01:00