home · contact · privacy
plomtask
36 hours agoFix broken ProcessStep processing.
Christian Heller [Tue, 24 Dec 2024 07:25:14 +0000 (08:25 +0100)]
Fix broken ProcessStep processing.

46 hours agoFix broken ProcessStep suppression.
Christian Heller [Mon, 23 Dec 2024 21:08:30 +0000 (22:08 +0100)]
Fix broken ProcessStep suppression.

3 months agoSome work on tests, kinda unfinished.
Christian Heller [Wed, 28 Aug 2024 02:40:29 +0000 (04:40 +0200)]
Some work on tests, kinda unfinished.

4 months agoSome test clean-ups.
Christian Heller [Mon, 19 Aug 2024 05:08:58 +0000 (07:08 +0200)]
Some test clean-ups.

4 months agoMinor test improvements/expansions/refactorings.
Christian Heller [Sun, 18 Aug 2024 13:46:13 +0000 (15:46 +0200)]
Minor test improvements/expansions/refactorings.

4 months agoFor various boolean settings, treat absence of form POST as setting False.
Christian Heller [Fri, 16 Aug 2024 01:35:34 +0000 (03:35 +0200)]
For various boolean settings, treat absence of form POST as setting False.

4 months agoExtend and refactor tests.
Christian Heller [Tue, 13 Aug 2024 04:24:05 +0000 (06:24 +0200)]
Extend and refactor tests.

4 months agoFix bug of /day POSTS breaking on empty new_todo fields.
Christian Heller [Mon, 12 Aug 2024 13:24:39 +0000 (15:24 +0200)]
Fix bug of /day POSTS breaking on empty new_todo fields.

4 months agoHarmonize treatment of GET /[item]?id=.
Christian Heller [Mon, 12 Aug 2024 11:58:27 +0000 (13:58 +0200)]
Harmonize treatment of GET /[item]?id=.

4 months agoSet 'is_new' even when provided not-yet-existing ID, adapt and fix tests.
Christian Heller [Mon, 12 Aug 2024 09:11:54 +0000 (11:11 +0200)]
Set 'is_new' even when provided not-yet-existing ID, adapt and fix tests.

4 months agoAdd TaskHandler code to actually make previous commit work.
Christian Heller [Sat, 10 Aug 2024 03:32:55 +0000 (05:32 +0200)]
Add TaskHandler code to actually make previous commit work.

4 months agoIn Todo view, allow filling of steps below sub-steps.
Christian Heller [Sat, 10 Aug 2024 01:18:20 +0000 (03:18 +0200)]
In Todo view, allow filling of steps below sub-steps.

4 months agoMinor improvements of TaskHandler code.
Christian Heller [Sat, 10 Aug 2024 01:12:21 +0000 (03:12 +0200)]
Minor improvements of TaskHandler code.

4 months agoSimplify do_POST_todo code.
Christian Heller [Fri, 9 Aug 2024 18:04:28 +0000 (20:04 +0200)]
Simplify do_POST_todo code.

4 months agoClean up do_POST_process code.
Christian Heller [Fri, 9 Aug 2024 16:15:04 +0000 (18:15 +0200)]
Clean up do_POST_process code.

4 months agoMinor improvements to query parameter handling/defaulting.
Christian Heller [Fri, 9 Aug 2024 14:51:35 +0000 (16:51 +0200)]
Minor improvements to query parameter handling/defaulting.

4 months agoPrivate TaskHandler.conn to ._conn.
Christian Heller [Fri, 9 Aug 2024 14:14:55 +0000 (16:14 +0200)]
Private TaskHandler.conn to ._conn.

4 months agoMinor tests refactoring.
Christian Heller [Thu, 8 Aug 2024 08:13:42 +0000 (10:13 +0200)]
Minor tests refactoring.

4 months agoRename POST form key to field manipulated.
Christian Heller [Thu, 8 Aug 2024 07:52:53 +0000 (09:52 +0200)]
Rename POST form key to field manipulated.

4 months agoTreat non-sending of boolean form fields as _not_ setting them, rather than setting...
Christian Heller [Thu, 8 Aug 2024 07:01:49 +0000 (09:01 +0200)]
Treat non-sending of boolean form fields as _not_ setting them, rather than setting them negative.

4 months agoSimplify InputParser code/usage.
Christian Heller [Thu, 8 Aug 2024 03:40:51 +0000 (05:40 +0200)]
Simplify InputParser code/usage.

4 months agoFix broken POST /condition parsing of "is active" setting.
Christian Heller [Wed, 7 Aug 2024 12:57:06 +0000 (14:57 +0200)]
Fix broken POST /condition parsing of "is active" setting.

4 months agoSlightly reduce the do_POST_todo code.
Christian Heller [Mon, 5 Aug 2024 08:01:13 +0000 (10:01 +0200)]
Slightly reduce the do_POST_todo code.

4 months agoMinor improvements of Processes tests.
Christian Heller [Mon, 5 Aug 2024 07:29:05 +0000 (09:29 +0200)]
Minor improvements of Processes tests.

4 months agoImprove readability of do_POST_process handler code.
Christian Heller [Mon, 5 Aug 2024 07:07:33 +0000 (09:07 +0200)]
Improve readability of do_POST_process handler code.

4 months agoMinor fixes of freshly introduced bugs.
Christian Heller [Mon, 5 Aug 2024 05:57:34 +0000 (07:57 +0200)]
Minor fixes of freshly introduced bugs.

4 months agoSimplify POST /process form field structure.
Christian Heller [Mon, 5 Aug 2024 05:33:05 +0000 (07:33 +0200)]
Simplify POST /process form field structure.

4 months agoRefactor and extend tests, especially for Processes.
Christian Heller [Mon, 5 Aug 2024 01:53:48 +0000 (03:53 +0200)]
Refactor and extend tests, especially for Processes.

4 months agoSimplify ProcessStepsNode JSON serialization.
Christian Heller [Mon, 5 Aug 2024 01:52:36 +0000 (03:52 +0200)]
Simplify ProcessStepsNode JSON serialization.

4 months agoRe-organize testing.
Christian Heller [Fri, 2 Aug 2024 09:36:05 +0000 (11:36 +0200)]
Re-organize testing.

4 months agoMinor typing fix.
Christian Heller [Fri, 2 Aug 2024 09:30:30 +0000 (11:30 +0200)]
Minor typing fix.

4 months agoEnsure POST /day "new_todo" item order commutative.
Christian Heller [Fri, 2 Aug 2024 09:29:43 +0000 (11:29 +0200)]
Ensure POST /day "new_todo" item order commutative.

4 months agoEnsure BaseModel.all() returns sorted results.
Christian Heller [Thu, 1 Aug 2024 15:11:53 +0000 (17:11 +0200)]
Ensure BaseModel.all() returns sorted results.

5 months agoImprove readability of POST /todo code.
Christian Heller [Sun, 21 Jul 2024 07:10:53 +0000 (09:10 +0200)]
Improve readability of POST /todo code.

5 months agoRefactor POST /todo code.
Christian Heller [Sun, 21 Jul 2024 06:43:34 +0000 (08:43 +0200)]
Refactor POST /todo code.

5 months agoSimplify Condition relations setting API.
Christian Heller [Sun, 21 Jul 2024 06:14:22 +0000 (08:14 +0200)]
Simplify Condition relations setting API.

5 months agoIn POST /todo, catch more illegal 'step_filler' values.
Christian Heller [Sat, 20 Jul 2024 22:02:46 +0000 (00:02 +0200)]
In POST /todo, catch more illegal 'step_filler' values.

5 months agoExtend Todo doneness POST relations tests.
Christian Heller [Sat, 20 Jul 2024 14:08:10 +0000 (16:08 +0200)]
Extend Todo doneness POST relations tests.

5 months agoExtend Todo tests.
Christian Heller [Sat, 20 Jul 2024 09:45:16 +0000 (11:45 +0200)]
Extend Todo tests.

5 months agoExpand POST /todo adoption tests.
Christian Heller [Thu, 18 Jul 2024 04:24:41 +0000 (06:24 +0200)]
Expand POST /todo adoption tests.

5 months agoMore variable renaming for better readability.
Christian Heller [Thu, 18 Jul 2024 04:24:21 +0000 (06:24 +0200)]
More variable renaming for better readability.

5 months agoIn GET/POST /todo, remove unnecessary node ID differentiation in previous "fill_for_...
Christian Heller [Thu, 18 Jul 2024 02:56:30 +0000 (04:56 +0200)]
In GET/POST /todo, remove unnecessary node ID differentiation in previous "fill_for_" keys.

5 months agoSlightly improve code readability with comment and renaming.
Christian Heller [Thu, 18 Jul 2024 02:50:05 +0000 (04:50 +0200)]
Slightly improve code readability with comment and renaming.

5 months agoFix POST /todo crashing on non-intable 'fill_for_' adoption values.
Christian Heller [Thu, 18 Jul 2024 00:56:18 +0000 (02:56 +0200)]
Fix POST /todo crashing on non-intable 'fill_for_' adoption values.

5 months agoEnsure POST /todo autoremoval via .effort < -1 causes 404 rather than 500.
Christian Heller [Wed, 17 Jul 2024 23:32:56 +0000 (01:32 +0200)]
Ensure POST /todo autoremoval via .effort < -1 causes 404 rather than 500.

5 months agoOn GET /todo, sort Process candidates. Minor improvements to Todo tests.
Christian Heller [Wed, 17 Jul 2024 21:50:25 +0000 (23:50 +0200)]
On GET /todo, sort Process candidates. Minor improvements to Todo tests.

5 months agoMinor improvements to Todo tests.
Christian Heller [Wed, 17 Jul 2024 20:52:34 +0000 (22:52 +0200)]
Minor improvements to Todo tests.

5 months agoExtend Todo tests.
Christian Heller [Wed, 17 Jul 2024 20:19:54 +0000 (22:19 +0200)]
Extend Todo tests.

5 months agoFix duplicate node IDs in Todo view.
Christian Heller [Wed, 17 Jul 2024 20:19:15 +0000 (22:19 +0200)]
Fix duplicate node IDs in Todo view.

5 months agoExtend Todo tests.
Christian Heller [Wed, 17 Jul 2024 00:50:53 +0000 (02:50 +0200)]
Extend Todo tests.

5 months agoMinor code style/comment/type hinting improvements.
Christian Heller [Tue, 16 Jul 2024 22:48:44 +0000 (00:48 +0200)]
Minor code style/comment/type hinting improvements.

5 months agoOverhaul/simplify ctx to JSON dictification.
Christian Heller [Tue, 16 Jul 2024 21:56:58 +0000 (23:56 +0200)]
Overhaul/simplify ctx to JSON dictification.

5 months agoRe-organize most page/JSON rendering code from TaskServer into TaskHandler.
Christian Heller [Tue, 16 Jul 2024 19:45:04 +0000 (21:45 +0200)]
Re-organize most page/JSON rendering code from TaskServer into TaskHandler.

5 months agoExtend Todo tests, overhaul Ctx library building.
Christian Heller [Mon, 15 Jul 2024 06:40:48 +0000 (08:40 +0200)]
Extend Todo tests, overhaul Ctx library building.

5 months agoOn /todo POSTs, improve handling of malformed fill_for fields.
Christian Heller [Sun, 14 Jul 2024 20:21:43 +0000 (22:21 +0200)]
On /todo POSTs, improve handling of malformed fill_for fields.

5 months agoAdd InputsParser.get_float_or_none.
Christian Heller [Sun, 14 Jul 2024 20:15:11 +0000 (22:15 +0200)]
Add InputsParser.get_float_or_none.

5 months agoReturn NotFoundExceptions from InputsParser if no value found to key.
Christian Heller [Sun, 14 Jul 2024 20:10:34 +0000 (22:10 +0200)]
Return NotFoundExceptions from InputsParser if no value found to key.

5 months agoSlightly improve/re-factor Day tests.
Christian Heller [Sun, 14 Jul 2024 17:23:25 +0000 (19:23 +0200)]
Slightly improve/re-factor Day tests.

5 months agoReduce depedency of Days testing on plomtask.dating code.
Christian Heller [Sun, 14 Jul 2024 16:07:50 +0000 (18:07 +0200)]
Reduce depedency of Days testing on plomtask.dating code.

5 months agoTighten mypy controls around consistency of list/tuple/etc. elements, or add suggesti...
Christian Heller [Sun, 14 Jul 2024 14:57:21 +0000 (16:57 +0200)]
Tighten mypy controls around consistency of list/tuple/etc. elements, or add suggestions towards doing that.

5 months agoMinor refactoring.
Christian Heller [Fri, 12 Jul 2024 07:32:44 +0000 (09:32 +0200)]
Minor refactoring.

5 months agoAdd previously forgotten GET /calendar_txt template.
Christian Heller [Fri, 12 Jul 2024 07:01:23 +0000 (09:01 +0200)]
Add previously forgotten GET /calendar_txt template.

5 months agoOverhaul date ranging and its tests.
Christian Heller [Fri, 12 Jul 2024 06:59:27 +0000 (08:59 +0200)]
Overhaul date ranging and its tests.

5 months agoRename decorators for clearer meaning.
Christian Heller [Fri, 12 Jul 2024 04:02:39 +0000 (06:02 +0200)]
Rename decorators for clearer meaning.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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