Angelo Stavrow
93c016268a
Add error handling to iOS post editor ( #210 ) ( #214 )
...
* Add error handling to post editor
* Cleanup
* Add error handling to macOS (#211 )
* Add error handling to Mac app
* Log fatal errors and present alert on next launch (#212 )
* Log fatal crashes and present alert on next launch
* Update crash alert copy and navigate to help forum
* Refactor logging into reuseable methods
* Refactor class to use protocol
* Clean up todo comment
* Revert "Log fatal errors and present alert on next launch (#212 )"
This reverts commit 7475b57772
.
2022-07-28 07:38:19 -04:00
Angelo Stavrow
549ad3039f
Clean up project warnings ( #199 )
...
* Set "recommended project settings" for Mac app
* Add default fallback for font typingAttribute
* Clean up linter errors
* Update extension iconset
* Fix spm errors and upgrade sparkle (#203 )
* Switch WriteFreely package import from ssh to https
* Sign macOS project target for Development
This fixes a crash-on-launch bug when running Product > Run from Xcode (Product > Archive should work correctly). See https://github.com/sparkle-project/Sparkle/issues/2056 for more details.
Bug introduced by commit:
671b0540ac
* Update Sparkle to v2.0 from official repo
Previously, we forked the repo to the WriteFreely org because Sparkle didn't support tag-based SPM updates. We therefore had to pull from the `master` branch, so forking insulated us from unexpected changes.
As of 2.x Sparkle now allows for tag-based updating via SPM; we'll allow patch updates but stop short of 2.1 until we can vet changes.
* Add MacUpdatesViewModel ObservableObject
* Use MacUpdatesViewModel to handle Sparkle update logic
2022-04-02 08:04:50 -04:00
Angelo Stavrow
7db11172c0
Move user defaults to App Group
2021-11-05 14:18:36 -04:00
Angelo Stavrow
11ad3bc2ff
Use LocalStorageManager 'standard' singleton
2021-10-08 17:07:06 -04:00
Angelo Stavrow
163e44311b
Override app delegate methods for window deminiaturization
2021-08-20 15:00:34 -04:00
Angelo Stavrow
55d2659448
Use collection.url rather than server + collection alias in share sheets
2021-03-18 15:43:12 -04:00
Angelo Stavrow
a4b0710281
Merge pull request #178 from writeas/bugfix-mac-crash
...
Bugfix mac crash
2021-02-11 10:34:02 -05:00
Angelo Stavrow
6580168606
Merge pull request #177 from writeas/check-for-updates-silently
...
Check for updates in background on launch
2021-02-11 10:33:05 -05:00
Angelo Stavrow
b25252a2f6
Save changes one second after user stops typing or when leaving post
2021-02-10 15:16:34 -05:00
Angelo Stavrow
3c0ab76a72
Check for updates in background on launch
2021-02-08 16:33:04 -05:00
Angelo Stavrow
4c6eb07846
Set text color in typingAttributes property
2021-02-08 16:25:25 -05:00
Angelo Stavrow
ad78389dc3
Set typingAttributes for Mac post editor
2021-02-02 10:08:46 -05:00
Angelo Stavrow
26ea1d97d2
Merge pull request #168 from writeas/mac-editor-qol-fixes
...
Add editing menu, enable find/replace, ignore formatted text on paste
2021-02-01 11:07:22 -05:00
Angelo Stavrow
7d7fe4134b
Add editing menu, enable find/replace, ignore formatted text on paste
2021-01-28 17:45:10 -05:00
Angelo Stavrow
f589d42794
Check that we're working with model's selectedPost property
2021-01-27 10:37:18 -05:00
Angelo Stavrow
f948a16ad0
Use ObservedObject rather than unwrapping model.selectedPost
2021-01-27 10:18:26 -05:00
Angelo Stavrow
12785d733c
Use model.selectedPost for ActivePostToolbarView
2021-01-26 10:29:05 -05:00
Angelo Stavrow
86dc41c0bc
Correct Mac version number and add beta verbiage
2021-01-07 15:53:01 -05:00
Angelo Stavrow
9f1e125a18
Add Sparkle to the credits doc
2021-01-05 15:20:14 -05:00
Angelo Stavrow
2b826e0223
Remove sandboxing for Sparkle compatibility
2021-01-05 15:03:42 -05:00
Angelo Stavrow
749d5235e2
Update feed URL
2021-01-05 15:02:52 -05:00
Angelo Stavrow
d08daa95af
Add Sparkle feed URL and public key
2021-01-05 10:00:05 -05:00
Angelo Stavrow
30b3a446d7
Initialize Sparkle based on UserDefaults
2020-12-23 15:00:44 -05:00
Angelo Stavrow
a169265707
Remove SUFeedURL key from Info.plist
2020-12-23 14:39:21 -05:00
Angelo Stavrow
70dfda7ea0
Improve layout of Updates/Preferences window
2020-12-23 14:38:53 -05:00
Angelo Stavrow
b05938b497
Create an updates view for the Preferences window
2020-12-23 11:53:01 -05:00
Angelo Stavrow
4eb5d269aa
Add dummy appcast URL to Info.plist
2020-12-23 10:16:02 -05:00
Angelo Stavrow
a9eea94d4e
Stub out basic checking for updates in AppDelegate
2020-12-22 17:02:56 -05:00
Angelo Stavrow
03df62a48c
Add AppDelegate stub
2020-12-22 15:06:25 -05:00
Angelo Stavrow
3f11bf1ff1
Credit for MacEditorTextView
2020-12-18 15:11:13 -05:00
Angelo Stavrow
022792e7f4
Enable undo in MacEditorTextView
2020-12-18 14:58:09 -05:00
Angelo Stavrow
725ff2eed9
Merge branch 'main' into add-help-tooltips
2020-12-18 11:54:22 -05:00
Angelo Stavrow
8a36de2b51
Merge branch 'main' into add-move-post-ui
2020-12-18 11:14:58 -05:00
Angelo Stavrow
554ca83014
Only show logged-in requirement if logged out
2020-12-18 10:23:52 -05:00
Angelo Stavrow
c4e9089e76
Remove unimplemented menu commands
2020-12-17 11:15:23 -05:00
Angelo Stavrow
96472c2604
Add copy-published-post-link to Post command menu
2020-12-16 14:25:56 -05:00
Angelo Stavrow
6164ceeb99
Add PostCommands menu to Mac app
2020-12-16 11:35:40 -05:00
Angelo Stavrow
851a0b6465
Open app prefs window if not logged in on publish
2020-12-15 15:10:26 -05:00
Angelo Stavrow
f52fae335b
Present publish-to menu for new local posts
2020-12-15 14:53:18 -05:00
Angelo Stavrow
82dbaba32b
Adjust spacing between post-related toolbar items
2020-12-15 13:33:22 -05:00
Angelo Stavrow
9b7fab4370
Add picker to toolbar for moving non-local posts
2020-12-14 14:09:49 -05:00
Angelo Stavrow
4ec81ccfbf
Add help tooltips to the toolbar buttons.
2020-12-11 16:16:43 -05:00
Angelo Stavrow
9aa582dd65
Hide unnecessary popover frame as much as possible
2020-12-11 15:59:47 -05:00
Angelo Stavrow
7e6997a821
Reset isPresented binding after dismissing picker
2020-12-11 15:26:40 -05:00
Angelo Stavrow
c99df92c6b
Don’t present share service picker twice
2020-12-11 15:07:27 -05:00
Angelo Stavrow
b8bbfbb208
Show sharing service picker on button press
2020-12-11 14:44:20 -05:00
Angelo Stavrow
2a2628d9e4
Add PostEditorSharingPicker for Mac app
2020-12-11 11:45:11 -05:00
Angelo Stavrow
43088fdc44
Swap order of share and publish buttons in toolbar
2020-12-01 10:01:56 -05:00
Angelo Stavrow
1c9ca05527
Move clear-last-draft call to PostEditor.onDisappear
2020-11-27 16:25:49 -05:00
Angelo Stavrow
3114d037b3
Refactor active-post toolbar buttons into extracted view
2020-11-27 11:02:18 -05:00