1128 Commits

Author SHA1 Message Date
97a95c435e Improve performance when displaying posts with many custom emojis
Closes 
2022-11-05 11:00:14 -04:00
b9555cf7dd Dynamic type support in assorted places 2022-11-04 22:32:40 -04:00
590b9f0bcc Dynamic type support on notifications screen 2022-11-04 22:32:34 -04:00
ca2ceaea56 Remove now-unused confirm load more table view cell 2022-11-04 22:32:34 -04:00
96d8a79d42 Dynamic type support in Explore screen 2022-11-04 21:47:42 -04:00
11233f7d25 Dyanmic type support in profile header view 2022-11-04 21:39:47 -04:00
a991e0f429 Dynamic Type support in status cells 2022-11-04 16:52:37 -04:00
bfdce07d81 Fix compose reply avatar being wrongly aligned for 1-line statuses 2022-11-03 19:14:52 -04:00
f5953655c5 Set merge policy on managed object contexts and maybe fix some CoreData errors? 2022-11-03 18:56:06 -04:00
6bc4993d81 Fix favorite/reblog menu actions not working 2022-11-03 18:48:39 -04:00
68646c4b4d Fix objc associated objects not working in release builds 2022-11-03 18:37:32 -04:00
38b0d57118 Improve CoreData error reporting 2022-11-03 10:27:45 -04:00
7bdbd9f71a Handle task cancellation in MastodonController.run 2022-11-02 23:00:29 -04:00
b47876dc3d Fix retain cycle due to account follow action workaround 2022-11-02 22:59:44 -04:00
4644475bc7 Fix crashes when ProfileStatusesVC doesn't finish loading until ProfileVC is deinit'd 2022-11-02 22:53:07 -04:00
16ba292afa Remove debug print 2022-11-02 22:34:40 -04:00
c7f3bac330 Add sterner warning about post content type 2022-11-02 22:06:08 -04:00
abb8352c92 Fix ImageCache.get completion not being called when image isn't loaded 2022-11-02 22:06:08 -04:00
59d866aa23 Ditch custom image request grouping, rely on URLSession's 2022-11-02 22:06:08 -04:00
ba032412eb Fix timeline reloading every time VC appears
Caused by changes to TimelineLikeController required to let list
timelines reload from scratch
2022-11-02 22:06:07 -04:00
5de0c034f4 Remove old TimelineTableViewController 2022-11-01 21:11:13 -04:00
b1d83f2746 Switch hashtag/instance/list timelines to use new collection view impl 2022-11-01 21:10:41 -04:00
658c08010d Re-add undo scroll-to-top to timelines/profiles 2022-11-01 20:49:07 -04:00
6a5753fac8 Fix crash when tapping Load More button with Disable Infinite Scrolling 2022-10-31 17:45:36 -04:00
8da89986df Fix find instance VC requiring double dismiss 2022-10-31 17:39:57 -04:00
c7e39cb041 Use short descriptions in instance selector when available 2022-10-31 17:35:50 -04:00
b755607895 Fix crash when TimelineStatusTableViewCell outlives its containing VC 2022-10-31 17:33:33 -04:00
508eef8c07 Nothing to see here 2022-10-31 17:33:33 -04:00
a18dfc38af Fix crash when refreshing profile before it has loaded 2022-10-31 17:33:33 -04:00
95f9fad673 Tweak Sentry config 2022-10-31 17:33:33 -04:00
4857b507b1 Send CoreData saving errors to Sentry 2022-10-31 12:26:09 -04:00
cc33cf18f2 Workaround for follow menu item never resolving on macOS
See 
2022-10-30 18:54:14 -04:00
c5921bc4cb Add option to disable automatic crash reporting 2022-10-30 18:17:53 -04:00
91450ced7c Use Sentry for crash reporting 2022-10-30 17:10:58 -04:00
5afd9e83eb Shhh 2022-10-30 14:47:36 -04:00
d05275020f Tweak timeline status cell spacing 2022-10-29 21:18:01 -04:00
c420c236d9 Whoops 2022-10-29 21:06:27 -04:00
d5433e9b91 Fix crash when opening profile view controller with uncached account
E.g., by tapping a mention in a status
2022-10-29 18:55:13 -04:00
cbbe9ec11f Fix crash in profile due to accessing data source before it exists
This could happen if an account is updated in the background while a
profile is on screen and the user has not visited all of the tabs.
2022-10-29 18:40:41 -04:00
0e06d47687 Fix status collapse changes not animating on profiles 2022-10-29 18:27:24 -04:00
10239d14c9 Fix selected segment not updating on profiles when switching tabs with keyboard shortcuts 2022-10-29 15:08:03 -04:00
2344275ff9 Enable blurhash in debug
Capping the size at 32x32 means this is fast enough even in un-optimized builds
2022-10-29 14:19:43 -04:00
e0ffa1d9c5 Cap blurhash image size at 32x32 2022-10-29 14:19:43 -04:00
77a6654ff2 Fix crash when generating blurhash image for AttachmentView that hasn't been laid out
It was passing a negative size into the blurhash decoder, which is invalid

Instead, cap the size at 32x32 (letting the image view scale it up when rendering)
2022-10-29 14:19:43 -04:00
43aee0ec67 Add pointer interaction to avatar in timeline status cell 2022-10-29 14:19:43 -04:00
d95ba82e5b Improve pointer interaction on new status cell action buttons
Closes 
2022-10-29 14:19:43 -04:00
b6d8232951 Fix replies appearing multiple times in drafts 2022-10-29 14:19:43 -04:00
bb9cef55ea Don't remove persistent data when clearing cache 2022-10-29 14:19:43 -04:00
67718d8fe4 Fix wrong logs getting sent with crash reports 2022-10-29 14:19:43 -04:00
71a2029752 Switch everything to new profile view controller 2022-10-28 21:38:56 -04:00
6bb1f3b7dc Finish converting profiles to collection views 2022-10-28 21:31:18 -04:00
2469d285bc Initial implementation of profile switching with collection views 2022-10-28 19:17:33 -04:00
5f410213e2 Start converting profile statuses to collection view 2022-10-28 19:17:33 -04:00
bb3e1b44b1 Hide live text controls when other gallery controls are hidden
Closes 
2022-10-28 19:16:00 -04:00
868df25417 Disable pruning offscreen rows in new timelines
I don't think this is actually necessary, the system should kill us
often enough that the amount of items in the data source doesn't become
unmanageable.

Making modifications to the data source in viewDidDisappear was causing
the collection view's contentOffset to change to be scrolled to top
(roughly) when the view became visible again.

Disabling it also fixes several issues caused by updating the data
source even when there were no changes.

Closes 
Closes 
Closes 
Closes 
2022-10-28 19:05:07 -04:00
2801f65e67 Fix reblog labels in new cells not being tappable
Closes 
2022-10-28 18:48:30 -04:00
cccde29e6c Fix crash when long-pressing Send Report button on iPad
Closes 
2022-10-27 23:11:21 -04:00
aa0629d202 Don't dismiss issue reporter when email is cancelled
Closes 
2022-10-27 23:10:00 -04:00
ba209fa4d2 Protect DiskCache.fileStates with a lock
Closes 
2022-10-27 23:06:50 -04:00
d224f47b8c Fix long content warnings getting truncated in new status cells
Closes 
2022-10-11 17:04:31 -04:00
ffb0ceba20 Remove old XCB code 2022-10-11 10:10:55 -04:00
1ac72bc363 Fix collection view cells not deselecting in split nav controller on iPad 2022-10-10 18:58:07 -04:00
dcc8f38f3d Fix key commands not working inside split nav controller on iPad
Fixes 
2022-10-10 18:58:07 -04:00
8cf217d2ba Fix crash when trying to prune rows before statuses have loaded 2022-10-10 16:21:08 -04:00
7d66117fab Fix mentions from Misskey opening browser instead of profile view 2022-10-10 14:31:26 -04:00
9c0c1f87f8 Fix links/mentions/hashtags in timeline statuses not being tappable 2022-10-10 14:26:47 -04:00
7a2d8e78eb Attempt the third at making debug logging work in TestFlight 2022-10-10 14:25:25 -04:00
c15a5fc90f Fix reblog statuses being selected in timeline 2022-10-10 14:23:27 -04:00
212ce69ffd Log when status unexpectedly doesn't have URL 2022-10-10 14:21:12 -04:00
d1b4b39e86 Fix MultiThreadDictionary crash on iOS 15 due to using existential types
See 
2022-10-09 21:53:58 -04:00
035034430e Fix crash when hovering with the cursor over certain text views
Closes 
2022-10-09 20:49:08 -04:00
a703b7cc0a Prune offscreen rows on new timeline 2022-10-09 20:11:00 -04:00
e78bec8409 Fix sensitive attachments not being hidden in new timeline 2022-10-09 19:15:41 -04:00
412e4a4dc5 Fix public timeline descriptions not working
Closes 
2022-10-09 19:11:34 -04:00
81e10326d3 Add logging to persistent store 2022-10-09 17:09:55 -04:00
20f88ef161 Fix debug logs not working
Apparently only values in Info.plist do substitution
2022-10-09 16:46:40 -04:00
d661870401 Include log data in issue/crash reports 2022-10-09 14:26:44 -04:00
1b186725ce Re-add timeline context menus 2022-10-08 23:47:42 -04:00
164a8e26c4 Fix not being able to press attachments in new status cells 2022-10-08 19:10:21 -04:00
cadcc1a92a Don't navigate to profile when tapping name stack in timeline status
Otherwise it's too difficult to open short posts
2022-10-08 16:53:48 -04:00
bcb3c24027 Fix context menu presentation animation getting clipped in new status cells 2022-10-08 16:53:48 -04:00
fd6a4ba41c Fix update timestamp work item firing too frequently
A reconfiguration would schedule a new work item without cancelling the
old one, resulting in the timestamp updating multiple times in quick
succession (noticeable for statuses <60s old).
2022-10-08 16:53:48 -04:00
3ab82b2dbb Fix attachments/cards flickering in new cells on reconfiguration 2022-10-08 16:53:48 -04:00
1ed218d5e3 Fix new status cells not showing meta indicators or reblog button visibility 2022-10-08 16:53:48 -04:00
0fee770411 Fix crash when displaying new status cells with polls 2022-10-08 15:12:17 -04:00
5b116c0d4e More logging! 2022-10-08 15:12:10 -04:00
b7a4f7e30f Make tapping content warning label toggle expand/collapse 2022-10-08 15:03:50 -04:00
ba1300b1b7 Re-add status cell dragging 2022-10-08 15:01:23 -04:00
817ef0c2cc New timeline key commands 2022-10-08 14:53:21 -04:00
18ee621489 Status cell swipe actions 2022-10-08 14:33:07 -04:00
ddf5094acf Only show collapse button on collapsible statuses 2022-10-08 13:21:01 -04:00
133921848d Extract favoriting/reblogging to separate services
Allows displaying error popups and retrying
2022-10-08 13:19:32 -04:00
46db70d58b Fix building in release mode
When handleEvent dispatches to the other methods, it crashes the compiler
during an optimization pass. Seems to be related to:
https://github.com/apple/swift/issues/61350
2022-10-08 11:45:02 -04:00
21958eb77f Merge branch 'develop' into collection-timelines 2022-10-08 11:01:19 -04:00
b30f149dc9 Use mutex on iOS 15 instead of os_unfair_lock
See 
2022-10-08 10:57:59 -04:00
9b83566482 Fix TuskerTests not compiling 2022-10-08 10:55:55 -04:00
b688631937 Update status cells on status changes 2022-10-06 22:36:55 -04:00
4d654358d7 Extract a bunch of common stuff to StatusCollectionViewCell protocol 2022-10-05 23:19:30 -04:00
24e90de672 Status cell interaction 2022-10-05 22:28:10 -04:00
780e8b09b7 Status cell UI 2022-10-05 21:39:58 -04:00