Commit Graph

448 Commits

Author SHA1 Message Date
Angelo Stavrow
cd6f8adbbb
Don't return more than the first line on short titleless posts 2020-11-06 16:51:41 -05:00
Angelo Stavrow
d989709319
Include punctuation in first-sentence lede 2020-11-06 15:58:41 -05:00
Angelo Stavrow
62e3c9aa0e
Don't elide ledes that are shorter than 80 characters 2020-11-06 15:48:02 -05:00
Angelo Stavrow
01b5633cc2
Show lede in list if post has no title 2020-11-06 14:41:47 -05:00
Angelo Stavrow
2d911cf0d6
Update lede on new posts as user types 2020-11-06 14:39:46 -05:00
Angelo Stavrow
00bd18463e
Add function to strip Markdown-formatted images 2020-11-06 14:01:33 -05:00
Angelo Stavrow
60ce0868ca
Add function to strip Markdown formatting for headings 2020-11-06 10:20:33 -05:00
Angelo Stavrow
3799a0e792
Create extractLede function on PostListModel 2020-11-05 16:49:08 -05:00
Angelo Stavrow
55473f6a79
Fix indent issue affecting last draft fetching 2020-11-04 15:37:25 -05:00
Angelo Stavrow
444859b2fb
Load last draft or new post on launch 2020-11-04 15:23:03 -05:00
Angelo Stavrow
efae5202f8
Merge branch 'main' into fix-crash-on-launch 2020-11-04 14:18:44 -05:00
Angelo Stavrow
d09ddc35a2
Merge pull request #114 from writeas/implement-responder-chain-in-editor
Implement responder chain in editor
2020-11-02 16:20:41 -05:00
Angelo Stavrow
01bfe7e74a
Call PostListModel.remove() async on main queue 2020-11-02 13:09:38 -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
06510f181e
Fix post-count label to fetch info from managed object context 2020-10-29 17:20:20 -04:00
Angelo Stavrow
3c81b5cd68
Propagate login/logout fixes to Mac app target 2020-10-29 17:19:06 -04:00
Angelo Stavrow
518d793d5d
Fix SwiftLint error about function body length 2020-10-29 17:05:01 -04:00
Angelo Stavrow
e7408a47e9
Fix crash-on-load bug by cleaning up/thread-sanitizing CoreData calls 2020-10-29 16:09:35 -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
dbf2ecda60
Show only drafts list if logged out 2020-10-29 10:37:16 -04:00
Angelo Stavrow
c2df4cab86
Default to all-posts list if logged in, drafts otherwise 2020-10-29 10:36:43 -04:00
Angelo Stavrow
3becfcbf73
Use PostBodyTitleView and PostBodyTextView for post editor 2020-10-27 16:02:28 -04:00
Angelo Stavrow
1170caaf4a
Merge pull request #110 from writeas/keep-local-posts-on-logout
Keep local posts on logging out
2020-10-27 13:12:56 -04:00
Angelo Stavrow
e7dff39905
Merge pull request #109 from writeas/ios-add-howto-link
Add link to how-to guide for iOS app
2020-10-27 13:12:05 -04:00
Angelo Stavrow
a542afa405
Refactor text-editing views out of PostEditorView [Mac] 2020-10-23 16:01:37 -04:00
Angelo Stavrow
5a2b999bcd
Present action sheet to confirm logout 2020-10-22 17:08:16 -04:00
Angelo Stavrow
735326891e
Hide the keyboard on tapping the log-in button 2020-10-22 16:09:18 -04:00
Angelo Stavrow
932da4ac48
Purge everything except local posts on logout 2020-10-22 12:40:07 -04:00
Angelo Stavrow
bb1c06f84d
Add how-to link URL to WriteFreelyModel 2020-10-21 16:54:25 -04:00
Angelo Stavrow
2e38bcc42e
Merge pull request #99 from writeas/fix-share-link-after-moving-post
Fix share link after moving post
2020-10-21 15:41:14 -04:00
Angelo Stavrow
945e748b98
Check for network connection before request, present alert on failure 2020-10-16 17:36:26 -04:00
Angelo Stavrow
a289e544b1
Do not disable networking buttons if hasNetworkConnection is false 2020-10-16 17:35:02 -04:00
Angelo Stavrow
3ebfa7a0d1
Set isProcessingRequest on network request start, unset on end 2020-10-16 16:24:35 -04:00
Angelo Stavrow
1feeed7354
Publish isProcessingRequest flag to switch ProgressView with Button 2020-10-16 16:19:38 -04:00
Angelo Stavrow
a2f9d23037
Always use /api/posts/{POST_ID} to avoid stale-post-slug logic
If the post used to have a post slug, it follows the post until it gets a new post slug. If the post was moved, we end up with a situation where the collection/slug combination is out of sync, and so the API sends back a 404 (FIXME: the Swift package silently fails here).
2020-10-16 14:01:44 -04:00
Angelo Stavrow
404d557cab
Call updateFromServer() after moving the post 2020-10-16 13:47:39 -04:00
Angelo Stavrow
9e48f75717
Merge branch 'main' into add-collection-setting-menu 2020-10-12 09:15:24 -04:00
Angelo Stavrow
5a488a2a70
Enable moving posts to Drafts 2020-10-08 16:17:57 -04:00
Angelo Stavrow
a3ffb5a470
Create new local posts as Drafts 2020-10-08 15:15:01 -04:00
Angelo Stavrow
44f03b59d5
Add move(post:from:to:) method to WriteFreelyModel 2020-10-08 12:05:10 -04:00
Angelo Stavrow
db5366b607
Store server string in Account model after removing path 2020-10-06 17:01:54 -04:00
Angelo Stavrow
5b0874f14f
Remove path from server URL if it exists 2020-10-06 16:49:19 -04:00
Angelo Stavrow
50c521ea8f
Keep cached post's collectionAlias from being set to nil by fetched post 2020-10-06 08:40:52 -04:00
Angelo Stavrow
6131f9e068
Fetch collection name for post list cell if showing all posts 2020-10-01 17:12:28 -04:00
Angelo Stavrow
c55636df89
Add collection name to post list cell if it exists 2020-10-01 17:00:27 -04:00
Angelo Stavrow
e736ebbb8c
Add descriptive text to login view 2020-09-29 14:40:15 -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
c56c3c898b
Merge pull request #75 from writeas/add-https-prefix-on-login-if-missing
Add secure protocol to server string if it's missing
2020-09-28 10:13:18 -04:00
Angelo Stavrow
be69225253
Simplify login error-handling process 2020-09-25 11:00:51 -04:00
Angelo Stavrow
0bde76c7d8
Check for http OR https on login when logging in 2020-09-25 10:55:42 -04:00
Angelo Stavrow
f686b6fb76
Add secure protocol to server string if it's missing 2020-09-24 16:49:09 -04:00
Angelo Stavrow
8e4957a389
Delete blank/untouched local draft from store when leaving editor 2020-09-24 16:17:56 -04:00
Angelo Stavrow
a0dfe880a6
Merge branch 'set-default-font' into local-posts-present-remote-deletion-prompt 2020-09-24 15:15:32 -04:00
Angelo Stavrow
ce409486d4
Move lastDraft-setting logic to ContentView.onAppear handler 2020-09-24 14:14:35 -04:00
Angelo Stavrow
44fd09aa33
Clear lastDraft if selectedPost has published status 2020-09-24 14:13:32 -04:00
Angelo Stavrow
5bcd3185bf
Dispatch setting of selectedPost to the main thread 2020-09-23 16:40:07 -04:00
Angelo Stavrow
bc77fa14af
On launch, either restore lastDraft or go to new blank post 2020-09-23 16:15:08 -04:00
Angelo Stavrow
9daf553391
Set and unset lastDraft based on selectedPost 2020-09-23 15:36:54 -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
a76e70276a
Move View+Keyboard extension to /iOS/Extensions 2020-09-22 10:26:59 -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
148deaf911
Filter out local posts from postsToDelete array 2020-09-21 11:51:32 -04:00
Angelo Stavrow
4c9f5d3348
Exclude local posts from showing remote-copy-deleted prompt 2020-09-21 11:45:36 -04:00
Angelo Stavrow
c0c61f311f
Add OS acknowledgements to iOS app 2020-09-18 15:33:04 -04:00
Angelo Stavrow
05709ee31a
Add font licenses to project 2020-09-18 14:01:22 -04:00
Angelo Stavrow
58e2aff6d7
Set custom font based on post's appearance property 2020-09-18 12:10:01 -04:00
Angelo Stavrow
c4c36eeed7
Set default new-post font from preferences view 2020-09-18 11:40:06 -04:00
Angelo Stavrow
2f4d4b8e73
Save and load default font in UserDefaults 2020-09-18 11:01:04 -04:00
Angelo Stavrow
41eba71e39
Add font files to project 2020-09-18 10:59:59 -04:00
Angelo Stavrow
8addc1fc5d
Show message if remote copy was delete from server 2020-09-17 14:33:21 -04:00
Angelo Stavrow
2caa1e80b0
Add wasDeletedFromServer flag to WFAPost entity 2020-09-17 14:31:45 -04:00
Angelo Stavrow
5af1d38a2d
Present alert on macOS if using Edit > Delete as confirmation 2020-09-17 13:23:44 -04:00
Angelo Stavrow
3b4f50c601
Add Edit > Delete menu command on macOS 2020-09-17 11:42:21 -04:00
Angelo Stavrow
77262c9cd6
Disable swipe-to-delete for non-local posts 2020-09-17 11:29:24 -04:00
Angelo Stavrow
edec5e9087
Delete local post via swipe 2020-09-17 11:29:24 -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
52335d5d48
Add hasNetworkConnection published property to WriteFreelyMonitor 2020-09-16 16:39:01 -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
8695a8fe4a
Hide everything but "All Posts" in CollectionListView if logged out 2020-09-16 14:45:11 -04:00
Angelo Stavrow
83acb6e832
Show server host or "WriteFreely" in CollectionListView per login state 2020-09-16 14:44:39 -04:00
Angelo Stavrow
7ae7c57442
Double-check that post language and rtl property are set on publishing 2020-09-16 13:47:30 -04:00
Angelo Stavrow
c9df320ddd
Set language and rtl based on current system Locale 2020-09-16 13:44:52 -04:00
Angelo Stavrow
2e4079b29b
Add Bundle extension for fetch Info.plist values 2020-09-16 12:45:49 -04:00
Angelo Stavrow
0cbac1bdb5
Add help URL constant to WriteFreelyModel 2020-09-16 11:34:11 -04:00
Angelo Stavrow
7fd7b43755
Set new local post as selectedPost in WriteFreelyModel 2020-09-15 12:03:34 -04:00
Angelo Stavrow
669990d532
Update Mac app icon 2020-09-14 15:30:10 -04:00
Angelo Stavrow
43c3a47dfd
Update asset catalog for TestFlight requirements 2020-09-14 09:27:07 -04:00
Angelo Stavrow
855aff2eb9
Add app icons 2020-09-11 16:30:58 -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
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
Angelo Stavrow
4ae66e1585
Add PostStore method to update post's WFPost property 2020-08-31 16:36:41 -04:00
Angelo Stavrow
30b527daa4
Add selectedPost published property to WF model 2020-08-31 16:35:45 -04:00
Angelo Stavrow
45b6fb533c
Restore the WFClient when the WriteFreely model initializes 2020-08-31 11:24:38 -04:00
Angelo Stavrow
07d306a196
Show message in editor if post hasNewerRemoteCopy 2020-08-28 09:07:33 -04:00
Angelo Stavrow
a3fe7630e8
Remove unnecessary alert because we don't clobber data anymore 2020-08-27 17:41:41 -04:00
Angelo Stavrow
5c08a9e723
Update store with fetched posts by setting hasNewerRemoteCopy flag 2020-08-27 17:41:13 -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
00373e5a80
Don't purge local posts indiscriminately 2020-08-27 15:43:54 -04:00
Angelo Stavrow
66790e7933
Add hasNewerRemoteCopy flag to the Post type 2020-08-27 15:32:40 -04:00
Angelo Stavrow
4a7b1a5355
Write Post's updatedDate when the PostEditorView is deallocated 2020-08-27 15:27:30 -04:00
Angelo Stavrow
68607478a3
Clean up some rebase mixups 2020-08-27 12:17:42 -04:00
Angelo Stavrow
ee0f72b5ef
Implement reload from server on iOS 2020-08-27 12:02:35 -04:00
Angelo Stavrow
978192201d
Implement reload from server on Mac 2020-08-27 12:02:35 -04:00
Angelo Stavrow
e3ed0831e6
Rename store purge method to purgeAllPosts and add purgeRemotePosts 2020-08-27 12:02:35 -04:00
Angelo Stavrow
cb791d137c
Remove redundant Post properties 2020-08-27 12:02:12 -04:00
Angelo Stavrow
67d78bfc8d
Set the wfPost property when creating a Post from a fetched WFPost 2020-08-27 12:00:16 -04:00
Angelo Stavrow
ff99c352d8
Add convenience initializer to create Post type from WFPost 2020-08-27 11:58:47 -04:00
Angelo Stavrow
ccd73a517e
Add WFPost property to Post type 2020-08-27 11:58:26 -04:00
Angelo Stavrow
d651776322
Use Post.wfPost properties instead of redundant Post properties 2020-08-27 11:47:30 -04:00
Angelo Stavrow
a97bd5abb7
Use optional unwrapping and wfPost properties in publish API/handler 2020-08-27 11:47:30 -04:00
Angelo Stavrow
072e60c918
Remove redundant Post properties 2020-08-27 11:47:30 -04:00
Angelo Stavrow
05456ad501
Set the wfPost property when creating a Post from a fetched WFPost 2020-08-27 11:46:20 -04:00
Angelo Stavrow
ed8c2dc105
Add convenience initializer to create Post type from WFPost 2020-08-27 11:42:25 -04:00
Angelo Stavrow
cc6fb776b6
Enhance publish method on API for updating published posts 2020-08-27 11:39:48 -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
904bd0f0f5
Set the wfPost property when creating a Post from a fetched WFPost 2020-08-27 11:39:48 -04:00
Angelo Stavrow
3dca0335dd
Remove unused published property from WriteFreelyModel object 2020-08-27 11:39:48 -04:00
Angelo Stavrow
beda0d711a
Do not pre-populate app with debug post data 2020-08-27 11:29:54 -04:00
Angelo Stavrow
49d8b35bb6
Get SwiftUI previews working with debug data 2020-08-27 11:29:54 -04:00
Angelo Stavrow
ecef8672e3
Fetch user posts on login, purge from store on logout 2020-08-27 11:29:54 -04:00
Angelo Stavrow
0dcbcc602d
Add fetchUserPosts to API with handler 2020-08-27 10:41:26 -04:00
Angelo Stavrow
d371f5104b
Add convenience initializer to create Post type from WFPost 2020-08-27 10:41:26 -04:00
Angelo Stavrow
e2e38b22cd
Add WFPost property to Post type 2020-08-27 10:41:26 -04:00
Angelo Stavrow
fe188695a3
Merge branch 'main' into fetch-collections-on-login 2020-08-27 10:08:42 -04:00
Angelo Stavrow
e4a21361ae
Merge branch 'main' into persist-token-to-keychain 2020-08-27 09:25:36 -04:00
Angelo Stavrow
c14a03a332
Get SwiftUI previews working with debug data 2020-08-25 11:40:30 -04:00
Angelo Stavrow
21e8a4ca35
Clear user collections on logout 2020-08-25 11:29:17 -04:00
Angelo Stavrow
18ce54bd89
Use WriteFreelyModel EnvironmentObject in CollectionListView 2020-08-25 11:28:52 -04:00
Angelo Stavrow
72319b1d6f
Fetch user collections on login 2020-08-25 11:28:06 -04:00
Angelo Stavrow
eebbf1a909
Convert CollectionListModel to ObservableObject 2020-08-25 11:27:15 -04:00
Angelo Stavrow
f118d58d5c
Add WFCollection property to PostCollection type 2020-08-25 11:25:56 -04:00
Angelo Stavrow
20d8ecc80f
Persist logged-in settings for account and server in UserDefaults 2020-08-24 16:53:01 -04:00
Angelo Stavrow
2652eceb12
Persist logged-in state in UserDefaults between app launches 2020-08-24 15:21:46 -04:00
Angelo Stavrow
b478cc9805
Save to Keychain on login, purge from Keychain on logout 2020-08-24 14:47:27 -04:00
Angelo Stavrow
f254c04a61
Add helper functions for adding to/fetching and deleting from Keychain 2020-08-24 14:45:52 -04:00
Angelo Stavrow
1cc9ae8c44
Restore colorScheme on launch based on UserDefaults 2020-08-24 10:12:48 -04:00
Angelo Stavrow
a28947aaa4
Store chosen colorScheme in UserDefaults 2020-08-24 10:11:58 -04:00
Angelo Stavrow
7c649b6947
Clean up function signatures 2020-08-24 09:32:09 -04:00
Angelo Stavrow
169a1e91de
Catch WFError directly in login/logout handlers 2020-08-20 11:41:09 -04:00
Angelo Stavrow
970f4ae3e1
Implement login/logout functionality 2020-08-19 16:36:07 -04:00
Angelo Stavrow
2a9bd66fa2
Present login-error alert on AccountModel.hasError 2020-08-19 16:35:20 -04:00
Angelo Stavrow
229dbbb37d
Use AccountError localizedDescriptions in login-error alert messages 2020-08-19 16:34:36 -04:00
Angelo Stavrow
1bdd918931
Add localizedError description to AccountError cases 2020-08-19 16:33:16 -04:00
Angelo Stavrow
0a14421122
Disable login button if AccountLoginView fields are empty 2020-08-19 10:10:36 -04:00
Angelo Stavrow
0c20fea0e6
Refactor login/logout to implement WriteFreely package 2020-08-18 17:21:00 -04:00
Angelo Stavrow
d402ccd472
Add WriteFreelyModel to publish PostStore and Account/Preference models 2020-08-18 17:21:00 -04:00
Angelo Stavrow
49ea70e0a6
Clean up unnecessary AccountLoginView previews 2020-08-17 16:45:02 -04:00
Angelo Stavrow
cff4d02ef4
Make isPresentingSettings State property private, iOS-only 2020-08-17 15:51:07 -04:00
Angelo Stavrow
84e854b4ab
Refactor viewmodel code from PostCollection into CollectionListModel 2020-08-17 15:24:44 -04:00
Angelo Stavrow
ae8fd973c1
Move Post, PostCollection, and PostStore models to Models group 2020-08-17 14:45:47 -04:00
Angelo Stavrow
6e39c92071
Rename PostEditor to PostEditorView 2020-08-17 14:19:22 -04:00
Angelo Stavrow
ff82bbff77
Rename Post group to PostList 2020-08-17 14:19:22 -04:00
Angelo Stavrow
6d1f18e9d9
Move PostEditor out of Post group and into PostEditor group 2020-08-17 14:19:22 -04:00
Angelo Stavrow
8c0865b518
Rename PostList to PostListView 2020-08-17 14:19:22 -04:00
Angelo Stavrow
a88b58e624
Rename PostStatusBadge to PostStatusBadgeView 2020-08-17 14:19:22 -04:00
Angelo Stavrow
746ba954ec
Rename PostCell to PostCellView 2020-08-17 14:19:22 -04:00