neilrenicker / alfred-harvest Goto Github PK
View Code? Open in Web Editor NEWAlfred workflow for tracking time in Harvest
Home Page: http://tinystride.com/articles/alfred-harvest/
Alfred workflow for tracking time in Harvest
Home Page: http://tinystride.com/articles/alfred-harvest/
Hi,
I was wondering if it would be possible to add the option to add new tasks/update existing tasks with a given time instead of starting a timer?
(I just accidentally added this same request from my work GitHub account. Please ignore that one)
Regards,
Andy
Ever since I've upgraded to El Capitan, alfred-harvest has stopped working. Running some debugging with curl_error() it looks like there is an SSL Certificate Error. I'm not a php developer, but I was able to bandaid fix this by simply overriding SSL checking like this (for all commands):
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
Obviously this isn't totally secure, but I have no idea what CA cert is being used to verify my client with this setup.
If there is a more kosher solution to this I'd love to implement that. Thanks!
Starting a new project with paranthesis fails on part 2 of the workflow
Feature Request: Ability to add a note to a new timer upon using hv new
.
Current:
hv new {project name} → {task}
Proposed:
hv new {project name} → {task} → {enter note here}
I have two tasks with matching names "Website". When I trigger the second one in my list the timer only starts for the first. Each task has a different project associated.
Great tool. However, we are setup so that many of our projects have an identical name with a unique code. I.e. 10 clients could have a project named "Exterior Paint", but all would have unique Project Codes in Harvest.
When I create a new timer, it pulls up a list of clients by name (good) in Harvest. However, even after selecting a client (Say client "Smith"), it will create a timer in Harvest for a seemingly arbitrary client with the same project name. This would be fixed by keying to BOTH client name and project name. Unfortunately, this bug makes the otherwise great script unusable.
Using Toggle doesn't actually toggle timer:
UPDATE: Scrap this. There is just a 3-5 second delay. Though it is a little buggy.
Link to the workflow download is broken, returns AWS S3 error.
The timezone problem:
systemsetup -gettimezone
to access the user's system time zone.date_default_timezone_set
wants the Olson timezone syntax (e.g. "America/New_York")Possible fixes (alternate ways to access the system timezone):
date +%Z
prints the three-letter code. I might be able to compare the code with an object of code => Olson syntax pairs/etc/localtime
is a symlink to the current timezone. I could parse that w/ PHP (http://stackoverflow.com/a/7841417/1252653 and http://www.php.net/manual/de/function.date-default-timezone-set.php#113864)Recently my new projects in Harvest are not refreshed in the Alfred workflow, so they are not available to select. I have tried reseting my credentials, and sometimes that works to add in the new projects. This last time, it has not. Is there a way to force the workflow to refresh the list of available projects? Or is there a limit to how many it can access?
Trying to run the setup on this, you type "hv" "setup", and then Alfred flips over to doing a Google search.
Also described here: http://www.alfredforum.com/topic/3173-ruby-workflows-in-mavericks/?p=18914
I would like to see the password be safely stored in the keychain and accessed via the /usr/bin/security command which would prevent it from being stored in plain text on disk.
Oh, sorry -- looks like it does update! Still would like to be able to force it, as there's maybe about a 60s lag.
Hi,
I was wondering if it would be possible to add the option to add new tasks/update existing tasks with a given time instead of starting a timer?
Regards,
Andy
I followed the steps to set this up, but it appears that this workflow is currently not working. Maybe I am missing something, but after installing when I try any of the commands I see it Finding your projects
and then instead of showing my projects, it gives me search options:
Which ultimately opens a browser window with the expected search utility.
Looks like there haven't been any updates to this repo in years.. Assuming it is no longer supported?
hv note 1234567 → Testing 123
hv note 1234567 → Testing 456
My time entry shows:
Testing 456
when I'd prefer it'd be
Testing 123
Testing 456
This is how the hcl gem does it and is what I would expect.
I often find myself working on the same task for more than a day. It would be handy to copy over a task from the last day. I imagine something like this: With hv toggle you get the list of today's task and as a last item a list an entry "yesterday's tasks". Clicking this would load them. If you then select one of them to toggle this task gets copied to today's task list.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.