home · contact · privacy
plomtask
7 months agoFix broken enabler addition in Day view.
Christian Heller [Wed, 15 May 2024 06:56:30 +0000 (08:56 +0200)]
Fix broken enabler addition in Day view.

7 months agoAdd Todo.comment display/posting in Todo view.
Christian Heller [Wed, 15 May 2024 06:51:00 +0000 (08:51 +0200)]
Add Todo.comment display/posting in Todo view.

7 months agoAdd POSTing of Todo.comment in Day view.
Christian Heller [Wed, 15 May 2024 06:32:13 +0000 (08:32 +0200)]
Add POSTing of Todo.comment in Day view.

7 months agoAdd Todo.comment, and for that purpose basic SQL migration infrastructure.
Christian Heller [Wed, 15 May 2024 06:21:07 +0000 (08:21 +0200)]
Add Todo.comment, and for that purpose basic SQL migration infrastructure.

7 months agoRe-introduce POSTing of Todo doneness on Day view.
Christian Heller [Wed, 15 May 2024 02:37:08 +0000 (04:37 +0200)]
Re-introduce POSTing of Todo doneness on Day view.

7 months agoOn POSTing new Todos on Day view, ensure possible adoptions within them.
Christian Heller [Wed, 15 May 2024 02:10:27 +0000 (04:10 +0200)]
On POSTing new Todos on Day view, ensure possible adoptions within them.

7 months agoSimplify Todo steps tree calculation/display.
Christian Heller [Wed, 15 May 2024 01:42:18 +0000 (03:42 +0200)]
Simplify Todo steps tree calculation/display.

7 months agoImprove Todo tests.
Christian Heller [Sun, 5 May 2024 04:00:43 +0000 (06:00 +0200)]
Improve Todo tests.

7 months agoRefactor and extend tests.
Christian Heller [Sun, 5 May 2024 03:36:31 +0000 (05:36 +0200)]
Refactor and extend tests.

7 months agoRefactor save and remove methods of BaseObject subclasses.
Christian Heller [Sun, 5 May 2024 01:46:35 +0000 (03:46 +0200)]
Refactor save and remove methods of BaseObject subclasses.

7 months agoExtend tests.
Christian Heller [Sun, 5 May 2024 00:45:26 +0000 (02:45 +0200)]
Extend tests.

7 months agoReinstate formerly disabled test.
Christian Heller [Thu, 2 May 2024 04:54:47 +0000 (06:54 +0200)]
Reinstate formerly disabled test.

7 months agoMore refactoring.
Christian Heller [Thu, 2 May 2024 04:34:49 +0000 (06:34 +0200)]
More refactoring.

7 months agoMinor tests refactoring.
Christian Heller [Thu, 2 May 2024 01:46:48 +0000 (03:46 +0200)]
Minor tests refactoring.

7 months agoSome tests refactoring.
Christian Heller [Thu, 2 May 2024 01:36:12 +0000 (03:36 +0200)]
Some tests refactoring.

7 months agoAlways check if item is saved before removal attempt.
Christian Heller [Thu, 2 May 2024 00:14:53 +0000 (02:14 +0200)]
Always check if item is saved before removal attempt.

7 months agoImprove Condition tests and do minor fixes on the way.
Christian Heller [Thu, 2 May 2024 00:13:36 +0000 (02:13 +0200)]
Improve Condition tests and do minor fixes on the way.

7 months agoRefactor VersionedAttribute tests.
Christian Heller [Wed, 1 May 2024 23:17:42 +0000 (01:17 +0200)]
Refactor VersionedAttribute tests.

7 months agoMove VersionedAttributes code into appropriotely named module.
Christian Heller [Wed, 1 May 2024 23:11:36 +0000 (01:11 +0200)]
Move VersionedAttributes code into appropriotely named module.

7 months agoMinor code-stylistic improvements.
Christian Heller [Wed, 1 May 2024 22:31:26 +0000 (00:31 +0200)]
Minor code-stylistic improvements.

7 months agoUse higher resolution for VersionedAttribute.history timestamps, avoid conflicts...
Christian Heller [Wed, 1 May 2024 22:29:11 +0000 (00:29 +0200)]
Use higher resolution for VersionedAttribute.history timestamps, avoid conflicts by waiting that resolution for each new .set().

7 months agoRefactor Days tests.
Christian Heller [Wed, 1 May 2024 21:10:11 +0000 (23:10 +0200)]
Refactor Days tests.

7 months agoImprove Days tests.
Christian Heller [Wed, 1 May 2024 16:06:57 +0000 (18:06 +0200)]
Improve Days tests.

7 months agoRefactor BaseModel.by_id (integrating ._by_id).
Christian Heller [Wed, 1 May 2024 15:42:51 +0000 (17:42 +0200)]
Refactor BaseModel.by_id (integrating ._by_id).

7 months agoImprove __eq__ of BaseModel to compare all saved attributes; plus minor refactorings.
Christian Heller [Wed, 1 May 2024 15:26:59 +0000 (17:26 +0200)]
Improve __eq__ of BaseModel to compare all saved attributes; plus minor refactorings.

7 months agoMinor stylistic improvements to tests code.
Christian Heller [Mon, 29 Apr 2024 04:17:14 +0000 (06:17 +0200)]
Minor stylistic improvements to tests code.

7 months agoMinor tests refactoring.
Christian Heller [Mon, 29 Apr 2024 03:57:44 +0000 (05:57 +0200)]
Minor tests refactoring.

7 months agoFix Condition status not being saved on setting Todo.is_done from Day view.
Christian Heller [Mon, 29 Apr 2024 03:16:39 +0000 (05:16 +0200)]
Fix Condition status not being saved on setting Todo.is_done from Day view.

7 months agoEnable Condition.is_active toggling in Condition view.
Christian Heller [Mon, 29 Apr 2024 03:09:41 +0000 (05:09 +0200)]
Enable Condition.is_active toggling in Condition view.

7 months agoIn Day view, differentiate done and undone Todos, and collect doneness checkboxes.
Christian Heller [Mon, 29 Apr 2024 03:08:40 +0000 (05:08 +0200)]
In Day view, differentiate done and undone Todos, and collect doneness checkboxes.

7 months agoFix buggy Todo saving/removing.
Christian Heller [Mon, 29 Apr 2024 02:58:32 +0000 (04:58 +0200)]
Fix buggy Todo saving/removing.

7 months agoMinor tests refactoring.
Christian Heller [Sun, 28 Apr 2024 23:22:17 +0000 (01:22 +0200)]
Minor tests refactoring.

7 months agoEnable deletion of Todos.
Christian Heller [Sun, 28 Apr 2024 23:02:33 +0000 (01:02 +0200)]
Enable deletion of Todos.

7 months agoExtend Condition tests.
Christian Heller [Sun, 28 Apr 2024 22:53:54 +0000 (00:53 +0200)]
Extend Condition tests.

7 months agoDisallow deletion of Processes in use.
Christian Heller [Sun, 28 Apr 2024 22:46:46 +0000 (00:46 +0200)]
Disallow deletion of Processes in use.

7 months agoOn removal of Conditions and Processes, also delete their VersionedAttributes.
Christian Heller [Sun, 28 Apr 2024 22:37:18 +0000 (00:37 +0200)]
On removal of Conditions and Processes, also delete their VersionedAttributes.

7 months agoEnable deletion of Conditions.
Christian Heller [Sun, 28 Apr 2024 22:32:24 +0000 (00:32 +0200)]
Enable deletion of Conditions.

7 months agoImprove button layouts.
Christian Heller [Sun, 28 Apr 2024 22:07:30 +0000 (00:07 +0200)]
Improve button layouts.

7 months agoMinor refactoring.
Christian Heller [Sun, 28 Apr 2024 21:20:42 +0000 (23:20 +0200)]
Minor refactoring.

7 months agoPerform sensible redirects on POSTs.
Christian Heller [Sun, 28 Apr 2024 21:17:58 +0000 (23:17 +0200)]
Perform sensible redirects on POSTs.

7 months agoEnable deletion of Processes.
Christian Heller [Sun, 28 Apr 2024 20:00:24 +0000 (22:00 +0200)]
Enable deletion of Processes.

7 months agoRefactor object retrieval and creation.
Christian Heller [Thu, 25 Apr 2024 06:40:48 +0000 (08:40 +0200)]
Refactor object retrieval and creation.

7 months agoRe-order BaseModel methods for more meaningful grouping.
Christian Heller [Thu, 25 Apr 2024 05:12:41 +0000 (07:12 +0200)]
Re-order BaseModel methods for more meaningful grouping.

7 months agoFix bug of same dict being used for different Classes' caches.
Christian Heller [Thu, 25 Apr 2024 05:06:00 +0000 (07:06 +0200)]
Fix bug of same dict being used for different Classes' caches.

7 months agoRemove more redundant code.
Christian Heller [Thu, 25 Apr 2024 04:30:35 +0000 (06:30 +0200)]
Remove more redundant code.

7 months agoUse more meaningful variable names.
Christian Heller [Thu, 25 Apr 2024 04:12:07 +0000 (06:12 +0200)]
Use more meaningful variable names.

7 months agoRemove asserts no longer needed.
Christian Heller [Thu, 25 Apr 2024 04:07:25 +0000 (06:07 +0200)]
Remove asserts no longer needed.

7 months agoRe-write caching.
Christian Heller [Thu, 25 Apr 2024 03:38:31 +0000 (05:38 +0200)]
Re-write caching.

7 months agoCheck for database file's DB version (via user_version PRAGMA).
Christian Heller [Wed, 24 Apr 2024 23:52:46 +0000 (01:52 +0200)]
Check for database file's DB version (via user_version PRAGMA).

7 months agoMinor code style improvement re NamedTuple usage.
Christian Heller [Wed, 24 Apr 2024 17:47:49 +0000 (19:47 +0200)]
Minor code style improvement re NamedTuple usage.

8 months agoOn posting new Todo to Day, make missing Todo children not found through adoption.
Christian Heller [Mon, 22 Apr 2024 05:12:11 +0000 (07:12 +0200)]
On posting new Todo to Day, make missing Todo children not found through adoption.

8 months agoRefactor Todo adoption code.
Christian Heller [Mon, 22 Apr 2024 04:17:46 +0000 (06:17 +0200)]
Refactor Todo adoption code.

8 months agoOn posting a new Todo to a Day, auto-adopt existing ones per its Process' .explicit_s...
Christian Heller [Mon, 22 Apr 2024 03:56:14 +0000 (05:56 +0200)]
On posting a new Todo to a Day, auto-adopt existing ones per its Process' .explicit_steps.

8 months agoFix Process retrieval/display/saving bugs.
Christian Heller [Mon, 22 Apr 2024 03:32:47 +0000 (05:32 +0200)]
Fix Process retrieval/display/saving bugs.

8 months agoMinor fixes.
Christian Heller [Mon, 22 Apr 2024 02:38:49 +0000 (04:38 +0200)]
Minor fixes.

8 months agoSimplify code with namedtuples and dataclasses.
Christian Heller [Mon, 22 Apr 2024 01:52:44 +0000 (03:52 +0200)]
Simplify code with namedtuples and dataclasses.

8 months agoAllow Todo adoptions to be un-done in Todo view.
Christian Heller [Mon, 22 Apr 2024 00:13:39 +0000 (02:13 +0200)]
Allow Todo adoptions to be un-done in Todo view.

8 months agoImprove placement of Todos and Conditions in Day view.
Christian Heller [Sun, 21 Apr 2024 23:50:41 +0000 (01:50 +0200)]
Improve placement of Todos and Conditions in Day view.

8 months agoFurther refactor Conditions handling.
Christian Heller [Fri, 19 Apr 2024 06:08:06 +0000 (08:08 +0200)]
Further refactor Conditions handling.

8 months agoClean up enablers/disablers code and naming conventions.
Christian Heller [Fri, 19 Apr 2024 05:55:22 +0000 (07:55 +0200)]
Clean up enablers/disablers code and naming conventions.

8 months agoHide (almost all) remaining SQL code in DB module.
Christian Heller [Fri, 19 Apr 2024 05:26:01 +0000 (07:26 +0200)]
Hide (almost all) remaining SQL code in DB module.

8 months agoRefactor VersionedAttributes, ProcessSteps, and Conditions retrieval.
Christian Heller [Fri, 19 Apr 2024 04:46:11 +0000 (06:46 +0200)]
Refactor VersionedAttributes, ProcessSteps, and Conditions retrieval.

8 months agoRefactor updates of relations tables.
Christian Heller [Fri, 19 Apr 2024 04:14:25 +0000 (06:14 +0200)]
Refactor updates of relations tables.

8 months agoImprove consistency of DB column names.
Christian Heller [Fri, 19 Apr 2024 03:45:12 +0000 (05:45 +0200)]
Improve consistency of DB column names.

8 months agoRefactor models' .by_id().
Christian Heller [Fri, 19 Apr 2024 02:58:34 +0000 (04:58 +0200)]
Refactor models' .by_id().

8 months agoRefactor from_table_row methods of core DB models.
Christian Heller [Fri, 19 Apr 2024 00:20:33 +0000 (02:20 +0200)]
Refactor from_table_row methods of core DB models.

8 months agoBase core models on BaseModel providing sensible defaults.
Christian Heller [Thu, 18 Apr 2024 22:50:06 +0000 (00:50 +0200)]
Base core models on BaseModel providing sensible defaults.

8 months agoRefactor Process/ProcessStep setting and saving.
Christian Heller [Thu, 18 Apr 2024 20:28:51 +0000 (22:28 +0200)]
Refactor Process/ProcessStep setting and saving.

8 months agoRefactor HTTP module.
Christian Heller [Wed, 17 Apr 2024 15:35:45 +0000 (17:35 +0200)]
Refactor HTTP module.

8 months agoUnify ParamsParser and PostvarsParser to InputsParser.
Christian Heller [Tue, 16 Apr 2024 03:29:15 +0000 (05:29 +0200)]
Unify ParamsParser and PostvarsParser to InputsParser.

8 months agoSome test refactoring.
Christian Heller [Tue, 16 Apr 2024 02:29:43 +0000 (04:29 +0200)]
Some test refactoring.

8 months agoAdd Conditions for Todos/Processes to be met or undone by other Todos.
Christian Heller [Tue, 16 Apr 2024 01:08:54 +0000 (03:08 +0200)]
Add Conditions for Todos/Processes to be met or undone by other Todos.

8 months agoMinor refactoring.
Christian Heller [Sat, 13 Apr 2024 02:43:07 +0000 (04:43 +0200)]
Minor refactoring.

8 months agoDisable Todo.is_done setting if children are not done yet.
Christian Heller [Sat, 13 Apr 2024 02:25:36 +0000 (04:25 +0200)]
Disable Todo.is_done setting if children are not done yet.

8 months agoEnable toggling of Todo.is_done.
Christian Heller [Sat, 13 Apr 2024 01:40:17 +0000 (03:40 +0200)]
Enable toggling of Todo.is_done.

8 months agoAdd Todo.parents.
Christian Heller [Sat, 13 Apr 2024 01:20:33 +0000 (03:20 +0200)]
Add Todo.parents.

8 months agoAdd most basic Todo family relations.
Christian Heller [Sat, 13 Apr 2024 00:25:23 +0000 (02:25 +0200)]
Add most basic Todo family relations.

8 months agoCache DB objects to ensure we do not accidentally edit clones.
Christian Heller [Fri, 12 Apr 2024 22:00:58 +0000 (00:00 +0200)]
Cache DB objects to ensure we do not accidentally edit clones.

8 months agoAdd GET /todo and Todo retrieval by ID.
Christian Heller [Fri, 12 Apr 2024 20:17:25 +0000 (22:17 +0200)]
Add GET /todo and Todo retrieval by ID.

8 months agoAdd most basic Todo infrastructure.
Christian Heller [Fri, 12 Apr 2024 19:50:19 +0000 (21:50 +0200)]
Add most basic Todo infrastructure.

8 months agoDisplay what Processes use focused Process as ProcessStep.
Christian Heller [Wed, 10 Apr 2024 05:10:05 +0000 (07:10 +0200)]
Display what Processes use focused Process as ProcessStep.

8 months agoHide already-seen descendants of implicit ProcessSteps.
Christian Heller [Wed, 10 Apr 2024 04:36:15 +0000 (06:36 +0200)]
Hide already-seen descendants of implicit ProcessSteps.

8 months agoFrom Process template remove now unneeded safeguard against endless step trees.
Christian Heller [Wed, 10 Apr 2024 03:59:56 +0000 (05:59 +0200)]
From Process template remove now unneeded safeguard against endless step trees.

8 months agoFrom Process view, remove step addition field in illegal position.
Christian Heller [Wed, 10 Apr 2024 03:59:19 +0000 (05:59 +0200)]
From Process view, remove step addition field in illegal position.

8 months agoReplace ProcessChildren with more flexible ProcessStep infrastructure.
Christian Heller [Wed, 10 Apr 2024 01:24:03 +0000 (03:24 +0200)]
Replace ProcessChildren with more flexible ProcessStep infrastructure.

8 months agoFix Process.get_descendants eliminating sibling references to same Process.id_.
Christian Heller [Tue, 2 Apr 2024 01:17:31 +0000 (03:17 +0200)]
Fix Process.get_descendants eliminating sibling references to same Process.id_.

8 months agoEnsure DB connections are closed even on erroneous/failing HTTP requests.
Christian Heller [Tue, 2 Apr 2024 00:36:26 +0000 (02:36 +0200)]
Ensure DB connections are closed even on erroneous/failing HTTP requests.

8 months agoDraw Process descendant trees, and guard against recursion within them.
Christian Heller [Tue, 2 Apr 2024 00:35:20 +0000 (02:35 +0200)]
Draw Process descendant trees, and guard against recursion within them.

8 months agoAdd Process.children and improve Params/Postvars parsing and testing.
Christian Heller [Sat, 30 Mar 2024 06:14:40 +0000 (07:14 +0100)]
Add Process.children and improve Params/Postvars parsing and testing.

8 months agoCatch POSTs to undefined targets, expand and refactor tests.
Christian Heller [Wed, 27 Mar 2024 04:34:30 +0000 (05:34 +0100)]
Catch POSTs to undefined targets, expand and refactor tests.

8 months agoMinor code documentation changes.
Christian Heller [Wed, 27 Mar 2024 03:54:34 +0000 (04:54 +0100)]
Minor code documentation changes.

8 months agoIn HTTP module, wrap params parsing into ParamsParser.
Christian Heller [Wed, 27 Mar 2024 03:49:01 +0000 (04:49 +0100)]
In HTTP module, wrap params parsing into ParamsParser.

8 months agoFix module description.
Christian Heller [Wed, 27 Mar 2024 03:18:14 +0000 (04:18 +0100)]
Fix module description.

8 months agoAdd PostvarsParser to isolate postvars parsing/checking.
Christian Heller [Wed, 27 Mar 2024 02:29:03 +0000 (03:29 +0100)]
Add PostvarsParser to isolate postvars parsing/checking.

8 months agoExtend POST tests, and handling of missing form data.
Christian Heller [Wed, 27 Mar 2024 01:33:28 +0000 (02:33 +0100)]
Extend POST tests, and handling of missing form data.

8 months agoAdd test for nonsensical pages triggering 404.
Christian Heller [Wed, 27 Mar 2024 01:07:53 +0000 (02:07 +0100)]
Add test for nonsensical pages triggering 404.

8 months agoRemove unnecessary DB commit.
Christian Heller [Wed, 27 Mar 2024 01:06:06 +0000 (02:06 +0100)]
Remove unnecessary DB commit.

8 months agoRedirect / to /day, throw informative Exception on other unknown paths.
Christian Heller [Wed, 27 Mar 2024 01:04:52 +0000 (02:04 +0100)]
Redirect / to /day, throw informative Exception on other unknown paths.

8 months agoIn template views, add links to Day and Process creation.
Christian Heller [Wed, 27 Mar 2024 00:49:57 +0000 (01:49 +0100)]
In template views, add links to Day and Process creation.

8 months agoExplicitly disallow Process(id_=0).
Christian Heller [Wed, 27 Mar 2024 00:45:10 +0000 (01:45 +0100)]
Explicitly disallow Process(id_=0).