1413 Commits

Author SHA1 Message Date
15a7cd5f65 Fix not being able to tap attachments in the timeline 2022-12-25 10:27:19 -05:00
e676075d5b Fix spacing on toolbar when visibility and local-only items visible 2022-12-25 10:03:07 -05:00
967bff063b Tweak iCloud timeline sync 2022-12-25 09:59:35 -05:00
3cba0bce34 Update pinned timelines when changed remotely 2022-12-24 12:20:13 -05:00
60b182ac18 Sync timeline position using iCloud 2022-12-23 16:37:42 -05:00
619878ac85 Don't show Hide Reblogs/Replies prefs in Preferences, only in Customize Timelines 2022-12-23 16:37:42 -05:00
169f1a0191 Add haptic feedback to profile follow button 2022-12-23 11:19:37 -05:00
fa31c28e92 Fix relationship change breaking header layout because the collection view wasn't resizing the cell 2022-12-22 18:51:55 -05:00
f815d4e2e4 Replace VisualEffectImageButton with ProfileHeaderButton 2022-12-22 18:47:53 -05:00
a3e5b29cfc Fix crash inserting present items when currentItems includes posts from since-unfollowed users 2022-12-22 17:57:17 -05:00
46cecde014 Add more prominent follow button to profile pages 2022-12-22 17:26:50 -05:00
86143c5887 Add window titles to main and compose scenes 2022-12-22 15:02:49 -05:00
0a1dc423d4 Fix compose attachment list buttons not using accent color on macOS 2022-12-22 14:54:41 -05:00
1cb0f1ae56 Fix non-mention notifications showing in Mentions tab on Pleroma
e0d97cd2a8 introduced a regression on Pleroma, because specifying the
allowed types of notifications in the Masto API was only added in 3.5
2022-12-22 14:41:56 -05:00
9f86158bb7 Add About screen 2022-12-22 13:59:39 -05:00
231b0ea830 Add Acknowledgements page 2022-12-21 11:59:40 -05:00
4dc108f782 Add pinned timeline customization 2022-12-20 23:37:12 -05:00
795146cde4 Cache lists in CoreData 2022-12-20 15:13:18 -05:00
975be17d13 Avoid doing unnecessary work for filtered statuses 2022-12-20 11:32:20 -05:00
32be76ebee Update UI in responds to remote changes of saved hashtags/instances 2022-12-19 13:56:46 -05:00
d13b517128 Sync saved hashtags and instances over iCloud
Closes #160
2022-12-19 10:58:14 -05:00
e0d97cd2a8 Fix unknown notifications appearing in the Mentions tab 2022-12-18 11:33:49 -05:00
8b718ce50b Only allow continuous scroll gestures to dismiss gallery 2022-12-17 17:55:05 -05:00
ce708e2d16 Hide reblogs and hide replies filters
Closes #202
2022-12-17 13:40:15 -05:00
01467574d0 Don't show reblog swipe action when reblogging is forbidden
Closes #313
2022-12-17 13:09:33 -05:00
97a2278634 Fix previewing link in conversation main status activating link
Closes #311
2022-12-17 13:05:50 -05:00
4b2a263889 Better accessibility label for conversation toggle collapse button 2022-12-14 22:05:17 -05:00
77c9fac3ce Fix preferences not checking current account correctly when multiple scenes open 2022-12-14 21:27:50 -05:00
a13d5d5a82 Fix crash when activating account in My Profile scene 2022-12-14 21:24:54 -05:00
23e4541eb7 Don't reload list timeline if edit screen is closed without making changes 2022-12-14 21:00:36 -05:00
d4b9f71fd3 Remove old, unused code 2022-12-14 20:54:41 -05:00
a9edeaf5b9 Apply filters to Trending Posts 2022-12-14 20:52:44 -05:00
1f6074e539 Fix monospace fonts not adjusting for Dynamic Type 2022-12-14 20:07:16 -05:00
df7b62e14b Use KVO to invalidate LazilyDecoding properties 2022-12-14 19:46:02 -05:00
cacc8a51cc Remove unused code 2022-12-14 10:15:15 -05:00
360db07ef2 Fix URLs getting pasted as broken attachments
Closes #309
2022-12-14 09:47:17 -05:00
ff4dff1147 Fix status icons flashing blue during expand/collapse
Closes #209
2022-12-13 20:56:08 -05:00
ba1eed7a85 Add pointer effect to custom alert actions
Closes #306
2022-12-13 20:36:18 -05:00
0c9f6e02bd Fix controls reappearing when swiping between pages in gallery 2022-12-13 14:14:13 -05:00
565d17970f Make attachment description scrollable beyond a certain height
Closes #168
2022-12-13 14:07:16 -05:00
dc3c2d027c Prevent statuses which are in the persisted timeline state from being pruned 2022-12-13 13:31:34 -05:00
ba2c34fdd6 Persist timeline state using CoreData, rather than NSUserActivity
This allows persisting state for all the primary timelines, and across
all accounts.

Closes #297
Closes #293
2022-12-13 13:31:34 -05:00
3691c3f483 Actually encode the swipe action prefs 2022-12-12 23:09:18 -05:00
9c103103e8 Fix ToastableViewController automatic scroll view detection not handling collection views 2022-12-12 22:57:33 -05:00
382d8ef2c8 Fix Trending Posts appearing to reload forever 2022-12-12 22:51:50 -05:00
2891f47cb3 Fix statuses from the wrong timeline being restored into Home (again) 2022-12-12 22:47:16 -05:00
3c80ec8b43 Allow saving or following hashtag from Add screen 2022-12-12 22:06:55 -05:00
478ba3db28 Include followed hashtags in Explore and sidebar 2022-12-12 22:02:07 -05:00
f96cd1b5e2 Copy showStatusesAutomatically when selecting conversation expand thread item
Closes #303
2022-12-12 21:06:05 -05:00
7f4ab57a1d Fix <li> bullets/numbers appearing black in dark mode
Closes #304
2022-12-12 21:00:12 -05:00
8caf93bf0a Add ScrollingSegmentedControl, and home/notifs/profiles to use it 2022-12-12 20:57:38 -05:00
9c4b68b09e Reorganize gestures 2022-12-12 20:56:14 -05:00
71a57e9859 Fix images copied from Safari pasting as URLs
Closes #301
2022-12-11 12:54:25 -05:00
081ef16e5e Fix My Profile item in sidebar not updating when avatar style changes
Closes #298
2022-12-10 19:41:45 -05:00
b3ec259ce9 Fix status bar scroll to top not working in single-column navigation on iPad
Closes #296
2022-12-10 19:40:05 -05:00
4f48514d1a Actually only restore existing statuses 2022-12-08 20:15:12 -05:00
f96acd33f2 Tweak timeline status VO labels to only include attachment text when not blurred 2022-12-06 22:29:03 -05:00
cde061c77a Fix custom emoji not being stripped from usernames in VoiceOver labels 2022-12-06 22:26:08 -05:00
a79b3cfd70 Fix gallery controls not being accessible, fix escape gesture not working
Closes #292
2022-12-06 22:21:59 -05:00
9a35f96c75 VoiceOver: Include attachment descriptions in timeline statuses
Closes #291
2022-12-06 22:14:23 -05:00
60767c6a7e Profile Directory screen VoiceOver improvements
Add label to filter button (and change icon to match other filters)

Make each profile a single accessibility element
2022-12-06 21:54:17 -05:00
57668886b2 Fix crash when scrolling through Local/Federated timeline with VoiceOver
It seems that the accessibility scroll mechanism does something like:
1. Find the next IndexPath to focus
2. Scroll to make it visible
3. Focus that cell

But because the timeline description cell is removed during the scroll,
the IndexPath that the accessibility system wants to focus becomes
invalid between steps 2 and 3, causing a crash when trying to focus it.

As a workaround, only remove the timeline description _item_ rather than
the header section so that section indices aren't affected.

Closes #290
2022-12-06 21:46:32 -05:00
ffb5c76f7c Add preference to never blur attachments 2022-12-06 21:12:58 -05:00
00e8dd6345 Fix crash when previeiwng non-HTTP(S) link 2022-12-06 10:58:13 -05:00
7904462920 Fix serializing the nodeinfo version instead of the software version in breadcrumb 2022-12-05 22:24:33 -05:00
bebe563e8f Further tweak persistent store migration 2022-12-05 19:32:59 -05:00
4be2258882 Fix saving expired filters not reenabling them
Closes #289
2022-12-05 19:01:32 -05:00
40ff8d0a2a VoiceOver: improve description of gap cell, add actions to specify direction 2022-12-05 18:43:32 -05:00
0dcb7e71c4 Also perform jump to present check when the timeline VC reappears onscreen 2022-12-05 18:27:23 -05:00
08878f2fb9 Re-add tusker:// scheme
Apparently it was accidentally removed in d661870401

Closes #287
2022-12-05 17:28:28 -05:00
3ea7e1057b Add preference to disable timeline state restoration 2022-12-05 17:24:01 -05:00
fc8fcb76fd Fix crash when TimelineViewController tries to apply snapshot while not visible 2022-12-05 17:17:34 -05:00
eac2a9b19f Move VoiceOver Jump to Present action to timeline pages segmented control 2022-12-05 17:13:45 -05:00
0ce57d1308 More fiddling with how Jump to Present works
Now, when loading present items, they're inserted into the data source
immediately along with a gap. If the user taps Jump to Present, then a
new snapshot _with only the present items_ will be applied (which allows
infinite scrolling to work properly when they scroll back down) and the
view scrolled-to-top. Tapping Go Back, then, applies the original
snapshot (i.e., the current one from when Jump to Present was tapped)
and restores the scroll position.
2022-12-05 17:09:11 -05:00
97dec0f9d2 Add accessibility hint for segmented controls 2022-12-05 16:25:16 -05:00
b64c748b73 Add Jump to Present VoiceOver action
Closes #288
2022-12-04 22:06:04 -05:00
77ab2c3753 Fix Trending Posts reloading on every appearance 2022-12-04 22:03:48 -05:00
b90262bfd0 Tweak fav/reblog counts pref text 2022-12-04 19:50:15 -05:00
581f4b24bd Add Sentry breadcrumb for instance software/version 2022-12-04 18:26:06 -05:00
5f3d9da9f8 Only try to restore statuses that exist in the cache
This could result in discontinuities in the restored timeline, but I'm
not sure there's anything better we could do.
2022-12-04 17:34:28 -05:00
41775e5d19 Actually migrate to new persistent store locations 2022-12-04 17:33:09 -05:00
f1b1732e5c Fix filter HTML to attributed string conversion optimization not being applied 🤦‍♂️ 2022-12-04 15:36:26 -05:00
1da2b17a76 Fix dynamic type not applying to timeline status content 2022-12-04 15:35:54 -05:00
669404d6f8 Copy local-only status from replied-to post
Closes #280
2022-12-04 14:03:12 -05:00
2e21742264 Add Cmd+Enter keyboard shortcut for sending post
Closes #283
2022-12-04 14:01:09 -05:00
7763d08816 VoiceOver: Fix not being able to select account from conversation main status cell 2022-12-04 13:51:05 -05:00
726be85223 VoiceOver: Fix profile relationship label not being read 2022-12-04 13:51:05 -05:00
19bf6cbf18 VoiceOver: Add show profile rotor action to timeline statuses
Closes #285
2022-12-04 13:51:05 -05:00
df07fa85d5 Fix unsatisfiable constraints warning for ZeroHeightCollectionViewCell 2022-12-04 12:17:31 -05:00
e3e55de55b Fix hide filter action not working on profiles 2022-12-04 12:11:52 -05:00
54857a3bf3 Avoid converting HTML to attributed string twice when displaying a status cell for the first time
Now, when Filterer performs the conversion, the status cell can reuse
the attributed string.
2022-12-04 12:08:22 -05:00
b28f616e85 Don't apply expired filters 2022-12-04 11:55:46 -05:00
97c7104dbc Don't update constraints in StatusContentContainer.setCollapsed unless the state actually changes 2022-12-04 11:14:19 -05:00
6501343f24 Reapply filters on when they change 2022-12-04 10:54:02 -05:00
fabe339215 VoiceOver: Indicate filtered posts, make double tapping expand them 2022-12-03 23:20:19 -05:00
e1886509d3 Filter statuses on profiles 2022-12-03 23:11:09 -05:00
75e9c9f986 Fix home/list filters not applying to lists 2022-12-03 23:11:09 -05:00
a17afe247c Better filter cell and animation for showing filtered post 2022-12-03 23:11:09 -05:00
81abcfcf7b Timeline filtering! 2022-12-03 22:16:43 -05:00
7e5d8675c2 Extract HTML to attributed string converter to separate helper 2022-12-03 18:58:19 -05:00
cde3109203 Rename StatusState to CollapseState 2022-12-03 18:21:49 -05:00
fcf95ba8c1 Filters view UI tweaks 2022-12-03 15:22:10 -05:00
f71804f094 Extract filter create/update/delete logic into separate services 2022-12-03 14:40:12 -05:00
83ca7f1321 Creating filters UI 2022-12-03 14:40:12 -05:00
16a1e4008b V2 filters API, CoreData, and editing UI 2022-12-03 12:29:11 -05:00
518a8eba0a Start doing filters UI 2022-12-02 22:03:28 -05:00
8d56a6450e Fix mute account time not being 1 week 2022-12-02 21:39:05 -05:00
8896bfbc59 Consistent "OK" capitalization 2022-12-02 18:06:15 -05:00
4ca57f8c76 Better case-insensitive sorting for lists 2022-12-01 18:26:48 -05:00
c9fa11cc3b Fetch filters and store in CoreData 2022-11-30 22:16:33 -05:00
0247c50650 Fix invalid names being used for persistent store 2022-11-30 21:35:52 -05:00
eca06cb14a Fix too much space on profile header view above description 2022-11-30 21:13:48 -05:00
c07e2cfdd8 Add more possibilities to relationship label on profile header 2022-11-30 17:05:18 -05:00
db7615d26f Fix Edit List Accounts search field being jammed in the corner on iPad 2022-11-30 16:53:11 -05:00
2f0acad866 Return to previous item when the selected list/hashtag/instance is removed from the sidebar 2022-11-30 16:47:06 -05:00
a2b3fc0628 Fix saved/followed hashtag lookups being case-sensitive 2022-11-30 16:46:18 -05:00
e005b70071 Fix creating list on iPad not showing Edit List screen immediately 2022-11-30 16:34:12 -05:00
b515664db3 Fix creating list on iPad overwriting previous item navigation stack 2022-11-30 16:34:05 -05:00
948eff1f7e Workaround for crash when pressing Cmd+1/2/... on macOS
See #253

The actions won't work, but it's better than crashing :/
2022-11-29 23:19:19 -05:00
f1a39c2faa Add follow/unfollow hashtag actions 2022-11-29 23:14:36 -05:00
ab8e498cee Refactor menu actions to allow presenting from menu bar items 2022-11-29 23:14:36 -05:00
c6da754875 Indicate when a followed hashtag caused a post to appear in the home timeline 2022-11-29 23:14:36 -05:00
97d5b955a0 Store followed hashtags
The followed hashtags may not load until after the timeline request
completes, and we want to be able to show the hashtag indicator (or at
least make a best effort attempt) immediately.
2022-11-29 23:14:36 -05:00
80f9800fd6 Completely replace all items when jumping to present 2022-11-29 20:53:00 -05:00
0485400c1f Tweak how InstanceFeatures is updated 2022-11-29 20:52:39 -05:00
811aac35d7 Fix timeline statuses not getting deselected when entering split nav
Closes #275
2022-11-29 10:29:40 -05:00
a77b090435 Fix mute screen layout on iPad
Closes #276
2022-11-29 10:23:00 -05:00
21874b0966 Organize expanded custom emoji picker by category
Closes #223
2022-11-28 22:13:06 -05:00
08c63a2f84 Add indicator for locked profiles 2022-11-28 21:53:45 -05:00
97f00e9d6f Indicate pending follow requests, feedback on successful async menu actions
Closes #265
2022-11-28 21:41:56 -05:00
a97a7e0aea Fix attachments disappearing from status cells in certain circumstances 2022-11-28 20:40:24 -05:00
cf870916c9 Fix links in conversation main status not being activatable with VoiceOver
Closes #272
2022-11-28 19:14:08 -05:00
7297566060 Fix some swipe actions getting called off the main thread 2022-11-28 19:14:08 -05:00
4f28fec62a Add links/mentions/hashtag to VoiceOver rotor in timelines
Closes #231
2022-11-28 19:14:08 -05:00
c01bc4d840 Compose screen VoiceOver improvements 2022-11-28 18:40:35 -05:00
ea6698a2d8 State restoration for non-home timeline pages 2022-11-28 16:33:19 -05:00
1e950b5ccb State restoration for presented and edited drafts
Closes #270
2022-11-28 16:09:29 -05:00
3e5a3c81b5 Add cache size info to Advanced prefs 2022-11-28 14:05:35 -05:00
a5506aeab6 Add more tracing for notifications missing statuses
See #274
2022-11-27 21:54:58 -05:00
23b76a7276 Better crash messages for sidebar collapse/expand failures 2022-11-27 21:46:21 -05:00
d8f503351b Limit edit list accounts search to accounts the user follows 2022-11-27 21:44:17 -05:00
d5887f1f02 Add post edited notifications
Closes #238
2022-11-27 11:50:14 -05:00
e04cdd16d6 Add preferences for status cell swipe actions
Closes #249
2022-11-26 20:26:26 -05:00
c256fb4cbd When refreshing timeline, hide activity indicator as soon as loadNewer completes 2022-11-26 17:33:58 -05:00
21299c8eb8 Fix error when refreshing timeline with no items 2022-11-26 17:33:07 -05:00
527706154a Fix long status table view cells not getting collapsed 2022-11-26 17:28:55 -05:00
07c86b6949 Fix gifv attachments not being centered
Closes #271
2022-11-25 13:20:31 -05:00
92cf938e99 Fix cells not being deselected in account list and status action account list 2022-11-24 12:30:56 -05:00
23f9e200dc Fix potential crash when trying to save timeline state 2022-11-24 12:14:19 -05:00
366834e2e4 Tweak timeline state restoration to maintain scroll position of center item 2022-11-24 11:05:56 -05:00