Commit Graph

52 Commits

Author SHA1 Message Date
Angelo Stavrow
53ab32b7a3
Prep Mac app for release, fix bugs in iOS app (#258)
* Update Sparkle to latest version

* Bump minimum macOS target

For launch, I propose we support the current version of macOS (14.x) and one version earlier (13.x).

* Add WFNavigation wrapper to use NavigationSplitView in macOS

* Replace NavigationView with WFNavigation in ContentView

* Fix deprecation warnings on locale

* Update docs for updating the Mac app

* Fix for being sent back to post list on app reactivate

* Bump build version

* Remove debugging statements

* Bump Sparkle version to address security fix
2024-07-28 06:02:02 -04:00
Angelo Stavrow
73d219d0ec
Handle undo of edited posts (#251) 2023-07-23 07:19:52 -04:00
Angelo Stavrow
79b4301988
Bugfix: post not refreshed when updated from server (#246) 2023-04-16 06:08:32 -04:00
Angelo Stavrow
7db11172c0
Move user defaults to App Group 2021-11-05 14:18:36 -04:00
Angelo Stavrow
2f1b895df5
Rename 'persistentContainer' to 'container' 2021-10-08 17:15:38 -04:00
Angelo Stavrow
11ad3bc2ff
Use LocalStorageManager 'standard' singleton 2021-10-08 17:07:06 -04:00
Angelo Stavrow
8184919697
Create new draft in selected collection 2021-02-10 15:12:13 -05:00
Angelo Stavrow
900ef269ba
Use same code path to set iOS and Mac app state on launch 2021-01-26 09:23:47 -05:00
Angelo Stavrow
e1c5823cd6
Move new-post generation for Mac app to PostEditorModel 2021-01-25 11:53:16 -05:00
Angelo Stavrow
20f12fa7cc
Move state-fetching logic to PostEditorModel for Mac app 2021-01-25 11:30:52 -05:00
Angelo Stavrow
555b988282
Add a11y label/hint to remote-change prompt on macOS 2020-12-29 16:53:48 -05:00
Angelo Stavrow
5ca32ddcfc
Show prompt if there are server-side changes to post 2020-11-26 15:01:12 -05:00
Angelo Stavrow
55473f6a79
Fix indent issue affecting last draft fetching 2020-11-04 15:37:25 -05:00
Angelo Stavrow
efae5202f8
Merge branch 'main' into fix-crash-on-launch 2020-11-04 14:18:44 -05:00
Angelo Stavrow
4ef40453d5
Add methods to save, clear, and retrieve last draft from UserDefaults 2020-10-30 15:26:32 -04:00
Angelo Stavrow
bd695b23e6
Remove anything that attempts to set selected post or last draft 2020-10-29 12:03:31 -04:00
Angelo Stavrow
3becfcbf73
Use PostBodyTitleView and PostBodyTextView for post editor 2020-10-27 16:02:28 -04:00
Angelo Stavrow
a542afa405
Refactor text-editing views out of PostEditorView [Mac] 2020-10-23 16:01:37 -04:00
Angelo Stavrow
776f1ed3ed
Fix crashing bug on iPad and macOS when removing blank posts 2020-09-29 12:39:19 -04:00
Angelo Stavrow
bc4c43f40c
Move server-update warnings from toolbar on iOS 2020-09-29 12:35:51 -04:00
Angelo Stavrow
903ea78a27
Add PostEditorModel struct 2020-09-23 14:39:43 -04:00
Angelo Stavrow
10fc24d66a
Split PostEditorView into iOS and macOS counterparts 2020-09-22 16:18:00 -04:00
Angelo Stavrow
386a732548
Add placeholder text to post editor 2020-09-22 11:53:54 -04:00
Angelo Stavrow
70b6064641
Hide the iOS keyboard when the publish button is tapped 2020-09-22 10:37:31 -04:00
Angelo Stavrow
9de53d828f
Use inline navigationBarTitleDisplayMode with transparent appearance 2020-09-21 16:15:16 -04:00
Angelo Stavrow
65edd393d3
Change title edit control from TextEditor to TextField 2020-09-21 16:02:43 -04:00
Angelo Stavrow
0dbd47537c
Move PostEditorStatusToolbarView from .status to .principal placement 2020-09-21 14:17:56 -04:00
Angelo Stavrow
4c9f5d3348
Exclude local posts from showing remote-copy-deleted prompt 2020-09-21 11:45:36 -04:00
Angelo Stavrow
58e2aff6d7
Set custom font based on post's appearance property 2020-09-18 12:10:01 -04:00
Angelo Stavrow
8addc1fc5d
Show message if remote copy was delete from server 2020-09-17 14:33:21 -04:00
Angelo Stavrow
d7a6668917
Disable publish and reload buttons based on network connection status 2020-09-16 16:40:17 -04:00
Angelo Stavrow
f555d96bcd
Disable publish button on published posts or if logged out 2020-09-16 16:07:47 -04:00
Angelo Stavrow
a20b2911b7
Save managed object context before publishing a local post 2020-09-10 12:29:24 -04:00
Angelo Stavrow
dad0fef7f1
Rename PersistenceManager to LocalStorageManager 2020-09-09 14:19:40 -04:00
Angelo Stavrow
562e3c6a8a
Make sure we persist changes to edited AND local posts 2020-09-09 12:40:31 -04:00
Angelo Stavrow
e8d52b4b69
Update SwiftUI previews 2020-09-09 12:12:19 -04:00
Angelo Stavrow
3f21ff7e4a
Don't set post status to edited if we're just replacing the local copy 2020-09-09 10:02:55 -04:00
Angelo Stavrow
12723fbaea
Restore updateFromServer functionality when remote copy is newer 2020-09-08 17:29:55 -04:00
Angelo Stavrow
ca8e74b2dc
Replace Post type with WFAPost managed object 2020-09-08 16:17:58 -04:00
Angelo Stavrow
0887638841
Load user collections from cache on launch, wipe from database on logout 2020-09-08 09:57:05 -04:00
Angelo Stavrow
3751118f6e
Merge pull request #32 from writeas/reload-from-server
Implement reload-from-server
2020-09-08 09:15:37 -04:00
Angelo Stavrow
82056733cb
Refactor status toolbar out of PostEditorView and fix macOS build error 2020-09-01 15:00:20 -04:00
Angelo Stavrow
bc8ae19dab
Update "drafts" references in code to "local drafts" 2020-09-01 09:59:36 -04:00
Angelo Stavrow
afa026dc57
Show outdated-content message in editor and prompt to replace local copy 2020-08-31 16:39:13 -04:00
Angelo Stavrow
07d306a196
Show message in editor if post hasNewerRemoteCopy 2020-08-28 09:07:33 -04:00
Angelo Stavrow
201cc27162
Update post in store async to avoid bad access error 2020-08-27 17:40:05 -04:00
Angelo Stavrow
4a7b1a5355
Write Post's updatedDate when the PostEditorView is deallocated 2020-08-27 15:27:30 -04:00
Angelo Stavrow
d651776322
Use Post.wfPost properties instead of redundant Post properties 2020-08-27 11:47:30 -04:00
Angelo Stavrow
62a2de6cad
Add publish to API with handler for new local drafts 2020-08-27 11:39:48 -04:00
Angelo Stavrow
d402ccd472
Add WriteFreelyModel to publish PostStore and Account/Preference models 2020-08-18 17:21:00 -04:00