home · contact · privacy
plomtask
8 hours agoSlightly improve and re-organize Condition tests. master
Christian Heller [Sat, 22 Jun 2024 02:53:16 +0000 (04:53 +0200)]
Slightly improve and re-organize Condition tests.

8 hours agoExpand GET /process and /processes tests.
Christian Heller [Sat, 22 Jun 2024 02:52:26 +0000 (04:52 +0200)]
Expand GET /process and /processes tests.

8 hours agoAdapt tests to new cache emptying reality.
Christian Heller [Sat, 22 Jun 2024 02:51:52 +0000 (04:51 +0200)]
Adapt tests to new cache emptying reality.

8 hours agoIn GET /process handler, catch malformed ?title_b64= params.
Christian Heller [Sat, 22 Jun 2024 02:49:29 +0000 (04:49 +0200)]
In GET /process handler, catch malformed ?title_b64= params.

8 hours agoEmpty cache more often to avoid race conditions.
Christian Heller [Sat, 22 Jun 2024 02:43:08 +0000 (04:43 +0200)]
Empty cache more often to avoid race conditions.

12 hours agoRefactor BaseModel sorting from GET handlers into class definitions.
Christian Heller [Fri, 21 Jun 2024 22:16:33 +0000 (00:16 +0200)]
Refactor BaseModel sorting from GET handlers into class definitions.

13 hours agoMinor reorganization of GET handlers code.
Christian Heller [Fri, 21 Jun 2024 21:46:25 +0000 (23:46 +0200)]
Minor reorganization of GET handlers code.

13 hours agoGreatly expand GET /calendar tests.
Christian Heller [Fri, 21 Jun 2024 21:31:35 +0000 (23:31 +0200)]
Greatly expand GET /calendar tests.

13 hours agoFuse Day.by_id_or_create and Day.by_id, as valid_date call in the first one fits...
Christian Heller [Fri, 21 Jun 2024 21:29:18 +0000 (23:29 +0200)]
Fuse Day.by_id_or_create and Day.by_id, as valid_date call in the first one fits better into the second.

16 hours agoRe-organize and extend/improve POST/GET /day tests.
Christian Heller [Fri, 21 Jun 2024 18:18:24 +0000 (20:18 +0200)]
Re-organize and extend/improve POST/GET /day tests.

18 hours agoRe-organize and extend POST/GET /day tests.
Christian Heller [Fri, 21 Jun 2024 16:50:53 +0000 (18:50 +0200)]
Re-organize and extend POST/GET /day tests.

18 hours agoAvoid confusing Day.by_id_or_create by always translating dating string first, so...
Christian Heller [Fri, 21 Jun 2024 16:26:04 +0000 (18:26 +0200)]
Avoid confusing Day.by_id_or_create by always translating dating string first, so a look-up for "today" or so does not ignore the date equivalents.

19 hours agoExtend POST /day testing.
Christian Heller [Fri, 21 Jun 2024 15:40:09 +0000 (17:40 +0200)]
Extend POST /day testing.

19 hours agoImprove POST /day input validation.
Christian Heller [Fri, 21 Jun 2024 15:37:33 +0000 (17:37 +0200)]
Improve POST /day input validation.

20 hours agoClean up and extend /condition[s] GET/POST tests.
Christian Heller [Fri, 21 Jun 2024 14:29:15 +0000 (16:29 +0200)]
Clean up and extend /condition[s] GET/POST tests.

21 hours agoRefactor request handler identifying items by ID param on GET.
Christian Heller [Fri, 21 Jun 2024 13:26:37 +0000 (15:26 +0200)]
Refactor request handler identifying items by ID param on GET.

22 hours agoTidy up (even if pylint disapproves) unwieldy POST handlers code.
Christian Heller [Fri, 21 Jun 2024 12:02:22 +0000 (14:02 +0200)]
Tidy up (even if pylint disapproves) unwieldy POST handlers code.

30 hours agoRefactor request handler delete or retrieving items on POST.
Christian Heller [Fri, 21 Jun 2024 04:18:54 +0000 (06:18 +0200)]
Refactor request handler delete or retrieving items on POST.

31 hours agoRefactor .as_dict integration of Process.explicit_steps, Day.todos.
Christian Heller [Fri, 21 Jun 2024 02:58:56 +0000 (04:58 +0200)]
Refactor .as_dict integration of Process.explicit_steps, Day.todos.

32 hours agoMore tests refactoring.
Christian Heller [Fri, 21 Jun 2024 02:35:22 +0000 (04:35 +0200)]
More tests refactoring.

32 hours agoMinor refactoring of Days tests.
Christian Heller [Fri, 21 Jun 2024 02:07:07 +0000 (04:07 +0200)]
Minor refactoring of Days tests.

33 hours agoRename "condition"/"blocker" input names to plurals, like they are everywhere else.
Christian Heller [Fri, 21 Jun 2024 01:47:34 +0000 (03:47 +0200)]
Rename "condition"/"blocker" input names to plurals, like they are everywhere else.

34 hours agoExtend Days test to behavior of Conditions.
Christian Heller [Fri, 21 Jun 2024 00:29:39 +0000 (02:29 +0200)]
Extend Days test to behavior of Conditions.

34 hours agoFix disablers_for/enablers_for in GET_day breaking as_dict.
Christian Heller [Fri, 21 Jun 2024 00:28:16 +0000 (02:28 +0200)]
Fix disablers_for/enablers_for in GET_day breaking as_dict.

37 hours agoMore Days HTTP testing refactoring.
Christian Heller [Thu, 20 Jun 2024 21:42:45 +0000 (23:42 +0200)]
More Days HTTP testing refactoring.

37 hours agoSome tests refactoring.
Christian Heller [Thu, 20 Jun 2024 21:29:25 +0000 (23:29 +0200)]
Some tests refactoring.

37 hours 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.

38 hours 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.

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

2 days 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.

2 days 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 days 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 days agoRe-factor TestCaseSansDB methods.
Christian Heller [Tue, 18 Jun 2024 08:40:02 +0000 (10:40 +0200)]
Re-factor TestCaseSansDB methods.

4 days 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 days 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 days 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 days 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 days agoSome test utils refactoring.
Christian Heller [Tue, 18 Jun 2024 01:58:37 +0000 (03:58 +0200)]
Some test utils refactoring.

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

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

4 days 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 days 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 days 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 days 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 days agoSimplify JSON-ification of VersionedAttributes.
Christian Heller [Mon, 17 Jun 2024 21:15:48 +0000 (23:15 +0200)]
Simplify JSON-ification of VersionedAttributes.

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

4 days 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 days 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 days 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 days 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 days 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 days 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.

7 days 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.

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

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

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

7 days 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.

7 days 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.

7 days 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.

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

7 days 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.

7 days 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.

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

8 days 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.

8 days 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.

8 days 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.

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

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

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

10 days 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.

10 days 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.

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

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

13 days 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.

13 days 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.

13 days 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.

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

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

13 days 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.

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

2 weeks 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.

2 weeks 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.

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

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

2 weeks 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.

2 weeks 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.

2 weeks 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.

2 weeks 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.

2 weeks 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.

2 weeks 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.

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

2 weeks 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.

2 weeks 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.

2 weeks 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.

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

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

2 weeks 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.

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

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

2 weeks 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.