Commit Graph

106 Commits

Author SHA1 Message Date
Angelo Stavrow
6cb2a3b383
Update SUFeedURL for Sparkle updates (#261) 2024-08-17 07:06:11 -04:00
Angelo Stavrow
3f424b399a
Improve offline experience (#255) 2023-10-23 17:15:41 -04:00
Angelo Stavrow
73d219d0ec
Handle undo of edited posts (#251) 2023-07-23 07:19:52 -04:00
Angelo Stavrow
6bb8be4d46
Add a "search posts" feature to the post list (#245) 2023-06-10 06:49:45 -04:00
Angelo Stavrow
579db0c889
Add "Create Log Post" command to Post menu (#243) 2023-04-17 10:27:01 -04:00
Angelo Stavrow
39a78c56b6
Fix sharing picker and prep for v1.0 release of Mac app (#242)
* Present sharing menu in background, not popover

* Write logs to new post (#236)

* Set the post editor font in the updateUIView method (#237)

* Wrap becomeFirstResponder in async dispatch

This fixes issues when we’re updating the responder chain every time SwiftUI refreshes the view, which can have unpredictable side effects.

* Set the font in the updateUIView method

* Bump build number and update change log

* Don't navigate to new/last draft on launch (#238)

* Only navigate to new/last draft on launch on macOS

This is causing the app to crash on launch when there are no existing posts, so we’re going to remove it for now while we investigate.

* Bump build number and update change log

* Revert "Don't navigate to new/last draft on launch (#238)" (#239)

This reverts commit f4ba5f9a90.

* Revert "Set the post editor font in the updateUIView method (#237)" (#240)

This reverts commit d46eb639ad.

* Squashed commit of the following:

commit 804255b1da
Merge: a799fd6 d46eb63
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Sun Dec 18 15:28:10 2022 -0500

    Merge branch 'main' into fix-crash-on-launch-tmp-no-nav

commit a799fd6210
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Sun Dec 18 08:16:34 2022 -0500

    Bump build number and update change log

commit b81276d629
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Sun Dec 18 08:16:16 2022 -0500

    Only navigate to new/last draft on launch on macOS

    This is causing the app to crash on launch when there are no existing posts, so we’re going to remove it for now while we investigate.

* Update change log

* Set the post editor font in the updateUIView method

commit f9f94b48d3465f9bcfc47ea5e478cc1d66da9a4d
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 10:05:03 2022 -0500

    Fix missed changes in change log

commit 593cc8f1fa83feec923905a5004b885fa68e3003
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:46:36 2022 -0500

    Bump patch version and build number

commit e0f752e6a4828c3d09649da8f9fe5a1902a2f137
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Mon Dec 12 07:47:37 2022 -0500

    Bump build number and update change log

commit 2f7163dff4ca9d3279c553190b78d2d47277a03e
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:43:00 2022 -0500

    Update change log

commit e42436676d2ce2e70e96a18364cb8127a5921cb5
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:40:27 2022 -0500

    Squashed commit of the following:

    commit 804255b1da
    Merge: a799fd6 d46eb63
    Author: Angelo Stavrow <angelo@droppedbits.com>
    Date:   Sun Dec 18 15:28:10 2022 -0500

        Merge branch 'main' into fix-crash-on-launch-tmp-no-nav

    commit a799fd6210
    Author: Angelo Stavrow <angelo@droppedbits.com>
    Date:   Sun Dec 18 08:16:34 2022 -0500

        Bump build number and update change log

    commit b81276d629
    Author: Angelo Stavrow <angelo@droppedbits.com>
    Date:   Sun Dec 18 08:16:16 2022 -0500

        Only navigate to new/last draft on launch on macOS

        This is causing the app to crash on launch when there are no existing posts, so we’re going to remove it for now while we investigate.

commit d7c03b9d2d1165a9b34d96a4e5350214211c1643
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:26:18 2022 -0500

    Revert "Set the post editor font in the updateUIView method (#237)" (#240)

    This reverts commit d46eb639ad.

commit 43b53c6e456d7b59e7363d1591363c58a246b4be
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:25:36 2022 -0500

    Revert "Don't navigate to new/last draft on launch (#238)" (#239)

    This reverts commit f4ba5f9a90.

commit 34546f994efaa77d21ff51aad84201f2dbbffd3e
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:06:31 2022 -0500

    Don't navigate to new/last draft on launch (#238)

    * Only navigate to new/last draft on launch on macOS

    This is causing the app to crash on launch when there are no existing posts, so we’re going to remove it for now while we investigate.

    * Bump build number and update change log

commit bc3bc23308
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Mon Dec 12 07:47:37 2022 -0500

    Bump build number and update change log

commit 7703e925b7
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Mon Dec 12 07:40:41 2022 -0500

    Set the font in the updateUIView method

commit 6e60e0ded5
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Mon Dec 12 07:40:11 2022 -0500

    Wrap becomeFirstResponder in async dispatch

    This fixes issues when we’re updating the responder chain every time SwiftUI refreshes the view, which can have unpredictable side effects.

* Squashed commit of the following:

commit f9f94b48d3465f9bcfc47ea5e478cc1d66da9a4d
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 10:05:03 2022 -0500

    Fix missed changes in change log

commit 593cc8f1fa83feec923905a5004b885fa68e3003
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:46:36 2022 -0500

    Bump patch version and build number

commit e0f752e6a4828c3d09649da8f9fe5a1902a2f137
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Mon Dec 12 07:47:37 2022 -0500

    Bump build number and update change log

commit 2f7163dff4ca9d3279c553190b78d2d47277a03e
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:43:00 2022 -0500

    Update change log

commit e42436676d2ce2e70e96a18364cb8127a5921cb5
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:40:27 2022 -0500

    Squashed commit of the following:

    commit 804255b1da
    Merge: a799fd6 d46eb63
    Author: Angelo Stavrow <angelo@droppedbits.com>
    Date:   Sun Dec 18 15:28:10 2022 -0500

        Merge branch 'main' into fix-crash-on-launch-tmp-no-nav

    commit a799fd6210
    Author: Angelo Stavrow <angelo@droppedbits.com>
    Date:   Sun Dec 18 08:16:34 2022 -0500

        Bump build number and update change log

    commit b81276d629
    Author: Angelo Stavrow <angelo@droppedbits.com>
    Date:   Sun Dec 18 08:16:16 2022 -0500

        Only navigate to new/last draft on launch on macOS

        This is causing the app to crash on launch when there are no existing posts, so we’re going to remove it for now while we investigate.

commit d7c03b9d2d1165a9b34d96a4e5350214211c1643
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:26:18 2022 -0500

    Revert "Set the post editor font in the updateUIView method (#237)" (#240)

    This reverts commit d46eb639ad.

commit 43b53c6e456d7b59e7363d1591363c58a246b4be
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:25:36 2022 -0500

    Revert "Don't navigate to new/last draft on launch (#238)" (#239)

    This reverts commit f4ba5f9a90.

commit 34546f994efaa77d21ff51aad84201f2dbbffd3e
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Thu Dec 29 09:06:31 2022 -0500

    Don't navigate to new/last draft on launch (#238)

    * Only navigate to new/last draft on launch on macOS

    This is causing the app to crash on launch when there are no existing posts, so we’re going to remove it for now while we investigate.

    * Bump build number and update change log

commit bc3bc23308
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Mon Dec 12 07:47:37 2022 -0500

    Bump build number and update change log

commit 7703e925b7
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Mon Dec 12 07:40:41 2022 -0500

    Set the font in the updateUIView method

commit 6e60e0ded5
Author: Angelo Stavrow <angelo@droppedbits.com>
Date:   Mon Dec 12 07:40:11 2022 -0500

    Wrap becomeFirstResponder in async dispatch

    This fixes issues when we’re updating the responder chain every time SwiftUI refreshes the view, which can have unpredictable side effects.

* Set the font in the updateUIView method

Also, wrap becomeFirstResponder in async dispatch

This fixes issues when we’re updating the responder chain every time SwiftUI refreshes the view, which can have unpredictable side effects.

* Fix crash-on-launch when post list is empty (#241)

* Apply a quarter-second delay to the dispatched call

* Update change log

* Fix nav-back bug when launching to last draft

* Improve keyboard present/dismiss animations

* Update change log and bump build number

* Update change log and bump build number

* Adjust initial frame size

* Bump minimum version to macOS 12

* Bump version and build number

* Bump build number

* Bump build number (again?)

* Undo initial sizing of settings window

* Bump build number

* Improve share button services

Adds two useful services to which the user can share a post: copy-URL-to-pasteboard (custom), and add-to-reading-list (system-provided).

* Improve initial layout of window
2023-02-12 11:14:26 -05:00
Angelo Stavrow
884da073e9
Prepare release v1.0.11 for iOS (#225)
* Add error handling to Mac app

* 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

* Add environment object to settings window

* Improve deactivation of app when miniaturizing

* Chagne dispatch type when creating new post

* Bump version and build number

* Remove unnecessary TODO comment

* Update change log

* Log fatal crashes and present alert on next launch

* Update crash alert copy and navigate to help forum

* Refactor logging into reuseable methods

* Add environment object to settings window

* Improve deactivation of app when miniaturizing

* Chagne dispatch type when creating new post

* Improve default window size (#220)

* Clean up unnecessary import

* Set idealWidth property on sidebars

* Unset selected post on collection change (#218)

* Unset selected post when changing collection

* Update change log

* Bump build number and update change log
2022-09-10 08:30:55 -04:00
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