Commit Graph

242 Commits

Author SHA1 Message Date
Angelo Stavrow
ca9c3ec9d9
Add blank launch screen storyboard for iPad multitasking requirements 2020-09-14 09:53:48 -04:00
Angelo Stavrow
43c3a47dfd
Update asset catalog for TestFlight requirements 2020-09-14 09:27:07 -04:00
Angelo Stavrow
09be643a40
Update change log and bump build number 2020-09-11 16:33:13 -04:00
Angelo Stavrow
855aff2eb9
Add app icons 2020-09-11 16:30:58 -04:00
Angelo Stavrow
3e025a6bfe
Set display name to "WriteFreely", bump version and build numbers 2020-09-11 16:30:29 -04:00
Angelo Stavrow
353c9e6665
Merge pull request #42 from writeas/persist-content-locally
Persist content locally
2020-09-11 15:43:10 -04:00
Angelo Stavrow
888de9e6a3
Merge pull request #47 from writeas/set-collection-for-post
Set collection for post
2020-09-11 15:42:05 -04:00
Angelo Stavrow
8afa5fe8af
Merge pull request #48 from writeas/fix-close-settings-sheet
Move sheet modifier for SettingsView outside of NavigationView
2020-09-11 15:40:27 -04:00
Angelo Stavrow
6ea10fb434
Move sheet modifier outside of NavigationView 2020-09-11 13:55:29 -04:00
Angelo Stavrow
322e9e9af5
Add isPresentingSettingsView flag to WriteFreelyModel for iOS 2020-09-11 13:54:41 -04:00
Angelo Stavrow
428fb6cd6f
Use presentationMode environment property to dismiss sheet 2020-09-11 13:53:11 -04:00
Angelo Stavrow
a31e0e2d4b
Add NSManagedObjectContext extension to Mac app target 2020-09-10 15:03:52 -04:00
Angelo Stavrow
bc7ac18a7e
Extend NSManagedObjectContext to update context after batch delete 2020-09-10 14:08:29 -04:00
Angelo Stavrow
089a12dcb2
Ensure we don't nil out the collection alias on updating from server 2020-09-10 12:30:02 -04:00
Angelo Stavrow
a20b2911b7
Save managed object context before publishing a local post 2020-09-10 12:29:24 -04:00
Angelo Stavrow
614d5fa72c
Set collection alias for new local drafts if it exists 2020-09-10 10:12:52 -04:00
Angelo Stavrow
c6f108c172
Clean up imports on PostListModel 2020-09-10 10:10:46 -04:00
Angelo Stavrow
18b6d0729f
Move UserCollection persistence handling to LocalStorageManager 2020-09-10 10:07:59 -04:00
Angelo Stavrow
dad0fef7f1
Rename PersistenceManager to LocalStorageManager 2020-09-09 14:19:40 -04:00
Angelo Stavrow
bb3a7c3c74
Remove unused models for posts and collections 2020-09-09 13:52:23 -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
1baede6cdb
Save managed object context when going into background 2020-09-09 12:39:23 -04:00
Angelo Stavrow
e8d52b4b69
Update SwiftUI previews 2020-09-09 12:12:19 -04:00
Angelo Stavrow
d7167bc72a
Fix clearUserCollections bug 2020-09-09 10:59:44 -04:00
Angelo Stavrow
300d4f30b4
Use FetchedResults<WFAPost> for filtering the post list 2020-09-09 10:56:23 -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
6728e20821
Rename PostStore to PostListModel and move to PostList group 2020-09-08 11:29:13 -04:00
Angelo Stavrow
169e3684a6
Extract PostStatus enum to own file and add raw Int32 values 2020-09-08 11:27:57 -04:00
Angelo Stavrow
5436764e4f
Add new local draft to local store 2020-09-08 10:34:20 -04:00
Angelo Stavrow
b2c503497d
Fix rebasing errors 2020-09-08 10:12:55 -04:00
Angelo Stavrow
9dd149c59d
Fetch user posts into CoreData on launch, purge from database on logout 2020-09-08 09:57:05 -04:00
Angelo Stavrow
3bdc08f067
Add WFAPost NSManagedObject class for local storage 2020-09-08 09:57:05 -04:00
Angelo Stavrow
e8301b7eb4
Add "All Posts" grouping back to CollectionListView 2020-09-08 09:57:05 -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
8e035a43cb
Fetch user collections into CoreData and list from ManagedObjectContext 2020-09-08 09:55:43 -04:00
Angelo Stavrow
bac7d9bfb0
Add preprocessor for macOS vs iOS import 2020-09-08 09:54:58 -04:00
Angelo Stavrow
f235a0c2d0
Add uniqueness constraint on alias, remove views attribute 2020-09-08 09:54:58 -04:00
Angelo Stavrow
09d1d76d47
Add saveContext method to PersistenceManager, clean up warnings 2020-09-08 09:54:58 -04:00
Angelo Stavrow
2bb47845a5
Add WFACollection NSManagedObject class for local storage 2020-09-08 09:54:58 -04:00
Angelo Stavrow
4c626e33ea
Add PersistenceManager for loading CoreData container 2020-09-08 09:54:58 -04:00
Angelo Stavrow
9b733279a7
Add CoreData model file for local storage 2020-09-08 09:54:58 -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
3c26829407
Rename "draft" status to "local" 2020-09-01 09:54:43 -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
16b16dbd52
Add single-post updateFromServer API to WriteFreelyModel 2020-08-31 16:38:35 -04:00
Angelo Stavrow
b21cef6a54
Update user content on launch if logged in 2020-08-31 16:37:55 -04:00