Commit graph

59 commits

Author SHA1 Message Date
dafce6f2d2 minor formal improvements: use eql, print-unreadable-object, string in put with newlines 2024-08-01 17:48:13 +02:00
2111c7313a tracking: query-last, save basically OK 2024-08-01 10:47:39 +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
97a86d6154 tracking, msgstore: provide force-insert-when flag on container, use in (save track) 2024-07-31 15:48:55 +02:00
2b2519498f fix util:rtrim; work in progress: tracking:save 2024-07-31 13:42:37 +02:00
1ac8eb6482 rename package msglog to msgstore 2024-07-30 17:29:06 +02:00
428952598f storage/tracking (work in progress): query-last, ... 2024-07-30 14:35:47 +02:00
bc28565dea storage/tracking: provide indexes via factory function, with default based on head-fields 2024-07-29 18:50:49 +02:00
d363a3dde3 tracking: minor improvements; make building of track data configurable 2024-07-29 08:43:47 +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
94c515a191 storage: minor code simplification; re-add schema setting to postgres test config 2024-07-26 16:43:14 +02:00
c0c6b10e94 storage/tracking: create special function item-head-fields (for container), use only for table creation 2024-07-26 16:17:54 +02:00
b6f09c8f04 basic record definitions moved from storage/tracking to shape 2024-07-25 16:28:02 +02:00
e8730daf79 work in progress: move basic definitions from storage/tracking to shape 2024-07-25 15:49:13 +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
a7f449d8e6 work in progress: get rid of engine, keep storage in storage:context 2024-06-28 15:12:33 +02:00
0aa8ecb732 storage: use config mechanism for providing database settings 2024-06-27 14:06:17 +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
723ae93c83 put methods directly into generic definition 2024-05-16 19:20:39 +02:00
b168015309 fix do-sql method (via prepared query): use correct query object for free-query-resources 2024-05-16 18:09:38 +02:00
1f8fe04b45 use specialized engine subclass for postres for controlling timestamp conversion 2024-05-16 16:48:03 +02:00
bc6c1d8e31 do-sql: trying some variations: hangs with sqlite; free-query-resources: error on postgres 2024-05-16 15:42:29 +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
ed457efd53 insert working with real data from track object 2024-05-15 15:48: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
935465245f more refactoring, improve SQL generation 2024-05-13 09:43:35 +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
d7eaac4294 use 'backend' setting for selecting make-engine implementation 2024-05-12 15:28:00 +02:00
559c3f3281 storage refactoring: prepare for using methods for storage creation and db access 2024-05-12 12:37:24 +02:00
3b36d4e54a improve test set-up, load config when running test 2024-05-09 18:56:04 +02:00
3aacee896d improve config: separate :connect-args 2024-05-09 10:45:23 +02:00
3f2fea6617 database access almost working - sqlite hangs... 2024-05-08 13:50:57 +02:00
8dfb22033d minor refactoring of basic storage code 2024-05-07 19:21:30 +02:00