Shadowfacts
072e68e97b
Add nodeinfo request and InstanceFeatures
2022-01-23 23:26:49 -05:00
Shadowfacts
fa1482a152
Fix crash when fetching attachment data fails
2022-01-21 11:10:03 -05:00
Shadowfacts
2b50609e5c
Fix animating poll configuration button size change when selected option
...
changes
2021-11-20 11:37:09 -05:00
Shadowfacts
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
Shadowfacts
f5e9f71586
Use link replacement length from instance config if available
2021-11-11 13:44:24 -05:00
Shadowfacts
30ef9cc6d0
Extract compose image into separate view
2021-11-10 16:57:27 -05:00
Shadowfacts
5a26739b78
Remove old compilation condition
2021-11-07 14:35:14 -05:00
Shadowfacts
c22945b1e7
Use sheetPresentationController property
2021-06-26 17:02:17 -04:00
Shadowfacts
ebb0770198
Add context menu action to remove attachments in Compose
2021-06-18 11:32:17 -04:00
Shadowfacts
7c9287543c
Fix crash due to PencilKit undo manager not being available until viewDidAppear
2021-06-10 10:33:24 -04:00
Shadowfacts
2a05b6d326
Add pointer hover effects to compose poll buttons
2021-06-09 19:18:54 -04:00
Shadowfacts
2499d25432
Use built-in sheet for asset picker on iOS 15
2021-06-09 19:12:10 -04:00
Shadowfacts
2f6d1cb069
Use plain list style for Compose attachments
2021-06-09 17:08:59 -04:00
Shadowfacts
8889261b6b
Fix compose reply avatar scroll effect not working on iOS 15
2021-06-09 11:01:11 -04:00
Shadowfacts
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
Shadowfacts
bbe260bc9e
Construct PKToolPicker ourselves
2021-06-06 21:33:17 -04:00
Shadowfacts
ffe6450b26
Xcode recommendations, use AnyObject instead of class in protocol requirements
2021-05-22 13:44:58 -04:00
Shadowfacts
c78f152670
Animate attachment rows in when picking assets
2021-05-13 22:34:26 -04:00
Shadowfacts
2c9f00d19f
Fix compose poll durations not being set/persisted
2021-05-06 21:52:16 -04:00
Shadowfacts
005001b081
Add authoring polls
...
Closes #48
2021-05-03 23:12:59 -04:00
Shadowfacts
90f17693f1
Fix compose autocomplete suggestions not displaying
...
c737354ed3
was overzealous
2021-05-01 19:18:00 -04:00
Shadowfacts
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
Shadowfacts
669d55500a
Remove unused pre-iOS 14 code
2021-02-06 13:47:45 -05:00
Shadowfacts
c12d2db258
Cache UIImage objects to avoid re-decoding images unnecessarily
2021-01-17 11:28:50 -05:00
Shadowfacts
4ac3292183
Allow dragging attachments between Compose windows
2020-12-14 22:46:56 -05:00
Shadowfacts
522c9b2b03
Add multi-window support and auxiliary windows
2020-12-13 22:37:37 -05:00
Shadowfacts
4bccbe254b
Add text formatting key commands
2020-11-14 11:47:20 -05:00
Shadowfacts
366378f267
Scroll attachment description views to ensure caret is always visible
2020-11-11 12:44:39 -05:00
Shadowfacts
80cca7673a
Tweak compose text view scrolling behavior
2020-11-11 12:14:36 -05:00
Shadowfacts
16b02edf87
Ensure the cursor remains visible when composing posts
2020-10-24 15:46:24 -04:00
Shadowfacts
b8f169d0cd
Fix broken layout on Compose screen when replying to certain posts
...
Closes #115
2020-10-24 11:34:49 -04:00
Shadowfacts
62a9535394
Fix crash when ending dictation in Compose CW field
...
Closes #116
2020-10-24 11:26:29 -04:00
Shadowfacts
8c4ef3caa6
Fix system autocomplete not working in Compose post body and CW
2020-10-24 11:20:43 -04:00
Shadowfacts
45ac40b125
Fix broken Compose layout when replying to long statuses
2020-10-18 16:31:41 -04:00
Shadowfacts
9b949af390
Add complete emoji list to Compose emoji autocomplete
2020-10-18 11:17:58 -04:00
Shadowfacts
08045dd1e9
Prioritize followed/following accounts in mention suggestions
2020-10-14 19:28:32 -04:00
Shadowfacts
7883b04618
Fix autocomplete bar cutting off scroll view contents
2020-10-12 22:12:35 -04:00
Shadowfacts
0687c040a0
Prevent inserting extra whitespace when autocompleting
2020-10-12 22:03:50 -04:00
Shadowfacts
58c6d508ec
Prevent caret from changing position on auto complete
2020-10-12 19:39:50 -04:00
Shadowfacts
ae272582ac
Autocomplete custom emojis in CW field
2020-10-12 19:17:57 -04:00
Shadowfacts
2cfc0cf28a
Add Compose screen mention, hashtag, emoji completion
...
Closes #10
2020-10-11 22:14:45 -04:00
Shadowfacts
cf63384dce
Why use many DispatchQueue.main.async when few do trick?
2020-09-25 11:31:53 -04:00
Shadowfacts
733d50b642
Strip U+FFFC from status bodies when posting
...
Fixes #112
2020-09-23 17:20:45 -04:00
Shadowfacts
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
Shadowfacts
b6c0c02028
Remove no longer necessary conditional compilation directives
2020-09-20 11:34:09 -04:00
Shadowfacts
5906c374ba
Fix not being able to tap text view placeholders on Compose screen
...
Fixes #111
2020-09-17 18:40:02 -04:00
Shadowfacts
be5a4c03a6
Fix attachments not being posted in the correct order.
2020-09-14 23:29:31 -04:00
Shadowfacts
1c6e464a4c
Start Compose screen tests
2020-09-13 13:19:56 -04:00
Shadowfacts
8ac3deb55a
Remove old file
2020-09-12 22:04:41 -04:00
Shadowfacts
7c4bbfd730
Improve compose posting error messages
2020-09-09 18:33:59 -04:00
Shadowfacts
fe1db72f19
Fix save draft sheet showing even when draft had no content
2020-09-07 17:15:18 -04:00
Shadowfacts
b4ddb8f533
Fix safe area on Compose screen not including keyboard on iOS 13
2020-09-07 17:05:50 -04:00
Shadowfacts
9a4ddfea3f
Fix Compose reply scroll effect not working on iOS 13
2020-09-07 16:56:06 -04:00
Shadowfacts
dd8a196630
Show custom emoji in display names on Compose screen
2020-09-07 15:22:06 -04:00
Shadowfacts
3da7aacb35
Fix visiblity context menu in main text view accessory not updating
2020-09-07 14:46:17 -04:00
Shadowfacts
39c8162931
Prevent attempting to add an attachment when the possibility would be
...
invalid
2020-09-07 14:44:56 -04:00
Shadowfacts
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
Shadowfacts
ec2d510be2
Fix crash when opening Compose screen on iOS 13
2020-09-06 23:27:43 -04:00
Shadowfacts
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
Shadowfacts
d008b882cb
Use context menu for visibility on iOS 14
2020-08-31 23:07:41 -04:00
Shadowfacts
4c82b1a341
Rewrite Compose screen in SwiftUI
2020-08-31 19:28:50 -04:00
Shadowfacts
1c708732f2
Exclude iOS 14-specific code from compilation on Xcode 11 to allow building for TestFlight
2020-07-06 00:00:51 -04:00
Shadowfacts
50f1a9a7de
Change ComposeDrawingViewController to use drawingPolicy on iOS 14
2020-06-23 19:33:14 -04:00
Shadowfacts
0e91fc239d
Fix missing anchor for Compose screen visibility popover
2020-06-22 09:53:20 -04:00
Shadowfacts
64365bdf2b
Fix compose attachments being cut off at the bottom of the safe area
2020-06-21 10:31:40 -04:00
Shadowfacts
ba3e9e7491
Fix compose attachment description text view not expanding to fit text
2020-06-19 19:46:08 -04:00
Shadowfacts
920f926b48
Add text recognition image description for image attachments
2020-06-19 19:14:24 -04:00
Shadowfacts
a901af6be9
Merge branch 'private-beta' into develop
2020-06-16 23:19:33 -04:00
Shadowfacts
b623e348c2
Fix crash when opening compose screen before initial network requests completed
2020-06-16 23:13:46 -04:00
Shadowfacts
5d0c59e863
Prompt for Photos access before showing asset picker
2020-06-15 18:15:05 -04:00
Shadowfacts
4fdafa893e
Add drawing attachments using PencilKit
2020-05-09 22:14:48 -04:00
Shadowfacts
1e41c8fa17
Remove MastodonCache usgae from XCBActions
2020-05-06 23:05:15 -04:00
Shadowfacts
d6c506488b
Replace a bunch of MastodonCache uses with CoreData
2020-05-02 19:52:35 -04:00
Shadowfacts
2c8ba878b7
Start converting UI to use CoreData backed objects instead of API
...
objects directly
2020-04-12 12:54:27 -04:00
Shadowfacts
8a513186aa
Add pointer interactions status buttons and profile header more button
2020-03-24 23:02:40 -04:00
Shadowfacts
955f9e5916
Fix attachment descriptions not being set correctly
2020-03-17 21:03:29 -04:00
Shadowfacts
1a11dd2a69
Present asset picker as popover in regular horizontal size class
2020-03-16 20:45:51 -04:00
Shadowfacts
b5fa0bceab
Fix pasting using compose app shortcut while app isn't running
2020-03-16 19:09:25 -04:00
Shadowfacts
bebf47f05c
Prevent incompatible items from being pasted on compose screen
2020-03-16 17:31:43 -04:00
Shadowfacts
478c7b7a23
Fix crash when long-presing add attachment button
2020-03-15 22:59:43 -04:00
Shadowfacts
9ed05de3ee
Add compose attachments preview
2020-03-15 14:25:02 -04:00
Shadowfacts
64a8f6d733
Reorganize code
2020-03-15 11:43:41 -04:00
Shadowfacts
18e91feb00
Fix requires attachment descriptions preference not working
2020-03-15 11:39:35 -04:00
Shadowfacts
0691c3b9d6
Fix asset preview size
2020-03-14 23:32:54 -04:00
Shadowfacts
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
Shadowfacts
7117ce6320
Support pasting images to create attachments
...
Closes #91
2020-03-14 16:46:50 -04:00
Shadowfacts
34dccf1f37
Extract compose attachments into separate VC
2020-03-14 15:47:15 -04:00
Shadowfacts
fadddeda7f
Fix crash when deleting draft
...
Closes #94
2020-03-11 22:18:31 -04:00
Shadowfacts
cd5b4c1145
Remove old code
2020-03-02 22:31:37 -05:00
Shadowfacts
53707593a6
Show custom emojis in display names (where possible)
2020-03-01 19:40:32 -05:00
Shadowfacts
804636dcbb
Don't show warning when loading draft on top of for empty statuses
...
Closes #87
2020-02-28 19:50:04 -05:00
Shadowfacts
d9bae42f81
Prevent empty drafts from being saved
2020-02-22 15:43:17 -05:00
Shadowfacts
a814ee37cc
Update SheetController
...
Fixes image picker losing velocity during dismiss animation
2020-02-22 15:29:42 -05:00
Shadowfacts
4abda02b76
Only show drafts from current account
2020-01-22 22:27:58 -05:00
Shadowfacts
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
Shadowfacts
08086f1b18
Fix compose reply view missing MastodonController instance
2020-01-20 15:25:23 -05:00
Shadowfacts
12b6623113
Merge branch 'master' into multiple-accounts
2020-01-20 12:16:11 -05:00
Shadowfacts
f7421d83ef
Add preference to mention reblogger when replying to a reblogged status
2020-01-19 23:48:36 -05:00
Shadowfacts
32e89f2c16
Fix retain cycles with TuskerNavigationDelegate
...
TuskerNavigationDelegate is now class-bound and only weak references to
it are stored.
2020-01-19 23:02:07 -05:00
Shadowfacts
6421d4dc12
Merge branch 'master' into multiple-accounts
2020-01-18 18:56:36 -05:00
Shadowfacts
23de131290
Add preference to require attachment descriptions before posting
...
Closes #76
2020-01-17 21:55:21 -05:00
Shadowfacts
0255483f97
Make MastodonCache specific to each API controller
...
See #16
2020-01-05 19:54:28 -05:00
Shadowfacts
2bdcb9b7f8
Replace global shared MastodonController instance with (mostly)
...
dependency injection
The places still using the .shared property are cases where there is no
view controller from which to (easily) get the appropriate instance,
such as user activity and X-Callback-URL handling. These uses will need
to be revisited once there are multiple MastodonControllers.
See #16
2020-01-05 15:25:07 -05:00
Shadowfacts
a18bcac8b8
Pachyderm: Change Client request methods to be static, like all other
...
models
Tusker: Add run method to MastodonController and no-longer expose API
client object
2020-01-05 14:00:39 -05:00
Shadowfacts
3ecbb1895c
Replace GMImagePicker with custom asset picker based on SheetController
...
Fixes #23
Closes #50
2020-01-04 16:25:15 -05:00
Shadowfacts
b2956b6118
Convert HEIC images to JPEG before upload
...
Fixes #60
2019-12-31 16:41:56 -05:00
Shadowfacts
0c78af7d4f
Store in reply to status in drafts
2019-12-14 11:30:35 -05:00
Shadowfacts
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
Shadowfacts
b4d41ac9b7
Fix crash in compose screen
2019-09-28 00:37:43 -04:00
Shadowfacts
1808aaa3e8
A bunch of VoiceOver/Voice Control stuff
2019-09-26 22:32:51 -04:00
Shadowfacts
d52875cf25
Allow Pleroma instances to exceed Mastodon attachment limits
...
Closes #35
2019-09-11 16:57:42 -04:00
Shadowfacts
2e6f7d8878
Store CW in drafts
2019-09-08 17:57:11 -04:00
Shadowfacts
818c0afec6
Cleanup draft attachment loading and handle missing attachments
...
#4
2019-09-06 18:50:18 -04:00
Shadowfacts
006af1ab79
Save status draft while posting to prevent data loss due to crashes
...
Closes #33
2019-09-06 17:09:28 -04:00
Shadowfacts
51a03553a9
Add preference for how reply CWs are copied
2019-07-31 21:25:44 -06:00
Shadowfacts
5f5ff68b80
Merge branch 'swiftui-preferences'
2019-07-27 21:59:21 -04:00
Shadowfacts
8bdfa7f09f
Use monospace digit font for character counter
...
Fixes #29
2019-07-27 18:27:47 -04:00
Shadowfacts
1da5af9b37
Compose screen: Fix long display names overlapping character count
2019-06-25 09:19:29 -04:00
Shadowfacts
2232bb8fb7
Copy content warning on reply
...
Closes #21
2019-06-13 18:12:29 -07:00
Shadowfacts
f2e3870850
Start rewriting preferences in SwiftUI
2019-06-13 17:53:17 -07:00
Shadowfacts
fccdd0a9bd
Use SF Symbol icon for add attachment button
2019-06-13 13:13:53 -07:00
Shadowfacts
1997aaf915
Add visiblity and formatting icons
2019-06-13 12:38:40 -07:00
Shadowfacts
ee848d6284
Support iOS 13 interactive dismissal of compose screen
2019-06-13 12:15:49 -07:00
Shadowfacts
9d4782c63c
Add SF Symbols icons
2019-06-11 10:21:22 -07:00
Shadowfacts
6ecad62b94
More dark mode fixes
2019-06-04 17:58:35 -04:00
Shadowfacts
2c452b08e8
Fix deprecation warning
2019-06-04 13:37:31 -04:00
Shadowfacts
b3b9d566b7
iOS 13 Dark Mode Support
2019-06-04 13:31:05 -04:00
Shadowfacts
8b24457d96
Store attachments in post drafts
2019-02-22 13:53:38 -05:00
Shadowfacts
9efc58225c
Allow drafts to be deleted
2019-02-22 11:30:38 -05:00
Shadowfacts
55ed2f5d26
Get rid of AppRouter
2019-01-19 14:31:31 -05:00
Shadowfacts
b8430be00c
Initial rewrite/redesign of compose screen
...
Still pending:
- Posting videos
- Image resizing
- Attachment drawer thing
2019-01-14 21:59:42 -05:00
Shadowfacts
fe85e3c1d6
Redo app navigation/tab bar
2019-01-05 12:59:55 -05:00
Shadowfacts
f684591888
Use Gifu for GIF playback
2018-11-09 15:48:08 -05:00
Shadowfacts
82d4fe22cf
Cleanup visibility selection
2018-10-25 21:54:07 -04:00
Shadowfacts
df6976df2f
Add post drafts
2018-10-22 22:09:11 -04:00
Shadowfacts
7e8f22c471
Refactor view controller creation/navigation into AppRouter
2018-10-20 22:07:04 -04:00
Shadowfacts
eb9e1276df
Replace most storyboards with XIBs
2018-10-20 12:13:41 -04:00
Shadowfacts
9e7e16b3fc
Start adding Siri Shortcuts
2018-10-20 10:55:01 -04:00
Shadowfacts
b796f288c8
Merge branch 'image-caching'
2018-10-03 08:53:17 -04:00
Shadowfacts
982e42ca2f
Refactor AvatarCache to ImageCache
...
Use Cache library (https://github.com/hyperoslo/Cache ) for caching
2018-10-03 08:45:03 -04:00
Shadowfacts
225c7e30fc
Remove MastodonController.shared
2018-10-02 19:31:00 -04:00
Shadowfacts
db1be505e0
Switch to new text view placeholder implementation
2018-09-30 19:04:58 -04:00
Shadowfacts
3da1a7badd
Add character counter
2018-09-29 22:20:17 -04:00
Shadowfacts
68300f930b
Cleanup silent XCB actions code
2018-09-23 21:10:45 -04:00
Shadowfacts
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
Shadowfacts
6c3ae9ab14
Change ComposeViewController.xcbSession to be weak
2018-09-23 18:45:56 -04:00
Shadowfacts
7af64f8e5a
Add x-callback-url response data
2018-09-23 18:43:33 -04:00
Shadowfacts
d74f86418e
Add initial x-callback-url implementation
2018-09-23 12:01:23 -04:00
Shadowfacts
a10b990073
Cache accounts
2018-09-18 12:59:07 -04:00
Shadowfacts
a6d23d12eb
Add shared status cache
2018-09-17 21:57:46 -04:00