Commit graph

423 commits

Author SHA1 Message Date
Greg Gardner
b1b9e658c9
Work-around issue with QLPreviewController not supporting swipe-to-dismiss and pinch-to-dismiss when presented from SwiftUI by creating a transparent UIViewController wrapper around QLPreviewController that presents it using UIKit instead. (#452) close #106
Co-authored-by: Greg <greg@cromulentlabs.com>
2023-01-28 06:45:15 +01:00
Roberto Pastor
4cdd0214f4
Spanish update 27-01 (#450)
* - Updated spanish localization with new keys
- Added missing NSLocalizedString for filters

* Fixed unresolved conflict

---------

Co-authored-by: Roberto Pastor <roberto.pastor@cabify.com>
2023-01-28 06:33:58 +01:00
Thomas Ricouard
b89221a535 Code cleanup / format / lint 2023-01-27 20:36:40 +01:00
Thomas Durand
8cac9df8c6
Action extension that would open a deep link in the app (#423)
* Early version of an action that would open a deeplink in the app

* Extend routeur support + catch deeplinks

* Cleaning extension code, using what local packages has to offer

* Removed useless stuff from the extension

* Added action icon ; Thanks Dall-E for the icon

* Added the action name within a localizable file

* Fix routeur

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
2023-01-27 20:35:16 +01:00
Thomas Ricouard
1dd536c8e7 Keep a shadow copy of notifications so the streamed notifications can be reconsolidated 2023-01-27 17:23:41 +01:00
Jérôme Danthinne
bec9ab8792
Consolidated notifications (#443) close #231
* Group favorite and boost notifications

* Group notifications per page, not globally
2023-01-27 16:58:04 +01:00
Thomas Ricouard
42160b08c0 Remove some shimmering to make the scrolling performances better 2023-01-27 16:51:45 +01:00
Thomas Ricouard
418e9545ba Completely clear duplicated push notifications issue 2023-01-27 16:51:29 +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
de4346c47e Add push notification settings in profile context menu 2023-01-27 12:18:17 +01:00
Thomas Ricouard
0f4fccf1a5 Disable keychain group on simulator 2023-01-27 12:06:44 +01:00
Thomas Ricouard
7f7a967d87 Videos: Compress them before upload + error handling close #430 2023-01-27 08:54:41 +01:00
Thomas Ricouard
e811d5dd39 Bump version to 1.1.2 + More fixes for iPad logged out 2023-01-26 22:07:21 +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
Thomas Ricouard
8236029432 DM: Show the full status text 2023-01-26 18:28:08 +01:00
Thomas Ricouard
72fbcff1dd DM: Various UX fixes 2023-01-26 18:27:53 +01:00
Thomas Ricouard
d1ed8e962b Push notifications: Per account settings 2023-01-26 13:21:35 +01:00
Gareth Simpson
36a9eefe21
Make the Show/Hide Spoiler button less prominant. (#387) 2023-01-26 09:04:35 +01:00
Thomas Ricouard
43ac56302e Move settings tab and profile tab around 2023-01-26 07:34:29 +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
d0f16c84f7
Move notification and reboosts actions into account menu (#382) 2023-01-25 21:15:32 +01:00
Thomas Ricouard
4705500dc4 DM: Add vertical padding between messages 2023-01-25 13:09:43 +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
Gareth Simpson
6e58bb8e3e
Better fix for #317 & #339 (#365) 2023-01-25 06:14:55 +01:00
Thomas Ricouard
5fa4c7e4f4 Fix App Group 2023-01-24 23:03:25 +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
d05afd93c4 Push notifications: display account name if multi account fix #344 2023-01-24 13:38:26 +01:00
Thomas Ricouard
4927b12e90 Fix haptic feedback for account selector 2023-01-24 11:40:18 +01:00
Thomas Ricouard
fbf1c30b7c Add haptic feedback on more buttons fix #315 2023-01-24 09:19:53 +01:00
Thomas Ricouard
b1520c549e Various fixes due to recent merges 2023-01-24 07:19:09 +01:00
Thomas Ricouard
dd5e6b91c0 oops 2023-01-24 06:56:28 +01:00
Gareth Simpson
ffe1a1dba0
Escape markdown markup characters on their way into HTMLToMarkdown to prevent them being rendered as styled text after they come out. (#329) 2023-01-24 06:38:38 +01:00
Gareth Simpson
d0854d0107
This is a fix for #317 (#318)
* This is a fix for #317
Well more of an improvement than a fix.
Instead of looking for tags anywhere, we now look for /tags/TagName exactly.  This can still fail if it happens to be a link to somewhere not on the post creator's home server that follows that pattern but by the time the parsing is done the post creator isn't available without a lot of re-plumbing.
But anyway, this should be better.

* No force unwrap
2023-01-24 06:37:15 +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
11a7ade82d Fix handling of Twitter link 2023-01-23 21:34:45 +01:00
Sean Goldin
6aea60b644
Fix twitter links (#316) 2023-01-23 20:51:16 +01:00
Thomas Ricouard
8fe6eddead Settings: Add a button to hide OpenAI button in the composer 2023-01-23 20:45:18 +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
a51e81102e Handle links in direct message 2023-01-23 18:43:57 +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
Thomas Ricouard
5c7cc5803f Fix crash on Twitter link #102 2023-01-23 13:54:41 +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
2a635eda21 Optimise Status models for SwiftUI 2023-01-22 20:23:41 +01:00
Thomas Ricouard
ce41e6b000 Always display relative date in the timeline 2023-01-22 20:14:05 +01:00
Steve Kalkwarf
fb6b2b39fa
Adjusted file names to match content (#286) 2023-01-22 19:59:22 +01:00
Sean Goldin
0ad5f17b5a
Include spoiler text count when applicable (#281) 2023-01-22 18:50:45 +01:00
Thomas Ricouard
23fd0af2c3 Fix title scaling for DM 2023-01-22 17:53:41 +01:00
Thomas Ricouard
1a8626896a Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-01-22 17:50:32 +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
Sean Goldin
f4d5195f4c
Localisation for conversation detail (#278) 2023-01-22 17:36:57 +01:00
Thomas Ricouard
8680d2b83a Few keyboard fixes 2023-01-22 17:17:33 +01:00
Thomas Ricouard
d6aa99eb57 New direct messages view close #122 2023-01-22 16:55:03 +01:00
Thomas Ricouard
fc4524cef8 Merge branch 'main' of https://github.com/Dimillian/IceCubesApp 2023-01-22 15:58:49 +01:00
Sean Goldin
97f8dfd74d
Add localisation plurals (#239)
* Add localisation plurals

* Add more languages to plurals

* Remove unused localised keys

* Update per #225
2023-01-22 15:47:44 +01:00
Thomas Ricouard
a2abdfede1 Fix account open in browser 2023-01-22 12:26:33 +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
c95f65ea59 Switch to DeepL Pro API 2023-01-22 10:45:07 +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
Thomas Ricouard
a0ad701f52 Add Neon (OLED) Dark and Light themes 2023-01-21 18:40:35 +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
691b3f2667 Theme: Refresh theme on launch if following color scheme 2023-01-21 15:54:15 +01:00
Thomas Ricouard
9f7eb4361a Fix polls not showing results to author fix #211 2023-01-21 15:38:31 +01:00
Thomas Ricouard
d0d969d52c Private messages: Add pagination 2023-01-21 15:31:27 +01:00
Thomas Ricouard
2a31fd7ef5 Make notifications more compact 2023-01-21 15:16:52 +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
87471ed9c8 Safer HTML String decode 2023-01-21 11:32:47 +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
7b25240f59 Search: Completely revamp it! close #78 #90 2023-01-21 07:51:15 +01:00
Thomas Ricouard
0eaf2ebc60 Add a rate on the App Store button in the settings 2023-01-21 07:16:20 +01:00
Thomas Ricouard
5321b2b8d8 Add a follow system colors option close #128 2023-01-20 21:58:57 +01:00
cd05a75ab9
Remove duplicate options Block/Mute (#200) 2023-01-20 21:17:24 +01:00
Thomas Ricouard
997a33df69 Instantly show lists options in the user context menu when following him close #143 2023-01-20 18:53:07 +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
7a0b635033 Add joined date info on user profile close #158 2023-01-20 18:25:27 +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
Renan Guilherme
3b0d26bab2
Make vapidKey in InstanceApp model optional (#135) 2023-01-20 06:42:18 +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
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
Thomas
980b9a5dd6
Implement Localization (#80)
* Implement localization

* Fix some localization keys

* Adapt to recent changes
2023-01-19 18:14:08 +01:00