16 Commits

Author SHA1 Message Date
Lorenzo Delgado
f28037b8ae chore(common): move sqlite module to common module 2022-10-28 20:13:41 +02:00
Hanno Cornelius
57bf163a5c fix: store cursors should be exclusive and match a DB item (#1263)
* fix(store): use exclusive cursor

* fix(store): read correct column length

Co-authored-by: Lorenzo Delgado <lorenzo@status.im>
2022-10-20 13:24:40 +03:00
Hanno Cornelius
53912a19fc fix: store config without db-path leads SIGSEGV (#1218) 2022-10-04 14:34:05 +01:00
Lorenzo Delgado
e4f6172a16 fix(store): Move page info logic to waku store protocol 2022-10-03 17:36:17 +02:00
Lorenzo Delgado
7fa7e358d8 fix(store): update sqlite db table primary key and decouple queries module from pagination types 2022-10-03 15:23:39 +02:00
Lorenzo Delgado
37c0b199e4 chore(store): collocate pagination and message store types 2022-09-28 13:36:05 +02:00
Lorenzo Delgado
78e12b01e6 refactor(store): decouple message store queue from pagination index type (#1187) 2022-09-27 21:10:11 +02:00
Lorenzo Delgado
a0fd36393c fix(store): rename store timestamp sqlite column 2022-09-27 11:47:25 +02:00
Lorenzo Delgado
6d8d5493a2 fix(store): move insert criteria logic to waku store protocol module 2022-09-26 11:50:15 +02:00
Lorenzo Delgado
eebdb88440 chore(store): move constants to retention policies modules 2022-09-22 11:17:38 +02:00
Lorenzo Delgado
9e4f595f65 refactor(store): invert retention policies dependency on message store interface 2022-09-16 12:55:22 +02:00
Lorenzo Delgado
f02c9305ae refactor(store): extend message store interface with store manipulation methods 2022-09-15 21:12:13 +02:00
Lorenzo Delgado
178291d8c3 refactor(store): don't cache the message count in sqlite message store 2022-09-15 18:13:30 +02:00
Lorenzo Delgado
bcc99a9998 feat(store): add support for getting stored messages count 2022-09-13 19:36:11 +02:00
Lorenzo Delgado
62cfc2abc1 refactor(store): remove deprecated waku message store type 2022-09-13 13:36:04 +02:00
Lorenzo Delgado
0e04aa8ae8 refactor(store): rename to sqlite store and introduce retention policies interface 2022-09-12 16:49:01 +02:00