home · contact · privacy
plomtask
4 months agoRename decorators for clearer meaning.
Christian Heller [Fri, 12 Jul 2024 04:02:39 +0000 (06:02 +0200)]
Rename decorators for clearer meaning.

4 months agoOn BaseModel.sort_by, always sort by .id_ first, for predictability.
Christian Heller [Fri, 12 Jul 2024 00:31:25 +0000 (02:31 +0200)]
On BaseModel.sort_by, always sort by .id_ first, for predictability.

4 months agoLots of refactoring.
Christian Heller [Thu, 11 Jul 2024 15:12:53 +0000 (17:12 +0200)]
Lots of refactoring.

4 months agoRun VersionedAttributes tests over all models.
Christian Heller [Thu, 11 Jul 2024 05:34:11 +0000 (07:34 +0200)]
Run VersionedAttributes tests over all models.

4 months agoMinor test code improvements.
Christian Heller [Thu, 11 Jul 2024 02:19:44 +0000 (04:19 +0200)]
Minor test code improvements.

4 months agoSlightly improve and re-organize Condition tests.
Christian Heller [Sat, 22 Jun 2024 02:53:16 +0000 (04:53 +0200)]
Slightly improve and re-organize Condition tests.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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

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

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