88 Commits

Author SHA1 Message Date
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
5d0c59e863
Prompt for Photos access before showing asset picker 2020-06-15 18:15:05 -04:00
4fdafa893e
Add drawing attachments using PencilKit 2020-05-09 22:14:48 -04:00
1e41c8fa17
Remove MastodonCache usgae from XCBActions 2020-05-06 23:05:15 -04:00
d6c506488b
Replace a bunch of MastodonCache uses with CoreData 2020-05-02 19:52:35 -04:00
2c8ba878b7
Start converting UI to use CoreData backed objects instead of API
objects directly
2020-04-12 12:54:27 -04:00
8a513186aa
Add pointer interactions status buttons and profile header more button 2020-03-24 23:02:40 -04:00
955f9e5916
Fix attachment descriptions not being set correctly 2020-03-17 21:03:29 -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
bebf47f05c
Prevent incompatible items from being pasted on compose screen 2020-03-16 17:31:43 -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
64a8f6d733
Reorganize code 2020-03-15 11:43:41 -04:00
18e91feb00
Fix requires attachment descriptions preference not working 2020-03-15 11:39:35 -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
fadddeda7f
Fix crash when deleting draft
Closes #94
2020-03-11 22:18:31 -04:00
cd5b4c1145
Remove old code 2020-03-02 22:31:37 -05:00
53707593a6
Show custom emojis in display names (where possible) 2020-03-01 19:40:32 -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
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
4abda02b76
Only show drafts from current account 2020-01-22 22:27:58 -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
f7421d83ef
Add preference to mention reblogger when replying to a reblogged status 2020-01-19 23:48:36 -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
6421d4dc12
Merge branch 'master' into multiple-accounts 2020-01-18 18:56:36 -05:00
23de131290
Add preference to require attachment descriptions before posting
Closes #76
2020-01-17 21:55:21 -05:00
0255483f97
Make MastodonCache specific to each API controller
See #16
2020-01-05 19:54:28 -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
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
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
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
d52875cf25 Allow Pleroma instances to exceed Mastodon attachment limits
Closes #35
2019-09-11 16:57:42 -04:00
2e6f7d8878
Store CW in drafts 2019-09-08 17:57:11 -04:00
818c0afec6
Cleanup draft attachment loading and handle missing attachments
#4
2019-09-06 18:50:18 -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
51a03553a9
Add preference for how reply CWs are copied 2019-07-31 21:25:44 -06:00
5f5ff68b80
Merge branch 'swiftui-preferences' 2019-07-27 21:59:21 -04:00
8bdfa7f09f
Use monospace digit font for character counter
Fixes #29
2019-07-27 18:27:47 -04:00