Commit graph

57 commits

Author SHA1 Message Date
20ae39e3c4 tracking: fix save, update 2024-08-09 09:54:01 +02:00
dd4f8ccebd tracking: test and improve query / setup-select 2024-08-09 09:30:25 +02:00
997b0afb0e folder: rename put-new to create; simplifications 2024-08-08 22:12:37 +02:00
d759a5c57c storage/folder: root, put-new 2024-08-08 15:28:31 +02:00
ca7c4a824e tracking:save: use - optionally restricted - key-fields instead of all head-fields for query 2024-08-07 09:42:52 +02:00
a3238f4c2c tracking/storage: work in progress: folder 2024-08-06 18:15:46 +02:00
98d21061f5 minor improvements; start working on: uid stuff <- container registration 2024-08-04 21:29:55 +02:00
75fe19b269 util:plist-equal (for tracking:save); work in progress: tracking:update; save: return track 2024-08-03 20:45:24 +02:00
bf48130837 tracking:save, work in progress: use property list for data comparison 2024-08-02 14:05:42 +02:00
b09319916c provide util macros lgd lgi as shortcuts for displaying variable values 2024-07-31 20:05:19 +02:00
5a75c10d74 tracking, msgstore: query-last basically working 2024-07-31 16:51:04 +02:00
1ac8eb6482 rename package msglog to msgstore 2024-07-30 17:29:06 +02:00
69c3013332 storage/tracking: data is always a plist - convert internally on save or retrieve 2024-07-28 19:39:16 +02:00
484b3251d1 storage/msglog: fixes, improvements, tests OK 2024-07-28 17:42:14 +02:00
777660a957 storage/msglog: get-track working; next step: consequent use of keywords for keys and head values 2024-07-28 14:46:49 +02:00
ac2ebf5fe7 storage/msglog: insert basically OK 2024-07-28 12:45:30 +02:00
75d63e0c89 work in progress: storage/msglog: table creation OK 2024-07-27 23:06:04 +02:00
b6f09c8f04 basic record definitions moved from storage/tracking to shape 2024-07-25 16:28:02 +02:00
999589a380 set up logging an all sub-system tests 2024-07-04 07:06:38 +02:00
5b41d12756 use config class for storage setup (instead of prop list) 2024-06-29 09:33:02 +02:00
c653247670 remove unused code 2024-06-28 16:34:52 +02:00
91dd8978ed storage: working again after eliminiating engine / keep everything in context->storage 2024-06-28 16:17:02 +02:00
0aa8ecb732 storage: use config mechanism for providing database settings 2024-06-27 14:06:17 +02:00
05747fa5cc remove ugly t: from deftest declarations 2024-06-23 16:11:22 +02:00
5253c83ed5 work in progress: config processing 2024-06-04 11:16:24 +02:00
9fa4e3402f load config file via new test-path function 2024-06-03 18:34:24 +02:00
8e81da1bc9 work in progess: config, test-config 2024-06-02 18:54:27 +02:00
99b1627bfa get paths to test files (config and database) from source code path 2024-06-01 10:41:28 +02:00
53a61b660b testing: provide deftest macro, show suite and test names 2024-05-20 17:24:24 +02:00
778409a842 work in progress: testing improvements 2024-05-20 12:22:29 +02:00
7dd30882e0 work in progress: forge sequence (pseudo-pointer) 2024-05-19 10:03:39 +02:00
e0e65efa39 get-track basically working 2024-05-18 09:16:09 +02:00
3b3cfaf732 work in progress: get-track by trackid: select OK 2024-05-17 19:05:37 +02:00
8b006042d4 minor refactorings; + utility for SQL results: normalize-plist 2024-05-17 16:36:58 +02:00
c188ed2baf write track data to database, JSON-encoded 2024-05-17 11:45:26 +02:00
56467cd4c1 set timestamp default (now) explicitly upon insert 2024-05-17 09:11:40 +02:00
1f8fe04b45 use specialized engine subclass for postres for controlling timestamp conversion 2024-05-16 16:48:03 +02:00
3f3da9b69b use local-time for timestamp conversions; + revert: timestamptz in db 2024-05-16 09:54:28 +02:00
bee8d6d75e insert: use query form, return trackid and timestamp; timestamp: without TZ 2024-05-16 08:27:22 +02:00
6c36fdc72d use keywords for head field names; re-order variable definitions and other statements in test 2024-05-15 16:09:14 +02:00
d4c2db9f89 more on track creation: set head values 2024-05-15 14:52:48 +02:00
35348f3fdb work in progress: insert track; provide (and use) item-factory slot in container 2024-05-14 16:36:53 +02:00
4dab1785a5 create table: use schema option if set 2024-05-14 09:49:50 +02:00
9e1a8a92b9 create table: use container settings for table name and head fields 2024-05-14 08:26:18 +02:00
49688e4055 storage/tracking: create-index function 2024-05-13 21:21:13 +02:00
c832ba70f3 more refactorings: get rid of global *db-engine*, starting with methods on db-engine and storage 2024-05-12 19:27:11 +02:00
3b36d4e54a improve test set-up, load config when running test 2024-05-09 18:56:04 +02:00
8dfb22033d minor refactoring of basic storage code 2024-05-07 19:21:30 +02:00
c4fdc6eeec test set-up for storage: run tests with sqlite and postgresql settings 2024-05-07 18:41:14 +02:00
db405da6d9 simplify forge code: use special variable *forge-env* 2024-05-07 14:06:28 +02:00