raguay.customct Posted February 21, 2013 Share Posted February 21, 2013 (edited) Hi, I just whipped up this small application inside of Alfred. It allows you to have multiple projects that you keep your times for. I am planning more for this in the future, but it is very usable as it is. Let me know what you think! You can download this and my other workflows here: https://github.com/raguay/MyAlfred I have more documentation and in the future some tutorials at my web site: http://customct.com All of the workflows now incorporate AlleyOop and can be updated using that workflow. Therefore, if you have already installed these workflows, please install the current version so that future updates will be easier. Latest version: 1.93 06/20/2013 Edited June 20, 2013 by raguay.customct Link to comment
raguay.customct Posted February 21, 2013 Author Share Posted February 21, 2013 I just updated the version on Git Hub to move all data files to the recommended location in the documents. Now, there is not data files inside the actual workflow. Let me know if there is anything you would like to see in this. I am working on a gui for it as well. Link to comment
vdesabou Posted February 21, 2013 Share Posted February 21, 2013 Hi, Thanks for sharing this. It is very helpful. I have some warning messages that prevent me to see the outputs: Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in Command line code on line 9 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in Command line code on line 9 00:03:23 Any idea how to fix this. Cheers Link to comment
raguay.customct Posted February 21, 2013 Author Share Posted February 21, 2013 Hi, I just pushed a fix for the error reporting issue and added the command "worktime" for displaying all the projects times for one day. You can use "today" for today and "yesterday" for yesterday. Let me know if you find anything else. Link to comment
raguay.customct Posted February 21, 2013 Author Share Posted February 21, 2013 Hi, Thanks for sharing this. It is very helpful. I have some warning messages that prevent me to see the outputs: Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in Command line code on line 9 Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in Command line code on line 9 00:03:23 Any idea how to fix this. Cheers Redownload and install the lastest version. It should fix that problem. If not, please let me know. Link to comment
raguay.customct Posted February 21, 2013 Author Share Posted February 21, 2013 Just added the ability to remove a project from the list of projects. Use the keyword 'removeproject' and it will list the different projects. Just select the one that you want to delete. Link to comment
vdesabou Posted February 21, 2013 Share Posted February 21, 2013 Redownload and install the lastest version. It should fix that problem. If not, please let me know. It is working now, many thanks! Link to comment
raguay.customct Posted February 25, 2013 Author Share Posted February 25, 2013 Hi, I just updated the workflow with a few bug fixes and a basic graphical interface to view the work done each day. Let me know what you think and what you see as necessary addons. Thanks! Link to comment
raguay.customct Posted April 3, 2013 Author Share Posted April 3, 2013 I just changed the original post to reflect the new versions of all of my workflows. They are all AlleyOop compatible now. I also fixed a few bugs in the AlfredTimeKeeper workflow. Link to comment
christian Posted April 3, 2013 Share Posted April 3, 2013 Hi! Thank you for your efforts! I just added your workflow to my daily routine and it's way more convenient than other programs I used before! However, I've two smaller issues... The first one is similar to vdesabou's - I receive following 'error message' after setting a project: "Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in Command line code on line 11" Second issue is: vmonth shows me the correct time spent for a certain project. vweek only shows 00:00:00. Any ideas? Kind regards and thank you in advance, Christian Link to comment
raguay.customct Posted April 3, 2013 Author Share Posted April 3, 2013 Missed that one. Sorry about that. I just pushed the fix to GitHub. You should be able to update it with AlleyOOP. Link to comment
raguay.customct Posted April 3, 2013 Author Share Posted April 3, 2013 The vweek bug is a know issue. It only happens when the week contains days in two different months. I am working on the fix for that one. Link to comment
christian Posted April 3, 2013 Share Posted April 3, 2013 Thank you very much! Works like a charm Link to comment
Guest Posted April 3, 2013 Share Posted April 3, 2013 Thank you for this awesome workflow! I have replaced your Icon in my copy, because i do not like Icons with non-transparent backgrounds You can use it if you like for your Workflow. I made it by myself and "release" it without any copyright... Link to comment
raguay.customct Posted April 3, 2013 Author Share Posted April 3, 2013 Hi, I just updated Alfred Time Keeper with the new icon from Schneppi (thanks!!) and vweek now works completely. Let me know if you find any more bugs. Link to comment
raguay.customct Posted April 19, 2013 Author Share Posted April 19, 2013 Updated the functionality of this workflow and added AlleyOOP compatibility. The 'vweek' command now completely works (I believe for sure this time). Could everyone test it and let me know what you find out? Thanks! Working on the ability to edit the time logs graphically. Link to comment
raguay.customct Posted June 11, 2013 Author Share Posted June 11, 2013 I just did an update to replace the PHP script filters with executables written in go. As such, it is now larger but faster. I compiled them on an amd64 Mac OSX 10.8.4 system. Please try it out and see how it runs on your system. I am still fairly new to the go language and I am not sure if it requires libraries to be loaded or not. I believe not. Link to comment
raguay.customct Posted June 12, 2013 Author Share Posted June 12, 2013 Hi, just upgraded the goAlfred library and recompiled this workflow. The latest beta of Alfred 2 showed a bug in my library. It is all fixed now. Therefore, if you installed version 1.5, please upgrade before you upgrade your Alfred 2 installation. Thanks. Link to comment
raguay.customct Posted June 12, 2013 Author Share Posted June 12, 2013 Hi, I just pushed another change. I missed fixing one script. Link to comment
raguay.customct Posted June 12, 2013 Author Share Posted June 12, 2013 Hi, just pushed the change to TimeKeeper to conditionally create the project list for setting the current project based on the string given by the user. Also, it should not just dump into default search when the user has no output from the letters given in the search. Try it out and let me know if anyone has any problems. Link to comment
raguay.customct Posted June 15, 2013 Author Share Posted June 15, 2013 Hi, just fixed a small bug in the base goAlfred library. If the conditional adding of a result list ends up not adding anything, before the default message would be accepted as a project. It now will not and it will not fall through to default search either. Test it out and let me know if you see any problems. Link to comment
danlandrum Posted June 16, 2013 Share Posted June 16, 2013 This workflow looks promising. However, after installing it, I can't seem to add a first project. An error occurs when using ATK:addproject projectname. I get a growl notification saying "Could not open the projects file: /Users/myuser/Library/Application Support/Alfr..." and then unfortunately the actual filename is cutoff due to its length. When drilling into the folder "/Users/myuser/Library/Application Support/Alfred 2/Workflow Data/com.customct.AlfredTimeKeeper/" I find that it is empty. Can you help? Link to comment
raguay.customct Posted June 17, 2013 Author Share Posted June 17, 2013 Hi, Sounds like it is not creating the file like it should. I have it for creating the file if it is not there (which only happens the first time ran). I will look at it and send an update. Sorry about that. Link to comment
raguay.customct Posted June 17, 2013 Author Share Posted June 17, 2013 This workflow looks promising. However, after installing it, I can't seem to add a first project. An error occurs when using ATK:addproject projectname. I get a growl notification saying "Could not open the projects file: /Users/myuser/Library/Application Support/Alfr..." and then unfortunately the actual filename is cutoff due to its length. When drilling into the folder "/Users/myuser/Library/Application Support/Alfred 2/Workflow Data/com.customct.AlfredTimeKeeper/" I find that it is empty. Can you help? Hi, Found the bug. I forgot the creation flag. The goAlfred program for that functionality now works. Please give it a try and let me know if it helps. Thanks for letting me know. Link to comment
danlandrum Posted June 17, 2013 Share Posted June 17, 2013 Thank you for responding. I can now enter a project using addproject, and the new projects appears in the projects.txt file. However, when I choose to use that project using the ATK:project command, while the added project appears in the list, I get the error "Can [sic] not read the projects file." Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now