Commit Graph

65 Commits

Author SHA1 Message Date
c9fcef001b Fixed update_task_status function 2024-09-22 20:13:46 -07:00
b65c098f3d Modified prepare_sql_update_stmt to fileter with WHERE 2024-09-22 18:25:25 -07:00
19778cc114 Modified gen_sql_update_stmt to use bind, now prepare_sql_update_stmt 2024-09-21 22:57:04 -07:00
b55a6bdb04 Removed table prop from struct 2024-09-21 19:46:25 -07:00
2524b1ed11 Fixed small bug that moved the blocked column over by an addtional col width 2024-09-21 19:45:54 -07:00
dbc57e38c9 Added filtered_tasks constructor 2024-09-20 22:12:45 -07:00
5b5b36c041 Modified delete to only delete active tasks TODO: have way to delete completed tasks 2024-09-20 12:41:21 -07:00
1229d88253 Updated TODO notes and Added bad arg catch 2024-09-19 14:30:59 -07:00
4636a19796 Modified gen strings formatting 2024-09-18 14:15:53 -07:00
20fdead266 Modified filtered_task struct to change char array to char* finished 2024-09-18 14:07:30 -07:00
24e7dc3ae7 Modified filtered_tasks to change char array to char* for some
TODO: update to blocked is broken
2024-09-18 13:35:59 -07:00
df50e34958 Modified the gen_sql functions to use task struct
TODO: sqlite3_changes() to make sure rows were affected
2024-09-18 11:32:25 -07:00
fc8af9a53c Fixed bug that was looking for NULL instead of nullterm
TODO: Should prob use pointers over strict arrays
2024-09-17 21:39:54 -07:00
62a1565137 Modified the rest of the main functions to use struct TODO: update is broke 2024-09-17 20:54:34 -07:00
52eff82c03 Modified parse_args and other functs to task struct TODO: broke things 2024-09-16 22:02:26 -07:00
7f15e44f29 Modified view_tasks, display_task_list, and get_num_rows to use filtered_tasks struct 2024-09-16 21:00:24 -07:00
d12c968b4a Added update_task func TODO:refacter to use structs 2024-09-15 13:12:11 -07:00
de35e45daf Modified print_fixed_width to add some whitespace 2024-09-15 11:05:41 -07:00
f3be9dc13c Added test for display_task_lists 2024-09-15 10:58:41 -07:00
7bc91f34e6 Fixed dodo.schema to only check active tasks when assigning active id 2024-09-14 20:00:59 -07:00
b86ac43a25 Modified submod version 2024-09-14 19:46:18 -07:00
98378e80e0 Modified display_task_list to display active id 2024-09-14 19:45:57 -07:00
175b621d7a Added test to check if update task works 2024-09-13 22:22:21 -07:00
10999563d3 Added three tests 2024-09-12 22:48:15 -07:00
c27eae1dcc Modified Makefile to remove the test bin after it runs 2024-09-09 22:30:21 -07:00
551dd03340 Modified Makefile to run tests automatically on build 2024-09-09 22:16:49 -07:00
f12cb11f23 Modified test name and Makefile to build test 2024-09-09 22:15:07 -07:00
65464112a6 Modified Makefile to deal with deps and other .c's better 2024-09-09 22:00:06 -07:00
b0eb5be2c0 Added test template 2024-09-09 21:59:39 -07:00
443c9f04cd Added a main.c and moved calls to functs to main() 2024-09-09 21:59:24 -07:00
4cc935cd01 Modified submodules 2024-09-09 10:00:20 -07:00
b5085f0131 Fixed Makefile 2024-09-09 09:58:24 -07:00
b4247d861f Modified file hierarchy 2024-09-08 23:05:47 -07:00
21bdb0bdf4 Added date and task_entry structs for code refactor 2024-09-08 17:21:20 -07:00
76fb74d504 Removed UNIQUE property from active_id 2024-09-08 17:08:34 -07:00
f83bef2674 Added complete_task func 2024-09-08 17:06:37 -07:00
09492950b8 Added active_id increment in schema 2024-09-08 16:33:54 -07:00
586786ff6c Added update_task_status func 2024-09-08 15:01:31 -07:00
22eadc8ad7 Added updated x_string 2024-09-08 15:01:18 -07:00
7d326f6057 Added del_task function 2024-09-08 13:56:40 -07:00
e8e73da981 Deleted some commented code 2024-09-07 19:27:27 -07:00
ad41fe3fbf Modified README to include command descriptions 2024-09-07 19:26:46 -07:00
0113cec73c Added bad input validation on task add 2024-09-07 18:26:54 -07:00
7a9d7e9ff0 Modified due_date column to check that it's a date TODO:add func is broke now 2024-09-06 12:19:37 -07:00
53a5c910b5 Added ability to pass new task from cli, TODO:it's really bad 2024-09-06 11:27:52 -07:00
43323dbf9b Fixed some curser offset bugs 2024-09-05 11:40:45 -07:00
2dfbc19d2c Added crappy argument handler 2024-09-04 14:33:48 -07:00
9c46269868 Added initial imp of add_task 2024-09-04 14:18:05 -07:00
58893119c7 Added clean_all which also removes sqlite.o and clean which doesn't 2024-09-04 13:20:03 -07:00
bf1f5e0c70 Modified display_heading func 2024-09-04 12:58:46 -07:00