705fbbe343
Fix deadlock when loading assets after requesting authorization
2022-03-29 12:07:57 -04:00
12bcf52764
Improve error reporting for onboarding, use async/await
2022-03-29 11:58:11 -04:00
f31c909517
Fix a race condition when refreshing My Profile before initial load is complete
2022-03-28 23:02:32 -04:00
781c37fbae
Fix crash when refreshing My Profile
...
Closes #140
2022-03-28 22:23:33 -04:00
de93d6e171
Make Account.avatar optional for gotosocial
2022-02-16 22:12:47 -05:00
80c79ded3b
Bump build number and update changelog, fix building weburl
2022-02-16 22:11:24 -05:00
126b0ae90a
Extend disk cache expiry times
...
The cache keys are URLs, and Mastodon changes the url if the a new image is uploaded for avatar/header
2022-02-06 14:36:01 -05:00
d6a847bfcc
Use background image preparation apis on iOS 15
...
Closes #128
2022-02-06 10:24:48 -05:00
9b33059089
Fix crash when ProfileHeaderView leaks
2022-02-06 10:20:06 -05:00
804fdb439d
Fix offscreen row pruning removing all rows from profile statuses
2022-02-06 10:19:38 -05:00
6ba5f70615
Fix pinned statuses from foreign instances not showing on Mastodon
2022-02-03 23:16:31 -05:00
54c01be7ff
Use WebURL for more lenient parsing of external URLs
...
Fixes #136
2022-02-03 23:11:29 -05:00
6e964ff601
Profile directory can have a little shadow, as a treat
2022-01-25 21:34:41 -05:00
73d33ae730
Fix pleroma not being detected
2022-01-25 21:34:41 -05:00
434d975767
Fix crash when ownInstanceLoaded callback is called multiple times
2022-01-25 21:34:41 -05:00
41a31c23b7
Allow posting local-only from Glitch instances
...
See #130
2022-01-24 22:49:51 -05:00
02461ad46c
Support local only posts on Hometown
...
Closes #130
2022-01-23 23:45:46 -05:00
072e68e97b
Add nodeinfo request and InstanceFeatures
2022-01-23 23:26:49 -05:00
6879acbe02
Add local-only post icon
2022-01-23 23:22:34 -05:00
ace503ad3d
Use username on compose screen when there is no display name
2022-01-23 11:06:23 -05:00
e12a82b476
Show local only posts on hometown instances
...
#130
2022-01-23 10:58:36 -05:00
51cb7c3edf
Store local only post data
2022-01-23 10:57:32 -05:00
2198e2bf3e
Allow development against local instances with self-signed certificates
2022-01-23 10:56:36 -05:00
6138fc7748
Add select more photos option to asset picker
2022-01-23 10:55:07 -05:00
dc1eb3d6f0
Remove old code
2022-01-21 11:13:47 -05:00
fa1482a152
Fix crash when fetching attachment data fails
2022-01-21 11:10:03 -05:00
e65ed3e773
Fix crash when ProfileHeaderView leaks
2022-01-21 11:09:55 -05:00
eca7f31e82
Use stringsdict for favorites/reblogs count
2021-11-25 12:38:05 -05:00
2b22180191
Remove TimelineLikeTableViewController
...
Everything now uses DiffableTimelineLike
2021-11-25 12:29:35 -05:00
654b5d9c59
Convert ProfileStatusesViewController to DiffableTimelineLike
2021-11-25 12:27:59 -05:00
777d1f378c
Fix hashtag history view background being opaque
2021-11-24 15:15:34 -05:00
3b132ab4dc
Enable context menus and drag and drop for trending hashtags
2021-11-24 15:12:25 -05:00
d1083116e0
Use a single disptach queue for attachment/card thumbnails
2021-11-24 15:02:35 -05:00
7b79cec0ed
Remove old comments
2021-11-22 23:41:06 -05:00
50cbbb86fc
Fix instance selector activity indicator background color
2021-11-22 23:23:52 -05:00
5a914ea5a3
Don't show Mute action when not applicable to status
2021-11-22 23:23:19 -05:00
ca5ac8b826
Fix crash due to leaked ProfileHeaderView not having a
...
mastodonController
2021-11-22 21:38:00 -05:00
2b50609e5c
Fix animating poll configuration button size change when selected option
...
changes
2021-11-20 11:37:09 -05:00
57cb0614a9
Fix keyboard getting dismissed when scrolling autocomplete suggestions
...
Presentation controller takes care of dismissing keyboard when swipe
down in main scroll view starts
2021-11-20 11:28:37 -05:00
9768097488
Match gif playback progress through animation
...
Closes #8
2021-11-13 14:52:02 -05:00
f5e9f71586
Use link replacement length from instance config if available
2021-11-11 13:44:24 -05:00
9f8b14d180
Replace Gifu with CGImageAnimation
...
Closes #44
2021-11-11 13:26:11 -05:00
10a3cbbe9c
Improve padding on multi-line poll options
2021-11-10 17:25:13 -05:00
b917120f17
Fix crash when conversation loading fails
2021-11-10 17:25:05 -05:00
30ef9cc6d0
Extract compose image into separate view
2021-11-10 16:57:27 -05:00
948c792e5d
Fix crash when leaving timeline VC that was showing timeline description message and doesn't have any statuses
2021-11-07 23:22:48 -05:00
2df703ab71
Add haptic feedback to header view tab switcher to match home/notifications
2021-11-07 18:22:21 -05:00
1ec85ca095
Use video thumbnails from API when possible
2021-11-07 15:10:18 -05:00
5a26739b78
Remove old compilation condition
2021-11-07 14:35:14 -05:00
36a78f1a3c
Improve emoji loading behavior
...
Use transparent placeholders to prevent wrong initial layout when some
or all emojis aren't cached.
2021-11-07 14:23:56 -05:00
1c0291b1dd
Unify emoji replacement code
2021-11-07 13:11:49 -05:00
e7d9e3780e
Remove non-required app icon
2021-10-28 20:28:21 -04:00
83d4af2303
Fix interactive gallery dismiss going wrong direction when gesture starts out very slow
2021-09-21 23:46:22 -04:00
7c5076d01a
Fix dismissing gallery presented by modally-presented VC removing the
...
gallery's presenting VC from the view hierarchy
Closes #132
2021-09-21 23:30:38 -04:00
e61823b78f
Update LIVC comments for iPhones 13
2021-09-19 12:43:38 -04:00
1e54235ff5
Hide public timeline description when user begins scrolling rather than
...
after cell moves offscreen
Fixes description getting dismissed prematurely on iOS 14 and hitching
when the cell moves offscreen
2021-08-15 22:29:14 -04:00
e6e5554edf
Fix fast account switcher animation weirdness when 1 account only
2021-08-15 19:29:26 -04:00
9026f487ec
Convert notifications to use DiffableTimelineLikeTableViewController
2021-08-15 19:25:29 -04:00
c0097ba752
Fix potential race condition with DiffableTimelineLikeTableViewController
2021-08-15 18:44:23 -04:00
f109253bba
Show toast when there are no new posts
2021-08-15 18:27:30 -04:00
1fda4248ec
Add activity indicator to instance selector
2021-08-15 11:02:19 -04:00
7781c5252b
Display toast on load errors
2021-08-15 10:37:37 -04:00
7f4bf52050
Add toast system
2021-08-15 10:37:20 -04:00
ba0d179de5
Fix AccountSwtichingContainerViewController not sending sceneDidEnterBackground to children
2021-08-15 10:37:04 -04:00
09ec4a920c
Fix retain cycle in ProfileViewController
2021-08-14 10:25:32 -04:00
7edf0fdb93
Fix crash when replying to post with preformatted text
2021-08-12 21:03:11 -04:00
99e06441f0
Fix crash when getting account relationship fails
...
UIDeferredMenuElement completion handler should only be called from the
main thread
2021-08-12 19:41:00 -04:00
85e1e131f6
Fix crash when fetching recommended instances fails
2021-08-12 19:36:28 -04:00
1d79918a94
Fix crash when refreshing before anything is loaded
2021-08-08 10:26:51 -04:00
340d13b1fa
Fix crash when reloading list timelines
2021-08-08 10:19:18 -04:00
cf1000a4df
Fix loadOlder being called excessively on public timelines
2021-08-08 10:09:38 -04:00
b781b56efd
Add public timeline descriptions
2021-08-08 10:09:28 -04:00
60c88ded5e
Require iOS 15 for Disable Infinite Scrolling
2021-06-27 17:17:39 -04:00
1e7a6af0bf
Fix TimelineTableVC item hash including status state
...
Fixes crash when refreshing on iOS 14
2021-06-27 15:52:22 -04:00
4cf56685b5
Disable profile screen compose button when logged out
2021-06-27 10:31:02 -04:00
fdcd2aa540
Add Open in New Window context menu action to sidebar items
2021-06-27 10:30:53 -04:00
667d30a710
Fix crash when editing accounts in a list
...
Closes #127
2021-06-26 18:54:59 -04:00
bd49683e13
Fix not being able to select assets on iOS 15 beta 2
2021-06-26 17:18:04 -04:00
c22945b1e7
Use sheetPresentationController property
2021-06-26 17:02:17 -04:00
0a16a2e261
Fix potential data races
2021-06-26 16:51:54 -04:00
b95819cada
Fix crash when switching accounts
2021-06-26 16:42:56 -04:00
dc1ea1bed9
Fix timeline momentum scrolling stopping due to adding footer section
2021-06-26 15:54:10 -04:00
5f9fe505d5
Add pref to disable infinite scrolling on timelines
...
Closes #125
2021-06-25 23:28:43 -04:00
5b8e97287e
Convert TimelineTableViewController to use DiffableTimelineLikeTableViewController
2021-06-20 22:27:38 -04:00
49572c1fec
Add DiffableTimelineLikeTableViewController
2021-06-20 22:27:29 -04:00
ebb0770198
Add context menu action to remove attachments in Compose
2021-06-18 11:32:17 -04:00
230bd50661
Disable selection of presenting sidebar items on focus
2021-06-12 22:17:09 -04:00
4f2f8d517f
Don't initiate table view cell drag while user is selecting poll options
2021-06-12 19:22:51 -04:00
130da9d4cc
Improve status collapse animation
...
Use an additional label with no content and no height to absorb the
extra space creating during collapse when the content text view
disappears immediately.
2021-06-12 11:39:15 -04:00
472b9aa5e2
Fixes for large image animations on devices with square screns
2021-06-12 11:26:44 -04:00
3413dff8f9
Present compose screen in new window on iOS 15 and iPad/Mac
2021-06-11 10:50:31 -04:00
66e8fce488
Fix crash when conversation VC tries to restore from unloaded status
2021-06-11 10:19:59 -04:00
aa2d333f4a
Disable transparent nav bar on page view controllers
2021-06-10 10:55:09 -04:00
c8a45d8eef
Add Open in New Window menu item to profiles
2021-06-10 10:52:27 -04:00
40f5be28f6
Cleanup un/follow menu action
2021-06-10 10:36:02 -04:00
7c9287543c
Fix crash due to PencilKit undo manager not being available until viewDidAppear
2021-06-10 10:33:24 -04:00
2a05b6d326
Add pointer hover effects to compose poll buttons
2021-06-09 19:18:54 -04:00
2499d25432
Use built-in sheet for asset picker on iOS 15
2021-06-09 19:12:10 -04:00
9417872790
Don't show Reply action in menu button on statuses
2021-06-09 17:10:44 -04:00
c02a1bbf74
Make Pin status action title clearer
2021-06-09 17:10:13 -04:00
0a894b219a
Allow Open in New Window action on iPadOS
2021-06-09 17:09:59 -04:00
22803668d2
Remove ellipsis from Share menu item title
2021-06-09 17:09:45 -04:00
2f6d1cb069
Use plain list style for Compose attachments
2021-06-09 17:08:59 -04:00
8889261b6b
Fix compose reply avatar scroll effect not working on iOS 15
2021-06-09 11:01:11 -04:00
91f1a5195c
Use visibility bar button item selection state instead of changing icon
2021-06-08 15:00:48 -04:00
1a5b958b1a
Hide compose progress bar while there is no progress
...
On iOS 15, the progress bar displays a little bit of progress even at 0
2021-06-08 14:54:42 -04:00
d667f6362c
Use UniformTypeIdentifiers framework for everything
2021-06-07 20:08:46 -04:00
ef1db466b9
Fix VoiceOver reading profile field names/values in incorrect order
2021-06-06 22:35:15 -04:00
0566f0ddfa
Fix More button in profile header not being VoiceOver accessible
2021-06-06 22:35:03 -04:00
f54d4d757f
Make status attachments VoiceOver accessible
2021-06-06 22:31:11 -04:00
fbc5d6eed9
Make timeline status cells single accessibility elements
2021-06-06 22:16:44 -04:00
2c4d2ce551
Make polls in statuses accessible
2021-06-06 22:11:29 -04:00
bbe260bc9e
Construct PKToolPicker ourselves
2021-06-06 21:33:17 -04:00
2fe19a5abe
Add fast account switching indicator to tab bar item
2021-06-06 18:30:46 -04:00
feacf576d7
Allow draging accounts in Preferences into new scenes
2021-06-06 14:55:18 -04:00
ceb58f1d92
Add state restoration for current account in main scene
2021-06-06 14:55:04 -04:00
18ce21c2c6
Add Open in Tusker action extension
2021-05-24 19:30:11 -04:00
ffe6450b26
Xcode recommendations, use AnyObject instead of class in protocol requirements
2021-05-22 13:44:58 -04:00
b51c1c03cb
Fix poll option percentages getting cut off
...
Closes #120
2021-05-22 11:44:50 -04:00
e745d78d67
Fix polls not being collapsed inside CW
...
Closes #119
2021-05-22 11:30:56 -04:00
4c9d5e8465
Fix nav bar on iPad search screen hiding
2021-05-22 11:25:12 -04:00
9ec7177bfa
Fix crash when searching fails
2021-05-22 11:22:01 -04:00
421881d461
Remove dead code
2021-05-13 22:42:26 -04:00
c78f152670
Animate attachment rows in when picking assets
2021-05-13 22:34:26 -04:00
dabcae0905
Fix being unable to commit previewed profile from timeline status
2021-05-13 22:25:28 -04:00
21e4828a72
Fix crash when notifications fail to load
2021-05-09 21:48:59 -04:00
9ab95dfc43
Bump build number and update changelog
2021-05-06 22:28:34 -04:00
c34ce758dd
Fix Home sidebar item getting deselected immediately on load
2021-05-06 22:02:27 -04:00
2c9f00d19f
Fix compose poll durations not being set/persisted
2021-05-06 21:52:16 -04:00
f7127b84d8
Show vote percentages on completed polls
2021-05-06 21:41:41 -04:00
fdb21cd1fb
Add Refresh Poll option
2021-05-05 17:51:11 -04:00
9f0c1eece8
Add haptic feedback to poll voting
2021-05-05 17:46:41 -04:00
e18a09f4ac
Don't show Voted button for polls that you authored
2021-05-03 23:18:15 -04:00
005001b081
Add authoring polls
...
Closes #48
2021-05-03 23:12:59 -04:00
90f17693f1
Fix compose autocomplete suggestions not displaying
...
c737354ed3 was overzealous
2021-05-01 19:18:00 -04:00
698b045f86
Add poll finished notifications
2021-04-28 21:47:38 -04:00
654f84363a
Fix polls displaying incorrectly in dark mode
2021-04-28 20:52:57 -04:00
4dd510f3af
Only attach profile context menu interaction to correct views in statuses
2021-04-28 19:11:41 -04:00
1c36dfcc5f
Add displaying and voting on polls in statuses
2021-04-28 19:00:17 -04:00
b0bd27db31
Fix crash when tapping non-HTTP(S) links with In-App Safari enabled
2021-04-25 12:58:51 -04:00
daa1a9eef7
Fix potential crash when collapsing w/o selected sidebar item
2021-04-25 12:39:45 -04:00
c737354ed3
Fix cursor movement not working in compose text fields when emoji added
...
Removes workaround introduced in 8c4ef3caa6. This is no longer necessary
and autocorrect works fine without it since at least iOS 14.4.
Closes #118
2021-04-05 18:31:03 -04:00
8ea15d3bab
Add preference for requiring confirmation before reblogging
2021-04-05 18:31:00 -04:00
13a4221fce
Add own-instance API request retrying
2021-04-04 15:11:29 -04:00
a896573a5e
Show assets immediately after granting permissions
2021-04-04 15:04:32 -04:00
edd89450aa
Fail gracefully when fetching statuses in timeline controller
2021-04-04 14:43:51 -04:00
5f5ef8fcea
Fix potential crash when large image loading fails
2021-04-04 14:05:00 -04:00
a3b59c990b
Fix compile issue on Xcode 12.4
2021-04-04 14:04:44 -04:00
6e92633793
Fix crash when adding pinned statuses section during refresh
2021-02-08 18:24:44 -05:00
e4ff632dcb
Fix conversation main status being selectable
2021-02-07 20:16:08 -05:00
b0ebef2cfd
Only show Trending Hashtags and Profile Directory on Mastodon
2021-02-07 19:52:59 -05:00
bbb8707cb7
Add Profile Directory
2021-02-07 19:39:22 -05:00
6a927e4092
Enable drag & drop on account list screen
2021-02-07 11:34:04 -05:00
13cdb5d8c7
Add Trending Hashtags to sidebar
2021-02-07 10:45:36 -05:00
9f0883d0cb
Fix sidebar item getting deselected on add list/instance/hashtag
2021-02-07 10:43:54 -05:00
eba2e17479
Fix wrong content mode for profile header avatar image
2021-02-06 22:30:28 -05:00
5d1c95621b
Fix VisualEffectImageButton retain cycle
...
Button had a menu which had an action which had a closure which strongly
referenced the sourceView which was the button itself.
2021-02-06 15:31:13 -05:00
02ba45fa34
Fix crash when opening & closing Preferences after changing account
...
The old ProfileHeaderView was being leaked, and it was still listening
to the preferencesDidChange notification, but crashing because its
delegate (and therefore MastodonController) had been dealloc'd.
2021-02-06 15:29:35 -05:00
9d5c004ec4
Add Trending Hashtags screen
2021-02-06 14:54:35 -05:00
37e90229c2
Fix crash when editing list
2021-02-06 14:35:34 -05:00
73aceda97f
Convert Explore screen to use list-style collection view
2021-02-06 13:48:31 -05:00
669d55500a
Remove unused pre-iOS 14 code
2021-02-06 13:47:45 -05:00
f44d127110
Bump deployment target to iOS 14.1
2021-02-05 23:46:31 -05:00
bcc023a127
Show threads on Conversation screen
2021-01-31 17:42:29 -05:00
122cce3bc7
Disable blurhashes in debug builds
2021-01-30 14:15:17 -05:00
949162bcab
Fix fast account switching animating in wrong direction
2021-01-28 23:20:38 -05:00
4ed862120c
Add trending hashtags to add saved hashtag controller
2021-01-28 23:20:25 -05:00
8f61b0b9a6
Remove old imports
2021-01-20 18:52:16 -05:00
cdffda5593
Fix crash when profile screen disappears
2021-01-20 18:41:24 -05:00
d1c45a87e6
Fix low resolution avatars being shown on profile
2021-01-20 18:31:30 -05:00
2761c05a01
Remove Cache library
2021-01-20 18:31:14 -05:00
e7800249af
Avoid loading cached data into memory when prefetching
2021-01-18 14:50:56 -05:00
2e88b266d9
Prefetch on a background queue to avoid blocking main queue with
...
CoreData lookups
2021-01-18 14:29:32 -05:00
0b008489f7
Add CachingDiskStorage
2021-01-18 14:17:20 -05:00
de67327f6d
Fix ImageCache kicking off extra requests when a completion block was
...
not provided
2021-01-18 13:46:07 -05:00
04a6fe807e
Cache scaled images
2021-01-17 13:27:30 -05:00
6dee0957ea
Remove in-memory caches of most original image data
2021-01-17 11:45:04 -05:00
c12d2db258
Cache UIImage objects to avoid re-decoding images unnecessarily
2021-01-17 11:28:50 -05:00
27b39b79e6
Fix refreshes after no-result refresh not working
...
Fixes #117
2021-01-13 00:16:33 -05:00
d7aa3f1617
Fix crash when updating timestamp of removed status
2021-01-12 22:17:30 -05:00
69c2faf0e1
Fix crash when user refreshes profile before initial pinned statuses request completes
2021-01-12 22:17:01 -05:00
678ed4959b
Fix crash upon split view expansion before sidebar VC is loaded
2021-01-12 22:16:20 -05:00
0bdcda1b23
Fix secondary windows not respecting theme preference
2021-01-06 19:20:14 -05:00
74a30d27e8
Hide keyboard before dismissing windows
2021-01-06 19:16:57 -05:00
f0e2bb8db6
Fix crash while cancelling prefetching of rows
2020-12-31 23:20:53 -05:00
3fdeb51353
Bump build number and update changelog
2020-12-31 11:13:47 -05:00
a7b2a7df71
Don't try to re-replace emojis unnecessarily
2020-12-29 11:56:40 -05:00
41403c84f9
Don't allocate a new Set every time timeAgo is computed
2020-12-29 11:54:02 -05:00
e67f6b2ad8
Avoid redundant database lookups
2020-12-25 12:01:35 -05:00
4ac3292183
Allow dragging attachments between Compose windows
2020-12-14 22:46:56 -05:00
d3c13ee1e6
Fix own account/instance not being loaded if the only active scene was non-main
2020-12-14 22:35:34 -05:00
1b44117891
Don't unnecessarily load views when transferring navigation stacks
2020-12-14 22:24:48 -05:00
c7b708e62b
Fix crash when sidebar collapses
2020-12-14 22:23:22 -05:00
56b51f944d
Add drag and drop spring loading to tab bar & sidebar
2020-12-14 22:16:16 -05:00
30297c2390
Add multi-window drag and drop to all the things
2020-12-14 18:44:48 -05:00
522c9b2b03
Add multi-window support and auxiliary windows
2020-12-13 22:37:37 -05:00
67a029180e
Don't construct unnecessary view controllers in MainSplitViewController
2020-11-15 19:04:46 -05:00
dfad8740eb
Extract common functionality into TimelineLikeTableViewController
2020-11-15 15:48:49 -05:00
b45dc19811
Re-enable split view controller on iPhone
2020-11-14 22:48:09 -05:00
80c0d08ec6
Tweak MenuController
2020-11-14 22:28:52 -05:00
2b5ab90cd8
Add key commands for prev/next sub tab
2020-11-14 22:26:02 -05:00
0303c9af9d
Use correct sidebar style on Catalyst
2020-11-14 12:23:13 -05:00
1e59f663e5
Add sidebar item key commands
2020-11-14 12:15:49 -05:00
72217cde51
Add compose key command
2020-11-14 11:55:19 -05:00
4bccbe254b
Add text formatting key commands
2020-11-14 11:47:20 -05:00
9e15a84006
Add refresh key command
2020-11-14 11:22:47 -05:00
c19b7ec2c6
Fix crash when logging in for the first time
2020-11-14 10:45:36 -05:00
59c00b01dc
Fix not being able to compile for Catalyst
2020-11-14 10:45:27 -05:00
75d26e613b
Add account switching animation
2020-11-11 15:28:17 -05:00
0249207dcc
Fix LazilyDecoding not handling top-level optionals
2020-11-11 12:44:57 -05:00
366378f267
Scroll attachment description views to ensure caret is always visible
2020-11-11 12:44:39 -05:00
80cca7673a
Tweak compose text view scrolling behavior
2020-11-11 12:14:36 -05:00
fc888b168c
Add fast account switching on iPhone
2020-11-09 19:39:42 -05:00
348c306858
Add tapping CW to expand/collapse status
...
Expand status collapse button tap area to cover stack view spacing
2020-11-03 15:58:08 -05:00
0a11d2de47
Fix playing gifs from a background thread
2020-11-03 15:49:30 -05:00
4ac76ab672
Add opposite collapse keywords preference
2020-11-03 15:39:02 -05:00
eb4e6e32f7
Add Grayscale Images preference
2020-11-01 13:59:58 -05:00
89b35fab6d
Move pruning of offscreen rows to when the VC disappears, instead of
...
during scrolling
Prevents race when removing and adding cells in the willDisplay table
view delegate method.
2020-10-26 22:55:58 -04:00
d638ff513b
Fix crash when using show timeline Siri Shortcut
2020-10-26 22:13:48 -04:00
93828830a9
Fix logging in to PixelFed instances
...
See #68
2020-10-25 23:07:41 -04:00
39b244384b
Show link cards on statuses
2020-10-25 16:05:28 -04:00
80b3585b71
Fix stautses on My Profile not appearing until scroll
2020-10-25 11:19:37 -04:00
16b02edf87
Ensure the cursor remains visible when composing posts
2020-10-24 15:46:24 -04:00
b8f169d0cd
Fix broken layout on Compose screen when replying to certain posts
...
Closes #115
2020-10-24 11:34:49 -04:00
62a9535394
Fix crash when ending dictation in Compose CW field
...
Closes #116
2020-10-24 11:26:29 -04:00
8c4ef3caa6
Fix system autocomplete not working in Compose post body and CW
2020-10-24 11:20:43 -04:00
f841854c5f
Fix crash logging into instances whose domain does not match the Instance uri field
2020-10-21 21:47:01 -04:00
8a528936b8
Fix crash when tapping My Profile tab too quickly after app launch
2020-10-19 18:41:38 -04:00
744329dca2
Upload photos taken from UIImagePickerController as JPEGs instead of PNGs
2020-10-19 18:33:10 -04:00
45ac40b125
Fix broken Compose layout when replying to long statuses
2020-10-18 16:31:41 -04:00
2426989161
Fix unsatisfiable constraints in timeline status action buttons
...
UIStackView internal constraints all have a required priority, so adding
the image constrain in TimelineStatusTableViewCell.awakeFromNib caused
an unsatisfiable constraint. Fixed by replicating the UISV constraints
manually, with the constrain on the leading edge of the first button
being made a placeholder.
2020-10-18 14:42:17 -04:00
1439c8b162
Fix unsatisfiable constraints on attachment container view
...
The stack view hiding constraint sets the height to 0 with a priority of
999.999, so the priority 1000 aspect ratio constraint was causing an
error and making the container view still have a height. Setting the
priority to 999 resolves the issue.
2020-10-18 13:50:52 -04:00
5125cc3397
Show custom emojis in display names in follow/favorite/reblog
...
notifications
2020-10-18 12:22:12 -04:00
9b949af390
Add complete emoji list to Compose emoji autocomplete
2020-10-18 11:17:58 -04:00
3ff9fdabdb
Use MultiThreadedDictionary for ImageCache request groups
...
Prevents a crash due a race condition if multiple requets complete
simultaneously and attempt to modify the dictionary
2020-10-18 11:03:56 -04:00
a805da9faa
Enable picture-in-picture playback for video attachments
2020-10-17 12:56:13 -04:00
e0acb0f04a
Don't search for unnecessary data
2020-10-16 19:14:29 -04:00
5414f2329c
Fix race condition causing My Profile tab bar image to not be set
2020-10-14 19:34:30 -04:00
08045dd1e9
Prioritize followed/following accounts in mention suggestions
2020-10-14 19:28:32 -04:00
288f855e2f
Support positing large image VC controls in iPhone 12/Pro/Mini ears
2020-10-13 21:12:21 -04:00
7883b04618
Fix autocomplete bar cutting off scroll view contents
2020-10-12 22:12:35 -04:00
0687c040a0
Prevent inserting extra whitespace when autocompleting
2020-10-12 22:03:50 -04:00
58c6d508ec
Prevent caret from changing position on auto complete
2020-10-12 19:39:50 -04:00
ae272582ac
Autocomplete custom emojis in CW field
2020-10-12 19:17:57 -04:00
1a4517c43a
Cache account relationships in CoreData
2020-10-12 18:20:57 -04:00
2cfc0cf28a
Add Compose screen mention, hashtag, emoji completion
...
Closes #10
2020-10-11 22:14:45 -04:00
cf63384dce
Why use many DispatchQueue.main.async when few do trick?
2020-09-25 11:31:53 -04:00
733d50b642
Strip U+FFFC from status bodies when posting
...
Fixes #112
2020-09-23 17:20:45 -04:00
0e60e74a8a
Fix being able to rotate into landscape on iOS 14
2020-09-21 18:45:52 -04:00
fd0054addf
Correctly round corners of My Profile tab icon
2020-09-21 18:42:06 -04:00
576e4aa90d
Add conversation screen title
2020-09-21 18:24:02 -04:00
ea3de4cdda
Fix wrong icon in context menu action
2020-09-21 18:18:55 -04:00
83c7609df5
Fix crash when using app icon shortcuts
2020-09-21 18:11:28 -04:00
809584cc54
Fix crash when opening Compose screen before account/instance is loaded
...
Prevents when opening the Compose screen with poor network connectivity
2020-09-21 18:04:08 -04:00
9b85090884
Add debug environment variable to disable image caching
2020-09-21 18:03:51 -04:00
6965a4c374
Remove no longer necessary iOS 13.4 availability checks
2020-09-20 11:34:46 -04:00
b6c0c02028
Remove no longer necessary conditional compilation directives
2020-09-20 11:34:09 -04:00
42f9d19ee9
Fix memory leak in attachment container view
2020-09-20 11:28:18 -04:00
b80a61cc95
WeakArray improvements
2020-09-20 11:27:14 -04:00
0d972d987c
Remove old Compose screen cold
2020-09-20 10:46:51 -04:00
3e33c8e6f9
Minimize file system requests during image cache lookup
2020-09-17 21:53:51 -04:00
3822d536c8
Reduce redundant status database lookups when updating cell UI
2020-09-17 21:53:47 -04:00
5906c374ba
Fix not being able to tap text view placeholders on Compose screen
...
Fixes #111
2020-09-17 18:40:02 -04:00
ee90b20f7f
Add swipe to remove accounts in Preferences
2020-09-16 22:21:12 -04:00
9d9ea565f1
Fix crash opening Preferences with deleted accounts
2020-09-16 17:52:00 -04:00
99db842411
Fix content warning not being copied when replying
2020-09-16 17:41:27 -04:00
184fe49c0f
Fix visibility not being copied when replying
2020-09-16 17:32:01 -04:00
6df5f7fb08
Add preferences for auto-expanding CW'd posts and disabling long post
...
collapsing
See #105
2020-09-15 21:37:08 -04:00
02135aa0de
Use inset list style for preferences on iOS 14
2020-09-15 20:48:53 -04:00
be5a4c03a6
Fix attachments not being posted in the correct order.
2020-09-14 23:29:31 -04:00
911e66a159
Allow more browsing of instance public timelines
...
Closes #74
2020-09-13 15:51:08 -04:00
ab4bcfa50f
Fix profile screen title not being set
2020-09-13 15:34:45 -04:00
b94bfca406
Fix crash tapping attachments on instance public timelines
2020-09-13 13:55:33 -04:00
1c6e464a4c
Start Compose screen tests
2020-09-13 13:19:56 -04:00
acd01a81cc
More UI tests for onboarding/my profile
2020-09-12 22:16:58 -04:00
8ac3deb55a
Remove old file
2020-09-12 22:04:41 -04:00
5e9cc430c6
Use cross fade transitions for displaying gallery and asset picker if
...
Reduce Motion/Prefer Cross Fade is enabled
Closes #108
2020-09-12 13:25:59 -04:00
0b6ef6517b
Fix gallery action buttons not being centered in device "ears" on iPhone
...
XR and 11
2020-09-12 12:01:16 -04:00
34a01094f7
Fix gallery expand animation description not starting at correct
...
position
Safe are insets weren't being taken into account when hiding the
controls, because the toVC had not yet been added to the container view
and thus didn't have anything to receive insets from.
2020-09-12 12:01:16 -04:00
95b215c6b5
Add Clear Image Cache option to Advanced prefs
2020-09-12 12:01:16 -04:00
e21dceb3b3
Tweak gallery spring animation parameters
2020-09-12 12:01:16 -04:00
9534f19262
Show BlurHash previews of attachments
2020-09-12 12:01:08 -04:00
479ca23e00
Tweak follow request notification cells
2020-09-10 22:54:01 -04:00
5b03e0cf12
Fix follow notifications not showing names for users without explicit
...
display names
2020-09-09 18:45:38 -04:00
7c4bbfd730
Improve compose posting error messages
2020-09-09 18:33:59 -04:00
e19a6528ad
Improve gallery expand animation
...
Use spring timing, slide in top/bottom controls
2020-09-08 23:41:15 -04:00
f5110c773a
Tweak default font sizes
2020-09-07 18:49:25 -04:00
fe1db72f19
Fix save draft sheet showing even when draft had no content
2020-09-07 17:15:18 -04:00
b4ddb8f533
Fix safe area on Compose screen not including keyboard on iOS 13
2020-09-07 17:05:50 -04:00
9a4ddfea3f
Fix Compose reply scroll effect not working on iOS 13
2020-09-07 16:56:06 -04:00
dd8a196630
Show custom emoji in display names on Compose screen
2020-09-07 15:22:06 -04:00
3da7aacb35
Fix visiblity context menu in main text view accessory not updating
2020-09-07 14:46:17 -04:00
39c8162931
Prevent attempting to add an attachment when the possibility would be
...
invalid
2020-09-07 14:44:56 -04:00
fe95cb9e1a
Replace Draw Something context menu item with dedicated button
...
Fixes add attachment button not working on iOS 13. Adding a context menu
to a Button inside a List on iOS 13 prevents the button from ever
recognizing taps.
2020-09-07 14:41:31 -04:00
ec2d510be2
Fix crash when opening Compose screen on iOS 13
2020-09-06 23:27:43 -04:00
262aadf807
Fix very bad performance when laying out Compose reply view
...
Using a non-scrolling UITextView wrapped in SwiftUI combined with the
old hack of fixing its layout by passing the view controller's width
down to the wrapped view caused very slow layouts, resulting in
significant lag when typing into the main text view of the compose
screen.
2020-09-06 22:47:02 -04:00
9dce94c014
Fix acounts not updating locally
...
Fix reblogged statuses potentially not updating
2020-09-06 16:03:03 -04:00
d008b882cb
Use context menu for visibility on iOS 14
2020-08-31 23:07:41 -04:00
3d13df87f0
Add pointer interaction to main status favorites/reblogs buttons
2020-08-31 21:40:18 -04:00
f0582739cc
Re-add Compose button to Profile screen
...
Add menu with Direct Message option
2020-08-31 21:39:36 -04:00
4c82b1a341
Rewrite Compose screen in SwiftUI
2020-08-31 19:28:50 -04:00
b55a96d649
Fix crash when resizing split view on iPad if Explore search controller
...
hadn't been created yet
2020-08-30 19:57:32 -04:00
3937dde2bf
Fix crash when selecting attachments on iOS 13
2020-08-17 18:52:54 -04:00
95ebca04d2
Disable automatic GIF playback in low-power mode
2020-08-16 19:14:32 -04:00
0986fa285e
Fix crash due to leaked table view cell
2020-08-16 15:07:59 -04:00
1cd3e6adf9
Show custom emoji in profile field names
2020-08-16 15:07:55 -04:00
722b81dad9
Group appearance prefs into sections
2020-08-16 14:58:10 -04:00
059f7307b3
Let system uppercase section headers
2020-08-16 14:58:02 -04:00
ee20c95a5d
Prevent link activation when outside character
2020-08-16 14:52:08 -04:00
be81ffb61f
Allow display names to shrink to fit available width
2020-08-16 14:49:44 -04:00
08e0c3769f
Make link preview background opaque
2020-08-16 14:45:01 -04:00
6d7c9fd553
Make tap targets on status action buttons larger
2020-08-16 14:41:30 -04:00
9b04b75949
Prevent potential race condition when loading additional statuses
2020-08-16 10:29:31 -04:00
ae055f1ffd
Remove debug code
2020-08-15 18:00:47 -04:00
eef9b96a1a
Fix crash when showing profile for uncached account
2020-08-15 18:00:18 -04:00
29aed65b99
Fix crash if profile header view outlives VC
2020-08-15 17:59:14 -04:00
090746f292
Disallow opening universal links from Open in Safari context menu action
2020-08-15 17:48:58 -04:00
af300a3559
Remove unused TuskerNavigationDelegate customization points
2020-08-15 17:47:33 -04:00
79eb23ef5d
Remove unused preference
2020-08-15 17:43:31 -04:00
60565f9625
Fix crash if status table view cell outlives VC
2020-08-15 17:37:56 -04:00
70bedf17a8
Set app category
2020-08-15 17:36:23 -04:00
392e51eb3e
Remove unnecessary prefernces change notification
2020-08-15 17:31:24 -04:00
86d5a73c85
Change menu item order
...
Open in Safari should be the closest to the user's finger when tapping a
menu button
2020-08-15 17:20:09 -04:00
eaefa366b7
Fix displaying images on iOS 14
2020-08-15 17:03:02 -04:00
79b23127e9
Fix crash on refreshing
2020-08-15 14:15:38 -04:00
f9b85c87b4
Fix crash on launch due to unloaded sidebar VC
2020-08-15 13:55:47 -04:00
260bedcf10
Fix retain cycle between status cells and menu actions
2020-07-07 23:23:39 -04:00
fe09c5e522
Switch asset picker to use diffable data sources
2020-07-06 18:16:18 -04:00
985d30a401
Add background to image descriptions so they're visible against light backgrounds
...
Closes #102
2020-07-06 17:48:19 -04:00
794594805c
Prevent needlessly prefetching non-image attachments
2020-07-06 00:00:55 -04:00
1c708732f2
Exclude iOS 14-specific code from compilation on Xcode 11 to allow building for TestFlight
2020-07-06 00:00:51 -04:00
db30471011
Fix not being able to refresh timelines
2020-07-05 16:30:16 -04:00
2825345c7e
Add switching between Posts, Posts and Replies, and Media pages of user profiles
...
Closes #103
2020-07-05 16:17:56 -04:00
f3d01c47c3
Merge branch 'develop-xcode-12' into ios-14
2020-07-04 11:21:00 -04:00
2916d7a72d
Add tapping the active tab bar item to scroll to top
...
Closes #106
2020-07-03 19:36:52 -04:00
d190636fbd
Fix Preferences button not appearing (again)
2020-07-03 19:36:08 -04:00
b07efc150c
Use App Group for user defaults
2020-07-03 18:54:21 -04:00
19fa12391d
Fix Preferences button not appearing
2020-07-03 18:53:19 -04:00
c55ea2e005
More link context menu preview tweaks
2020-07-03 18:52:35 -04:00
47dc00ab8f
Fix sometimes broken masking of text view link preview animations
2020-07-03 18:52:23 -04:00
fdcdbced38
Limit context menu previews in ContentTextView to link's text line rects
2020-07-03 18:50:37 -04:00
e70a84274e
Fix showing instance public timeline
2020-07-03 18:50:22 -04:00
641ab765a7
Fix crash when displaying search results
2020-07-03 18:50:05 -04:00
986fc5b833
Prevent crash when displaying accounts with no pinned statuses
2020-07-03 18:49:55 -04:00
cf5b97d9c8
Fix crash showing custom instance on iOS 14
2020-07-03 18:49:28 -04:00
7f0fd119c5
Use App Group for user defaults
2020-07-03 18:45:37 -04:00
b2c7735256
Fix Preferences button not appearing
2020-07-03 18:44:38 -04:00
1d815d6cd6
More link context menu preview tweaks
2020-07-03 17:01:52 -04:00
f86d3a0ed1
Fix sometimes broken masking of text view link preview animations
2020-07-01 00:01:36 -04:00
864fd77ecc
Sync active tab and navigation stack between split view/tab bar controllers
2020-06-29 22:21:03 -04:00
40a742139b
Fix menu state getting out of sync with bookmarked/muted state
2020-06-27 13:13:04 -04:00
8bbc572fa7
Replace more with share button for timeline status swipe actions
2020-06-27 10:47:31 -04:00
2a8e970738
Use context menus as primary actions for 'More Actions' buttons on >= iOS 14
2020-06-27 00:22:14 -04:00
3abb5972b9
Limit context menu previews in ContentTextView to link's text line rects
2020-06-25 10:42:46 -04:00
0c06d91f6b
Fix showing instance public timeline
2020-06-24 16:41:01 -04:00
6cf6db6a8d
Add sidebar on iPadOS 14
2020-06-24 16:40:45 -04:00
fb11e36467
Fix crash when displaying search results
2020-06-24 15:42:56 -04:00
0fa87e9177
Prevent crash when displaying accounts with no pinned statuses
2020-06-23 22:21:50 -04:00
5cb84e271a
Prefer ephemeral sessions in ASWebAuthneticationSession
2020-06-23 21:35:14 -04:00
50f1a9a7de
Change ComposeDrawingViewController to use drawingPolicy on iOS 14
2020-06-23 19:33:14 -04:00
154fc7cd02
Fix ASWebAuthenticationSession usage in Catalyst
2020-06-23 19:32:30 -04:00
01d765fa45
Enable Catalyst
2020-06-23 19:32:04 -04:00
43779e42df
Fix crash showing custom instance on iOS 14
2020-06-23 19:27:34 -04:00
a5a2cd147e
Fix attachment blur view missing corner radius
2020-06-22 21:03:08 -04:00
0e91fc239d
Fix missing anchor for Compose screen visibility popover
2020-06-22 09:53:20 -04:00
8010e86711
Change attachment views to be 16:9
2020-06-21 16:01:34 -04:00
a41d27f18c
Move status action buttons back below attachments
2020-06-21 16:01:34 -04:00
083add273b
Prevent audio from other apps pausing when showing gifv attachments
...
Fixes #101
2020-06-21 16:01:29 -04:00
64365bdf2b
Fix compose attachments being cut off at the bottom of the safe area
2020-06-21 10:31:40 -04:00
6adcad63b3
Add crash report helper
2020-06-20 23:11:35 -04:00
393a134648
Don't show Follow activity for user's own account
2020-06-19 23:00:59 -04:00
ba3e9e7491
Fix compose attachment description text view not expanding to fit text
2020-06-19 19:46:08 -04:00
920f926b48
Add text recognition image description for image attachments
2020-06-19 19:14:24 -04:00
6e27399e10
Fix loading additional statuses on profiles not working
...
This was a regression introduced in
d27bddb2caf9e22bb7adad065f356aba13d5e542 which removed the didSet
handlers which called reloadData on the pinnedStatuses/timelineSegments
property without adding the appropriate insertRows calls where they were
modified.
2020-06-18 22:39:04 -04:00
c3c19b1994
Fix pin image still showing on statuses after cell reuse
2020-06-18 22:23:19 -04:00
1f40cc9928
Show controls/description for gifv attachments
...
See #98
2020-06-17 23:33:48 -04:00
66020b7847
Add preference for always showing status visiblity icon
2020-06-17 18:00:13 -04:00
00bf99334f
Add preference for status reply icons
2020-06-17 17:45:34 -04:00
3aef7d4d93
Organize Preferences.swift
2020-06-17 17:40:36 -04:00
a901af6be9
Merge branch 'private-beta' into develop
2020-06-16 23:19:33 -04:00
b623e348c2
Fix crash when opening compose screen before initial network requests completed
2020-06-16 23:13:46 -04:00
056346cee9
Add reply indicator to statuses in timelines
2020-06-16 23:06:36 -04:00
30c04b49e7
Add visibility indicator to statuses
2020-06-16 23:00:39 -04:00
848022ec6e
Disable reblog button for private posts
2020-06-16 22:47:30 -04:00
39e847bda8
Fix reblog label showing incorrect account
2020-06-16 22:47:04 -04:00
5d751cd994
Prevent redundant status database lookups
2020-06-15 23:22:45 -04:00
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
36326e4469
Make network requests in viewWillAppear instead of viewDidLoad
2020-06-15 19:41:51 -04:00
6b7904ed52
Improve profile field layout
2020-06-15 19:02:09 -04:00
61c6d63c67
Fix profile fields not displaying
...
Closes #96
2020-06-15 18:36:04 -04:00
c0316f55ef
Fix crash when sharing large image on iPad
2020-06-15 18:29:04 -04:00
803ba50f53
Add pointer interaction to remove attachment, large image share/dismiss buttons
2020-06-15 18:26:56 -04:00
5d0c59e863
Prompt for Photos access before showing asset picker
2020-06-15 18:15:05 -04:00
c7b4d00da7
Fix race condition loading bookmarks
2020-06-15 18:02:07 -04:00
f2a8b91769
Provide metadata to UIActivityViewController
...
Closes #56
2020-05-14 22:43:56 -04:00
ce464dfb9f
Add mute/unmute conversation status activities
...
Closes #70
2020-05-14 22:43:47 -04:00
d4bf289716
Fx more actions not workign
2020-05-14 22:43:37 -04:00
2eaeaf3277
Fix previewing gifv attacments
2020-05-13 21:20:22 -04:00
d396eb0823
Change background CoreData context to be a child of the main context so
...
that updates on the background context propogate up to the view context
on save
2020-05-13 19:49:35 -04:00
35a510e8ed
Add cache reset button to Advanced Preferences
2020-05-13 18:58:11 -04:00
0582812563
Remove strong references to MastodonController
2020-05-13 18:57:04 -04:00
e581f384e4
Fix account descriptions being squashed in the follows list
2020-05-12 22:24:51 -04:00
1c9b1b9ac3
Add support (sort of) for gifv attachments
...
See #98
2020-05-12 21:46:08 -04:00
82ad3b9fc4
Add reference counting for accounts
...
Closes #97
2020-05-11 22:03:17 -04:00
0a89dd3041
Don't double update accounts
...
Adding a status to the cache will also cache the status' account
2020-05-11 18:27:54 -04:00
40863ef130
Fix crash when opening more options for status in instance public timeline
2020-05-11 17:58:43 -04:00
cd78287a87
Fix crash when viewing instance public timelines
...
Use a CoreData in-memory store for public timelines.
2020-05-11 17:57:50 -04:00
04496aca1d
Apply avatar style to local account avatar images
2020-05-10 19:30:19 -04:00
5a098df931
Fix crash when searching
2020-05-10 15:47:50 -04:00
9812d4aff2
Prevent double-decrementing reference count for conversation main status
2020-05-10 15:08:45 -04:00
f4f2a5546c
Prevent race in status action account list
2020-05-10 15:04:22 -04:00
b220948e2b
Only initialize NSManagedObjectModel once
...
Prevents CoreData warnings when switching accounts and constructing a
second MastodonCachePersistentStore
2020-05-10 14:54:43 -04:00
866edc472d
Show avatar and instance domain in account list in Preferences
2020-05-10 14:54:20 -04:00
88e4f52b5d
Fix crash when adding account
...
Adding a UserData.LocalAccountInfo with a nil username while the
PreferencesView is on screen will cause a crash, since it triggers a
Combine publish upon which the PreferencesView expects to be able to
display the username of all accounts.
2020-05-10 14:41:07 -04:00
98529ca5af
Remove notifications from the bottom when scrolling up notifications list
2020-05-10 12:56:03 -04:00
6d8c5f632c
Fix scroll-to-top sometimes not scrolling all the way to the top
2020-05-10 12:56:01 -04:00
4fdafa893e
Add drawing attachments using PencilKit
2020-05-09 22:14:48 -04:00
9f75106706
Fix crash when opening statuses in Safari
2020-05-09 13:31:07 -04:00
bbd7d82620
Fix test in ContentTextView not being de-selectable
2020-05-07 21:46:59 -04:00
02088b1f55
Remove MastodonCache 🎉
2020-05-06 23:29:57 -04:00
1e41c8fa17
Remove MastodonCache usgae from XCBActions
2020-05-06 23:05:15 -04:00
ebbfc7a132
Fix race condition on loading notifications
2020-05-06 19:32:32 -04:00
aa625a41f5
Merge branch 'develop' into coredata
2020-05-06 19:18:58 -04:00
7fb92c9ce3
Prevent avatars in action notification group cell from overflowing
2020-05-06 19:18:47 -04:00
90bc9b91de
Add AccountProtocol and StatusProtocol
...
Provides a single interfaces for API and CoreData statuses and accounts
2020-05-06 18:40:12 -04:00
d6c506488b
Replace a bunch of MastodonCache uses with CoreData
2020-05-02 19:52:35 -04:00
5786c24846
Fix statuses/accounts updating
2020-05-02 12:45:28 -04:00
2cba168804
Fix account cells using old cache
2020-04-27 19:33:36 -04:00
49d00bb1b0
Fix swipe actions not showing up
2020-04-27 19:32:16 -04:00
ee5e049355
Use CoreData for bookmarks and search results
2020-04-27 19:25:41 -04:00
f53474ac90
Use CoreData for notifications screen
2020-04-27 19:20:09 -04:00
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
030bee1948
Convert conversation VC to use CoreData models
2020-04-13 22:51:15 -04:00
ed37b16463
Start adding CoreData-based "reference" counting for statuses
...
Prune old statuses that aren't likely to be shown again when scrolling
in timeline table view
2020-04-12 23:08:33 -04:00
2c8ba878b7
Start converting UI to use CoreData backed objects instead of API
...
objects directly
2020-04-12 12:54:27 -04:00
465aedd43f
Make account info username optional
...
Onboarding view controller needs to set the account info object on the
mastodon controller before calling getOwnAccount since getOwnAccount
will upsert the user's account into the persistent container, which
requires the account info to exist to create a unique-per-account
identifier.
2020-04-12 11:14:10 -04:00
102fe6ed91
Convert API objects to CoreData models and save them
2020-04-11 22:23:31 -04:00
7deb4fc5b4
Add LazilyDecoding for CoreData embedded objects
2020-04-11 15:35:00 -04:00
2a419eb87c
Add basic Status/Account CoreData model
2020-04-11 15:32:25 -04:00
fcab6818b0
Hide large image source view during expand/shrink animation
2020-03-25 23:10:48 -04:00
80cf1850dd
Add trackpad/magic mouse support for navigation controller interactive push gesture
2020-03-25 22:29:32 -04:00
e612964464
Allow scrolling w/ trackpad/magic mouse to dismiss gallery
2020-03-25 22:12:26 -04:00
49a437583e
Fix incorrect large image size during expand/shrink animation in some
...
cases
2020-03-25 22:09:00 -04:00
8a513186aa
Add pointer interactions status buttons and profile header more button
2020-03-24 23:02:40 -04:00
d9517047d7
Fix previewing video/audio attachments
2020-03-20 22:48:28 -04:00
bef3388fe8
Move attachment view corner radius to individual views
...
Masking the container makes context menu interactions look weird
2020-03-20 22:34:50 -04:00
2e8241d734
Move attachment context menu interaction to AttachmentView
2020-03-20 22:28:23 -04:00
c9c001d403
Improve attachment previewing
...
- Set correct preview size
- Don't show controls
2020-03-20 22:13:04 -04:00
4ce8de280e
Bump build number
2020-03-17 21:58:14 -04:00
4018d39312
Fix double gestures in attachments gallery
2020-03-17 21:56:29 -04:00
ae416bb604
Prevent crash if BaseStatusTableViewCell is leaked
...
If prefernces change and the the view controller the cell belongs to is dealloced, the
mastodonController will be nil, previously causing a crash.
2020-03-17 21:44:06 -04:00
5e9caf9179
Use LoadingLargeImageViewController for account avatar/header
...
Prevents crash when tapping unloaded avatar/header images
2020-03-17 21:42:09 -04:00
3bbbb05083
Rename AttachmentsViewController to LoadingLargeImageViewController and
...
make non-specific to attachments
2020-03-17 21:24:15 -04:00
bd3e74c611
Remove unnecessary XIB
2020-03-17 21:07:44 -04:00
2e8c416e04
Merge gallery and large image animations
2020-03-17 21:05:45 -04:00
955f9e5916
Fix attachment descriptions not being set correctly
2020-03-17 21:03:29 -04:00
17f15db32d
Don't round bottom corners of asset picker
...
Corner radius doesn't match that used on 2019 iPad Pro, so rounding the
bottom corners results in the view controller beneath the asset picker
showing through in some split-screen configurations
2020-03-16 20:50:16 -04:00
1a11dd2a69
Present asset picker as popover in regular horizontal size class
2020-03-16 20:45:51 -04:00
b5fa0bceab
Fix pasting using compose app shortcut while app isn't running
2020-03-16 19:09:25 -04:00
c224d11417
Allow pasting and drag/dropping video attachments on compose screen
2020-03-16 19:05:58 -04:00
bebf47f05c
Prevent incompatible items from being pasted on compose screen
2020-03-16 17:31:43 -04:00
e76b719c6a
Add context menu previews to explore VC
2020-03-15 23:54:04 -04:00
478c7b7a23
Fix crash when long-presing add attachment button
2020-03-15 22:59:43 -04:00
9ed05de3ee
Add compose attachments preview
2020-03-15 14:25:02 -04:00
64f41ea2b7
Fix crash when updating timeline status cell timestamp
2020-03-15 12:17:19 -04:00
9af4118dfc
Show truncated note in account cell
2020-03-15 11:56:41 -04:00
64a8f6d733
Reorganize code
2020-03-15 11:43:41 -04:00
ca76568c79
Remove old code
2020-03-15 11:40:28 -04:00
18e91feb00
Fix requires attachment descriptions preference not working
2020-03-15 11:39:35 -04:00
c5d2e9af68
Fix preferences/drafts not saving on iPad in some circumstances
2020-03-15 11:26:30 -04:00
0691c3b9d6
Fix asset preview size
2020-03-14 23:32:54 -04:00
1ccb450477
Support dragging and dropping attachments in the compose view controller
...
Allos dragging in attachments from other apps and drag/dropping with the
compose VC to reorder attachments
2020-03-14 20:08:36 -04:00
7117ce6320
Support pasting images to create attachments
...
Closes #91
2020-03-14 16:46:50 -04:00
34dccf1f37
Extract compose attachments into separate VC
2020-03-14 15:47:15 -04:00
a3303dc8fb
Use same order for status and account preview actions
2020-03-11 22:54:38 -04:00
d15fa2199e
Fix attachments container more view not beign removed on cell reuse
...
Closes #92
2020-03-11 22:49:53 -04:00
fadddeda7f
Fix crash when deleting draft
...
Closes #94
2020-03-11 22:18:31 -04:00
b232bec80f
Show custom emojis in content warnings
...
Closes #95
2020-03-11 21:56:35 -04:00
cd5b4c1145
Remove old code
2020-03-02 22:31:37 -05:00
c7746d3084
Add unknown notification fallback
...
Closes #90
2020-03-02 19:44:10 -05:00
315ea39682
Fix crash in silent action prefs
2020-03-02 19:44:10 -05:00
44fbbd6a80
Revert "Fix custom emojis in display namesnot showing in conversation main"
...
This reverts commit 73da828e7cec09bcfbe65295bbd2f02e3b719ff6.
Fixes #89
2020-03-02 19:44:10 -05:00
fa4b5d3542
Fix custom emojis not being shown in display names when scrolling
...
quickly
If the emojiIdentifier didn't change, the emojis wouldn't be re-added
even after the text had been reset.
2020-03-02 19:44:10 -05:00
de02c73957
Fix custom emojis in display namesnot showing in conversation main
...
statuses
Caused by the cell updating it's UI multiple times in quick succession.
As a workaround, prevent the main cell from being reloaded.
2020-03-02 19:44:10 -05:00
2cebb6bd7d
Show custom emojis in display names (where possible)
2020-03-02 19:44:09 -05:00
53707593a6
Show custom emojis in display names (where possible)
2020-03-01 19:40:32 -05:00
244659c262
Fix intermittent crash
...
If a status in a conversation view controller creates a work item to
update the timestamp in 1 minute, but the view controller is deinit'd
before that time elapses, the mastodonController instance will be nil,
resulting in a crash.
The DispatchWorkItems's are cancelled by the respective cell deinit
methods. But if the work item has already begun, cancelling it has no
effect, potentially leading to a crash in the conditions described above
are true. Using a weak reference to self fixes this.
Additionally, don't unnecessarily recreate the work items every time.
They don't capture any local variables, only self, so nothing changes.
2020-03-01 18:33:44 -05:00
d4ca39761e
Change version, disable UI test web server temporarily
2020-03-01 18:23:10 -05:00
f87944b47e
Add app icon
2020-03-01 13:11:09 -05:00
af821081b0
Temporary fix for crash that occurs when switching accounts immediately
...
after adding a new one
2020-02-29 17:36:54 -05:00
804636dcbb
Don't show warning when loading draft on top of for empty statuses
...
Closes #87
2020-02-28 19:50:04 -05:00
5bed38f661
Show gallery instead of large image when previewing status attachments
...
Fixes crash when attempting to preview audio/video attachments
2020-02-28 19:47:38 -05:00
56de0ab359
Update profile header to always reflect most recently cached data
2020-02-28 19:47:31 -05:00
387623a309
Remove old code
2020-02-28 19:24:14 -05:00
d9bae42f81
Prevent empty drafts from being saved
2020-02-22 15:43:17 -05:00
a814ee37cc
Update SheetController
...
Fixes image picker losing velocity during dismiss animation
2020-02-22 15:29:42 -05:00
1a8e84f5fa
Reorganize behavior preferences
2020-02-22 13:19:31 -05:00
1f56823a17
Add preference to disable gif animation in timelines
2020-02-22 13:12:28 -05:00
65d57df949
Add interacting pushing to navigation controllers
...
Allows people to move forward in the navigation stack after popping
(making popping a non-destructive action).
2020-02-19 22:07:12 -05:00
8be7480755
Change bundle identifier and signing account
2020-02-08 17:54:04 -05:00
d7953470e3
Add rudimentary support for audio attachments
...
Closes #7
2020-01-26 18:50:45 -05:00
8c7bebcce8
Fix large image controls being positioned incorrectly on notched-devices
...
when opening via a context menu preview.
The constraints for the top controls were being set only once, but when
showing a large image in the contxt menu preview window, the top inset
safe area is 0 and didn't become 44 (the value for notched devices)
until the preview was expanded.
Fixes #86
2020-01-26 18:28:46 -05:00
20c602f911
Disable row insertion animations
2020-01-26 18:23:18 -05:00
f2e08e96f3
Improve large image/gallery animation handling when images aren't loaded
2020-01-25 22:29:12 -05:00
d1913d7e69
Change white background when loading attachment to black
2020-01-25 22:09:00 -05:00
f9a62ec3f3
Fix crash when tapping unloaded image attachment
2020-01-25 22:03:21 -05:00
26c99a1a35
Improve scroll perform when loading new rows into table views
...
Instead of reloading the whole table view, only insert the rows for
statuses/notifications that were added.
2020-01-25 11:11:48 -05:00
6757031dcb
Hide context menus and swipe actions on instance public timelines
2020-01-25 10:44:31 -05:00
7c207efa07
Tweak More swipe action to be in-line with system appearance
2020-01-25 10:44:12 -05:00
81256b7a96
Only show local posts on public instance timelines
2020-01-25 10:37:22 -05:00
5a6c12c5a7
Fix missing context menu actions on follow notifications for only one person
2020-01-25 10:30:04 -05:00
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
62408fc4bd
Merge branch 'master' into multiple-accounts
2020-01-22 22:30:30 -05:00
1d169bec67
Fix statuses showing incorrect timestamps when switching accounts
2020-01-22 22:30:05 -05:00
4abda02b76
Only show drafts from current account
2020-01-22 22:27:58 -05:00
e9db3fa0ac
Collapse whitespace according to CSS spec after converting HTML to
...
attributed string
Fixes #27
2020-01-21 21:28:14 -05:00
59277ec64f
Change drafts to store which accounts was used to create them
...
When loading a draft:
If the draft was created from a different account than the current one:
If the draft was in reply to a status, don't allow it to be loaded.
If the draft was not in reply to a status, prompt the user whether
or not to load the draft.
If the draft was in reply to a different status than the current one:
Prompt the user whether or not to load the draft.
Otherwise, load the draft.
Draft replies created from other accounts can't be loaded from different
accounts because the status for inReplyToID of the draft will have a
different instance-local ID if the two accounts are on different
instances.
See #16
2020-01-20 15:26:25 -05:00
08086f1b18
Fix compose reply view missing MastodonController instance
2020-01-20 15:25:23 -05:00
12b6623113
Merge branch 'master' into multiple-accounts
2020-01-20 12:16:11 -05:00
79f44c9b58
Change recommended instance selector to store categories as strings
...
instead of enum
Additional categories can be added, which would cause a crash when
decoding.
As the category isn't used for anything, storing it as an enum value is
not necessary.
2020-01-20 11:56:43 -05:00
ff97b0f76d
Change saved hashtags/instances to be per-account
...
See #16
2020-01-20 11:48:47 -05:00
26f1aafa15
Unify SavedHashtagsManager and SavedInstancesManager
2020-01-20 11:20:39 -05:00
c99a724bf3
Fix instance public timelines crashing
...
The instance timeline controller needs to store a strong reference to
the instance-specific MastodonController since the timeline VC only
holds a weak reference, and unlike normal screens, the scene session
doesn't hold onto the MastodonController for other instances.
2020-01-20 11:18:55 -05:00
f7421d83ef
Add preference to mention reblogger when replying to a reblogged status
2020-01-19 23:48:36 -05:00
7934bc15ac
Split Composing prefs into Composing and Replying
2020-01-19 23:23:31 -05:00
3aa5aa1bc0
Fix weird crashes when switching accounts
2020-01-19 23:16:36 -05:00
ee252c02e9
Fix retain cycle in timeline cell cache observers
...
The use an unowned reference to self because when the cell is deinit'd,
the Combine observers will be cancelled.
2020-01-19 23:14:51 -05:00
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
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
c45dd99088
Clean up account switching code
2020-01-19 11:52:06 -05:00
863867c522
Add logging in to additional accounts and switching accounts via Preferences
...
See #16
2020-01-18 22:45:06 -05:00
08c84688cf
Change recommended instance selector to store categories as strings
...
instead of enum
Additional categories can be added, which would cause a crash when
decoding.
As the category isn't used for anything, storing it as an enum value is
not necessary.
2020-01-18 22:42:20 -05:00
66fe861442
Merge branch 'master' into multiple-accounts
2020-01-18 19:33:01 -05:00
11f9642cba
Actually fix link interaction
2020-01-18 19:32:39 -05:00
6421d4dc12
Merge branch 'master' into multiple-accounts
2020-01-18 18:56:36 -05:00
38085eee37
Fix not being able to collapse/expand statuses
...
Instead of simply returning the content text view from hitTest(_:with:),
we need to call the super method so that the system still performs its
own checks.
2020-01-18 18:38:00 -05:00
e19364abdf
Fix content text view text color in dark mode
2020-01-18 18:21:01 -05:00
fa358a3e97
Remove xtra padding from content text view
2020-01-18 16:27:18 -05:00
5d86b35672
Enable text selection in conversation main status
2020-01-18 16:18:32 -05:00
784c71342d
Fix preformatted text not being displayed correctly
2020-01-18 16:05:44 -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
8178a1f339
Fix crash when tapping more actions buttons on iPad
...
Fixes #78
2020-01-17 21:29:53 -05:00
53702a8324
Add pinned status refreshing
...
Closes #82
2020-01-17 21:13:17 -05:00
bb86e1aafd
Allow rotaion in the attachment gallery
...
Closes #77
2020-01-07 22:19:38 -05:00
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
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
ec2062ad42
Fix not being able to sign into Mastodon instances not in the
...
recommended list
2020-01-06 22:14:17 -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
ad09e36907
Show follow requsts in notifications w/ accept/reject buttons
...
Closes #64
2020-01-04 23:13:23 -05:00
c31916d67e
Remove references to old images
2020-01-04 23:04:45 -05:00
05cc3fd6d9
Add pinning/unpinning statuses
...
Closes #69
2020-01-04 19:31:35 -05:00
b70256c525
Remove old icons
2020-01-04 19:22:16 -05:00
3ecbb1895c
Replace GMImagePicker with custom asset picker based on SheetController
...
Fixes #23
Closes #50
2020-01-04 16:25:15 -05:00
b2956b6118
Convert HEIC images to JPEG before upload
...
Fixes #60
2019-12-31 16:41:56 -05:00
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
96953cf235
Add tapping mentions to show profiles
2018-09-30 21:12:23 -04:00
139a214d2f
Move StatusTableViewCellDelegate methods to TuskerNavigationDelegate
2018-09-30 19:29:52 -04:00
728a5a4ff1
Add preferences UI for silent XCB actions
2018-09-30 19:05:06 -04:00
81a67ee76b
Minor UI tweaks
2018-09-30 19:05:06 -04:00
db1be505e0
Switch to new text view placeholder implementation
2018-09-30 19:04:58 -04:00
3da1a7badd
Add character counter
2018-09-29 22:20:17 -04:00
813ed27d29
Refactor XCB actions code, add JSON responses
2018-09-25 21:41:12 -04:00
0bfc96fe38
Add getAccount XCB action
2018-09-25 21:20:34 -04:00
e082076a23
Add getStatus XCB action
2018-09-25 21:13:51 -04:00
bea052a06d
Add show account and show status XCB actions
2018-09-25 08:39:27 -04:00
0d004186c1
Add initial X-Callback-URL documentation
2018-09-24 21:58:44 -04:00
348a5ba241
Add reblog XCB action
2018-09-24 19:56:27 -04:00
4b2071af6a
Add follow user XCB action
2018-09-24 14:41:28 -04:00
3ff80b238e
Merge branch 'master' of github.com:shadowfacts/Tusker
2018-09-24 08:51:20 -04:00
d345cd5372
Add following/unfollowing accounts
2018-09-24 08:49:39 -04:00
c6008bc7c0
Add favorite status XCB action
2018-09-23 22:16:25 -04:00
9a41d44e9f
Add getCurrentUser XCB action, refactor XCB support some more
2018-09-23 21:35:33 -04:00
68300f930b
Cleanup silent XCB actions code
2018-09-23 21:10:45 -04:00
af0d0612ba
Add silent x-callback-url actions
...
User confirmation is required the first time a source app attempts to
run an action silently. Rejecting will always display the UI for the
given action (as if the silent parameter had been false).
2018-09-23 19:04:45 -04:00
6c3ae9ab14
Change ComposeViewController.xcbSession to be weak
2018-09-23 18:45:56 -04:00
7af64f8e5a
Add x-callback-url response data
2018-09-23 18:43:33 -04:00
d74f86418e
Add initial x-callback-url implementation
2018-09-23 12:01:23 -04:00
a10b990073
Cache accounts
2018-09-18 12:59:07 -04:00
a6d23d12eb
Add shared status cache
2018-09-17 21:57:46 -04:00
a5579ce0e3
Change client requests to match others
2018-09-17 20:58:05 -04:00
266ebddd43
Merge branch 'pachyderm-immutable'
2018-09-17 19:37:58 -04:00
bf09b80a5a
Change Pachyderm models to be immutable
2018-09-17 19:33:44 -04:00
fb47708508
Merge branch 'swipe-actions'
2018-09-15 13:18:23 -04:00
6ec0ae5489
Refactor swipe actions into TableViewSwipeActionProvider
2018-09-15 13:11:58 -04:00
4c9be91162
More swipe actions
2018-09-15 12:39:50 -04:00
22dfec0483
Start work on swipe actions
2018-09-15 10:56:27 -04:00
76972237ba
Fix large image view top controls on iPhone Xs Max & Xr
2018-09-12 22:29:58 -04:00
6f424666d8
Add post progress view
2018-09-12 09:19:51 -04:00
e75b03f28d
Add more button to status
2018-09-11 18:17:48 -04:00
1119a861d8
Replace MastodonKit with Pachyderm
2018-09-11 10:52:21 -04:00
d4a451fadb
Favorites and reblogs
2018-09-08 21:35:40 -04:00
186e2d7520
Add reply icon
2018-09-06 20:42:41 -04:00
b340fb9df7
Add default post visibility preference UI
2018-09-03 21:44:44 -04:00
cd5d0c4a95
Change how view controller delegate extensions work
2018-09-03 18:46:20 -04:00
bd1f8fa20a
Reorganize sources
2018-09-03 17:10:26 -04:00
db54922040
Add notifications screen
2018-09-03 16:54:03 -04:00
889151dcc2
Preserve vector data for all icons
2018-09-03 15:20:50 -04:00
aa194543d2
Add ability to expand profile avatar & header images
2018-09-02 18:22:29 -04:00
8fd39a6ca2
Copy inReplyTo CW & visibility to response post
2018-09-02 18:11:00 -04:00
761b320ca6
Fix timestamp label sometimes not being right-aligned
2018-09-02 18:01:37 -04:00
1f52054107
Show images in conversation main status view
2018-09-02 17:51:36 -04:00
e523d69e33
Large image view
2018-09-02 16:59:20 -04:00
834b6cfc42
Show timestampts on statuses
2018-08-31 13:46:33 -04:00
3170b83b82
Add image descriptions
2018-08-31 12:39:39 -04:00
fc69b9684b
Initial implementation Compose UI
2018-08-30 22:30:19 -04:00
481f493a9c
Fix posts with multiple <p> tags being handled incorrectly
2018-08-29 21:51:04 -04:00
9b07dd98bf
Fix rows from being deselected when back button is pressed
2018-08-28 21:46:57 -04:00
7fda5ae9fe
Add option to strip custom emoji from display names
2018-08-28 21:18:58 -04:00
310ebe588e
Add reblog label
2018-08-28 20:11:31 -04:00
9d70018508
Add avatar style preference
2018-08-28 19:49:31 -04:00
093820ae9d
Start preferences
2018-08-28 19:16:17 -04:00
c319ae5ce9
Add more options to profile view
2018-08-28 18:04:45 -04:00
b85894b198
Don't open redundant VCs
2018-08-28 16:22:49 -04:00
0f1a13d2a7
Conversation view
2018-08-28 14:29:06 -04:00
05c895db88
Profile pages
2018-08-27 21:27:34 -04:00
4b3d186a2e
Show title on timeline VCs
2018-08-27 16:46:19 -04:00
b655c20e3d
Move StatusTableViewCell to separate nib
2018-08-27 16:32:59 -04:00
02fcea8675
Add opening URLs in SFSafariViewController
2018-08-27 15:23:59 -04:00
03c87105d3
Add StatusContentLabel entity detection
2018-08-27 12:40:22 -04:00
6af5bae335
More StatusContentLabel cleanup
2018-08-26 15:19:54 -04:00
078e73b161
StatusContentLabel: remove unnecessary height correction
2018-08-26 15:07:03 -04:00
62bc57e169
Fix link detection
2018-08-26 14:49:22 -04:00
f28e73442b
Fix link ranges being stored incorrectly
2018-08-21 21:43:43 -04:00
65530dbfd0
Fix display names sometimes being truncated in favor of full names
2018-08-21 21:14:04 -04:00
4adc501073
Initial avatars implementation
2018-08-21 19:23:27 -04:00
c42f5ee396
Multiple timeline views
2018-08-21 17:17:25 -04:00
2be0b119ff
Finish OAuth (kind of)
2018-08-20 17:23:35 -04:00
8d268fad18
Start OAuth
2018-08-19 16:14:04 -04:00
8526613189
Add infinite scrolling and pull to refresh to timeline
2018-08-18 17:46:28 -04:00
a6f8565ab3
Fix crash on invalid URL
2018-08-18 16:07:34 -04:00
354b3469a8
Initial pass at message content rendering
2018-08-17 23:09:59 -04:00
5dacb787a6
Remove old API test code
2018-08-17 23:09:48 -04:00
24d30d36b7
Start home timeline
2018-08-16 22:39:16 -04:00
7ad6f65891
Fix password auth
2018-08-16 20:11:56 -04:00
85f7e0be10
Start work on MastodonController
2018-08-16 18:55:40 -04:00
f59b16cc9d
Initial commit
2018-08-16 07:46:19 -04:00
232a2106d9
Initial Commit
2018-08-15 22:27:48 -04:00