Page MenuHomeMusing Studio
Feed Advanced Search

Jun 5 2019

matt added a comment to T601: load global config from file.

TODO: is this WF-only? Or both CLIs?

Jun 5 2019, 7:58 PM · Refactor, WriteFreely CLI, Write.as CLI
matt added a project to T598: refactor shared code: WriteFreely CLI.
Jun 5 2019, 7:57 PM · Refactor, WriteFreely CLI, Write.as CLI
matt added a project to T611: Detailed posts list: WriteFreely CLI.
Jun 5 2019, 7:56 PM · WriteFreely CLI, Write.as CLI
matt added a project to T602: List collections: WriteFreely CLI.
Jun 5 2019, 7:52 PM · WriteFreely CLI, Write.as CLI
matt added a project to T603: Publish to account / collections: WriteFreely CLI.
Jun 5 2019, 7:52 PM · WriteFreely CLI, Write.as CLI
matt added a comment to T612: unauthenticated posts can not be deleted from the CLI while authenticated.

Assuming the #117 fix works in your testing, after reviewing everything I do think this is the right solution.

Jun 5 2019, 7:50 PM · Write.as CLI, WriteFreely
robjloranger updated the task description for T612: unauthenticated posts can not be deleted from the CLI while authenticated.
Jun 5 2019, 5:30 PM · Write.as CLI, WriteFreely
robjloranger removed a subtask for T603: Publish to account / collections: T612: unauthenticated posts can not be deleted from the CLI while authenticated.
Jun 5 2019, 5:28 PM · WriteFreely CLI, Write.as CLI
robjloranger removed a parent task for T612: unauthenticated posts can not be deleted from the CLI while authenticated: T603: Publish to account / collections.
Jun 5 2019, 5:28 PM · Write.as CLI, WriteFreely
robjloranger added a project to T612: unauthenticated posts can not be deleted from the CLI while authenticated: WriteFreely.
Jun 5 2019, 4:33 PM · Write.as CLI, WriteFreely
robjloranger added a comment to T612: unauthenticated posts can not be deleted from the CLI while authenticated.

I think I found the issue, the logic in this function on writefreely appears to check first if the accesstoken or user were found and proceed with that authentication, which will result in no affected rows. Lines 741-788, then an else which assumes the editToken instead.

Jun 5 2019, 4:31 PM · Write.as CLI, WriteFreely
robjloranger added a comment to T612: unauthenticated posts can not be deleted from the CLI while authenticated.

I found in go-writeas:

Jun 5 2019, 4:14 PM · Write.as CLI, WriteFreely
robjloranger moved T611: Detailed posts list from Backlog to Near Future on the Write.as CLI board.
Jun 5 2019, 12:35 AM · WriteFreely CLI, Write.as CLI
robjloranger moved T612: unauthenticated posts can not be deleted from the CLI while authenticated from Backlog to Next Up on the Write.as CLI board.
Jun 5 2019, 12:34 AM · Write.as CLI, WriteFreely
robjloranger lowered the priority of T596: add config wizard from Medium-High to Low.
Jun 5 2019, 12:20 AM · WriteFreely CLI, Write.as CLI

Jun 2 2019

matt added a comment to T194: Add anonymous post syncing.

I'd say the assumed behavior will be that all posts are imported. This is the behavior on the web app, and will be the behavior on the Android app, as well.

Jun 2 2019, 11:05 PM · Restricted Project, Write.as CLI
matt updated the task description for T194: Add anonymous post syncing.
Jun 2 2019, 11:03 PM · Restricted Project, Write.as CLI
matt triaged T612: unauthenticated posts can not be deleted from the CLI while authenticated as High priority.
Jun 2 2019, 11:03 PM · Write.as CLI, WriteFreely
matt added a comment to T612: unauthenticated posts can not be deleted from the CLI while authenticated.

Can you verify requests (both login and delete) are going to the right environment with some logging on your end? If they are, I'll add some logging on the dev server.

Jun 2 2019, 11:02 PM · Write.as CLI, WriteFreely
matt merged T583: List authenticated user's posts into T604: Fetch user posts if authenticated.
Jun 2 2019, 11:00 PM · Write.as CLI
matt merged task T583: List authenticated user's posts into T604: Fetch user posts if authenticated.
Jun 2 2019, 11:00 PM · Write.as CLI
matt updated the task description for T604: Fetch user posts if authenticated.
Jun 2 2019, 10:58 PM · Write.as CLI
matt added a comment to T216: Update original asciicast with current program output.

Not crucial in the short-term.

Jun 2 2019, 10:57 PM · Help Documentation, Write.as CLI
matt added a comment to T217: Improve CLI usage documentation.

Not crucial in the short-term.

Jun 2 2019, 10:56 PM · Help Documentation, Write.as CLI

Jun 1 2019

robjloranger added a comment to T194: Add anonymous post syncing.

Additional questions we might want to answer:

  • should there be a confirmation/warning if we are importing all posts?
  • should we ask one at a time?
    • if so should we pull the title and an excerpt during confirmation?
Jun 1 2019, 8:56 PM · Restricted Project, Write.as CLI

May 31 2019

robjloranger added a comment to T612: unauthenticated posts can not be deleted from the CLI while authenticated.

thanks @matt, they aren't verbose enough though. Only requests and their http status + method.

May 31 2019, 2:34 AM · Write.as CLI, WriteFreely
matt added a comment to T612: unauthenticated posts can not be deleted from the CLI while authenticated.

I'm sending logs over from the dev server now, polled every 10 seconds. You can view on our team server with:

May 31 2019, 1:38 AM · Write.as CLI, WriteFreely
robjloranger added a comment to T612: unauthenticated posts can not be deleted from the CLI while authenticated.

is it possible to see the server application logs for development.write.as

May 31 2019, 12:23 AM · Write.as CLI, WriteFreely

May 30 2019

robjloranger added a comment to T612: unauthenticated posts can not be deleted from the CLI while authenticated.

I'm getting back a 403 forbidden with the correct token, it must be getting returned by go-writeas in writeas.go c.delete().

May 30 2019, 11:27 PM · Write.as CLI, WriteFreely
robjloranger added a comment to T602: List collections.

found a cool little library for neat tabbed columns

https://github.com/ryanuber/columnize

May 30 2019, 11:04 PM · WriteFreely CLI, Write.as CLI
robjloranger added a subtask for T603: Publish to account / collections: T612: unauthenticated posts can not be deleted from the CLI while authenticated.
May 30 2019, 11:02 PM · WriteFreely CLI, Write.as CLI
robjloranger added a parent task for T612: unauthenticated posts can not be deleted from the CLI while authenticated: T603: Publish to account / collections.
May 30 2019, 11:02 PM · Write.as CLI, WriteFreely
robjloranger created T612: unauthenticated posts can not be deleted from the CLI while authenticated.
May 30 2019, 11:01 PM · Write.as CLI, WriteFreely
matt closed T606: Delete account post, a subtask of T603: Publish to account / collections, as Invalid.
May 30 2019, 10:53 PM · WriteFreely CLI, Write.as CLI
matt added a comment to T606: Delete account post.

As mentioned, original task was already taken care of, so closing this.

May 30 2019, 10:53 PM · Write.as CLI
matt updated the task description for T606: Delete account post.
May 30 2019, 10:52 PM · Write.as CLI
robjloranger created T611: Detailed posts list.
May 30 2019, 10:26 PM · WriteFreely CLI, Write.as CLI
matt added a comment to T606: Delete account post.

@robjloranger Hmm, but deleting local anonymous posts was the behavior in CLI v1, no? That should already work.

May 30 2019, 10:16 PM · Write.as CLI
robjloranger added a comment to T606: Delete account post.

I edited the task because deleting of both published and write.as anonymous posts already works. just not the local anonymous ones, which I guess are the true anonymous posts.

May 30 2019, 10:15 PM · Write.as CLI
robjloranger updated the task description for T606: Delete account post.
May 30 2019, 10:14 PM · Write.as CLI
robjloranger added a comment to T610: Send title when publishing.

I'm pretty sure this is already implemented. I'm going to look over the current version-two code as I write and think out loud.

May 30 2019, 10:09 PM · Write.as CLI
robjloranger closed T610: Send title when publishing, a subtask of T603: Publish to account / collections, as Resolved.
May 30 2019, 10:09 PM · WriteFreely CLI, Write.as CLI
robjloranger added a comment to T604: Fetch user posts if authenticated.

current status as or PR, also supports -md

May 30 2019, 8:53 PM · Write.as CLI
robjloranger added a comment to T604: Fetch user posts if authenticated.

i think local posts are the unclaimed posts for the user at the cli. it that correct?

May 30 2019, 8:52 PM · Write.as CLI
robjloranger closed T604: Fetch user posts if authenticated, a subtask of T602: List collections, as Resolved.
May 30 2019, 8:48 PM · WriteFreely CLI, Write.as CLI
robjloranger closed T604: Fetch user posts if authenticated as Resolved by committing rWCLI1fccf7ad62ca: Resolves T604 Fetch users posts if authenticated.
May 30 2019, 8:48 PM · Write.as CLI
matt added a comment to T604: Fetch user posts if authenticated.

@matt by unsynced posts, do you mean unclaimed? i.e. https://developers.write.as/docs/api/#claim-posts

May 30 2019, 8:21 PM · Write.as CLI
robjloranger added a comment to T604: Fetch user posts if authenticated.

created a mock for the detailed output which i think would be good behind the flag d, detail M5

May 30 2019, 5:19 PM · Write.as CLI
robjloranger added a comment to T604: Fetch user posts if authenticated.

@matt by unsynced posts, do you mean unclaimed? i.e. https://developers.write.as/docs/api/#claim-posts

May 30 2019, 5:04 PM · Write.as CLI
matt created T610: Send title when publishing.
May 30 2019, 2:19 PM · Write.as CLI
matt moved T603: Publish to account / collections from Backlog to Next Up on the Write.as CLI board.
May 30 2019, 2:55 AM · WriteFreely CLI, Write.as CLI
matt created T603: Publish to account / collections.
May 30 2019, 2:55 AM · WriteFreely CLI, Write.as CLI
robjloranger removed a parent task for T591: sub package fileutils should return errors: T590: Should we change the import for writeas-go.
May 30 2019, 2:55 AM · Write.as CLI
robjloranger added a parent task for T592: split sync into sub package: T597: split code out into shared package, allow multiple binaries.
May 30 2019, 2:55 AM · Write.as CLI
robjloranger created T590: Should we change the import for writeas-go.
May 30 2019, 2:55 AM · Write.as CLI
robjloranger claimed T586: Support any WriteFreely instance.
May 30 2019, 2:55 AM · Restricted Project, WriteFreely CLI, Restricted Project
matt updated the task description for T586: Support any WriteFreely instance.
May 30 2019, 2:54 AM · Restricted Project, WriteFreely CLI, Restricted Project
matt moved T586: Support any WriteFreely instance from Backlog to Next Up on the Write.as CLI board.
May 30 2019, 2:54 AM · Restricted Project, WriteFreely CLI, Restricted Project
matt moved T194: Add anonymous post syncing from Next Up to Near Future on the Write.as CLI board.
May 30 2019, 2:54 AM · Restricted Project, Write.as CLI
matt edited parent tasks for T604: Fetch user posts if authenticated, added: T602: List collections; removed: T603: Publish to account / collections.
May 30 2019, 2:54 AM · Write.as CLI
matt created T585: Store publishing preferences in config.ini.
May 30 2019, 2:54 AM · WriteFreely CLI, Write.as CLI
matt added a comment to T604: Fetch user posts if authenticated.

Excellent 😃

May 30 2019, 1:03 AM · Write.as CLI
robjloranger added a comment to T604: Fetch user posts if authenticated.

😄

May 30 2019, 1:02 AM · Write.as CLI
matt added a subtask for T602: List collections: T604: Fetch user posts if authenticated.
May 30 2019, 12:59 AM · WriteFreely CLI, Write.as CLI
matt added a project to T191: Add user authentication: Restricted Project.
May 30 2019, 12:59 AM · Restricted Project, Restricted Project, Write.as CLI
robjloranger added a parent task for T593: split user config into sub package: T597: split code out into shared package, allow multiple binaries.
May 30 2019, 12:59 AM · Write.as CLI
matt removed a subtask for T603: Publish to account / collections: T604: Fetch user posts if authenticated.
May 30 2019, 12:59 AM · WriteFreely CLI, Write.as CLI
matt created T583: List authenticated user's posts.
May 30 2019, 12:59 AM · Write.as CLI
robjloranger added a parent task for T598: refactor shared code: T597: split code out into shared package, allow multiple binaries.
May 30 2019, 12:59 AM · Refactor, WriteFreely CLI, Write.as CLI
robjloranger moved T592: split sync into sub package from Backlog to Next Up on the Write.as CLI board.
May 30 2019, 12:59 AM · Write.as CLI
robjloranger moved T593: split user config into sub package from Backlog to Next Up on the Write.as CLI board.
May 30 2019, 12:59 AM · Write.as CLI
matt added a parent task for T604: Fetch user posts if authenticated: T603: Publish to account / collections.
May 30 2019, 12:58 AM · Write.as CLI
matt added a comment to T604: Fetch user posts if authenticated.

I think I like the full local / remote word for now; it's clear and saves me from looking up what letters mean in the user guide.

May 30 2019, 12:58 AM · Write.as CLI
matt added a subtask for T603: Publish to account / collections: T604: Fetch user posts if authenticated.
May 30 2019, 12:58 AM · WriteFreely CLI, Write.as CLI
robjloranger added a comment to T604: Fetch user posts if authenticated.

so the current implementation I have gets the local posts and then the remote.

May 30 2019, 12:58 AM · Write.as CLI
robjloranger lowered the priority of T591: sub package fileutils should return errors from Low to Wishlist.
May 30 2019, 12:58 AM · Write.as CLI
robjloranger moved T598: refactor shared code from Backlog to Next Up on the Write.as CLI board.
May 30 2019, 12:58 AM · Refactor, WriteFreely CLI, Write.as CLI
matt created T604: Fetch user posts if authenticated.
May 30 2019, 12:58 AM · Write.as CLI
robjloranger added a comment to T591: sub package fileutils should return errors.

perhaps not, of course generally speaking they should always return their errors.

May 30 2019, 12:58 AM · Write.as CLI
robjloranger created T598: refactor shared code.
May 30 2019, 12:58 AM · Refactor, WriteFreely CLI, Write.as CLI
robjloranger created T601: load global config from file.
May 30 2019, 12:58 AM · Refactor, WriteFreely CLI, Write.as CLI
robjloranger created T594: add new configuration directory.
May 30 2019, 12:58 AM · WriteFreely CLI, Restricted Project
robjloranger removed a parent task for T590: Should we change the import for writeas-go: T586: Support any WriteFreely instance.
May 30 2019, 12:58 AM · Write.as CLI
robjloranger removed a subtask for T590: Should we change the import for writeas-go: T591: sub package fileutils should return errors.
May 30 2019, 12:58 AM · Write.as CLI
robjloranger added a comment to T605: get authentication working.

wrong password 😵

May 30 2019, 12:58 AM · Write.as CLI
robjloranger removed a subtask for T586: Support any WriteFreely instance: T590: Should we change the import for writeas-go.
May 30 2019, 12:58 AM · Restricted Project, WriteFreely CLI, Restricted Project
matt created T586: Support any WriteFreely instance.
May 30 2019, 12:58 AM · Restricted Project, WriteFreely CLI, Restricted Project
matt added a comment to T594: add new configuration directory.

this will be set on the writefreely cli, the writeas cli will retain the original .writeas directory

May 30 2019, 12:58 AM · WriteFreely CLI, Restricted Project
robjloranger added a comment to T593: split user config into sub package.

resolved in

May 30 2019, 12:58 AM · Write.as CLI
robjloranger closed T593: split user config into sub package, a subtask of T597: split code out into shared package, allow multiple binaries, as Resolved.
May 30 2019, 12:58 AM · Restricted Project, Write.as CLI
joyeusenoelle added a comment to T586: Support any WriteFreely instance.

Paying attention to this, since I'm likely to wind up using these config files in T571 as well. Let me know if I can contribute.

May 30 2019, 12:58 AM · Restricted Project, WriteFreely CLI, Restricted Project
robjloranger added a member for Write.as CLI: robjloranger.
May 30 2019, 12:58 AM
robjloranger closed T605: get authentication working, a subtask of T603: Publish to account / collections, as Invalid.
May 30 2019, 12:58 AM · WriteFreely CLI, Write.as CLI
robjloranger added a comment to T604: Fetch user posts if authenticated.

I was also going to add a flag like detail, d to include more output like the excerpt and collection.

May 30 2019, 12:58 AM · Write.as CLI
robjloranger raised the priority of T605: get authentication working from High to Needs Triage.
May 30 2019, 12:58 AM · Write.as CLI
robjloranger closed T597: split code out into shared package, allow multiple binaries, a subtask of T586: Support any WriteFreely instance, as Resolved.
May 30 2019, 12:58 AM · Restricted Project, WriteFreely CLI, Restricted Project
robjloranger added a comment to T597: split code out into shared package, allow multiple binaries.

resolved in https://github.com/writeas/writeas-cli/pull/27

May 30 2019, 12:58 AM · Restricted Project, Write.as CLI
robjloranger moved T595: add host flag from Backlog to Next Up on the Write.as CLI board.
May 30 2019, 12:58 AM · WriteFreely CLI, Restricted Project
matt updated the task description for T603: Publish to account / collections.
May 30 2019, 12:58 AM · WriteFreely CLI, Write.as CLI
robjloranger added a comment to T592: split sync into sub package.

resolved in https://github.com/writeas/writeas-cli/pull/27

May 30 2019, 12:58 AM · Write.as CLI