Angelo Stavrow
e1335edb12
Weakly capture self to avoid leaks ( #36 )
2023-02-12 11:11:13 -05:00
Angelo Stavrow
0361ed3493
Extend date decoding strategy for possible fractional seconds ( #35 )
...
* Add support for fractional seconds in dates
If the WriteFreely instance returns dates with fractional seconds (e.g., 2022-09-28T11:55:39.886581893Z), the date-decoding strategy fails and an error is thrown.
* Switch formatOptions depending on fractional seconds
* Bump minimum OS versions
2022-10-05 09:23:25 -04:00
Angelo Stavrow
f700e05d7f
Fire completion block failures instead of returning silently ( #33 )
...
* Remove unnecessary print statements
* Fire completion block failures instead of returning silently
* Add missing return statement
* Add explicit early returns
2022-05-25 13:53:22 -04:00
Angelo Stavrow
06744420a1
Update sample code
2021-06-10 17:16:42 -04:00
Angelo Stavrow
0836d6f852
Merge pull request #32 from writefreely/add-arena-sample
...
Add sample code for Swift Package Index playground
2021-06-10 16:54:24 -04:00
Angelo Stavrow
d3d265f513
Add sample code for Swift Package Index playground
2021-06-10 15:34:13 -04:00
Angelo Stavrow
2b9080870f
Update SwiftDoc command with correct parameters
2021-05-27 16:49:17 -04:00
Angelo Stavrow
080686bd7b
Add the correct base URL for GitHub Pages
2021-05-27 16:40:42 -04:00
Angelo Stavrow
81686adeeb
Amend previous commit
2021-05-27 16:35:13 -04:00
Angelo Stavrow
09a9e6722a
Remove GitHub Pages theme config
2021-05-27 16:30:49 -04:00
Angelo Stavrow
29323610dc
Update docs for correct base URL
2021-05-27 16:30:03 -04:00
Angelo Stavrow
4557b4dbc5
Merge pull request #30 from writefreely/update-readme-with-docs
...
Update README with docs
2021-05-27 16:20:34 -04:00
Angelo Stavrow
475070f76e
Update docs instructions in README
2021-05-27 16:16:13 -04:00
Angelo Stavrow
bb5b5985e5
Merge branch 'main' of github.com:writefreely/writefreely-swift into update-readme-with-docs
2021-05-27 16:14:51 -04:00
Angelo Stavrow
29de0c8470
Update README and docs for latest information
2021-05-27 16:14:43 -04:00
Angelo Stavrow
6e872bce84
Set theme jekyll-theme-slate
2021-05-27 15:59:57 -04:00
Angelo Stavrow
3f05bc1a24
Merge pull request #29 from writefreely/fix-build-errors
...
Fix build errors and add back testing files
2021-05-25 16:47:57 -04:00
Angelo Stavrow
7fd1c6aaf1
Create githubActions.yml file
2021-05-25 16:25:14 -04:00
Angelo Stavrow
dce40da6ce
Add boilerplate test files to package
...
These are essentially the same files that are generated by Xcode when a new Swift Package is created; they shouldn’t have been deleted in the first place. Their presence (or lack thereof) does not affect the functionality of the package.
2021-05-25 16:22:55 -04:00
Angelo Stavrow
c170ce0e01
Fix build errors on unwrapping response
2021-05-25 16:11:15 -04:00
Angelo Stavrow
27d5c9a2cc
Move documentation back to docs directory
2021-05-20 16:28:05 -04:00
Angelo Stavrow
6eab5d0efd
Do not include .build folder in repo
2021-05-20 16:26:57 -04:00
Angelo Stavrow
a01bad4a25
Merge pull request #27 from writefreely/refactor-wfclient-with-templates
...
Refactor WFClient with Templates
2021-05-20 16:19:29 -04:00
Angelo Stavrow
db0a50100d
Rename Helpers file to HelperCodingKeys
2021-05-20 16:17:38 -04:00
Angelo Stavrow
e1dfba102a
Update README for generating documentation
2021-05-20 16:01:44 -04:00
Angelo Stavrow
13ed82b066
Update documentation and move to /.build directory
2021-05-20 15:59:31 -04:00
Angelo Stavrow
e79851c508
Include .build/documentation folder in repo
2021-05-20 15:58:57 -04:00
Angelo Stavrow
92b901391d
Clean up errant whitespace
2021-05-13 16:59:43 -04:00
Angelo Stavrow
092861fd54
Refactor updatePost() to use template request
2021-05-13 16:42:49 -04:00
Angelo Stavrow
53fb9e1198
Refactor createPost() to use template request
2021-05-13 16:37:00 -04:00
Angelo Stavrow
1fab66989a
Refactor unpinPost() to use template request
2021-05-13 16:32:11 -04:00
Angelo Stavrow
4053280b36
Refactor pinPost() to use template request
2021-05-13 16:24:45 -04:00
Angelo Stavrow
cbf5559e5b
Refactor movePost() to use template request
2021-05-13 16:16:10 -04:00
Angelo Stavrow
e5fb80bba6
Refactor createCollection() to use template request
2021-05-13 16:13:07 -04:00
Angelo Stavrow
e7b3d1aaa0
Refactor login() to use template request
2021-05-13 16:04:44 -04:00
Angelo Stavrow
98eb70caab
Pass expected status code into post function
2021-05-13 16:04:13 -04:00
Angelo Stavrow
0cdfbc4d33
Refactor deletePost() to use template request
2021-05-11 16:49:30 -04:00
Angelo Stavrow
013207a140
Refactor deleteCollection() to use template request
2021-05-11 16:43:43 -04:00
Angelo Stavrow
50bb2072fa
Refactor logout() to use template request
2021-05-11 16:32:03 -04:00
Angelo Stavrow
0c0f76b31b
Refactor getUserCollections() to use template request
2021-05-11 16:21:01 -04:00
Angelo Stavrow
235eb9d77a
Refactor getUserData() to use template request
2021-05-11 16:15:28 -04:00
Angelo Stavrow
5e6a34512e
Refactor getPost(from:) to use template request
2021-05-11 16:07:53 -04:00
Angelo Stavrow
4948649198
Refactor getPost() to use template request
2021-05-11 15:59:16 -04:00
Angelo Stavrow
dc2f146ac5
Refactor getPosts() to use template request
2021-05-11 15:53:07 -04:00
Angelo Stavrow
f886886ade
Refactor getCollection() to use template request
2021-05-06 16:54:12 -04:00
Angelo Stavrow
ff857f70d6
Use URLSessionProtocol instead of URLSession.shared in WFClient
2021-05-06 16:48:30 -04:00
Angelo Stavrow
0c4893268f
Add URLSession-related protocols to WFClient
2021-05-06 15:47:05 -04:00
Angelo Stavrow
e3044c27b4
Add template requests in WFClient extension
2021-05-04 16:57:42 -04:00
Angelo Stavrow
208786dd3c
Move private helper structs out of WFClient file
2021-05-04 16:07:50 -04:00
Angelo Stavrow
f1246c26ef
Update README with office hours link
2021-05-04 15:52:56 -04:00