Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
34 check-ins
2014-11-07
| ||
19:27 | Tweak order of operations so that setting a featured image for a new post can upload the image to the media library and associate it with the post without getting a second copy of the image in the library. Leaf check-in: 49be3d080e user: Ross tags: trunk | |
01:04 | Add experimental --featured option to wppost.lua that uploads a featured image for a post. It has quirks, however, possibly due to misunderstood API docs. check-in: 71202d715f user: Ross tags: trunk | |
2014-11-06
| ||
23:46 | New wpmedia.lua script to upload media files with descriptions. check-in: 9df1597528 user: Ross tags: trunk | |
23:45 | Make title, caption, and description work for uploaded media. Probably should allow for a long description from a file in a future version. Leaf check-in: f0ec40da1d user: Ross tags: Media-WIP | |
23:19 | Snapshot after first successful upload of a media file. check-in: 08534d56e9 user: Ross tags: Media-WIP | |
02:46 | Snapshot of work in progress on media file support for the CLI utilities. check-in: 8826e6b2f8 user: Ross tags: Media-WIP | |
00:30 | Fix a few cosmetic typos in user-facing text and remove some dead code. Generally cleaning up for the next blog post about these tools. check-in: 681cb168dd user: Ross tags: trunk | |
2014-11-05
| ||
01:54 | Refactored handling of GET requests for lists of items, changed wplist.lua to allow listing most kinds of items with sensible displays for posts, categories, tags, media. Use --container to get all the data from a list. check-in: 9b7b291c6c user: Ross tags: trunk | |
2014-11-01
| ||
00:53 | Cosmetic changes to comments. check-in: da8d07d500 user: Ross tags: trunk | |
2014-10-31
| ||
00:47 | Baby steps towards a post edit/update capability. For now, capturing the full container in wppost.lua is a good start. Refactored the newPost() function to use a new editPost() function. Changed options used to parse the JSON for all API calls so that JSON NULL is returned as Lua nil instead of a magic cookie. check-in: 199e87ce85 user: Ross tags: trunk | |
2014-10-30
| ||
01:07 | Fixed a few cosmetic issues, added media to both wpget and wplist. check-in: 54bcf0c2d6 user: Ross tags: trunk | |
2014-10-29
| ||
23:54 | Added new wplist.lua utility, and refactored the REST API code to make addition of more REST API calls easier by reflecting the common framework required. check-in: 0ed9b441e4 user: Ross tags: trunk | |
2014-10-28
| ||
22:57 | Apply the spoon web server to the new --authenticate option that triggers web-based authentication and captures the finished token. check-in: 8d3e666f64 user: Ross tags: trunk | |
19:07 | Refactor handling of the token extraction from an URL for use with a more automated auth process based on the spoon server. Clean up error reporting for expired tokens which got tested because the currently stored token is expired. check-in: fcb7f93124 user: Ross tags: trunk | |
19:05 | Tweak the JS based redirect from fragment to query. Fix an escape handling issue in the displayed query fields. URL escaping is hard to do right! check-in: 55301b85c0 user: Ross tags: trunk | |
01:29 | Find workaround for WP OAuth2 putting the token details in the URL hash rather than as a query: use a very small fragment of JS to transform any hash part into a query which can be parsed at the server. This is needed because the hash part of the URL is never passed in to the server, and is only known to the browser. check-in: 39f78b6126 user: Ross tags: trunk | |
2014-10-27
| ||
18:55 | Snapshot of improvements to Spoon and Soupspoon. check-in: 7cb40b88d7 user: Ross tags: trunk | |
2014-10-24
| ||
01:24 | Cleaned up URL parsing in the soupspoon demo, and build a complete request packet parser for spoon.lua so that it has access to all the request headers. check-in: a26ed4fde0 user: Ross tags: trunk | |
2014-10-22
| ||
23:20 | Improve documentation and make various tweaks driven by writing the blog post describing Spoon and Soupspoon. check-in: 3790516583 user: Ross tags: trunk | |
2014-10-21
| ||
23:29 | Snapshot of work in progress on a single-serving web server for use to collect auth tokens, and a demo script that allows easy demo and test of the server. check-in: 28876b68cb user: Ross tags: trunk | |
2014-10-17
| ||
01:21 | Merge in new wpget.lua utility check-in: 9fc67f372f user: Ross tags: trunk | |
01:20 | Implement the rest of wpget.lua, clean up minor cosmetics in wppost.lua. Leaf check-in: 2537bae600 user: Ross tags: wpget | |
2014-10-16
| ||
23:15 | Checkpoint with newPost() moving to the cli.wp module. Untested. check-in: 222877a519 user: Ross tags: wpget | |
23:09 | Introduce common modules and second general utility. Move configuration to .wpcli common folder. check-in: ada88f9e2b user: Ross tags: wpget | |
2014-10-14
| ||
00:56 | Cosmetic change that could have been published but wasn't (yet). check-in: 5a94554cc9 user: Ross tags: trunk | |
00:28 | Implement actual post creation through the REST API as documented in part 6 of the series. Also change to Lua-cURL (a binary is in this checkin) and add a bunch of commandline options. check-in: a6505fd2e2 user: Ross tags: trunk | |
2014-10-03
| ||
22:33 | Implement --tokenurl parsing and track token expiration. Add json parser and provide a simple display of the user name attached to the token for the --verbose option. Clean up --verbose output by adding the --debug option to cover most of the noisy printing. check-in: 870da6391b user: Ross tags: trunk | |
2014-09-11
| ||
21:07 | Extra "initial empty check-in" created as a side effect of publishing this fossil through chiselapp. Closed-Leaf check-in: 9f323048ac user: rberteig tags: spare-trunk | |
20:55 | Snapshot of OAuth REST demo of the /me endpoint for the Post with Lua Part 4 article. check-in: 3b301fad10 user: Ross tags: trunk | |
2014-09-05
| ||
17:40 | Add an explicit license, update the blog link. check-in: 53bb43b9e3 user: Ross tags: trunk | |
2014-09-03
| ||
23:37 | Clean up option handling, add a configuration file, and provide options to write the configuration from command-line specified details. check-in: e6c46b7582 user: Ross tags: trunk | |
22:24 | Start off our versionable settings to be more Windows-friendly. check-in: 01d47fe47d user: Ross tags: trunk | |
22:21 | Snapshot of working XML-RPC based wppost.lua as published on curioser.cheshireeng.com. check-in: fa4e2ea9d6 user: Ross tags: trunk | |
22:09 | initial empty check-in check-in: 195d6348dc user: Ross tags: trunk | |