Commit graph

354 commits

Author SHA1 Message Date
Thomas Ricouard
0f979fdfaf Fix build 2024-11-10 09:24:29 +01:00
Thomas Ricouard
322803bf1a Remove GIPHY SDK 2024-10-28 09:35:35 +01:00
Thomas Ricouard
2cc2276bc4 Convert Xcode project to be 100% folders based 2024-10-24 14:45:00 +01:00
Thomas Ricouard
091cfd67a1 Bump version to 1.11.3 2024-10-23 09:40:24 +01:00
Thomas Ricouard
0e61fa72c9 Bump version to 1.11.2 2024-10-07 11:20:13 +02:00
Thomas Ricouard
d4706bea31 Bump version to 1.11.1 2024-09-27 19:44:03 +02:00
Thomas Ricouard
56f0afb062 Bump version to 1.11.0 2024-09-22 11:13:50 +02:00
Thomas Ricouard
a1ce85b188 Bump version to 1.10.59 2024-09-19 09:06:38 +02:00
Thomas Ricouard
7cef1c5786 Bump version to 1.10.58 2024-09-18 15:14:38 +02:00
Thomas Ricouard
576b52e8c8 Bump version to 1.10.57 2024-09-17 08:49:00 +02:00
Thomas Ricouard
0b7c6a799f Bump version to 1.10.56 2024-09-15 08:27:43 +02:00
Thomas Ricouard
594fb3ea07 New iOS 18 Icon 2024-09-13 15:21:14 +02:00
Thomas Ricouard
2f1632b950 Bump version to 1.10.55 2024-09-13 14:03:05 +02:00
Thomas Ricouard
7c5f2aea81 Bump version to 1.10.54 2024-09-13 11:18:44 +02:00
Thomas Ricouard
7b67ba0294 Bump version to 1.10.53 2024-09-13 10:02:59 +02:00
Thomas Ricouard
30b9a95cac Bump version to 1.10.52 2024-09-11 08:50:02 +02:00
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
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
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
283e537c44 Bump version to 1.10.43 2024-06-12 21:24:55 +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