Shadowfacts
2f630f2f8f
Fix retain cycle between MastodonController/MastodonCache
...
The cache should only store a weak reference to the controller, so that
when the controller is deinit'd the cache is as well.
2020-01-19 23:14:13 -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
c26657bafa
Use synchronized MastodonCache to prevent race condition crashes
2019-12-14 11:31:14 -05:00
Shadowfacts
199f95c465
Update cells when statuses/accounts change from other sources
2019-08-02 17:40:32 -06:00
Shadowfacts
82c56d2bd1
Use MastodonCache for notifications
...
In preparation for using timeline segments for notifications
2019-07-31 20:01:00 -06:00
Shadowfacts
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
Shadowfacts
225c7e30fc
Remove MastodonController.shared
2018-10-02 19:31:00 -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