Angelo Stavrow
3f424b399a
Improve offline experience ( #255 )
2023-10-23 17:15:41 -04:00
Angelo Stavrow
5e86073499
Release v1.0.10 for iOS ( #216 )
...
* Bump version and build number
* Remove unnecessary TODO comment
* Update change log
2022-08-23 08:33:50 -04:00
Angelo Stavrow
a315b09553
Cleanup
2022-05-31 06:51:40 -04:00
Angelo Stavrow
11d2e41ab5
Add default values for some error strings
2022-05-23 15:12:33 -04:00
Angelo Stavrow
3a53bec184
Clean up WriteFreelyModel’s published vars
2022-05-09 08:55:43 -04:00
Angelo Stavrow
aefcd0d799
Fix for temporary debugging
2022-05-08 10:18:21 -04:00
Angelo Stavrow
11200a01a0
Initial work on presenting alert on error
2022-05-01 12:06:36 -04:00
Angelo Stavrow
3752b85414
Add action extension
2021-11-19 15:41:54 -05:00
Angelo Stavrow
7db11172c0
Move user defaults to App Group
2021-11-05 14:18:36 -04:00
Angelo Stavrow
cfe1613621
Handle thrown Keychain errors with informational alerts
2021-08-20 17:13:41 -04:00
Angelo Stavrow
3ccc9d68fd
Use shared instance var for app model
2021-02-10 15:01:23 -05:00
Angelo Stavrow
461f9cca40
Mark WriteFreelyModel class as final
2021-02-01 14:27:15 -05:00
Angelo Stavrow
cae270e8c4
Refactor WriteFreelyModel extensions into separate files
2021-02-01 13:46:25 -05:00
Angelo Stavrow
5cdce15808
Differentiate between updating old post / publishing new post in handler
2021-01-27 16:12:40 -05:00
Angelo Stavrow
724478a80a
Add link to write a review in the App Store
2021-01-04 14:25:02 -05:00
Angelo Stavrow
a0b1218473
Use published properties for selectedCollection and showAllPosts
2020-12-04 17:08:32 -05:00
Angelo Stavrow
76089ef759
Present error alert if token is invalid and ensure user is logged out
2020-11-10 11:21:28 -05: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
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
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
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
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
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
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
148deaf911
Filter out local posts from postsToDelete array
2020-09-21 11:51:32 -04:00
Angelo Stavrow
c0c61f311f
Add OS acknowledgements to iOS app
2020-09-18 15:33:04 -04:00
Angelo Stavrow
2f4d4b8e73
Save and load default font in UserDefaults
2020-09-18 11:01:04 -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
52335d5d48
Add hasNetworkConnection published property to WriteFreelyMonitor
2020-09-16 16:39:01 -04:00