home · contact · privacy
plomtask
4 months agoSome tests refactoring.
Christian Heller [Thu, 20 Jun 2024 21:29:25 +0000 (23:29 +0200)]
Some tests refactoring.

4 months agoTurn TodoNode into full class with .as_dict, with result expand Day tests.
Christian Heller [Thu, 20 Jun 2024 21:03:06 +0000 (23:03 +0200)]
Turn TodoNode into full class with .as_dict, with result expand Day tests.

4 months agoOverhaul as_dict generation to avoid endless nesting of objects.
Christian Heller [Thu, 20 Jun 2024 20:36:36 +0000 (22:36 +0200)]
Overhaul as_dict generation to avoid endless nesting of objects.

4 months agoRefactor tests, expand Days testing.
Christian Heller [Thu, 20 Jun 2024 11:50:50 +0000 (13:50 +0200)]
Refactor tests, expand Days testing.

4 months agoReduce CSS magic in Day template for Condition-Todo lines to ASCII art.
Christian Heller [Thu, 20 Jun 2024 08:56:22 +0000 (10:56 +0200)]
Reduce CSS magic in Day template for Condition-Todo lines to ASCII art.

4 months agoIn Day template, improve visual connection between Conditions and Todos.
Christian Heller [Thu, 20 Jun 2024 08:11:11 +0000 (10:11 +0200)]
In Day template, improve visual connection between Conditions and Todos.

4 months agoRemove and shrink tests under redundancy with test utils defaults.
Christian Heller [Tue, 18 Jun 2024 08:57:27 +0000 (10:57 +0200)]
Remove and shrink tests under redundancy with test utils defaults.

4 months agoRe-factor TestCaseSansDB methods.
Christian Heller [Tue, 18 Jun 2024 08:40:02 +0000 (10:40 +0200)]
Re-factor TestCaseSansDB methods.

4 months agoExtend BaseModel.by_id_or_create test.
Christian Heller [Tue, 18 Jun 2024 08:22:59 +0000 (10:22 +0200)]
Extend BaseModel.by_id_or_create test.

4 months agoRefactor remaining test.utils helpers into actual tests.
Christian Heller [Tue, 18 Jun 2024 08:05:18 +0000 (10:05 +0200)]
Refactor remaining test.utils helpers into actual tests.

4 months agoRefactor saving and caching tests, treatment of None IDs.
Christian Heller [Tue, 18 Jun 2024 05:02:04 +0000 (07:02 +0200)]
Refactor saving and caching tests, treatment of None IDs.

4 months agoSplit BaseModel.by_id into .by_id and by_id_or_create, refactor tests.
Christian Heller [Tue, 18 Jun 2024 02:37:57 +0000 (04:37 +0200)]
Split BaseModel.by_id into .by_id and by_id_or_create, refactor tests.

4 months agoSome test utils refactoring.
Christian Heller [Tue, 18 Jun 2024 01:58:37 +0000 (03:58 +0200)]
Some test utils refactoring.

4 months agoRefactor .all() tests.
Christian Heller [Tue, 18 Jun 2024 01:46:20 +0000 (03:46 +0200)]
Refactor .all() tests.

4 months agoRefactor singularity tests.
Christian Heller [Tue, 18 Jun 2024 00:05:43 +0000 (02:05 +0200)]
Refactor singularity tests.

4 months agoRefactor BaseModel.from_table_row testing.
Christian Heller [Mon, 17 Jun 2024 23:54:46 +0000 (01:54 +0200)]
Refactor BaseModel.from_table_row testing.

4 months agoOn cache emptying, also ._disappear() any objects held in it.
Christian Heller [Mon, 17 Jun 2024 23:03:19 +0000 (01:03 +0200)]
On cache emptying, also ._disappear() any objects held in it.

4 months agoRefactor BaseModel.from_table_row in regards to VersionedAttributes.
Christian Heller [Mon, 17 Jun 2024 21:28:13 +0000 (23:28 +0200)]
Refactor BaseModel.from_table_row in regards to VersionedAttributes.

4 months agoFix pre-commit script failing to delete test DBs based on new filename format.
Christian Heller [Mon, 17 Jun 2024 21:16:38 +0000 (23:16 +0200)]
Fix pre-commit script failing to delete test DBs based on new filename format.

4 months agoSimplify JSON-ification of VersionedAttributes.
Christian Heller [Mon, 17 Jun 2024 21:15:48 +0000 (23:15 +0200)]
Simplify JSON-ification of VersionedAttributes.

4 months agoRefactor Conditions GET/POST testing.
Christian Heller [Mon, 17 Jun 2024 20:29:25 +0000 (22:29 +0200)]
Refactor Conditions GET/POST testing.

4 months agoExtend Conditions POST test to use new JSON interface.
Christian Heller [Mon, 17 Jun 2024 18:33:51 +0000 (20:33 +0200)]
Extend Conditions POST test to use new JSON interface.

4 months agoMake use of new JSON interface for GET /conditions testing.
Christian Heller [Mon, 17 Jun 2024 13:14:07 +0000 (15:14 +0200)]
Make use of new JSON interface for GET /conditions testing.

4 months agoFix Condition POSTing not properly setting .is_active.
Christian Heller [Mon, 17 Jun 2024 12:39:26 +0000 (14:39 +0200)]
Fix Condition POSTing not properly setting .is_active.

4 months agoDefault all GET ?sort_by= to "title" also in params-re-writing.
Christian Heller [Mon, 17 Jun 2024 12:17:19 +0000 (14:17 +0200)]
Default all GET ?sort_by= to "title" also in params-re-writing.

4 months agoExtend Todo tests to also run ID checking from TestCaseSansDB.
Christian Heller [Mon, 17 Jun 2024 12:15:11 +0000 (14:15 +0200)]
Extend Todo tests to also run ID checking from TestCaseSansDB.

4 months agoFix misguiding parent ID key name in VersionedAttributes.as_dict.
Christian Heller [Mon, 17 Jun 2024 12:14:03 +0000 (14:14 +0200)]
Fix misguiding parent ID key name in VersionedAttributes.as_dict.

5 months agoEnable server to alternatively output response ctx as JSON, for debugging and testing...
Christian Heller [Sat, 15 Jun 2024 08:47:11 +0000 (10:47 +0200)]
Enable server to alternatively output response ctx as JSON, for debugging and testing purposes.

5 months agoMinor HTTP module refactoring.
Christian Heller [Sat, 15 Jun 2024 06:39:46 +0000 (08:39 +0200)]
Minor HTTP module refactoring.

5 months agoOverhaul caching.
Christian Heller [Sat, 15 Jun 2024 05:37:55 +0000 (07:37 +0200)]
Overhaul caching.

5 months agoMinor BaseModel code re-organization.
Christian Heller [Fri, 14 Jun 2024 21:06:09 +0000 (23:06 +0200)]
Minor BaseModel code re-organization.

5 months agoEnhance BaseModel comparisons by hashing versioned and relations attributes.
Christian Heller [Fri, 14 Jun 2024 18:37:44 +0000 (20:37 +0200)]
Enhance BaseModel comparisons by hashing versioned and relations attributes.

5 months agoEnsure stringy BaseModel IDs are not empty.
Christian Heller [Fri, 14 Jun 2024 18:12:16 +0000 (20:12 +0200)]
Ensure stringy BaseModel IDs are not empty.

5 months agoRefactor database management code a little bit.
Christian Heller [Fri, 14 Jun 2024 18:03:37 +0000 (20:03 +0200)]
Refactor database management code a little bit.

5 months agoRe-factor Day.todos code.
Christian Heller [Fri, 14 Jun 2024 13:53:33 +0000 (15:53 +0200)]
Re-factor Day.todos code.

5 months agoInitialize Days with links to their Todos as early as possible.
Christian Heller [Fri, 14 Jun 2024 13:17:19 +0000 (15:17 +0200)]
Initialize Days with links to their Todos as early as possible.

5 months agoAvoid race condition of test databases created with same timestamp.
Christian Heller [Fri, 14 Jun 2024 12:27:57 +0000 (14:27 +0200)]
Avoid race condition of test databases created with same timestamp.

5 months agoRefactor total-effort day summation.
Christian Heller [Fri, 14 Jun 2024 12:26:11 +0000 (14:26 +0200)]
Refactor total-effort day summation.

5 months agoPrivatize more methods and attributes of TaskHandler.
Christian Heller [Thu, 13 Jun 2024 23:53:42 +0000 (01:53 +0200)]
Privatize more methods and attributes of TaskHandler.

5 months agoRe-organize HTTP module code for better readability.
Christian Heller [Thu, 13 Jun 2024 23:43:49 +0000 (01:43 +0200)]
Re-organize HTTP module code for better readability.

5 months agoImprove clarity of request wrapping code.
Christian Heller [Thu, 13 Jun 2024 23:31:00 +0000 (01:31 +0200)]
Improve clarity of request wrapping code.

5 months agoRefactor HTTP module.
Christian Heller [Wed, 12 Jun 2024 08:25:10 +0000 (10:25 +0200)]
Refactor HTTP module.

5 months agoImprove InputsParser tests.
Christian Heller [Wed, 12 Jun 2024 06:20:33 +0000 (08:20 +0200)]
Improve InputsParser tests.

5 months agoMinor TaskHandler re-factorings.
Christian Heller [Wed, 12 Jun 2024 05:45:07 +0000 (07:45 +0200)]
Minor TaskHandler re-factorings.

5 months agoCreate choice for creating Todos with or without children.
Christian Heller [Wed, 12 Jun 2024 01:53:10 +0000 (03:53 +0200)]
Create choice for creating Todos with or without children.

5 months agoOverhaul Todo view to underline difference to ProcessSteps.
Christian Heller [Wed, 12 Jun 2024 00:37:43 +0000 (02:37 +0200)]
Overhaul Todo view to underline difference to ProcessSteps.

5 months agoTemplate layout and code improvements.
Christian Heller [Tue, 11 Jun 2024 19:35:05 +0000 (21:35 +0200)]
Template layout and code improvements.

5 months agoSimplify and improve previous bugfix.
Christian Heller [Sun, 9 Jun 2024 05:30:46 +0000 (07:30 +0200)]
Simplify and improve previous bugfix.

5 months agoFix inability of updating Todo if .is_done but no more doable.
Christian Heller [Sun, 9 Jun 2024 05:23:52 +0000 (07:23 +0200)]
Fix inability of updating Todo if .is_done but no more doable.

5 months agoAdd expression of summations of efforts in Day display.
Christian Heller [Sun, 9 Jun 2024 02:31:20 +0000 (04:31 +0200)]
Add expression of summations of efforts in Day display.

5 months agoExtend default date range to full year.
Christian Heller [Sun, 9 Jun 2024 02:06:58 +0000 (04:06 +0200)]
Extend default date range to full year.

5 months agoAllow editing of VersionedAttributes timestamps.
Christian Heller [Sun, 9 Jun 2024 01:30:48 +0000 (03:30 +0200)]
Allow editing of VersionedAttributes timestamps.

5 months agoSome Day template layout improvements.
Christian Heller [Sat, 8 Jun 2024 20:23:19 +0000 (22:23 +0200)]
Some Day template layout improvements.

5 months agoImprove multiple template layouts and refactor CSS.
Christian Heller [Sat, 8 Jun 2024 19:04:07 +0000 (21:04 +0200)]
Improve multiple template layouts and refactor CSS.

5 months agoImprove Process editing template layout.
Christian Heller [Sat, 8 Jun 2024 13:54:22 +0000 (15:54 +0200)]
Improve Process editing template layout.

5 months agoAdd minimalist plain-text calendar view.
Christian Heller [Thu, 6 Jun 2024 06:20:22 +0000 (08:20 +0200)]
Add minimalist plain-text calendar view.

5 months agoAllow creation of new Todos rather than just adoption from Todo edit view.
Christian Heller [Thu, 6 Jun 2024 05:30:02 +0000 (07:30 +0200)]
Allow creation of new Todos rather than just adoption from Todo edit view.

5 months agoFix Processes listing sorting bug.
Christian Heller [Thu, 6 Jun 2024 05:02:43 +0000 (07:02 +0200)]
Fix Processes listing sorting bug.

5 months agoAdd previously forgotten migration script.
Christian Heller [Thu, 6 Jun 2024 04:24:45 +0000 (06:24 +0200)]
Add previously forgotten migration script.

5 months agoTo Processes listing, add sortable column for number of owners.
Christian Heller [Thu, 6 Jun 2024 04:23:57 +0000 (06:23 +0200)]
To Processes listing, add sortable column for number of owners.

5 months agoAlso allow creation of new Processes as owner of current Process, with respective...
Christian Heller [Thu, 6 Jun 2024 03:39:39 +0000 (05:39 +0200)]
Also allow creation of new Processes as owner of current Process, with respective back-link.

5 months agoWhen opening new Process from ProcessStep add field, pre-set as owned by previous...
Christian Heller [Thu, 6 Jun 2024 03:15:12 +0000 (05:15 +0200)]
When opening new Process from ProcessStep add field, pre-set as owned by previous Process.

5 months agoAllow (de-)selection of owners in Process edit view.
Christian Heller [Thu, 6 Jun 2024 02:39:12 +0000 (04:39 +0200)]
Allow (de-)selection of owners in Process edit view.

5 months agoFor Processes and Conditions, in edit page title warn if creation NEW.
Christian Heller [Thu, 6 Jun 2024 01:54:54 +0000 (03:54 +0200)]
For Processes and Conditions, in edit page title warn if creation NEW.

5 months agoAllow string entry to step addition field, opening new Process to edit.
Christian Heller [Thu, 6 Jun 2024 01:47:19 +0000 (03:47 +0200)]
Allow string entry to step addition field, opening new Process to edit.

5 months agoMinor ProcessStep management bug fixes.
Christian Heller [Thu, 6 Jun 2024 01:16:34 +0000 (03:16 +0200)]
Minor ProcessStep management bug fixes.

5 months agoAdd suppression of implicit ProcessSteps to Process configuration.
Christian Heller [Thu, 6 Jun 2024 00:26:29 +0000 (02:26 +0200)]
Add suppression of implicit ProcessSteps to Process configuration.

5 months agoRefactor ProcessStep code and undo replacement of implicit steps by explicit ones.
Christian Heller [Wed, 5 Jun 2024 22:07:45 +0000 (00:07 +0200)]
Refactor ProcessStep code and undo replacement of implicit steps by explicit ones.

5 months agoMake explicit ProcessSteps overwrite implicit ones.
Christian Heller [Wed, 5 Jun 2024 18:02:32 +0000 (20:02 +0200)]
Make explicit ProcessSteps overwrite implicit ones.

5 months agoImprove day done tree display.
Christian Heller [Wed, 5 Jun 2024 17:18:04 +0000 (19:18 +0200)]
Improve day done tree display.

5 months agoMinor template improvements.
Christian Heller [Mon, 3 Jun 2024 02:54:58 +0000 (04:54 +0200)]
Minor template improvements.

5 months agoTo Processes listing, add sortable effort column.
Christian Heller [Mon, 3 Jun 2024 02:22:17 +0000 (04:22 +0200)]
To Processes listing, add sortable effort column.

5 months agoEnhance layouts.
Christian Heller [Mon, 3 Jun 2024 02:16:48 +0000 (04:16 +0200)]
Enhance layouts.

5 months agoRemove accidentally committed file garbage.
Christian Heller [Mon, 3 Jun 2024 02:15:50 +0000 (04:15 +0200)]
Remove accidentally committed file garbage.

5 months agoFix bug of relationships writing for todo_children writing in wrong column.
Christian Heller [Sun, 2 Jun 2024 22:50:35 +0000 (00:50 +0200)]
Fix bug of relationships writing for todo_children writing in wrong column.

5 months agoMostly superficial template design improvements.
Christian Heller [Sun, 2 Jun 2024 21:00:54 +0000 (23:00 +0200)]
Mostly superficial template design improvements.

5 months agoImprove/extend automatic creation and adoption of Todos to fulfill ProcessSteps requi...
Christian Heller [Sun, 2 Jun 2024 15:38:54 +0000 (17:38 +0200)]
Improve/extend automatic creation and adoption of Todos to fulfill ProcessSteps requirements.

5 months agoFix some ProcessStepping bugs.
Christian Heller [Thu, 30 May 2024 10:00:58 +0000 (12:00 +0200)]
Fix some ProcessStepping bugs.

5 months agoMinor template fixes.
Christian Heller [Thu, 30 May 2024 08:06:59 +0000 (10:06 +0200)]
Minor template fixes.

5 months agoIn Calendar view, highlight today's date.
Christian Heller [Thu, 30 May 2024 07:09:33 +0000 (09:09 +0200)]
In Calendar view, highlight today's date.

5 months agoDefault calendar date range end to 60 days later.
Christian Heller [Thu, 30 May 2024 07:05:17 +0000 (09:05 +0200)]
Default calendar date range end to 60 days later.

5 months agoRe-factor date ranging and default to range 'yesterday' to 'tomorrow'.
Christian Heller [Thu, 30 May 2024 06:57:46 +0000 (08:57 +0200)]
Re-factor date ranging and default to range 'yesterday' to 'tomorrow'.

5 months agoFor date range inputs, allow "yesterday" and "tomorrow" next to "today".
Christian Heller [Thu, 30 May 2024 06:17:54 +0000 (08:17 +0200)]
For date range inputs, allow "yesterday" and "tomorrow" next to "today".

5 months agoUse same date ranging code for Day and Todo filtering.
Christian Heller [Thu, 30 May 2024 06:12:33 +0000 (08:12 +0200)]
Use same date ranging code for Day and Todo filtering.

5 months agoFix broken date range test.
Christian Heller [Thu, 30 May 2024 05:23:41 +0000 (07:23 +0200)]
Fix broken date range test.

5 months agoFix pre-commit hook not aborting commit on failed unit tests.
Christian Heller [Thu, 30 May 2024 05:20:33 +0000 (07:20 +0200)]
Fix pre-commit hook not aborting commit on failed unit tests.

5 months agoIn calendar day gap filling, ensure days before and after existing days.
Christian Heller [Thu, 30 May 2024 05:15:53 +0000 (07:15 +0200)]
In calendar day gap filling, ensure days before and after existing days.

5 months agoFix buggy links in Condition view.
Christian Heller [Thu, 30 May 2024 04:57:09 +0000 (06:57 +0200)]
Fix buggy links in Condition view.

5 months agoTo Condition view, add listings of related Processes.
Christian Heller [Thu, 30 May 2024 04:55:31 +0000 (06:55 +0200)]
To Condition view, add listings of related Processes.

5 months agoDisplay historical VersionedAttributes where it makes sense.
Christian Heller [Thu, 30 May 2024 04:12:35 +0000 (06:12 +0200)]
Display historical VersionedAttributes where it makes sense.

5 months agoIn pre-commit hook, re-instate deletion of test DB files.
Christian Heller [Thu, 30 May 2024 04:11:32 +0000 (06:11 +0200)]
In pre-commit hook, re-instate deletion of test DB files.

5 months agoSpeed up testing with unittest-parallel.
Christian Heller [Thu, 30 May 2024 03:01:58 +0000 (05:01 +0200)]
Speed up testing with unittest-parallel.

5 months agoAdd Todos view, filterable and sortable by process, date, comment, etc.
Christian Heller [Thu, 30 May 2024 02:49:57 +0000 (04:49 +0200)]
Add Todos view, filterable and sortable by process, date, comment, etc.

5 months agoNest Todo creation by adopting and making children as needed.
Christian Heller [Thu, 30 May 2024 01:28:35 +0000 (03:28 +0200)]
Nest Todo creation by adopting and making children as needed.

5 months agoOn pre-commit hook run, clean up potential test db files.
Christian Heller [Wed, 29 May 2024 21:30:51 +0000 (23:30 +0200)]
On pre-commit hook run, clean up potential test db files.

5 months agoFix minor ProcessStep POST handling bugs.
Christian Heller [Tue, 21 May 2024 03:53:37 +0000 (05:53 +0200)]
Fix minor ProcessStep POST handling bugs.

5 months agoAdd text-based search/filter for Conditions and Processes.
Christian Heller [Tue, 21 May 2024 02:29:54 +0000 (04:29 +0200)]
Add text-based search/filter for Conditions and Processes.

5 months agoAdd Todo/Process.blockers for Conditions that block rather than enable.
Christian Heller [Tue, 21 May 2024 00:30:23 +0000 (02:30 +0200)]
Add Todo/Process.blockers for Conditions that block rather than enable.

5 months agoFor Todos, on Save check for auto-deletion by .effort < 0, and on removal check if...
Christian Heller [Mon, 20 May 2024 23:50:36 +0000 (01:50 +0200)]
For Todos, on Save check for auto-deletion by .effort < 0, and on removal check if nothing worth preserving would be lost.

5 months agoFix broken Day template layout.
Christian Heller [Sat, 18 May 2024 06:08:43 +0000 (08:08 +0200)]
Fix broken Day template layout.