summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2018-01-31Merge branch 'log-for-past-days--squashed--v2' into twtwTeddy Wing
2018-01-31App#save_password: Shell escape passwordTeddy Wing
Escape special shell characters so that passwords with single quotes can be saved to the keychain. Otherwise, the single quotes surrounding the "-w '%s'" cause an error on passwords with single quotes. I know testing private methods is not recommended, but this seemed like something that would be good to test. Maybe the method should be made public if that's a concern?
2018-01-31App#read_config: Clarify the meaning of 'subdomain' when asking for itTeddy Wing
The first time I saw it, I wasn't sure what format of subdomain this prompt wanted, and entered 'acme.harvestapp.com'. Since it's not documented in the README either, I had to source-dive to find the answer. Clarify what should be entered here by including an example in the prompt.
2018-01-31Add date argument to `log` commandlog-for-past-days--squashedTeddy Wing
Adds an optional date argument to the `log` command that can be specified just before the task alias. Some examples from @skoppelmanCC: hcl log yesterday @documentation +2 Ran spellcheck hcl log 3 days ago @wireframes +3.5 hcl log last friday @admin +1 filed timesheets Commands#log: Copy over the contents of `Commands#start` and replace `task.start` with `task.add`. This allows us to log the time without actually starting a timer (and thus having to subsequently stop that timer). command_test.rb(#test_start): Update expected method call arguments with `spent_at`. Now that we're passing in `spent_at`, the expected arguments should include it. command_test.rb(#test_log_failure): Delete this test because I've rewritten the `Commands#log` method to no longer use timers. utility_test.rb: Add tests for `#get_date` Fixes #83.
2017-02-12v0.4.16v0.4.16Zack Hobson
2017-02-09fix deprecated impls, closes #72Charney Kaye
2015-06-12version 0.4.15v0.4.15Zack Hobson
2015-06-03parse and output responseLorenzo Manacorda
2015-06-03remove harvest middlewareLorenzo Manacorda
it always uses HTTP Basic Auth, whereas our endpoint is publicly available.
2015-06-03change status API endpointLorenzo Manacorda
2014-04-21remove dependency on fakeweb and net::httpZack Hobson
By using pure faraday for the test and error handling code, the way is cleared for dropping in alternative http clients.
2014-04-21prepare 0.4.14 releasev0.4.14Zack Hobson
2014-04-21remove ssl option, fixes #57Zack Hobson
2014-02-04v0.4.13 lolv0.4.13Zack Hobson
2014-02-04nooooZack Hobson
2014-02-04command#completion: fix example in deprecation warningZack Hobson
2014-02-04Commands#tasks: pass http handle when fetching tasks, closes #56Zack Hobson
2014-02-04add status command to docsZack Hobson
2014-02-04commands: add status commandZack Hobson
2014-01-30HCl::App: touch aliases cache on startupZack Hobson
2014-01-27fix: crash when stopping a timer the next dayZack Hobson
2014-01-26confirm timer cancel, closes #47Zack Hobson
2014-01-26deprecate completion command, closes #51Zack Hobson
2014-01-26oops I am not using rdiscount after allZack Hobson
2014-01-25add docs for unalias, closes #52Zack Hobson
2014-01-25add --changelog optionZack Hobson
2014-01-25v0.4.11v0.4.11Zack Hobson
2014-01-25update faraday to 0.9.0Zack Hobson
2013-12-30fix completion commandv0.4.10Zack Hobson
2013-12-27doc cleanup [ci skip]Zack Hobson
2013-12-27console: improved pretty-printZack Hobson
2013-12-27require pry in consoleZack Hobson
2013-12-27completely eliminate the global http handle.non-singleton-netZack Hobson
2013-12-27non-global API for net accessZack Hobson
2013-12-27pass http client into instance commandsZack Hobson
2013-12-27Merge branch 'master' into resource_routesresource_routesZack Hobson
2013-12-27console: fix promptZack Hobson
2013-12-27Merge branch 'master' into resource_routesZack Hobson
2013-12-27console commandZack Hobson
2013-12-27Merge branch 'master' into resource_routesZack Hobson
2013-12-27net: read-only configZack Hobson
2013-12-27fix middlewareZack Hobson
2013-12-27middleware fixesZack Hobson
2013-12-27fix cancelZack Hobson
2013-12-27day_entry: test project_info resourceZack Hobson
2013-12-27timesheet_resource: trigger load_cb with full resource bodyZack Hobson
2013-12-27fix middleware orderZack Hobson
2013-12-26day_entry: fix cancelZack Hobson
2013-12-26timesheet_resource: resource scopesZack Hobson
2013-12-26Revert "timesheet_resource: API improvements"Zack Hobson
This reverts commit eada20ef66ade0b9a98ef5f03256a73ce428244b.