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
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
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
93d9ded447
Switch to new Chat completion API + Add Tags completion
2023-03-09 13:46:04 +01:00
Peter-Josef Meisch
db5d0b9274
Display and edit filter expirations ( #1141 )
2023-03-03 08:15:34 +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
Thomas Ricouard
83e4e74329
Swiftformat
2023-02-26 06:45:57 +01:00
Thomas Ricouard
cc4768b5e7
Profile edit: Allow re order of fields
2023-02-24 09:23:16 +01:00
Thomas Ricouard
096e42b1c2
Profile edit: Add metadata editing
2023-02-24 07:55:24 +01:00
Louis Lac
bf49a4558c
Singularize enum type names ( #978 )
2023-02-21 18:52:30 +01:00
Thomas Ricouard
b259b6739e
Swiftformat
2023-02-21 07:23:42 +01:00
Thomas Ricouard
65e63c4586
Remove Sendable conformance on Client as it's not needed
2023-02-19 07:51:16 +01:00
Thomas Ricouard
4000dc3650
Switch to targeted Swift concurrency warnings + fix them
2023-02-18 22:51:44 +01:00
Peter-Josef Meisch
7cc1ca44b5
Display and edit notes on profiles ( #929 )
...
Closes #165
2023-02-18 18:28:16 +01:00
Thomas Ricouard
ca4e80101f
Swiftformat
2023-02-18 07:26:48 +01:00
Thomas Ricouard
c4b9e74bcd
Escape characters when editing close #811
2023-02-15 06:41:28 +01:00
Thomas Ricouard
3d96d6997d
Better handling of notifications
2023-02-13 22:30:06 +01:00
Thomas Ricouard
50f6f1b007
Report status
2023-02-13 21:12:18 +01:00
Thomas Ricouard
eb6050a38f
Swiftformat
2023-02-12 16:29:41 +01:00
Thomas Ricouard
41058919bd
Reworked translate: Use Mastodon API when available + always show the action in the post context menu
2023-02-12 13:22:36 +01:00
Joe Barbere
fcf20b1675
Allow editing of alt-text for media ( #796 )
...
* Allow editing of alt-text for media
* Fix
---------
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-02-11 21:38:33 +01:00
Thomas Ricouard
cf6a2f845f
Notifications: Load more newer pages
2023-02-06 20:08:29 +01:00
Peter-Josef Meisch
c7f22d5022
Add muting duration submenu ( #662 )
...
* Add muting duration submenu
* set japanese localizations
2023-02-06 12:25:51 +01:00
Thomas Ricouard
6b285cdbcf
Cleanup
2023-02-04 17:17:38 +01:00
Thomas Ricouard
3c0ffdb1ae
Prepare disk cache for Timeline
2023-02-04 12:17:16 +01:00
Thomas Ricouard
95aade3795
Fix Client
2023-02-03 19:48:57 +01:00
Thomas Ricouard
4e77669181
Swiftformat
2023-02-01 12:49:59 +01:00
Thomas Ricouard
cdf45fa58c
Refactor Timeline position management + add thin cache layer + fix crashes
2023-02-01 12:43:11 +01:00
Thomas Ricouard
24504e3bc2
Various optimizations to speed things up
2023-01-30 19:14:43 +01:00
Roman Mirzoyan
5c1a567c04
Fixed parameter ( #488 )
...
Co-authored-by: Roman Mirzoyan <h500p1a@s-mxs.net>
2023-01-28 19:29:16 +01:00
David Walter
11d4a84bd8
Fix hasConnection ( #470 ) close #375
2023-01-28 18:41:04 +01:00
Thomas Ricouard
b89221a535
Code cleanup / format / lint
2023-01-27 20:36:40 +01:00
Thomas Ricouard
7f7a967d87
Videos: Compress them before upload + error handling close #430
2023-01-27 08:54:41 +01:00
Thomas Ricouard
5cd9ddd945
New account settings + create / edit server side filters
2023-01-25 21:18:34 +01:00
Jérôme Danthinne
9b3b3692ee
Support for follow requests ( #376 ) close #321
...
* Support for follow requests (#321 )
* Run SwiftFormat
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-25 13:02:28 +01:00
Thomas Ricouard
b1520c549e
Various fixes due to recent merges
2023-01-24 07:19:09 +01:00
Steve Kalkwarf
a7c7dfd24e
Make spelling of "favorite" consistent ( #327 )
...
"Favorite" was spelled using both UK English and US English variations:
113 favourite
64 favorite
I made them consistent, using the US spelling.
2023-01-24 06:35:43 +01:00
Jérôme Danthinne
94ab5766a1
Allow hiding or showing user boosts ( #305 )
...
* allow hiding or showing user boosts
* move notify and reboosts buttons below follow button
* move the account joined date below the name
* fix join date padding
Co-authored-by: Jérôme Danthinne <jerome.danthinne@smile.eu>
2023-01-23 18:50:59 +01:00
Thomas Ricouard
5c7cc5803f
Fix crash on Twitter link #102
2023-01-23 13:54:41 +01:00
Thomas Ricouard
c95f65ea59
Switch to DeepL Pro API
2023-01-22 10:45:07 +01:00
Thomas Ricouard
eec5637c1c
Composer / Share sheet: add video upload support close #154
2023-01-22 09:09:35 +01:00
Thomas Ricouard
a79c5691e0
Run SwiftFormat
2023-01-22 06:38:30 +01:00
Thomas Ricouard
d0d969d52c
Private messages: Add pagination
2023-01-21 15:31:27 +01:00
Thomas Ricouard
523cb48cd1
Translate Toot using DeepL close #153
2023-01-21 09:58:38 +01:00
Thomas Ricouard
5cb010b216
Composer: Better autocomplete fix #146
2023-01-21 07:57:52 +01:00
Thomas Ricouard
e05734fe1a
Added edit history
2023-01-19 21:19:19 +01:00
Rafael Carício
1fb4eb2bef
Allow to block/unblock and mute/unmute accounts ( #120 )
...
* Allow to block and unblock accounts
* Mute and unmute accounts
* Implement Localization (#80 )
* Implement localization
* Fix some localization keys
* Adapt to recent changes
* Allow to block and unblock accounts
* Mute and unmute accounts
* Add localization
Co-authored-by: Thomas <38211057+vollkorntomate@users.noreply.github.com>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-19 18:22:31 +01:00