selfhosted project time reporting for slack
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gui Versionbump, lots of small features and buggfixes Apr 19, 2018
includes new version: git based slack reminders, simple gui Oct 12, 2016
projcal
usercal Versionbump, lots of small features and buggfixes Apr 19, 2018
LICENSE Initial commit Jun 7, 2016
gitreminder.php new version: git based slack reminders, simple gui Oct 12, 2016
index.php Versionbump, lots of small features and buggfixes Apr 19, 2018
readme.txt Update readme.txt Nov 7, 2016
remind.php
timedude.sql new version: git based slack reminders, simple gui Oct 12, 2016

readme.txt

TIMEDUDE
http://labs.earthpeople.se/2016/10/time-tracking-via-slack/

simple project time reporting for slack.
because time reporting sucks. and this is slightly less sucky.

get this up and running in a few simple steps.
follow along.

1. open remind.php
 - change slack token, follow this: https://api.slack.com/docs/oauth
 - change db credentials
 - change csv filepath + baseurl
 - change the buddy token, if you’re using buddy.works

2. the sql import in a new db

3. if you want to enable daily reminders
 - call remind.php via cron every minute, like this:
 * * * * * /usr/bin/php "/PATH/TO/TIMEDUDE/timedude/remind.php"

4. if you want to ping users who committed stuff to a repo but didn’t report this time to time dude, add this cron too:
 0 19 * * * /usr/bin/php "/PATH/TO/TIMEDUDE/timedude/remind.php"

5. optionally password protect /gui with htpasswd.

license:
do what you want with this. no warranties. 
if you like it and find a bug or come up with a feature - make a pull request.

note:
i know this php looks like it's from 1999 but hey it works and it's fast. plus, it's (almost) readable.