Commit Graph

713 Commits

Author SHA1 Message Date
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
22109a47d7
Update change log and bump build number 2020-10-12 09:57:33 -04:00
Angelo Stavrow
4250e9943c
Merge pull request #96 from writeas/add-collection-setting-menu
Add collection setting menu
2020-10-12 09:15:40 -04:00
Angelo Stavrow
9e48f75717
Merge branch 'main' into add-collection-setting-menu 2020-10-12 09:15:24 -04:00
Angelo Stavrow
ca6ab8cbb5
Merge pull request #95 from writeas/login-fail-gracefully-invalid-url
Remove URL path from server string before logging in
2020-10-12 09:11:50 -04:00
Angelo Stavrow
69a9b5e6eb
Merge pull request #94 from writeas/post-status-changes-on-update-from-server
Only update post status if we're not updating from the server
2020-10-12 09:10:26 -04:00
Angelo Stavrow
50a7ca419f
Require minimum version of 0.3.0 of WriteFreely Swift package 2020-10-08 16:47:39 -04:00
Angelo Stavrow
987be06d7f
Use 'Anonymous' instead of 'Drafts' for Write.as accounts 2020-10-08 16:24:35 -04:00
Angelo Stavrow
5a488a2a70
Enable moving posts to Drafts 2020-10-08 16:17:57 -04:00
Angelo Stavrow
48625d4091
Comment out the Delete option in the menu (to-do in #46) 2020-10-08 15:29:06 -04:00
Angelo Stavrow
a3ffb5a470
Create new local posts as Drafts 2020-10-08 15:15:01 -04:00
Angelo Stavrow
e3e0784f92
Implement publish-to-collection for local drafts 2020-10-08 14:46:19 -04:00
Angelo Stavrow
44f03b59d5
Add move(post:from:to:) method to WriteFreelyModel 2020-10-08 12:05:10 -04:00
Angelo Stavrow
b216b576c8
Set up UI for editor menu and changing collection 2020-10-07 17:50:38 -04:00
Angelo Stavrow
73c0b12970
Require minimum version of 0.2.3 of WriteFreely Swift package 2020-10-06 17:05:07 -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
3e543108fb
Only update post status if we're not updating from the server 2020-10-06 14:26:57 -04:00
Angelo Stavrow
609a33067b
Merge pull request #93 from writeas/show-post-in-right-collection-after-update
Keep cached post's collectionAlias from being set to nil by fetched post
2020-10-06 13:23:31 -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
b0d440edd5
Update change log and bump build number 2020-10-02 16:04:56 -04:00
Angelo Stavrow
0ea92e959f
Merge pull request #89 from writeas/show-collection-in-all-posts
Show collection name in "All Posts" list
2020-10-02 15:43:54 -04:00
Angelo Stavrow
3a9aeae3c6
Merge pull request #88 from writeas/remove-navbar-transparency
Remove navigation bar transparency
2020-10-02 15:41:25 -04:00
Angelo Stavrow
c6f7aeb400
Merge pull request #87 from writeas/fix-crash-on-share-button
Fix crash on share button
2020-10-02 15:40:08 -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
0ce31b0b60
Use opaque background for UINavigationController appearance extension 2020-10-01 14:58:10 -04:00
Angelo Stavrow
a34a70fc81
Remove force-unwrapping of optionals in generating shared URL string 2020-10-01 14:28:30 -04:00
Angelo Stavrow
0a68aad66b
Fix bad link in change log 2020-09-30 16:30:18 -04:00
Angelo Stavrow
7f9ba52343
Update change log and bump build number 2020-09-30 14:18:08 -04:00
Angelo Stavrow
047ce8ecc2
Fix for invalid marketing version number when uploading to App Store 2020-09-30 14:16:20 -04:00
Angelo Stavrow
8518053966
Update change log and bump build number 2020-09-30 14:10:31 -04:00
Angelo Stavrow
c08e1c2d07
Merge pull request #84 from writeas/prompt-to-login-on-publish
Open the preferences window on publish if not logged in [macOS]
2020-09-30 11:20:58 -04:00
Angelo Stavrow
cf5f0fe4de
Open the preferences window on publish if not logged in [macOS] 2020-09-30 09:36:57 -04:00
Angelo Stavrow
464694e535
Merge pull request #83 from writeas/prompt-to-login-on-publish
Prompt to login on publish
2020-09-30 09:03:20 -04:00
Angelo Stavrow
e735e7a3d1
Open the settings screen on publish if not logged in [iOS only for now] 2020-09-29 15:35:32 -04:00
Angelo Stavrow
e736ebbb8c
Add descriptive text to login view 2020-09-29 14:40:15 -04:00
Angelo Stavrow
1dd0787c26
Update change log and bump build number 2020-09-29 14:07:18 -04:00
Angelo Stavrow
598086525a
Merge pull request #80 from writeas/add-share-button
Add share button to iOS target
2020-09-29 13:43:27 -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
25c1009136
Implement share popover for iPad 2020-09-29 10:46:01 -04:00
Angelo Stavrow
eb83b0418c
Implement basic share feature 2020-09-28 17:29:04 -04:00
Angelo Stavrow
9e291af377
Add share button next to publish button on iOS 2020-09-28 17:28:34 -04:00
Angelo Stavrow
96e80ffdd7
Update change log and bump build number 2020-09-28 14:39:42 -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
a2e36b3ccb
Merge pull request #74 from writeas/do-not-save-empty-posts
Do not save empty posts
2020-09-28 09:04:32 -04:00