Commit Graph

18 Commits

Author SHA1 Message Date
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
749d5235e2
Update feed URL 2021-01-05 15:02:52 -05:00
Angelo Stavrow
30b3a446d7
Initialize Sparkle based on UserDefaults 2020-12-23 15:00:44 -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
0c20fea0e6
Refactor login/logout to implement WriteFreely package 2020-08-18 17:21:00 -04:00
Angelo Stavrow
e2efecb210
Refactor macOS/SettingsView tab view into MacAccountView 2020-08-12 10:36:49 -04:00
Angelo Stavrow
dfbbed12f8
Refactor preferences tab into MacPreferencesView 2020-08-12 10:36:10 -04:00
Angelo Stavrow
264298160b
Implement color scheme switching on Mac app 2020-08-11 17:03:17 -04:00
Angelo Stavrow
b787e34012
Adopt PreferencesModel for implementing light/dark mode switch (in iOS) 2020-08-11 14:32:45 -04:00
Angelo Stavrow
35f4762b35
Improve appearance of settings views between platforms 2020-08-10 14:30:23 -04:00
Angelo Stavrow
8f9d1746fb
Refactor PreferenceView to punt Form/Section up to SettingsView 2020-08-10 13:51:07 -04:00
Angelo Stavrow
93a10e27dd
Rename Account and Settings views and move to Shared code 2020-08-10 10:39:44 -04:00
Angelo Stavrow
8870d2ff38
Add an account login view for testing 2020-08-07 16:31:13 -04:00
Angelo Stavrow
0bf89b4cff
Add a non-functional preferences view with a RadioGroupPicker 2020-08-07 16:30:39 -04:00
Angelo Stavrow
fb7c188ca0
Create a two-tab settings view for macOS 2020-08-07 16:30:09 -04:00