home · contact · privacy
Christian Heller [Fri, 12 Jul 2024 07:01:23 +0000 (09:01 +0200)]
Add previously forgotten GET /calendar_txt template.
Christian Heller [Fri, 12 Jul 2024 06:59:27 +0000 (08:59 +0200)]
Overhaul date ranging and its tests.
Christian Heller [Fri, 12 Jul 2024 04:02:39 +0000 (06:02 +0200)]
Rename decorators for clearer meaning.
Christian Heller [Fri, 12 Jul 2024 00:31:25 +0000 (02:31 +0200)]
On BaseModel.sort_by, always sort by .id_ first, for predictability.
Christian Heller [Thu, 11 Jul 2024 15:12:53 +0000 (17:12 +0200)]
Lots of refactoring.
Christian Heller [Thu, 11 Jul 2024 05:34:11 +0000 (07:34 +0200)]
Run VersionedAttributes tests over all models.
Christian Heller [Thu, 11 Jul 2024 02:19:44 +0000 (04:19 +0200)]
Minor test code improvements.
Christian Heller [Sat, 22 Jun 2024 02:53:16 +0000 (04:53 +0200)]
Slightly improve and re-organize Condition tests.
Christian Heller [Sat, 22 Jun 2024 02:52:26 +0000 (04:52 +0200)]
Expand GET /process and /processes tests.
Christian Heller [Sat, 22 Jun 2024 02:51:52 +0000 (04:51 +0200)]
Adapt tests to new cache emptying reality.
Christian Heller [Sat, 22 Jun 2024 02:49:29 +0000 (04:49 +0200)]
In GET /process handler, catch malformed ?title_b64= params.
Christian Heller [Sat, 22 Jun 2024 02:43:08 +0000 (04:43 +0200)]
Empty cache more often to avoid race conditions.
Christian Heller [Fri, 21 Jun 2024 22:16:33 +0000 (00:16 +0200)]
Refactor BaseModel sorting from GET handlers into class definitions.
Christian Heller [Fri, 21 Jun 2024 21:46:25 +0000 (23:46 +0200)]
Minor reorganization of GET handlers code.
Christian Heller [Fri, 21 Jun 2024 21:31:35 +0000 (23:31 +0200)]
Greatly expand GET /calendar tests.
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.
Christian Heller [Fri, 21 Jun 2024 18:18:24 +0000 (20:18 +0200)]
Re-organize and extend/improve 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.
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.
Christian Heller [Fri, 21 Jun 2024 15:40:09 +0000 (17:40 +0200)]
Extend POST /day testing.
Christian Heller [Fri, 21 Jun 2024 15:37:33 +0000 (17:37 +0200)]
Improve POST /day input validation.
Christian Heller [Fri, 21 Jun 2024 14:29:15 +0000 (16:29 +0200)]
Clean up and extend /condition[s] GET/POST tests.
Christian Heller [Fri, 21 Jun 2024 13:26:37 +0000 (15:26 +0200)]
Refactor request handler identifying items by ID param on GET.
Christian Heller [Fri, 21 Jun 2024 12:02:22 +0000 (14:02 +0200)]
Tidy up (even if pylint disapproves) unwieldy POST handlers code.
Christian Heller [Fri, 21 Jun 2024 04:18:54 +0000 (06:18 +0200)]
Refactor request handler delete or retrieving items on POST.
Christian Heller [Fri, 21 Jun 2024 02:58:56 +0000 (04:58 +0200)]
Refactor .as_dict integration of Process.explicit_steps, Day.todos.
Christian Heller [Fri, 21 Jun 2024 02:35:22 +0000 (04:35 +0200)]
More tests refactoring.
Christian Heller [Fri, 21 Jun 2024 02:07:07 +0000 (04:07 +0200)]
Minor refactoring of Days tests.
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.
Christian Heller [Fri, 21 Jun 2024 00:29:39 +0000 (02:29 +0200)]
Extend Days test to behavior of Conditions.
Christian Heller [Fri, 21 Jun 2024 00:28:16 +0000 (02:28 +0200)]
Fix disablers_for/enablers_for in GET_day breaking as_dict.
Christian Heller [Thu, 20 Jun 2024 21:42:45 +0000 (23:42 +0200)]
More Days HTTP testing refactoring.
Christian Heller [Thu, 20 Jun 2024 21:29:25 +0000 (23:29 +0200)]
Some tests refactoring.
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.
Christian Heller [Thu, 20 Jun 2024 20:36:36 +0000 (22:36 +0200)]
Overhaul as_dict generation to avoid endless nesting of objects.
Christian Heller [Thu, 20 Jun 2024 11:50:50 +0000 (13:50 +0200)]
Refactor tests, expand Days testing.
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.
Christian Heller [Thu, 20 Jun 2024 08:11:11 +0000 (10:11 +0200)]
In Day template, improve visual connection between Conditions and Todos.
Christian Heller [Tue, 18 Jun 2024 08:57:27 +0000 (10:57 +0200)]
Remove and shrink tests under redundancy with test utils defaults.
Christian Heller [Tue, 18 Jun 2024 08:40:02 +0000 (10:40 +0200)]
Re-factor TestCaseSansDB methods.
Christian Heller [Tue, 18 Jun 2024 08:22:59 +0000 (10:22 +0200)]
Extend BaseModel.by_id_or_create test.
Christian Heller [Tue, 18 Jun 2024 08:05:18 +0000 (10:05 +0200)]
Refactor remaining test.utils helpers into actual tests.
Christian Heller [Tue, 18 Jun 2024 05:02:04 +0000 (07:02 +0200)]
Refactor saving and caching tests, treatment of None IDs.
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.
Christian Heller [Tue, 18 Jun 2024 01:58:37 +0000 (03:58 +0200)]
Some test utils refactoring.
Christian Heller [Tue, 18 Jun 2024 01:46:20 +0000 (03:46 +0200)]
Refactor .all() tests.
Christian Heller [Tue, 18 Jun 2024 00:05:43 +0000 (02:05 +0200)]
Refactor singularity tests.
Christian Heller [Mon, 17 Jun 2024 23:54:46 +0000 (01:54 +0200)]
Refactor BaseModel.from_table_row testing.
Christian Heller [Mon, 17 Jun 2024 23:03:19 +0000 (01:03 +0200)]
On cache emptying, also ._disappear() any objects held in it.
Christian Heller [Mon, 17 Jun 2024 21:28:13 +0000 (23:28 +0200)]
Refactor BaseModel.from_table_row in regards to VersionedAttributes.
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.
Christian Heller [Mon, 17 Jun 2024 21:15:48 +0000 (23:15 +0200)]
Simplify JSON-ification of VersionedAttributes.
Christian Heller [Mon, 17 Jun 2024 20:29:25 +0000 (22:29 +0200)]
Refactor Conditions GET/POST testing.
Christian Heller [Mon, 17 Jun 2024 18:33:51 +0000 (20:33 +0200)]
Extend Conditions POST test to use new JSON interface.
Christian Heller [Mon, 17 Jun 2024 13:14:07 +0000 (15:14 +0200)]
Make use of new JSON interface for GET /conditions testing.
Christian Heller [Mon, 17 Jun 2024 12:39:26 +0000 (14:39 +0200)]
Fix Condition POSTing not properly setting .is_active.
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.
Christian Heller [Mon, 17 Jun 2024 12:15:11 +0000 (14:15 +0200)]
Extend Todo tests to also run ID checking from TestCaseSansDB.
Christian Heller [Mon, 17 Jun 2024 12:14:03 +0000 (14:14 +0200)]
Fix misguiding parent ID key name in VersionedAttributes.as_dict.
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.
Christian Heller [Sat, 15 Jun 2024 06:39:46 +0000 (08:39 +0200)]
Minor HTTP module refactoring.
Christian Heller [Sat, 15 Jun 2024 05:37:55 +0000 (07:37 +0200)]
Overhaul caching.
Christian Heller [Fri, 14 Jun 2024 21:06:09 +0000 (23:06 +0200)]
Minor BaseModel code re-organization.
Christian Heller [Fri, 14 Jun 2024 18:37:44 +0000 (20:37 +0200)]
Enhance BaseModel comparisons by hashing versioned and relations attributes.
Christian Heller [Fri, 14 Jun 2024 18:12:16 +0000 (20:12 +0200)]
Ensure stringy BaseModel IDs are not empty.
Christian Heller [Fri, 14 Jun 2024 18:03:37 +0000 (20:03 +0200)]
Refactor database management code a little bit.
Christian Heller [Fri, 14 Jun 2024 13:53:33 +0000 (15:53 +0200)]
Re-factor Day.todos code.
Christian Heller [Fri, 14 Jun 2024 13:17:19 +0000 (15:17 +0200)]
Initialize Days with links to their Todos as early as possible.
Christian Heller [Fri, 14 Jun 2024 12:27:57 +0000 (14:27 +0200)]
Avoid race condition of test databases created with same timestamp.
Christian Heller [Fri, 14 Jun 2024 12:26:11 +0000 (14:26 +0200)]
Refactor total-effort day summation.
Christian Heller [Thu, 13 Jun 2024 23:53:42 +0000 (01:53 +0200)]
Privatize more methods and attributes of TaskHandler.
Christian Heller [Thu, 13 Jun 2024 23:43:49 +0000 (01:43 +0200)]
Re-organize HTTP module code for better readability.
Christian Heller [Thu, 13 Jun 2024 23:31:00 +0000 (01:31 +0200)]
Improve clarity of request wrapping code.
Christian Heller [Wed, 12 Jun 2024 08:25:10 +0000 (10:25 +0200)]
Refactor HTTP module.
Christian Heller [Wed, 12 Jun 2024 06:20:33 +0000 (08:20 +0200)]
Improve InputsParser tests.
Christian Heller [Wed, 12 Jun 2024 05:45:07 +0000 (07:45 +0200)]
Minor TaskHandler re-factorings.
Christian Heller [Wed, 12 Jun 2024 01:53:10 +0000 (03:53 +0200)]
Create choice for creating Todos with or without children.
Christian Heller [Wed, 12 Jun 2024 00:37:43 +0000 (02:37 +0200)]
Overhaul Todo view to underline difference to ProcessSteps.
Christian Heller [Tue, 11 Jun 2024 19:35:05 +0000 (21:35 +0200)]
Template layout and code improvements.
Christian Heller [Sun, 9 Jun 2024 05:30:46 +0000 (07:30 +0200)]
Simplify and improve previous bugfix.
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.
Christian Heller [Sun, 9 Jun 2024 02:31:20 +0000 (04:31 +0200)]
Add expression of summations of efforts in Day display.
Christian Heller [Sun, 9 Jun 2024 02:06:58 +0000 (04:06 +0200)]
Extend default date range to full year.
Christian Heller [Sun, 9 Jun 2024 01:30:48 +0000 (03:30 +0200)]
Allow editing of VersionedAttributes timestamps.
Christian Heller [Sat, 8 Jun 2024 20:23:19 +0000 (22:23 +0200)]
Some Day template layout improvements.
Christian Heller [Sat, 8 Jun 2024 19:04:07 +0000 (21:04 +0200)]
Improve multiple template layouts and refactor CSS.
Christian Heller [Sat, 8 Jun 2024 13:54:22 +0000 (15:54 +0200)]
Improve Process editing template layout.
Christian Heller [Thu, 6 Jun 2024 06:20:22 +0000 (08:20 +0200)]
Add minimalist plain-text calendar 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.
Christian Heller [Thu, 6 Jun 2024 05:02:43 +0000 (07:02 +0200)]
Fix Processes listing sorting bug.
Christian Heller [Thu, 6 Jun 2024 04:24:45 +0000 (06:24 +0200)]
Add previously forgotten migration script.
Christian Heller [Thu, 6 Jun 2024 04:23:57 +0000 (06:23 +0200)]
To Processes listing, add sortable column for number of owners.
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.
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.
Christian Heller [Thu, 6 Jun 2024 02:39:12 +0000 (04:39 +0200)]
Allow (de-)selection of owners in Process edit view.
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.
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.
Christian Heller [Thu, 6 Jun 2024 01:16:34 +0000 (03:16 +0200)]
Minor ProcessStep management bug fixes.
Christian Heller [Thu, 6 Jun 2024 00:26:29 +0000 (02:26 +0200)]
Add suppression of implicit ProcessSteps to Process configuration.
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.