6ef643e374
Fix custom instances not showing up when typed into the instance
...
selector search field
With Combine Cancellables are automatically cancelled on deinit, so the
instance selector needs to hold on to a reference to pipeline
cancellable for its lifetime, otherwise it's cancelled immediately after
creation.
Closes #59
2019-12-31 11:45:34 -05:00
18c3c3c434
More UI testing setup and API mocks
2019-12-31 11:40:56 -05:00
b9e359ba83
Fix custom instance domains not being parsed correctly
2019-12-31 00:13:09 -05:00
edb86fc503
Add theme toggle separate from system appearance
...
Closes #67
2019-12-31 00:12:18 -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
f92a2acc97
Show list edit screen immediately upon creation
2019-12-19 21:37:47 -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
76a7c5bdf8
Add list deletion
2019-12-17 21:40:08 -05:00
19f15d8fa9
Add list creation
2019-12-17 21:18:32 -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
382decd7da
Fix search section titles
2019-12-16 22:23:12 -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
c26657bafa
Use synchronized MastodonCache to prevent race condition crashes
2019-12-14 11:31:14 -05:00
0c78af7d4f
Store in reply to status in drafts
2019-12-14 11:30:35 -05:00
681cdb8bb5
Fix automatically created drafts not being deleted after successful post
...
The newly created draft needs to be set to the compose VC's currentDraft
so that it gets removed after the status is successfully created.
Also, save the drafts to disk after saving a draft so that crashes don't
cause draft loss.
2019-11-28 22:26:37 -05:00
06442b5629
Fix controls in large image/gallery not hiding/showing on zoom
...
Closes #58
2019-11-28 21:51:24 -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
7140590ccf
Fix covnerstaion expand/collapse button not working on all statuses
2019-11-28 18:58:47 -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
da6ff67a51
Add notification dismissal context menu actions
...
Closes #49
This is a workaround for UIKit's built-in suggested context menu actions
not working as expected, and should be replaced with the system thing if
it becomes possible.
2019-11-17 18:49:48 -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
d4fa2f36e3
Remove send message from profile share menu
2019-11-17 15:19:20 -05:00
4cfe5e0fa5
Change action notification line limit to 3
2019-11-17 15:16: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
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
81a5fce602
Add preference to always blur media
2019-11-17 12:52:42 -05:00
6ce96764f3
Use visual effect views for sensitive media hide button so the button is
...
visible regardless of the image color
2019-11-17 12:28:21 -05:00
42a0a8890c
Tweak profile header more button appearance
2019-11-17 11:33:49 -05:00
56d4a6690f
Fix crash when displaying posts with more than 4 attachments
2019-11-17 11:32:35 -05:00
c91a7baaa6
Show pinned posts on profiles
...
Closes #53
2019-11-17 11:14:33 -05:00
af65aa88e0
Don't use suggested actions in context menus
2019-11-17 10:19:50 -05:00
c85836eda6
Add preferences for using in-app vs out of app Safari and using Reader Mode for in-app
2019-11-14 19:53:27 -05:00
5076aec54e
Use ObservedObject for binding to prefs in SwiftUI instead of custom property wrappers
2019-11-14 19:53:00 -05:00
b4d41ac9b7
Fix crash in compose screen
2019-09-28 00:37:43 -04:00
1808aaa3e8
A bunch of VoiceOver/Voice Control stuff
2019-09-26 22:32:51 -04:00
6225b2a02f
Use aspect fit for instance thumbnail
2019-09-24 14:45:47 -04:00
adef4840de
Don't crash on login cancelled
2019-09-24 14:45:29 -04:00
268aca9d7e
Fix a couple warnings
2019-09-23 11:07:32 -04: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
4b70b9d8b6
Fix attached media in compose view being displayed incorrectly
2019-09-22 19:02:19 -04:00
682d68fd81
Change order of notification dismissal swipe action
2019-09-19 22:09:17 -04:00
f0c0376f80
Add home screen shortcuts
2019-09-19 16:55:15 -04:00
d0c49144c4
Add notification dismissal swipe action
...
#49
2019-09-16 16:09:13 -04:00
911e73c78f
Add haptic feedback to switching segmented pages
2019-09-16 13:14:58 -04:00
65ceb83d2d
Add logout button to preferences
2019-09-16 13:12:23 -04:00
bc2e3c37a0
Add NSUserActivity for search
2019-09-15 21:20:50 -04:00
d08789bfab
Add NSUserActivity for checking mentions
2019-09-15 21:15:40 -04:00
9f818328ee
Cleanup user activity and XCB action handling code
2019-09-15 21:15:40 -04:00
32d6756762
Add NSUserActivity's for timelines
2019-09-15 21:15:40 -04:00
e17e00583f
Add X-Callback-URL for search
2019-09-15 18:12:49 -04:00
078f9e076d
Allow searching for posts/users by opening URL with the tusker:// protocol
2019-09-15 16:13:18 -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
dfb72edbd8
Fix opening context menu previews
...
Closes #43
2019-09-14 16:48:43 -04:00
d3e31541cf
Don't allow swiping in SegmentedPageViewController
2019-09-14 15:59:32 -04:00
88344c67e8
Merge timeline tabs
...
Closes #46
2019-09-14 15:59:32 -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
905b6a0a21
Add preference for default notifications display mode
2019-09-14 13:02:33 -04:00
6ab8f99cc2
Use @Published for preferences and manually encode/decode
2019-09-14 12:15:40 -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
6e4f89df4a
Add support for video attachments
...
#7
2019-09-10 12:25:50 -04:00
befcc18e4d
Collapse statuses with content warnings
...
Closes #11
2019-09-09 18:40:23 -04:00
2e6f7d8878
Store CW in drafts
2019-09-08 17:57:11 -04:00
2edb65d302
Show favorite, reblog, and full timestamp in conversation main status
2019-09-07 17:10:58 -04:00
818c0afec6
Cleanup draft attachment loading and handle missing attachments
...
#4
2019-09-06 18:50:18 -04:00
49380692f3
Add context menu for follow notifications
2019-09-06 17:59:57 -04:00
8723921cec
Add context menu for status action notifications
2019-09-06 17:56:45 -04:00
817ebcb7eb
Add context menu for account cell
2019-09-06 17:50:27 -04:00
9522509f8f
Remove unnecessary XIBs
2019-09-06 17:45:49 -04:00
006af1ab79
Save status draft while posting to prevent data loss due to crashes
...
Closes #33
2019-09-06 17:09:28 -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
a8ae559c9d
Add timestamp to follow notifications
2019-09-05 19:53:08 -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
1bc598691f
Fix a slew of bugs related to reblogs
...
Fixes #37
Fixes #38
Fixes #39
2019-09-05 14:24:13 -04:00
ad0bbe0ab2
Remove old code
2019-09-05 14:04:05 -04:00
f4b0b9b70a
Use share sheet instead of alert controller for status options
2019-09-05 13:40:10 -04:00
b60688f4b8
Show share sheet with custom activities instead of alert controller for account actions
2019-09-05 12:49:17 -04:00
6a09c7e1e8
Tweak profile headers to better support long display names
2019-09-05 11:34:41 -04:00
e07bc4e51a
Fix crash when viewing profiles
2019-08-21 23:22:14 -04:00
0df8ada3d6
Changes for iOS 13 beta 6
2019-08-07 16:59:11 -04:00
7064ae950e
Changes for iOS 13 beta 5
2019-08-05 21:08:00 -06:00
abd73fbe3b
Use timeline segments for profile view controller
2019-08-02 18:23:45 -06: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
51a03553a9
Add preference for how reply CWs are copied
2019-07-31 21:25:44 -06:00
9dfaa9e023
Use timeline segments for notifications
2019-07-31 20:09:38 -06:00
82c56d2bd1
Use MastodonCache for notifications
...
In preparation for using timeline segments for notifications
2019-07-31 20:01:00 -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
83d5731f3a
Fix broken shortcuts
2019-07-29 12:15:33 -04:00
917771a79a
Shrink display name font size in profile to accomodate long names
...
Fixes #30
2019-07-29 12:11:20 -04:00
9a6723a895
Fix some images scrolling unnecesarily in LargeImageViewController
2019-07-29 11:38:57 -04:00
509e013380
Add support for posts with more than four attachments
2019-07-27 22:45:11 -04:00
c29ebbb6a0
Start adding sensitive media hiding
2019-07-27 22:01:08 -04:00
5f5ff68b80
Merge branch 'swiftui-preferences'
2019-07-27 21:59:21 -04:00
1e8ba5000b
Cleanup code
2019-07-27 21:43:08 -04:00
2afe98cf77
Remove old Preferences view code
2019-07-27 21:43:02 -04:00
a1c6a34f54
Preferences Picker titles
2019-07-27 21:34:20 -04:00
7d7b457575
Fix context menu actions in beta 4
2019-07-27 18:53:07 -04:00
e269e23527
Fix main thread checker warning on login
2019-07-27 18:31:55 -04:00
8bdfa7f09f
Use monospace digit font for character counter
...
Fixes #29
2019-07-27 18:27:47 -04:00
319c76f60a
Updates for beta 4
2019-07-18 18:44:35 -04:00
e287142e4c
Fix attachments overlapping avatar when status doesn't have any content
...
Closes #25
2019-06-26 09:13:58 -04:00
1da5af9b37
Compose screen: Fix long display names overlapping character count
2019-06-25 09:19:29 -04:00
50d641eb59
Block gab.* domains from logging in
2019-06-19 19:12:42 -04:00
bc5067d3b0
Temporarily disable UIMenu stuff due to missing creation method in iOS 13 DB2
2019-06-18 09:51:46 -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
0abc28900c
Large Image VC: Show share sheet instead of downloading
2019-06-14 17:10:17 -07:00
bd8e16cacb
Large Image VC: Don't let image overlap top controls when zoomed out
2019-06-14 15:27:17 -07:00
ea143ea0dd
Large Image VC: Hide home indicator when controls hidden
2019-06-14 14:46:19 -07:00
730308df3f
Re-add custom LargeImageViewController presentation/dismissal animations
2019-06-14 00:00:53 -07:00
940ba6d6cb
Fix swipe actions on iOS 13
2019-06-13 19:31:36 -07:00
2232bb8fb7
Copy content warning on reply
...
Closes #21
2019-06-13 18:12:29 -07:00
f2e3870850
Start rewriting preferences in SwiftUI
2019-06-13 17:53:17 -07:00
b478f6e982
Fix interactive dismissal for reply screen
2019-06-13 14:54:55 -07:00
d3aa2eff5a
Use inset grouped style for preferences
2019-06-13 13:28:12 -07:00
fccdd0a9bd
Use SF Symbol icon for add attachment button
2019-06-13 13:13:53 -07:00
1997aaf915
Add visiblity and formatting icons
2019-06-13 12:38:40 -07:00
ee848d6284
Support iOS 13 interactive dismissal of compose screen
2019-06-13 12:15:49 -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
6ecad62b94
More dark mode fixes
2019-06-04 17:58:35 -04:00
a89fb56a60
Add support for iOS 13 previewing and actions
2019-06-04 17:04:37 -04:00
2c452b08e8
Fix deprecation warning
2019-06-04 13:37:31 -04:00
03f89c752e
Fix logging in on iOS 13
2019-06-04 13:31:12 -04:00
b3b9d566b7
iOS 13 Dark Mode Support
2019-06-04 13:31:05 -04:00
66bb1050a5
Add support for additional formatting
...
Italics, bold, strikethrough, monospace, and (un)ordered lists
2019-04-04 21:45:48 -04:00
d94a0050b7
Show fields in profiles
...
Closes #19
2019-04-01 19:34:50 -04:00
9c0624b79e
Clean up warnings
2019-04-01 17:58:44 -04:00
8b24457d96
Store attachments in post drafts
2019-02-22 13:53:38 -05:00
9efc58225c
Allow drafts to be deleted
2019-02-22 11:30:38 -05:00
3366b16c96
Add option to attempt to open links in their respective apps
2019-02-22 10:24:20 -05:00
07ce3d41a8
Remove old tab customization code
2019-02-10 10:32:13 -05:00
7f3128c958
Add prefetching for images in table views
2019-02-09 21:15:15 -05:00
37f6a0b4c8
Add custom emojis
...
Closes #6
2019-02-09 21:15:15 -05:00
71bfd1513a
Fix links not getting cleared on cell reuse
2019-02-07 21:26:16 -05:00
ef6047fcb1
Replace TTTAttributedLabel with custom LinkLabel
2019-02-03 11:39:27 -05:00
55ed2f5d26
Get rid of AppRouter
2019-01-19 14:31:31 -05:00
b8430be00c
Initial rewrite/redesign of compose screen
...
Still pending:
- Posting videos
- Image resizing
- Attachment drawer thing
2019-01-14 21:59:42 -05:00
5b3a3d9729
Fix UIKit methods being invoked off main thread
2019-01-14 16:58:23 -05:00
07a79657a7
Fix crash on attachment-only statuses posted from pleromafe
2019-01-13 19:46:32 -05:00
fe85e3c1d6
Redo app navigation/tab bar
2019-01-05 12:59:55 -05:00
656cc1d3ef
Fix tapping mentions not working in reblogs
2018-11-24 16:32:21 -05:00
9f423e0c40
Remove old debug print
2018-11-24 16:30:06 -05:00
e3d27e0720
Add undo scroll-to-top
2018-11-10 11:48:09 -05:00
f684591888
Use Gifu for GIF playback
2018-11-09 15:48:08 -05:00
86d064dc6e
Don't cache attachments to disk, only avatars and headers
2018-11-07 19:24:52 -05:00
ff91cca843
Fix long display names crushing timestamp label
2018-11-02 21:39:23 -04:00
29964a4cee
Add peek/pop to profile headers
2018-10-30 22:24:49 -04:00
5cd68cf774
Fix crash when My Profile is first tab loaded
...
Closes #5
2018-10-30 22:18:10 -04:00
4bf49211fd
Fix large images being offset on some devices
...
Closes #6
2018-10-30 22:14:02 -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
7eb377ec6b
Fix strange large image VC presentation animation
...
Workaround for using XIB instead of storyboard
Closes #4
2018-10-29 19:56:05 -04:00
82d4fe22cf
Cleanup visibility selection
2018-10-25 21:54:07 -04:00
ba55540712
Add Behavior preferences section
2018-10-25 21:29:13 -04:00
df6976df2f
Add post drafts
2018-10-22 22:09:11 -04:00
c1bfc6d3d9
Fix presenting nested modal view controllers through AppRouter
2018-10-22 20:37:12 -04:00
7e8f22c471
Refactor view controller creation/navigation into AppRouter
2018-10-20 22:07:04 -04:00
35de20fe40
Cleanup
2018-10-20 15:38:17 -04:00
d9fa189848
Fix Safari VCs being presented incorrectly from peek/pop, cleanup VC previewing code
2018-10-20 15:35:56 -04:00
eb9e1276df
Replace most storyboards with XIBs
2018-10-20 12:13:41 -04:00
9e7e16b3fc
Start adding Siri Shortcuts
2018-10-20 10:55:01 -04:00
21d10fdf7d
Add 3d touch to profiles
2018-10-18 13:30:19 -04:00
6fbd826371
Add link long press actions
2018-10-11 22:04:32 -04:00
0462e57635
Add 3d touch preview actions
2018-10-11 21:52:41 -04:00
0b6459a806
Add 3d touch peek/pop navigation
2018-10-11 21:52:41 -04:00
5f503cafb0
Make ConversationViewController a UITableViewController
2018-10-11 21:10:25 -04:00
57b4e67cc2
Allow tabs to be enabled/disabled and reordered
2018-10-06 11:03:55 -04:00
0f37843a5b
Fix crash on follow notification
2018-10-05 19:25:48 -04:00
b796f288c8
Merge branch 'image-caching'
2018-10-03 08:53:17 -04:00
82e351465e
Cache image attachments
2018-10-03 08:53:05 -04:00
fd611d1f04
Cache profile header images
2018-10-03 08:45:13 -04:00
982e42ca2f
Refactor AvatarCache to ImageCache
...
Use Cache library (https://github.com/hyperoslo/Cache ) for caching
2018-10-03 08:45:03 -04:00
ed6c371967
Don't show relationship label for the user's own account
2018-10-02 20:04:41 -04:00
a6373f7e10
Extract Appearance preferences into separate controller
2018-10-02 19:39:39 -04:00
225c7e30fc
Remove MastodonController.shared
2018-10-02 19:31:00 -04:00
05e747a6f4
Add my account tab
2018-10-02 19:23:50 -04:00
57cbebecbd
Merge branch 'master' of github.com:shadowfacts/Tusker
2018-10-02 18:28:38 -04:00
589af9782d
Fix timestamps not being displayed for conversation main status
2018-10-02 08:37:04 -04:00
f7a2576842
Use child view controller for loading
2018-10-01 21:25:10 -04:00
3d39087980
Replace ActiveLabel-based implementation with TTTAttributedLabel
2018-10-01 19:50:03 -04:00
adffe41c95
Add tapping hashtags to show tag timeline
2018-09-30 21:28:22 -04:00
a4eb862e3a
Use light text for usernames and timestamps
2018-09-30 21:15:18 -04:00