Shadowfacts
d27bddb2ca
Fix profile header image not showing up on first load
...
The issue occurred because the profile header would kick off a request
upon loading, then the profile table would request the initial set of
statuses shortly thereafter which would result in reloadData being called
which would cancel the request without removing the group, so the request
generated by the newly-reloaded header cell would attach a callback to
the cancelled request, resulting in the header image never displaying.
2020-06-15 22:34:42 -04:00
Shadowfacts
36326e4469
Make network requests in viewWillAppear instead of viewDidLoad
2020-06-15 19:41:51 -04:00
Shadowfacts
f2a8b91769
Provide metadata to UIActivityViewController
...
Closes #56
2020-05-14 22:43:56 -04:00
Shadowfacts
35a510e8ed
Add cache reset button to Advanced Preferences
2020-05-13 18:58:11 -04:00
Shadowfacts
82ad3b9fc4
Add reference counting for accounts
...
Closes #97
2020-05-11 22:03:17 -04:00
Shadowfacts
1e41c8fa17
Remove MastodonCache usgae from XCBActions
2020-05-06 23:05:15 -04:00
Shadowfacts
d6c506488b
Replace a bunch of MastodonCache uses with CoreData
2020-05-02 19:52:35 -04:00
Shadowfacts
fa1daa682f
Convert profile VC to use CoreData objects
...
Does not yet remove old statuses when scrolling up, like timeline VC
2020-04-13 22:51:21 -04:00
Shadowfacts
2c8ba878b7
Start converting UI to use CoreData backed objects instead of API
...
objects directly
2020-04-12 12:54:27 -04:00
Shadowfacts
2cebb6bd7d
Show custom emojis in display names (where possible)
2020-03-02 19:44:09 -05:00
Shadowfacts
53707593a6
Show custom emojis in display names (where possible)
2020-03-01 19:40:32 -05:00
Shadowfacts
d6ae51c02f
Improve ImageCache loading
...
Keep track of the number of requests and only cancel the underlying
URLSessionTask if there are no concrete requsts remaining.
Closes #81
2020-01-25 10:30:04 -05:00
Shadowfacts
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
Shadowfacts
863867c522
Add logging in to additional accounts and switching accounts via Preferences
...
See #16
2020-01-18 22:45:06 -05:00
Shadowfacts
6421d4dc12
Merge branch 'master' into multiple-accounts
2020-01-18 18:56:36 -05:00
Shadowfacts
8178a1f339
Fix crash when tapping more actions buttons on iPad
...
Fixes #78
2020-01-17 21:29:53 -05:00
Shadowfacts
53702a8324
Add pinned status refreshing
...
Closes #82
2020-01-17 21:13:17 -05:00
Shadowfacts
db4312ee34
Fix refreshing multiple times with no new data not working
...
When the requested range has no results, no pagination data is returned,
so the existing `newer` request range is replaced with nil. As there
was no new data, the existing request range is still correct and should
not be replaced.
Fixes #75
2020-01-07 21:54:19 -05:00
Shadowfacts
3928b2e88a
Store an array of logged-in accounts internally, get the active
...
MastodonController from the current UIScene
See #16
2020-01-07 21:29:15 -05:00
Shadowfacts
0255483f97
Make MastodonCache specific to each API controller
...
See #16
2020-01-05 19:54:28 -05:00
Shadowfacts
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
Shadowfacts
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
Shadowfacts
18c3c3c434
More UI testing setup and API mocks
2019-12-31 11:40:56 -05:00
Shadowfacts
05d79d5d03
Use same nav delegate more options for context menu share sheet
2019-12-14 13:36:05 -05:00
Shadowfacts
eb6cfba9aa
Fix tablel view cells being re-selected on aborted nav swipe back
2019-12-14 11:59:31 -05:00
Shadowfacts
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
Shadowfacts
24a1e7ceb9
Unify most of TimelineStatus and ConverastionMainStatus cell code
...
Closes #54
2019-11-19 12:08:11 -05:00
Shadowfacts
d4fa2f36e3
Remove send message from profile share menu
2019-11-17 15:19:20 -05:00
Shadowfacts
150adeb581
Use custom navigation controller for preferences to override
...
viewWillDisappear method and send preferences changed notification
Workaround for #36
2019-11-17 14:31:07 -05:00
Shadowfacts
c91a7baaa6
Show pinned posts on profiles
...
Closes #53
2019-11-17 11:14:33 -05:00
Shadowfacts
befcc18e4d
Collapse statuses with content warnings
...
Closes #11
2019-09-09 18:40:23 -04:00
Shadowfacts
ad0bbe0ab2
Remove old code
2019-09-05 14:04:05 -04:00
Shadowfacts
b60688f4b8
Show share sheet with custom activities instead of alert controller for account actions
2019-09-05 12:49:17 -04:00
Shadowfacts
e07bc4e51a
Fix crash when viewing profiles
2019-08-21 23:22:14 -04:00
Shadowfacts
abd73fbe3b
Use timeline segments for profile view controller
2019-08-02 18:23:45 -06:00
Shadowfacts
84cfa923ca
Use Notification for updating view appearance on preferences change
2019-08-02 18:05:47 -06:00
Shadowfacts
199f95c465
Update cells when statuses/accounts change from other sources
2019-08-02 17:40:32 -06:00
Shadowfacts
5f5ff68b80
Merge branch 'swiftui-preferences'
2019-07-27 21:59:21 -04:00
Shadowfacts
e6c6293c10
Add multi-image gallery
...
Closes #18
2019-06-14 17:23:40 -07:00
Shadowfacts
940ba6d6cb
Fix swipe actions on iOS 13
2019-06-13 19:31:36 -07:00
Shadowfacts
f2e3870850
Start rewriting preferences in SwiftUI
2019-06-13 17:53:17 -07:00
Shadowfacts
9d4782c63c
Add SF Symbols icons
2019-06-11 10:21:22 -07:00
Shadowfacts
a89fb56a60
Add support for iOS 13 previewing and actions
2019-06-04 17:04:37 -04:00
Shadowfacts
b3b9d566b7
iOS 13 Dark Mode Support
2019-06-04 13:31:05 -04:00
Shadowfacts
d94a0050b7
Show fields in profiles
...
Closes #19
2019-04-01 19:34:50 -04:00
Shadowfacts
7f3128c958
Add prefetching for images in table views
2019-02-09 21:15:15 -05:00
Shadowfacts
55ed2f5d26
Get rid of AppRouter
2019-01-19 14:31:31 -05:00
Shadowfacts
fe85e3c1d6
Redo app navigation/tab bar
2019-01-05 12:59:55 -05:00
Shadowfacts
e3d27e0720
Add undo scroll-to-top
2018-11-10 11:48:09 -05:00
Shadowfacts
5cd68cf774
Fix crash when My Profile is first tab loaded
...
Closes #5
2018-10-30 22:18:10 -04:00
Shadowfacts
7e8f22c471
Refactor view controller creation/navigation into AppRouter
2018-10-20 22:07:04 -04:00
Shadowfacts
35de20fe40
Cleanup
2018-10-20 15:38:17 -04:00
Shadowfacts
eb9e1276df
Replace most storyboards with XIBs
2018-10-20 12:13:41 -04:00
Shadowfacts
21d10fdf7d
Add 3d touch to profiles
2018-10-18 13:30:19 -04:00
Shadowfacts
0462e57635
Add 3d touch preview actions
2018-10-11 21:52:41 -04:00
Shadowfacts
225c7e30fc
Remove MastodonController.shared
2018-10-02 19:31:00 -04:00
Shadowfacts
05e747a6f4
Add my account tab
2018-10-02 19:23:50 -04:00
Shadowfacts
f7a2576842
Use child view controller for loading
2018-10-01 21:25:10 -04:00
Shadowfacts
96953cf235
Add tapping mentions to show profiles
2018-09-30 21:12:23 -04:00
Shadowfacts
139a214d2f
Move StatusTableViewCellDelegate methods to TuskerNavigationDelegate
2018-09-30 19:29:52 -04:00
Shadowfacts
3ff80b238e
Merge branch 'master' of github.com:shadowfacts/Tusker
2018-09-24 08:51:20 -04:00
Shadowfacts
d345cd5372
Add following/unfollowing accounts
2018-09-24 08:49:39 -04:00
Shadowfacts
d74f86418e
Add initial x-callback-url implementation
2018-09-23 12:01:23 -04:00
Shadowfacts
a10b990073
Cache accounts
2018-09-18 12:59:07 -04:00
Shadowfacts
a6d23d12eb
Add shared status cache
2018-09-17 21:57:46 -04:00
Shadowfacts
266ebddd43
Merge branch 'pachyderm-immutable'
2018-09-17 19:37:58 -04:00
Shadowfacts
bf09b80a5a
Change Pachyderm models to be immutable
2018-09-17 19:33:44 -04:00
Shadowfacts
6ec0ae5489
Refactor swipe actions into TableViewSwipeActionProvider
2018-09-15 13:11:58 -04:00
Shadowfacts
1119a861d8
Replace MastodonKit with Pachyderm
2018-09-11 10:52:21 -04:00
Shadowfacts
cd5d0c4a95
Change how view controller delegate extensions work
2018-09-03 18:46:20 -04:00
Shadowfacts
bd1f8fa20a
Reorganize sources
2018-09-03 17:10:26 -04:00