Commit graph

398 commits

Author SHA1 Message Date
Thomas Ricouard
6297a428a3
Full Xcode 16 supports + iOS 18 support (#2100)
* Compile on iOS 18

* Fix more warnings

* Tweak build settings

* Migrate to Swift Tests

* better tests

* Fix

* Fix tests

* More TabView cleanup

Bump to iOS 18 only + remove custom sidebar

* Revert "More TabView cleanup"

This reverts commit e051437fcb.

* Tabbar fix + bump to iOS 18

* Remove popToRoot

* Cleanup scrollToTop

* Support both TapBar

* Better TabView support

* Better TabView support

* Cleanup

* Disable TabView animations

* Remove id in ForEach

* Remove external init for StatusRowView

* Cleanup

* More Swift 6 concurrency

* Swift 6 mode

* Fixes

* Full Swift 6 packages support

* For now compile env in Swift 5 mode

* Fix archive

* More fix to Archive

* Address `dispatch_assert_queue_fail` (#2161)

See https://twitter.com/dimillian/status/1823089444397724003?s=61&t=SC3rvyJQWn1NQqAgMVrT0Q

* Bump Env to Swift 6

* Fix push notification

* Remove unecessary workaround

* Cleanup

* Move to @Entry

* Fix TabView on Catalyst

* Fix build

* Fix build 2

* fix warning

* Fix icons for iOS 18

---------

Co-authored-by: NachoSoto <NachoSoto@users.noreply.github.com>
2024-09-10 06:53:19 +02:00
Thomas Ricouard
199749b809 Bump version to 1.10.51 2024-08-30 11:48:14 +02:00
Thomas Ricouard
dfbbb84e9d Bump version to 1.10.50 2024-08-15 21:37:37 +02:00
Thomas Ricouard
8c6d2bee7f Add Wishlist Kit 2024-08-15 09:23:07 +02:00
Thomas Ricouard
824b2de23f Bump version to 1.10.49 2024-08-14 21:21:06 +02:00
Thomas Ricouard
1ad4a245f3
Add support for sub.club support (#2162)
* Account tipping

* Tryout full flow

* Add link params

* WIP

* Progress flow

* Fixes

* More progress

* Refresh user profile on notification

* Tweaks

* Fix follow button not refreshing

* Refactor proxy url

* Code cleanup

* Subscribe to a premium account from a standard linked account

* Premium posts tab on linked standard account

* Fix flow

* New domain

* Fix flow

* More fixes to follow flow

* Update so to sub.club

* Add colorScheme in URL

* rollback domain

* Back to sub.club

* Use SubClub API for Subscription info

* Fix

* Merge

* Merge branch 'iOS-18' + fixes
2024-08-14 20:07:43 +02:00
Thomas Ricouard
9d11814e49 Add TelemetryDeck 2024-08-14 17:23:10 +02:00
Thomas Ricouard
456d85eda2 New alternative icon settings 2024-08-14 17:22:27 +02:00
Thomas Ricouard
4158f7c959 Bump version to 1.10.48 2024-08-14 08:47:57 +02:00
Thomas Ricouard
2a3da72239 Update purchase ios 2024-08-01 08:56:34 +02:00
Thomas Ricouard
9fa19aa132 Add media grid on user profile 2024-07-31 18:44:29 +02:00
Thomas Ricouard
719c023369 Bump version to 1.10.47 2024-07-31 11:02:02 +02:00
Thomas Ricouard
339e2ab1c3 new community icons 2024-07-20 21:32:20 +02:00
Thomas Ricouard
f18f3e0e84 Bump version to 1.10.46 2024-07-20 19:14:31 +02:00
Thomas Ricouard
b98a90ced6 Bump version to 1.10.45 2024-07-03 09:22:49 +02:00
Thomas Ricouard
59a333cc20 Bump version to 1.10.44 2024-06-26 14:47:35 +02:00
Thomas Ricouard
5960014da9 Fix warnings 2024-06-26 11:05:35 +02:00
Thomas Ricouard
2b8bc2ecd3 Pin EmojiText + NukeUI 2024-06-24 16:01:20 +02:00
Thomas Ricouard
513c686b64 Back to main Bodega 2024-06-24 09:01:45 +02:00
Thomas Ricouard
8e86e6d205 Back to main Introspect 2024-06-18 08:28:19 +02:00
Thomas Ricouard
283e537c44 Bump version to 1.10.43 2024-06-12 21:24:55 +02:00
Thomas Ricouard
02d73de113 Fix iOS 18 build + performances 2024-06-12 20:37:43 +02:00
Thomas Ricouard
520315d50f Update packages 2024-06-08 18:21:33 +02:00
Thomas Ricouard
8cca261e43 Bump version to 1.10.42 2024-06-01 13:54:44 +02:00
Thomas Ricouard
f40aeb9cac Add followers count widget 2024-05-17 14:22:00 +02:00
Thomas Ricouard
04af087c4b Bump version to 1.10.41 2024-05-16 07:05:17 +02:00
Thomas Ricouard
13d721912b Add lists widget 2024-05-15 09:27:35 +02:00
Thomas Ricouard
6ed760a775 Bump version to 1.10.40 2024-05-13 20:20:24 +02:00
Thomas Ricouard
ecd149b3d2 Fix a crash in quote post editor on macOS 2024-05-13 19:26:48 +02:00
Paul Schuetz
48faddebea
Implement Apple Translate (#2065)
* Implement a first version of Apple's Translation

The user can now choose between his instance's server, DeepL (with API
key) and Apple's Translation framework. A translation is cleared if
the translation type is changed. The strings aren't yet written, but
the translations settings view's inconsistent background is now fixed.

* Transfer the old "always_use_deepl" setting

The "always_use_deepl"-setting is now deleted, but its content is
transferred to the equivalent value in "preferred_translation_type".

* Show the user if the DeepL-API key is still stored

The user is now shown a prompt if they've switched away from
.useDeepl, but there's still an API key stored. The API key is not
deleted if the user doesn't instruct the app to do so, so this change
makes it more transparent, since a user might not expect the key to
be stored and might not want this to be the case.

* Localize Labels

The labels for the buttons and options are now localized. "DeepL API Key" is written consistently (with uppercase Key)

* Run all the strings through localization

The strings "DeepL" and "Apple Translate" are now also saved in
localizable.strings and addressed through keys. They were taken
directly previously, which was inconsistent.

* Fix storage

The selected value for preferredTranslationType wasn't stored, the
synchronization between UserPreferences and Storage is now in place.

* Hide Apple Translate if not yet on iOS 17.4

The Apple Translate option is hidden if the user hasn't updated their
phone to at least iOS 17.4. If the Apple Translate option is selected
but the user has downgraded to before iOS 17.4, the standard instance
option is selected.

* Consistently show Apple Translate

Apple Translate was previously only shown if the standard translate
button was visible, that is now fixed. It's now attached to the
StatusRowView, which is always present.

* Animate the removal of translations

The reset of a translation when the translation type is changed is now
animated, which is important for iPad users if they've translated a
post in the sidebar.

* Add support for the Mac Catalyst build

The Mac Catalyst Version doesn't allow the import of the api, so
compiler flags now check if the import isn't allowed and then remove
all references to Apple Translate.

* Swift Format

* Revert "Run all the strings through localization"

This reverts commit 86c5099662.

# Conflicts:
#	Packages/Env/Sources/Env/TranslationType.swift

* Remove the DeepL fallback

The DeepL fallback for the instance translation service is removed,
error messages are shown if a translation fails.

* Allow for the use of an User API Key as fallback

The DeepL fallback is reinstated if the user has put in their own API
Key

* Make the localization keys clear strings

* Make Apple and the instance a fallback

Apple Translate is now a fallback for both other translation types,
the instance service is a fallback for DeepL.
2024-05-13 13:27:21 +02:00
Thomas Ricouard
51fecb01f5 Bump version to 1.10.39 2024-05-06 09:25:36 +02:00
Thomas Ricouard
1d79832544 Bump version to 1.10.38 2024-05-06 08:41:33 +02:00
Thomas Ricouard
189e10f2b4 Widget: Add mentions widget 2024-05-06 08:37:58 +02:00
Thomas Ricouard
a6fd8d1137 Widget: Renaming 2024-05-05 19:37:06 +02:00
Thomas Ricouard
ea31cda3c2 Widget: Add Hashtag widget 2024-05-05 19:31:28 +02:00
Thomas Ricouard
a2afd4f58f Fix widget bundle identifier 2024-05-05 18:16:20 +02:00
Thomas Ricouard
dd1615f0e3 Fix widget entitlements 2024-05-05 17:30:09 +02:00
Thomas Ricouard
6bd14e0f8d Don't embed widgets on visionOS 2024-05-05 13:34:22 +02:00
Thomas Ricouard
1ca4a74ff0 Initial widget support 2024-05-05 13:12:19 +02:00
Thomas Ricouard
ba4cc899f8 Add inline post Intent 2024-05-04 13:12:43 +02:00
Thomas Ricouard
5a93184c6d Rename Intent 2024-05-04 11:34:51 +02:00
Thomas Ricouard
e857439a02 Bump version to 1.10.37 2024-05-03 16:25:30 +02:00
Thomas Ricouard
49a5c6a56a Add more shortcuts 2024-05-02 11:37:38 +02:00
Thomas Ricouard
4e4d903c44 Add AppIntent service + post to Mastodon intent 2024-05-02 09:32:19 +02:00
Thomas Ricouard
c0b855ea55 Bump version to 1.10.36 2024-04-21 15:07:48 +02:00
Thomas Ricouard
4c3047b0b9 Fix packages 2024-04-19 06:56:48 -07:00
Thomas Ricouard
e71c55b488 Bump version to 1.10.35 2024-04-19 06:46:49 -07:00
Thomas Ricouard
5f1f71068c Update packages 2024-04-17 10:55:00 -07:00
Ahnaf Mahmud
eb82a67671
Update menu bar and copyright (#2025)
* Update menu bar

* Update copyright
2024-04-02 08:25:52 +02:00
Thomas Ricouard
7de563a6eb Fix packages 2024-03-27 09:17:33 +01:00