81 Commits

Author SHA1 Message Date
Josh Holtrop
48a377ec6a DataStore.createProject() returns project ID 2011-02-22 10:45:18 -05:00
Josh Holtrop
2f9c4e7df8 add initial Config class, calculate config fname 2011-02-21 23:04:01 -05:00
Josh Holtrop
15136b9c26 get project table column count from header row 2011-02-21 23:00:17 -05:00
Josh Holtrop
3eaeaa8313 add Window.updateProjects() 2011-02-21 22:14:31 -05:00
Josh Holtrop
cd1fbf332c take dbfile as an argument, default to ~/.dwtt.db 2011-02-21 22:14:04 -05:00
Josh Holtrop
d316405db7 take a DataStore argument 2011-02-16 15:00:32 -05:00
Josh Holtrop
067ab0dcde check for valid projectid in createTask() 2011-02-16 11:49:31 -05:00
Josh Holtrop
3cc8868699 add createProject(), fix a couple things 2011-02-15 22:18:41 -05:00
Josh Holtrop
66f2ee7c17 add createTask(), getNextId() 2011-02-15 22:15:21 -05:00
Josh Holtrop
951bf59dab add DataStore.getTasks() 2011-02-15 19:37:55 -05:00
Josh Holtrop
8f6345d478 added DataStore.getProjects() 2011-02-10 16:09:00 -05:00
Josh Holtrop
757f325ae9 add column headers 2011-02-10 14:41:22 -05:00
Josh Holtrop
59202e9a7a better code organization, add control bar buttons 2011-02-09 15:01:05 -05:00
Josh Holtrop
83258c5d18 add DataStore class to create sqlite3 db 2011-02-09 14:36:51 -05:00
Josh Holtrop
8d70696c3b add useless MenuBar 2011-02-09 12:47:45 -05:00
Josh Holtrop
5fc2cb8a53 switching to new GUI, remove CmdWindow 2011-02-08 22:07:08 -05:00
Josh Holtrop
9af4c655b1 only do an implicit out if the start task exists 2011-01-03 15:41:18 -05:00
Josh Holtrop
776072cb84 clear command after activating 2011-01-03 15:00:52 -05:00
Josh Holtrop
5fb84110e1 allowed command window to persist across commands 2011-01-03 14:55:44 -05:00
Josh Holtrop
7a10dd335a added Result class to hold command result 2011-01-03 13:53:45 -05:00
Josh Holtrop
b8d96c8b5a added cheap status handler, printing to console 2011-01-03 13:45:56 -05:00
Josh Holtrop
8dac698ca2 show full path to current task in command window 2011-01-03 12:57:24 -05:00
Josh Holtrop
6c2b6df94c added counting timer to CmdWindow for current task 2011-01-03 12:50:46 -05:00
Josh Holtrop
1acaefb193 added short name lookups for tasks 2011-01-03 12:15:54 -05:00
Josh Holtrop
99d37c6268 added start time parameter to CmdWindow 2011-01-03 11:05:40 -05:00
Josh Holtrop
4d641af494 add status line to CmdWindow 2011-01-03 10:58:14 -05:00
Josh Holtrop
987145e530 better type checking, only store >0 time entries 2011-01-03 09:06:05 -05:00
Josh Holtrop
32d4226eb6 fix adding tasks with no parents 2011-01-03 08:31:37 -05:00
Josh Holtrop
24451fa127 temporary print errors to console 2011-01-03 08:31:04 -05:00
Josh Holtrop
7f5aef193d always exit on empty command line 2011-01-03 08:27:08 -05:00
Josh Holtrop
4edabbdf3b processing start, out, and task commands 2011-01-02 22:10:58 -05:00
Josh Holtrop
fa2413810d DataStore.createTask(): strip names 2011-01-02 22:07:34 -05:00
Josh Holtrop
1f861b12ea DataStore.clearCurrentTask() takes no arguments 2011-01-02 22:05:40 -05:00
Josh Holtrop
b825457cdd added DataStore.getParentTaskByName() 2011-01-02 21:59:53 -05:00
Josh Holtrop
7c51c068b2 change TaskRef.dt to TaskRef.time 2011-01-02 21:54:39 -05:00
Josh Holtrop
36bfb39320 added DataStore.clearCurrentTask() 2011-01-02 21:51:31 -05:00
Josh Holtrop
0ee8461ef2 added command handlers, handling "task" command 2011-01-02 21:42:50 -05:00
Josh Holtrop
20b7681521 added DataStore.updateTask() 2011-01-02 21:42:03 -05:00
Josh Holtrop
64428ab99e added DataStore.getTaskByName(), strip task names 2011-01-02 21:17:40 -05:00
Josh Holtrop
70e687afca add "task" Command 2011-01-02 21:17:13 -05:00
Josh Holtrop
d1a81c2a9c added DataStore.getTaskByNameParent() 2011-01-02 15:21:42 -05:00
Josh Holtrop
bcac83a5a9 added DataStore.addTime() 2011-01-02 15:01:48 -05:00
Josh Holtrop
8ad5fc3c71 add taskid attribute to Task class 2011-01-02 14:29:35 -05:00
Josh Holtrop
585d3d65e1 added DataStore.createTask() 2011-01-02 14:23:43 -05:00
Josh Holtrop
6574f4d4fd added Task class and DataStore.getTaskByID() 2011-01-02 14:04:50 -05:00
Josh Holtrop
af10a21be7 added DataStore.updateCurrentTask() 2011-01-02 12:03:10 -05:00
Josh Holtrop
855068c43f added DataStore.getCurrentTask() and TaskRef class 2011-01-02 11:53:25 -05:00
Josh Holtrop
e6d8d36aeb loop to handle commands & possibly re-show window 2011-01-01 23:14:12 -05:00
Josh Holtrop
684834806e updated database schema again for dates and hours 2011-01-01 23:06:10 -05:00
Josh Holtrop
78cb101357 Command constructor: default_time optional 2011-01-01 17:51:04 -05:00