Commit Graph

1367 Commits

Author SHA1 Message Date
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
Vitaly Kovalyshyn
f263c57858
update uk localizations (#1244) 2023-03-14 12:17:14 +01:00
Ico Davids
dca8937aba
Use 'Done' text on accounts selector (#1245) 2023-03-14 12:17:05 +01:00
Ico Davids
c818dbf744
Updated NL localization (#1238) 2023-03-14 07:22:44 +01:00
Paul Schuetz
ff9bfe9285
Allow reordering of remote timelines (#1240)
The reordering of remote timelines is now available. See #1239

Signed-off-by: Paul Schuetz <pa.schuetz@web.de>
2023-03-14 07:22:17 +01:00
Thomas Ricouard
0e3d174625 Bump to 1.6.8 2023-03-14 07:21:42 +01:00
Thomas Ricouard
4f6f98271a Fix #1236 2023-03-13 18:47:24 +01:00
Thomas Ricouard
aa120a48f7 ServerError: Fix 2023-03-13 13:42:32 +01:00
Thomas Ricouard
6c307aba63 SwiftFormat 2023-03-13 13:38:28 +01:00
Thomas Ricouard
f1267620be More tweaks to the prompt 2023-03-12 14:53:49 +01:00
Thomas Ricouard
7d0c6671bb Further tweaks to OpenAI hashtags prompts close #1222 2023-03-12 13:24:19 +01:00
Thomas Ricouard
0989f25bff Rework About Screen 2023-03-12 12:58:00 +01:00
Thomas Ricouard
f0e9b0ca26 Better OpenAI hashtags prompts 2023-03-12 12:38:05 +01:00
Thomas Ricouard
e52712383f Post JSON instead of URL queries for oauth flow 2023-03-12 12:23:44 +01:00
Thomas Ricouard
705e5514dc Bump to 1.6.7 2023-03-12 12:23:28 +01:00
Thomas Ricouard
5c9122a72c Accounts selector: Add correct initial height 2023-03-12 12:01:38 +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
Yusuke Arakawa
c56ef64f55
Update Localizable.strings (#1223)
Co-authored-by: Yusuke Arakawa <nekolaboratory@users.noreply.github.com>
2023-03-11 14:42:49 +01:00
Cthulhux
0db1b889b4
Update Localizable.strings (#1225) 2023-03-11 14:42:42 +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
Jerry
0d2454886e
Update Localizable.strings (#1213) 2023-03-11 07:22:00 +01:00
Chanhwi Joo
b574cdfbda
Update Korean localization (#1216) 2023-03-11 07:21:52 +01:00
Andrzej Rózga
77468d4560
Polish localization update (#1218) 2023-03-11 07:21:39 +01:00
Xabi
45b9d2886e
Update Basque localisation (#1219) 2023-03-11 07:21:30 +01:00
Keita Watanabe
968792ad68
Fix build error for design system package (#1220) 2023-03-11 07:21:16 +01:00
Thomas Ricouard
9057740162 Add upload from file browsing + better compression for images 2023-03-10 18:22:45 +01:00
Thomas Ricouard
c3d1c6d363 Add a Mastometrics link in account menu 2023-03-10 18:22:13 +01:00
Thomas Ricouard
71f2617a30 Bump to 1.6.6 2023-03-10 09:29:18 +01:00
Thomas Ricouard
8571800b31 Account selector: Refresh accounts more often 2023-03-10 08:13:40 +01:00
Thomas Ricouard
8561374a84 Account selector: remove double settings 2023-03-10 07:59:54 +01:00
Xabi
fd8906ecd5
Undo last changes (EU plurals) (#1211) 2023-03-10 07:12:01 +01:00
Jerry
7b646c770a
Update Simplified Chinese localization (#1212) 2023-03-10 07:11:50 +01:00
Cthulhux
21363d1bdf
de: translated #tags (#1202) 2023-03-09 20:36:01 +01:00
Yusuke Arakawa
cbe7d8e8af
Update Localizable.strings (#1203) 2023-03-09 20:35:53 +01:00
Andrzej Rózga
498d6b950e
Polish localization update (#1204) 2023-03-09 20:35:40 +01:00
Ico Davids
25925f11d7
Updated NL localization (#1205)
* Updated NL localization

* Updated NL localization
2023-03-09 20:35:32 +01:00
Xabi
58e4a8df49
Update Basque localisation (#1208)
New:
- status.editor.ai-prompt.add-tags
- status.editor.ai-prompt.insert-tags
2023-03-09 20:35:23 +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
c36b9083ce More accurate tab selection sound / haptic 2023-03-09 08:30:13 +01:00
Thomas Ricouard
4001ffdbe5 Account selector: allow large detent 2023-03-09 06:47:06 +01:00
Thomas Ricouard
82dfeffaec Add haptic feedbacks when changing account 2023-03-09 06:36:38 +01:00
Thomas Ricouard
0709ce0958 Bump to 1.6.5 2023-03-09 06:30:19 +01:00
Thomas Ricouard
15b704c97a All new accounts selector 2023-03-08 19:02:31 +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
Thomas Ricouard
f6b987a18a Display Settings: Close to live colors update, removed the "apply colors" button. 2023-03-08 19:02:00 +01:00
Thomas Ricouard
c3c6899483 Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-03-07 18:25:10 +01:00