Commit graph

233 commits

Author SHA1 Message Date
Gareth Simpson fdb402a065
Boost deduplicating (#524)
* Trying something with caching boosts

* Use an actual cache for caching

* Persist cache to documents folder

* Stray debugging variable

* Unpublish seen variable in the ViewModel

* Settings for deduplicating boosts.

* Changes from review / merge conflicts
2023-02-01 18:56:06 +01:00
Thomas Durand 06e219597b
More fixes for #568 - Open Url in browser (#585)
* More fixes for #568

I saw the fix for StatusRowContextMenu, so this is a complement for this same bug accros the app

* Let it be just a clean up then ;)
2023-02-01 18:55:18 +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 83049517c0 Make the poll tappable in the List timeline 2023-02-01 09:21:52 +01:00
Thomas Ricouard b9f79bb859 Close #568 2023-02-01 07:09:41 +01:00
Thomas Durand e512453cfe
Fixed "you boosted" when boosted by same username in different instance (#560)
Fixes #558
2023-01-31 12:20:52 +01:00
Thomas Ricouard 52eff96ab4 Iron out timeline issues with the new behaviour 2023-01-31 12:17:35 +01:00
Thomas Ricouard d9b166339d Fixes for iPad layout 2023-01-31 08:16:36 +01:00
Thomas Ricouard 1a351eaa7c Smoother scrolling up in the Timeline 2023-01-31 08:04:35 +01:00
Thomas Durand bef45d8621
Fixed typo variable name introduced with #455 (#542) 2023-01-31 06:58:06 +01:00
Paul 1c61d3908f
Fix for 'space added before first line of self-reply' (#546) 2023-01-31 06:57:57 +01:00
Thomas Ricouard f638197a08 Add maxWidth for link card 2023-01-30 22:19:10 +01:00
Thomas Ricouard d88d9db1dc Transition Timeline to List + stream post automatically + keep position + new counter UI 2023-01-30 21:41:42 +01:00
Thomas Ricouard 24504e3bc2 Various optimizations to speed things up 2023-01-30 19:14:43 +01:00
Thomas Ricouard 16636b12a9 Swift format 2023-01-30 07:27:06 +01:00
Thomas 5871d13eee
Add indicator which language is translated (#455) 2023-01-30 07:26:43 +01:00
Thomas Ricouard aff0c943f8 Bump to 1.2.3 2023-01-30 07:13:21 +01:00
Thomas Ricouard e0d6340a9d Adapt medias view to secondary column 2023-01-29 17:37:15 +01:00
Thomas Ricouard 497c2a1fe1 Add secondary column when screen is wide enough 2023-01-29 16:45:58 +01:00
Thomas Ricouard 243cbcbc41 Notifications: Swap container for a List + make mentions more prominent 2023-01-29 16:06:46 +01:00
Thomas Ricouard 426d2e15b2 Change timeline icon + move OpenAI icon to the accessory bar 2023-01-29 15:08:41 +01:00
Thomas Ricouard dbb8bd2a3d Fix out of bounds composer in the share sheet and in the app Fix #507 2023-01-29 14:48:32 +01:00
Thomas Ricouard e84a57ed7f Display loading when fetching remote user on status row 2023-01-29 11:17:43 +01:00
Thomas Ricouard 62c3f6e04a Add a new settings to disable video auto playing 2023-01-29 10:19:59 +01:00
Thomas Ricouard 127d3d65fd Clear more text attachements on paste fix #94 2023-01-29 09:00:26 +01:00
Thomas Ricouard 32777a88ba Disable boost for follower only status close #266 2023-01-29 08:34:12 +01:00
Thomas Ricouard 6ea2d9cb78 Make max width more consistent on iPad fix #236 2023-01-29 08:14:08 +01:00
Thomas Ricouard e67ae9eb33 Avoid one useless status row change 2023-01-28 11:09:35 +01:00
Thomas Ricouard a52f0f9fbe StatusRow: Reuse context menu + disable avatar image processor for smoother scrolling 2023-01-28 07:05:26 +01:00
Thomas Ricouard b89221a535 Code cleanup / format / lint 2023-01-27 20:36:40 +01:00
Thomas Ricouard 42160b08c0 Remove some shimmering to make the scrolling performances better 2023-01-27 16:51:45 +01:00
Thomas Ricouard 7ac8333912 Quote Toot rendering fixes 2023-01-27 13:38:24 +01:00
Thomas Ricouard aff318b0ca Don't render filtered status fix #431 2023-01-27 13:38:07 +01:00
Thomas Ricouard 7f7a967d87 Videos: Compress them before upload + error handling close #430 2023-01-27 08:54:41 +01:00
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