290 Commits

Author SHA1 Message Date
f5e9f66f76 Fix app background colors not updating when preference changed
This only fully fixes it on iOS 17, but it seems to be the best we can do
2024-04-16 12:03:52 -04:00
3f370945e6 Fix linker errors when building in release mode 2024-04-15 22:30:20 -04:00
a759731eba Fix push notifications not working when account ID contains slashes 2024-04-15 22:19:24 -04:00
c43c951b92 Enable iPad multi-column navigation by default 2024-04-15 11:00:36 -04:00
00c44c612f Fix feature flag preference decoding with old flags 2024-04-15 10:55:43 -04:00
e5c4fceacd Add CustomCodablePreferenceKey 2024-04-15 10:50:08 -04:00
70227a7fa1 Add MigratablePreferenceKey protocol 2024-04-15 10:37:02 -04:00
cb5488dcaa Reorganize preference keys to match Preferences 2024-04-15 09:50:49 -04:00
910e18fb5e Fix compiling for visionOS 2024-04-15 09:49:42 -04:00
6784ed7fdf Remove in-app Safari settings on macOS
Closes #469
2024-04-15 09:34:44 -04:00
c32181818a Use image for code formatting option 2024-04-15 00:13:04 -04:00
c7a56a9f61 Reorganize appearance prefs, add mock status preview 2024-04-14 14:11:43 -04:00
e94bee4fc8 Fix a handful of strict concurrency warnings 2024-04-13 23:06:30 -04:00
216e58e5ec Merge branch 'prefs-refactor' into develop 2024-04-13 22:39:49 -04:00
a4d13ad03b Only migrate changed preferences 2024-04-13 22:36:42 -04:00
05cfecb797 Fix push notifications on Pleroma/Akkoma and older Mastodon versions 2024-04-13 18:59:42 -04:00
132fcfa099 Refactor preferences 2024-04-13 18:44:43 -04:00
19ca930ee8 Remove the need to register with the push proxy 2024-04-12 16:15:52 -04:00
2e31d34e9d Maybe fix continuation being reused 2024-04-11 22:30:43 -04:00
8a339ec171 Reregister client when adding push scope 2024-04-11 22:19:29 -04:00
c7d79422bd Fix clean build failures 2024-04-11 21:48:41 -04:00
bc516a6326 Remove push proxy scheme build setting 2024-04-11 13:00:39 -04:00
1cd6af1236 Remove existing push subscriptions when unregistering from proxy 2024-04-11 12:58:43 -04:00
9f6910ba73 Implement communication notifications 2024-04-11 12:44:41 -04:00
9cf4975bfd Remove transaction ID from push notifications registration 2024-04-11 11:55:56 -04:00
ee992bc0bf Improve per-instance push settings 2024-04-10 19:13:47 -04:00
ff8a83ca2d Decrypt push notifications 2024-04-09 22:39:58 -04:00
4c957b86ae Fix push subscription policy/alerts not persisting 2024-04-09 21:07:14 -04:00
ff11835333 Update oauth scopes when enabling push notifications
Closes #467
2024-04-09 19:05:31 -04:00
edc887dd4c Rename PushManager properties 2024-04-09 12:38:24 -04:00
68dad77f81 Update Mastodon push subscriptions when endpoint changes 2024-04-09 12:38:24 -04:00
840b83012a Don't use Sentry in PushNotifications package 2024-04-09 11:56:22 -04:00
e150856e91 Improve AsyncToggle behavior on failure 2024-04-09 11:49:55 -04:00
f02afaac26 Move AsyncToggle to TuskerComponents 2024-04-08 22:32:46 -04:00
bdd4a4d755 Scaffolding for push subscription alert types 2024-04-08 18:44:56 -04:00
94c1eb2c81 Create/remove instance push subscriptions 2024-04-08 12:25:39 -04:00
b03991ae1d Move push notifications stuff to separate package 2024-04-08 10:48:28 -04:00
f98589b419 Start account-specific push subscriptions 2024-04-07 23:14:12 -04:00
c5226f6374 Add push scope 2024-04-06 11:04:03 -04:00
490d48c635 Fix loading indicator never disappearing when presenting gallery from status with >4 attachments 2024-04-02 21:16:09 -04:00
69ee3bb4f0 Fix gallery content being incorrectly positioned on macOS when reduce motion is on
See #446
2024-04-02 21:01:54 -04:00
7435d02f6e Fiddle with how the timeline markers API is organized 2024-04-01 19:22:55 -04:00
2467297f04 Add preference for inverted alt text badge
Closes #423
2024-04-01 18:47:19 -04:00
cf317e15e9 Designed for iPad: Possible fix for gallery content being positioned/sized incorrectly
See #446
2024-04-01 12:40:30 -04:00
afcec24f86 Fix reference cycles in gallery 2024-03-31 23:29:28 -04:00
d2c28ada7f Improve gallery video autoplay behavior 2024-03-31 20:41:57 -04:00
375ad25919 Tweak gallery animation timing 2024-03-31 16:07:09 -04:00
2386f545e2 Fix gallery button delay on Catalyst/Designed for iPad 2024-03-31 15:44:15 -04:00
908c4ee085 Catalyst: Fix gallery close/share buttons 2024-03-31 14:12:07 -04:00
23e5e87915 Enable trackpad scrolling to dismiss gallery 2024-03-31 14:08:18 -04:00
f3cf2dd8ec Catalyst: Fix gallery presentation animation not working 2024-03-31 12:35:10 -04:00
d96ec2a732 Make gallery control buttons square 2024-03-30 15:21:23 -04:00
b8fe0454b5 Inset gallery controls on devices without safe area insets 2024-03-30 15:18:17 -04:00
1166c6e639 Fix gallery transition dimming view not being removed 2024-03-30 15:18:02 -04:00
eda552c7c9 Add pointer interactions to gallery controls 2024-03-30 15:17:26 -04:00
fe00015248 Add background to gallery close/share buttons 2024-03-29 22:10:14 -04:00
509ed305cd Ignore safe area for gallery content 2024-03-29 22:06:28 -04:00
c05107bccd Scale evenly in both dimensions in gallery animations 2024-03-29 18:59:27 -04:00
4fcc32ca4b Fix gallery controls popping in over content after presentation 2024-03-29 18:22:33 -04:00
6857529d06 Video gallery controls
See #450
2024-03-28 23:19:32 -04:00
42e29862ac Fix crash when compose screen dismissed while adding attachments 2024-03-25 10:06:38 -04:00
a80cbe79c2 Re-add image analysis interaction
See #450
2024-03-20 11:49:00 -04:00
be977dbea9 Gallery rewrite
See #450
2024-03-19 15:04:14 -04:00
f327cfd197 Move SwiftPM packages into separate group 2024-03-17 18:57:51 -04:00
d481ef6c9f Fix crash when removing the same poll option multiple times
SwiftUI doesn't detect updates to CoreData objects when directly
mutating the NSMutableOrderedSet of a relationship

Closes #458
2024-03-09 14:15:14 -05:00
41481f465a Fix potential bug with matched geometry VC transition 2024-02-21 10:31:40 -05:00
b235f0e826 Another round of strict concurrency fixes 2024-01-28 14:59:03 -05:00
27d44340e8 Even more strict concurrency fixes 2024-01-27 15:48:58 -05:00
fc26c9fb54 More strict concurrency fixes 2024-01-27 14:58:36 -05:00
c489d018bd Merge branch 'develop' into strict-concurrency
# Conflicts:
#	Tusker/Caching/ImageCache.swift
#	Tusker/Extensions/PKDrawing+Render.swift
#	Tusker/MultiThreadDictionary.swift
#	Tusker/Views/BaseEmojiLabel.swift
2024-01-26 11:32:12 -05:00
94f71541f8 Merge branch 'develop' into vision
# Conflicts:
#	Packages/ComposeUI/Sources/ComposeUI/Controllers/ToolbarController.swift
#	Tusker/Screens/Timeline/TimelineViewController.swift
#	Tusker/Views/Status/TimelineStatusCollectionViewCell.swift
2024-01-26 11:11:41 -05:00
c2402303cc First pass at strict concurrency checking 2024-01-26 11:02:40 -05:00
e09935125f Fix copying/pasting images from Safari on macOS not working
Closes #453
2023-12-14 18:01:34 -05:00
e8ef9345e9 Fix visibility/local-only buttons not appearing on Catalyst
You need to pass the configuration to the initializer to get it to show up in the Mac idiom

Fixes #452
2023-12-05 22:00:48 -05:00
28c1a9092b Add server-provided translation
Closes #331
2023-12-04 19:31:51 -05:00
5e609aa40d V2 instance API, add translation to InstanceFeatures 2023-12-04 17:55:03 -05:00
be1ca70ebf Add preference for showing attachments in timeline
Closes #330
2023-12-04 16:18:54 -05:00
23f383a7f9 Get rid of network request during share extension launch
Closes #438
2023-12-02 15:33:15 -05:00
0f70c9059e Fix error decoding certain statuses on pixelfed 2023-11-19 22:52:58 -05:00
bc7500bde9 Fix crash when uploading attachment without known MIME type or extension 2023-11-10 14:08:11 -05:00
c0301ce7e7 visionOS: Further Compose screen tweaks 2023-11-08 17:02:32 -05:00
1da25300ca Merge branch 'develop' into vision 2023-11-07 22:26:22 -05:00
86862825f6 Assert that the compose draft belongs to the view context 2023-11-05 18:32:05 -05:00
e57ef210fd Fix language picker button not having a pointer effect 2023-11-05 11:32:49 -05:00
34e57c297b Tweak HEIF/HEIC handling 2023-11-03 11:07:43 -04:00
aae3bd0bba Remove dead code 2023-11-02 17:53:26 -04:00
2b5d4681e3 Prevent mul/und from being used as language
Closes #440
2023-11-02 10:44:52 -04:00
bd21e88e8b Add UI for changing list reply policy and exclusivity
Closes #428
2023-10-28 12:16:14 -05:00
a46eaafbcf Add reply policy and exclusive fields to lists 2023-10-27 17:00:53 -05:00
eb496243c7 Use server preference for local-only on Hometown
Closes #281
2023-10-27 15:12:48 -05:00
6e5e0c3bb5 Use server preferences for default visibility and language
Closes #282
2023-10-27 14:59:21 -05:00
dfc8234908 Attribute authenticated API requests to the user
Closes #134
2023-10-26 17:30:31 -05:00
157c8629a9 Add underline links preference
Closes #397
2023-10-24 16:02:03 -04:00
978486bc15 visionOS: Improve button appearance in Compose attachment list 2023-10-20 11:27:24 -04:00
78196e14c3 visionOS: Improve Compose main text view appearance 2023-10-20 11:27:24 -04:00
a0eb5dc596 visionOS: Move Compose toolbar controls to ornament 2023-10-20 11:27:24 -04:00
e4c22a0205 Compile for visionOS 2023-10-20 11:27:24 -04:00
a8a2f0a26c Add search operators UI on Mastodon 4.2
Closes #433
2023-10-01 21:40:53 -04:00
db6ba0c62c Remove navigation mode preference feature flag 2023-10-01 00:14:20 -04:00
bf1ed57180 Allow authoring local-only posts on Akkoma
Closes #332
2023-09-25 21:23:28 -04:00