Commit graph

52 commits

Author SHA1 Message Date
5678483a50 more on tracking:save, +track-equal check 2024-08-04 10:07:20 +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
cc7a5e27a8 tracking: provide setup-select for queries 2024-08-02 11:23:51 +02:00
5930e8a594 tracking: rename time-stamp to timestamp 2024-08-02 08:44:03 +02:00
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
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
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
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
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
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
559c3f3281 storage refactoring: prepare for using methods for storage creation and db access 2024-05-12 12:37:24 +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
c4fdc6eeec test set-up for storage: run tests with sqlite and postgresql settings 2024-05-07 18:41:14 +02:00
5d7a4c0b82 replace tabs with spaces 2024-05-06 12:15:33 +02:00
82038d9dd5 work in progress: access to SQL DB: create/drop table, config via etc.lisp 2024-05-06 11:13:53 +02:00
c5c6a0bc7f more on storage/tracking: start constructing SQL with sxql 2024-05-05 22:25:42 +02:00
c2e27fe6dc work in progress: storage/tracking 2024-05-05 08:32:54 +02:00