1. 16 Oct, 2017 4 commits
  2. 03 Aug, 2017 1 commit
  3. 01 Aug, 2017 2 commits
  4. 29 Jul, 2017 2 commits
    • John Hume's avatar
      Use TodoCreate for creation requests, · 1bbcf7e9
      John Hume authored
      So Todo no longer needs to do double-duty: it always represents a
      saved item. Now url needn't be optional.
      1bbcf7e9
    • John Hume's avatar
      Extract TodoList from web API, · 83ec235d
      John Hume authored
      so the web API has a clean interface to interact with and doesn't
      know how Todos are stored. Meanwhile, the TodoList is ALMOST
      totally decoupled from the web. (It at least doesn't know about
      Rocket.)
      83ec235d
  5. 28 Jul, 2017 5 commits
  6. 26 Jul, 2017 3 commits
    • John Hume's avatar
      Support setting completed in PATCH /<todo_id> · 3bd7d26f
      John Hume authored
      This gets us through two more tests:
      "can change the todo's completedness by PATCHing to the todo's url"
      and
      "changes to a todo are persisted and show up when re-fetching the todo"
      3bd7d26f
    • John Hume's avatar
      Add PATCH /<todo_id> endpoint to update title · fe75b2bf
      John Hume authored
      which gets us the next test:
      "can change the todo's title by PATCHing to the todo's url"
      
      LOTS of duplication at this point, though most of it is an artifact
      of the in-memory state, which is hopefully a temporary hack anyway.
      fe75b2bf
    • John Hume's avatar
      Add GET /<todo_id> endpoint, · 98f03569
      John Hume authored
      which gets us the next two tests:
      "each new todo has a url, which returns a todo"
      and
      "can navigate from a list of todos to an individual todo via urls"
      which are kind of redundant.
      98f03569
  7. 25 Jul, 2017 3 commits
    • John Hume's avatar
      Give each new Todo a url · 3f1d4c43
      John Hume authored
      No comment on the quality of that URL. This passes the next test:
      "each new todo has a url"
      3f1d4c43
    • John Hume's avatar
      Add 'completed' property. · 264e5231
      John Hume authored
      This passes the next test:
      "sets up a new todo as initially not completed"
      
      Using the same type for requests and proper TODOs is starting to get weird.
      264e5231
    • John Hume's avatar
      Introduce state. Add, clear, and list it. · 3f6e1adf
      John Hume authored
      So much for tiny changes! This passes the first of the "storing
      new todos by posting to the root url" tests:
      "adds a new todo to the list of todos at the root url"
      
      Several questionable decisions here.
      3f6e1adf
  8. 24 Jul, 2017 1 commit
  9. 23 Jul, 2017 5 commits
  10. 21 Jul, 2017 3 commits