116 Commits

Author SHA1 Message Date
26f1aafa15
Unify SavedHashtagsManager and SavedInstancesManager 2020-01-20 11:20:39 -05:00
6421d4dc12
Merge branch 'master' into multiple-accounts 2020-01-18 18:56:36 -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
23de131290
Add preference to require attachment descriptions before posting
Closes #76
2020-01-17 21:55:21 -05:00
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
8dba15ca17
Switch to scene-based lifecycle events
See #16
2020-01-07 18:39:19 -05:00
29e0128a55
Fix broken file paths 2020-01-06 20:27:58 -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
ad09e36907
Show follow requsts in notifications w/ accept/reject buttons
Closes #64
2020-01-04 23:13:23 -05:00
05cc3fd6d9
Add pinning/unpinning statuses
Closes #69
2020-01-04 19:31:35 -05:00
3ecbb1895c
Replace GMImagePicker with custom asset picker based on SheetController
Fixes #23
Closes #50
2020-01-04 16:25:15 -05:00
18c3c3c434
More UI testing setup and API mocks 2019-12-31 11:40:56 -05:00
49f58cf955
Initial UI testing setup 2019-12-30 16:00:14 -05:00
377b5f5c85
Add ability to save and view instance public timelines 2019-12-19 22:55:41 -05:00
ae6a0513e4
Add local saved hashtags
Closes #66
2019-12-19 21:20:29 -05:00
afc2bfcf6b
Add list editing 2019-12-17 22:56:53 -05:00
270cbc2a6c
Add lists to Explore tab
Closes #63
2019-12-17 21:10:30 -05:00
036791bd39
Replace Search tab with Explore tab
- Search controller (functionally the same, presents results on top of
explore menu)
- Add bookmarks screen

See #63
2019-12-17 00:22:25 -05:00
05d79d5d03
Use same nav delegate more options for context menu share sheet 2019-12-14 13:36:05 -05:00
4c0607af79
Add (un)bookmarking to status more options 2019-12-14 12:40:50 -05:00
eb6cfba9aa
Fix tablel view cells being re-selected on aborted nav swipe back 2019-12-14 11:59:31 -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
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
5076aec54e
Use ObservedObject for binding to prefs in SwiftUI instead of custom property wrappers 2019-11-14 19:53:00 -05:00
c84b042c33
Modify font descriptor traits when applying bold/italic formatting
instead of replacing font entirely.

Fixes #51
2019-09-22 19:30:15 -04:00
f0c0376f80
Add home screen shortcuts 2019-09-19 16:55:15 -04:00
df8e0dedd4
Add instance selector 2019-09-15 15:01:35 -04:00
fc2aea04c3
Add hashtags to search 2019-09-14 21:24:43 -04:00
e121dd37b8
Add Search tab
Closes #31
2019-09-14 20:47:08 -04:00
88344c67e8 Merge timeline tabs
Closes #46
2019-09-14 15:59:32 -04:00
905b6a0a21
Add preference for default notifications display mode 2019-09-14 13:02:33 -04:00
8bb6e9403d Add toggle to control whether Notifications tab shows all or just mentions
Closes #45
2019-09-14 12:04:20 -04:00
d52875cf25 Allow Pleroma instances to exceed Mastodon attachment limits
Closes #35
2019-09-11 16:57:42 -04:00
9522509f8f
Remove unnecessary XIBs 2019-09-06 17:45:49 -04:00
d9abf3ec09
Show list of accounts based on grouped notifications 2019-09-05 23:16:45 -04:00
76bc6a665c
Show list of accounts for grouped follow notifications 2019-09-05 22:30:58 -04:00
a363308147
Follow notification grouping
Closes #28
2019-09-05 19:35:19 -04:00
1618313742
Fav/reblog notification grouping
#28
2019-09-05 17:45:45 -04:00
e53b14c729
Reorganize Pachyderm code 2019-09-05 14:40:35 -04:00
b60688f4b8
Show share sheet with custom activities instead of alert controller for account actions 2019-09-05 12:49:17 -04:00
84cfa923ca
Use Notification for updating view appearance on preferences change 2019-08-02 18:05:47 -06:00
51a03553a9
Add preference for how reply CWs are copied 2019-07-31 21:25:44 -06:00
d9b21a0196
Represent timelines internally as segments
Primarily in preparation for timeline position persistence and split
timelines
2019-07-31 17:42:19 -06:00
5f5ff68b80
Merge branch 'swiftui-preferences' 2019-07-27 21:59:21 -04:00
50d641eb59
Block gab.* domains from logging in 2019-06-19 19:12:42 -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
f2e3870850
Start rewriting preferences in SwiftUI 2019-06-13 17:53:17 -07:00