8eb6f6f573
Fix retain cycle in timestamp updating code
...
The timestamp update work item shouldn't retain a reference to the cell.
It can be unowned because when the cell is deinit'd, the work item will
be cancelled.
2020-01-19 23:10:52 -05:00
32e89f2c16
Fix retain cycles with TuskerNavigationDelegate
...
TuskerNavigationDelegate is now class-bound and only weak references to
it are stored.
2020-01-19 23:02:07 -05:00
6421d4dc12
Merge branch 'master' into multiple-accounts
2020-01-18 18:56:36 -05:00
fa358a3e97
Remove xtra padding from content text view
2020-01-18 16:27:18 -05:00
b5a41badcc
Replace content labels with text views
...
UITextView uses TextKit internally, unlike UILabel, so no additional
code is needed to keep the TextKit and view representations of the text
in sync since they are one and the same. This means that detecting which
character was tapped in a content text view is much more accurate, which
means link handling is substantially imrpoved.
Fixes #20
2020-01-18 16:05:00 -05:00
8178a1f339
Fix crash when tapping more actions buttons on iPad
...
Fixes #78
2020-01-17 21:29:53 -05:00
0255483f97
Make MastodonCache specific to each API controller
...
See #16
2020-01-05 19:54:28 -05:00
e3be424f5a
Fix instance public timelines not loading
2020-01-05 19:45:12 -05:00
2bdcb9b7f8
Replace global shared MastodonController instance with (mostly)
...
dependency injection
The places still using the .shared property are cases where there is no
view controller from which to (easily) get the appropriate instance,
such as user activity and X-Callback-URL handling. These uses will need
to be revisited once there are multiple MastodonControllers.
See #16
2020-01-05 15:25:07 -05:00
a18bcac8b8
Pachyderm: Change Client request methods to be static, like all other
...
models
Tusker: Add run method to MastodonController and no-longer expose API
client object
2020-01-05 14:00:39 -05:00
05d79d5d03
Use same nav delegate more options for context menu share sheet
2019-12-14 13:36:05 -05:00
eb6cfba9aa
Fix tablel view cells being re-selected on aborted nav swipe back
2019-12-14 11:59:31 -05:00
d5232c0b03
Fix content warning label always showing in conversation main status
...
When the conversation was opened, the status state of the main status
would already be known, so the CW label wasn't getting updated or
hidden/shown.
2019-11-28 21:22:13 -05:00
b47b08fa95
Store status collapse state in containing view controller
...
Also, copy the state between screens, so e.g. expanding a status in the
timeline and then opening that conversation already has that status
expanded.
This intentionally doesn't store the sensitive attachment visibility
state, since showing text when not necessary is less dangerous than for
images. (Possibly a preference for this in the future?)
Closes #55
2019-11-28 18:36:58 -05:00
24a1e7ceb9
Unify most of TimelineStatus and ConverastionMainStatus cell code
...
Closes #54
2019-11-19 12:08:11 -05:00
8fb3b211b6
Add button to conversation table view to collapse/expand all posts
...
This needs a refactor once StatusTableViewCell and
ConversationMainStatusTableViewCell are merged. See #54
2019-11-18 22:28:47 -05:00
a92d9ddc6f
Automatically collapse long (> 500 chars) statuses
...
Closes #12
2019-11-17 18:36:19 -05:00
eb8afdaab8
Change how pin icon is displayed on statuses
2019-11-17 15:28:58 -05:00
975fb23292
Possibly fix crash when reblogger account is cached
2019-11-17 14:46:14 -05:00
85812d774d
Fix crash when trying to open context menu for attachment that hasn't yet loaded
2019-11-17 14:45:38 -05:00
81a5fce602
Add preference to always blur media
2019-11-17 12:52:42 -05:00
c91a7baaa6
Show pinned posts on profiles
...
Closes #53
2019-11-17 11:14:33 -05:00
1808aaa3e8
A bunch of VoiceOver/Voice Control stuff
2019-09-26 22:32:51 -04:00
84a07fc718
Add preference to disable showing favorite/reblog counts
2019-09-14 15:00:52 -04:00
eb58a46ab7
Change how favorite/reblog counts are displayed
2019-09-14 14:55:09 -04:00
befcc18e4d
Collapse statuses with content warnings
...
Closes #11
2019-09-09 18:40:23 -04:00
2edb65d302
Show favorite, reblog, and full timestamp in conversation main status
2019-09-07 17:10:58 -04:00
1618313742
Fav/reblog notification grouping
...
#28
2019-09-05 17:45:45 -04:00
1bc598691f
Fix a slew of bugs related to reblogs
...
Fixes #37
Fixes #38
Fixes #39
2019-09-05 14:24:13 -04:00
84cfa923ca
Use Notification for updating view appearance on preferences change
2019-08-02 18:05:47 -06:00
199f95c465
Update cells when statuses/accounts change from other sources
2019-08-02 17:40:32 -06:00
44cfd44651
Fix faving/reblogging statuses by tapping buttons
2019-08-01 18:03:49 -06:00
509e013380
Add support for posts with more than four attachments
2019-07-27 22:45:11 -04:00
e287142e4c
Fix attachments overlapping avatar when status doesn't have any content
...
Closes #25
2019-06-26 09:13:58 -04:00
cd5b593199
Show gallery from conversation main status cell
2019-06-16 22:40:07 -04:00
85ed53b990
Fix multi-attachment layout issues
2019-06-16 22:39:46 -04:00
55fc032f36
Extract attachment layout to it's own view
...
Use AutoLayout + stack views instead of manual frames, fixes attachments
sometimes not using the whole width
2019-06-16 19:02:18 -04:00
e6c6293c10
Add multi-image gallery
...
Closes #18
2019-06-14 17:23:40 -07:00
940ba6d6cb
Fix swipe actions on iOS 13
2019-06-13 19:31:36 -07:00
bf48603deb
Temporarily disable LargeImageViewController animation
2019-06-12 22:44:23 -07:00
9d4782c63c
Add SF Symbols icons
2019-06-11 10:21:22 -07:00
a89fb56a60
Add support for iOS 13 previewing and actions
2019-06-04 17:04:37 -04:00
b3b9d566b7
iOS 13 Dark Mode Support
2019-06-04 13:31:05 -04:00
55ed2f5d26
Get rid of AppRouter
2019-01-19 14:31:31 -05:00
5b3a3d9729
Fix UIKit methods being invoked off main thread
2019-01-14 16:58:23 -05:00
656cc1d3ef
Fix tapping mentions not working in reblogs
2018-11-24 16:32:21 -05:00
f684591888
Use Gifu for GIF playback
2018-11-09 15:48:08 -05:00
ff91cca843
Fix long display names crushing timestamp label
2018-11-02 21:39:23 -04:00
aaddae1ecb
Fix bugs with reblogged statuses
...
Including: Attachments not showing up, 3d touch peek/pop not working,
favorite/reblog not working
2018-10-30 22:07:54 -04:00
7e8f22c471
Refactor view controller creation/navigation into AppRouter
2018-10-20 22:07:04 -04:00