Commit Graph

198 Commits

Author SHA1 Message Date
Thomas Ricouard f96ec217ae Add support for .mov in the composer 2023-01-26 18:50:05 +01:00
Thomas Ricouard dc47f93ca4 Status editor: Vertical image alt 2023-01-26 18:28:26 +01:00
Gareth Simpson 36a9eefe21
Make the Show/Hide Spoiler button less prominant. (#387) 2023-01-26 09:04:35 +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
Gareth Simpson ab4ac1b004
Local content settings close #338 (#362)
* Local settings for sensitive content.

* Local sensitive content settings

* Added the posting settings as well as the reading ones.

* Menu item / nav title mismatch

* Fixes

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-25 06:28:16 +01:00
Thomas Ricouard 1aadb0ce3a Add a setting for disabling social keyboard close #355 2023-01-24 21:44:33 +01:00
Pascal Batty a1218e1488
Prepend language list with recently used languages (#353)
* Add new preference entry for recently used languages

Exposes a function to keep the language array clean: no more than 3 items, starting with the most recently used iso code

* Add the preferences to the status editor ViewModel

* Add language selector handling of most recent languages

Only when the user has explicitly selected a language, when the posting was successful, add the selected language to the preferences array.

- Makes Language a local private struct for clarity
- Ensures all available languages are only fetched once
- Separates recently used, other and search result section contents using specific vars/funcs

* Copy new key in all localization files

Co-authored-by: Pascal Batty <pascal@zen.ly>
2023-01-24 21:34:16 +01:00
Thomas Ricouard 5b3afc72de Fix some polls crashing at decoding 2023-01-24 21:19:14 +01:00
Thomas Ricouard d9cf9ea59a Fix leading avatar incorrect position close #249 2023-01-24 19:07:55 +01:00
Hidemune Takahashi ae3d190799
Added marked text range support (#345)
* 👍 Added markedTextRangeSupport.

* 👍 ignore when markedTextRange is non-nil.

* Update TextView revision

Co-authored-by: Hidemune Takahashi <h1d3mun3.74k4h45h1@gmail.com>
Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-24 17:26:56 +01:00
Thomas Ricouard dd5e6b91c0 oops 2023-01-24 06:56:28 +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
Thomas Ricouard 8fe6eddead Settings: Add a button to hide OpenAI button in the composer 2023-01-23 20:45:18 +01:00
Thomas Ricouard f718755120 Refactor iPad / macOS layout for medias in order to make the timeline smoother fix #282 2023-01-23 18:43:48 +01:00
Sean Goldin fe1d886b62
URLS can only take 23 characters (#296)
* URLS can only take 23 characters

* Remove hardcoded length of URL
2023-01-23 06:35:26 +01:00
Thomas Ricouard ce41e6b000 Always display relative date in the timeline 2023-01-22 20:14:05 +01:00
Sean Goldin 0ad5f17b5a
Include spoiler text count when applicable (#281) 2023-01-22 18:50:45 +01:00
Thomas Ricouard b527fafd37 Few fixes for the field in DM + fix async upload for images 2023-01-22 17:49:47 +01:00
Thomas Ricouard d6aa99eb57 New direct messages view close #122 2023-01-22 16:55:03 +01:00
Sean Goldin 1c679186b0
Only ask for draft when text entered by user (#251) 2023-01-22 11:28:23 +01:00
orenro a37d059026
Display statuses with appropriate alignment for right-to-left languages (#256) 2023-01-22 11:17:27 +01:00
Thomas Ricouard 34b6525b37 Fix translation on RT 2023-01-22 10:24:19 +01:00
Thomas Ricouard 2df40ff543 Restore / Fix embed status view 2023-01-22 09:51:43 +01:00
Thomas Ricouard 987f259130 Add a translate entry on the status context menu Fix #258 2023-01-22 09:31:29 +01:00
Thomas Ricouard 921d28a57a Add setting to hide translate button close #252 2023-01-22 09:15:01 +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
richkolasa d9307748ca
Timeline VoiceOver Improvements (#241)
* status row view voiceover updates

* formatting?
2023-01-22 06:35:13 +01:00
Sean Goldin 50bd01e8b4
Poll results UI update (#233)
* Update constant to use CGFloat extension

* Fill full width when 100%

* Remove space
2023-01-21 16:50:38 +01:00
Thomas Ricouard 9f7eb4361a Fix polls not showing results to author fix #211 2023-01-21 15:38:31 +01:00
Sean Goldin 4d96e6ea80
Scale text for polls options (#226) close #99 2023-01-21 14:40:56 +01:00
Thomas 2bcdb75f97
Fix bookmark/unbookmark text in context menu (#214) 2023-01-21 12:19:04 +01:00
Thomas Ricouard 77c94e940a Fix timeline failing to load because status card URL is invalid Fix #209 2023-01-21 12:13:20 +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 85e09faab1 Add option to open user profile in browser fix #163 2023-01-20 18:36:24 +01:00
Thomas Ricouard 307ea75f43 Fix status embed showing the wrong name close #160 2023-01-20 18:32:10 +01:00
Thomas Ricouard d1034cd9a3 Do string manipulation at the decode time to keep the UI smooth fix #178 2023-01-20 18:27:00 +01:00
Thomas Ricouard 2ac2e0ce53 Fix compact media for single image 2023-01-20 06:56:02 +01:00
Thomas aff5de1429
Add localizations for German (#124)
* Add German localization

* Add missing localization keys
2023-01-20 06:42:40 +01:00
Gareth Simpson 0f45a8d1ff
Small images cropping text (#137)
* Fixes for #136, small images cropping text / videos missing re-hide button

* Accidentally unlocalised some text.
2023-01-20 06:41:47 +01:00
Thomas Ricouard e05734fe1a Added edit history 2023-01-19 21:19:19 +01:00
Thomas 980b9a5dd6
Implement Localization (#80)
* Implement localization

* Fix some localization keys

* Adapt to recent changes
2023-01-19 18:14:08 +01:00
Thomas Ricouard 09c09d5ea9 Composer: Trim attachement characters 2023-01-19 11:58:58 +01:00
Thomas Ricouard 987a655227 Add context menu for image fix #113 2023-01-19 07:56:24 +01:00
Thomas Ricouard e81ea4ee81 Fixes 2023-01-19 07:45:42 +01:00
Thomas Ricouard f743adb1df Add context menu for link / card view 2023-01-19 07:45:37 +01:00
Thomas Ricouard 22c9d51941 Fix #95 2023-01-19 07:14:38 +01:00
Thomas Ricouard 9c532d9448 Add support for custom emojis in the composer close #98 2023-01-18 19:11:52 +01:00