Commit graph

66 commits

Author SHA1 Message Date
Daniel
6fcd1d3ef7 Make DB registry persistence optional
This increases resilience when persistence is not needed.
2020-07-11 14:20:04 +02:00
Daniel
b90042a16a Improve database not found error message 2020-05-22 22:33:12 +02:00
Daniel
7e9c2f49f0 Remove debug code 2020-05-15 17:09:42 +02:00
Daniel
bea130d755 Move DB record maintenance to storage interface 2020-05-05 21:34:19 +02:00
Daniel
d65e2877e6 Fix controller map duplication 2020-04-28 16:44:51 +02:00
Daniel
9d526314a9 Disable hourly DB wipe, improve DB maintainance 2020-04-27 08:19:33 +02:00
Daniel
00d9594ea5 Fix error message 2020-04-24 09:52:27 +02:00
Patrick Pacher
26c35f2f74
Fix badger test 2020-04-15 17:56:42 +02:00
Daniel
558486483b Improve database storage put method 2020-04-15 17:27:33 +02:00
Daniel
0ee19298fa Implement review 2020-04-10 10:42:01 +02:00
Daniel
e0f96d5188 Add PutMany, currently only for bbolt and hashmap storage backends 2020-04-09 14:30:56 +02:00
Daniel
35ab2be6a0 Fix bug in wrapper, remove deprecated code 2020-04-09 14:30:56 +02:00
Daniel
be456c9d64 Remove unused Err attribute on database subscription 2020-03-20 17:22:38 +01:00
Daniel
1f77046877 Update packages to new modules structure and other minor fixes 2020-02-18 15:44:18 +01:00
Daniel
ed61819be7 Cleanup database package 2019-10-25 13:37:42 +02:00
Daniel
2fb83cecb8 Silence linter 2019-10-09 16:18:16 +02:00
Daniel
7011bde0fe Clean up database package 2019-09-20 22:01:49 +02:00
Daniel
ddc773a9f2 Clean up storage backends 2019-09-20 22:01:33 +02:00
Daniel
60dea8092f Clean up database/query package 2019-09-20 22:01:17 +02:00
Daniel
ac6d9db456 Transition dbmodule package to new module task system 2019-09-20 22:01:02 +02:00
Daniel
3236ddf87f Clean up accessor package, dedupe code 2019-09-20 10:36:55 +02:00
Daniel
9d71d109b2 Clean database tests 2019-09-06 22:36:05 +02:00
Daniel
64e25da0b2 Remove unnecessary dbutils 2019-09-06 22:35:33 +02:00
Daniel
d79e46d325 Fix fix and address review 2019-08-22 22:34:27 +02:00
Daniel
dca046b1c1 Replace renameio.WriteFile with versions that is compatible to windows 2019-08-21 15:29:50 +02:00
Daniel
a2d6bc974c Fix test, add test helper script 2019-08-20 15:42:46 +02:00
Daniel
402429cd70 Revamp module structure
- Add shutdown mechanics to module
- Adapt dbmodule to new mechanics
2019-08-09 16:45:43 +02:00
Daniel
2ac64aedff Switch to new data root / core module structure 2019-07-31 22:32:29 +02:00
Daniel
a7105dc6ba Remove copyright notices from files, LICENSE file suffices 2019-07-24 11:10:02 +02:00
Daniel
3bd7b8558f Add meta data type to record serialization 2019-07-19 21:30:51 +02:00
Daniel
0de310503a Add util function for creating/checking dirs 2019-07-04 13:47:18 +02:00
Daniel
8f3082f96f Update import paths 2019-06-27 13:29:56 +02:00
Daniel
95c332c71a Update database tests and checks 2019-05-31 13:00:22 +02:00
Daniel
4d1659e2c2 Port fstree from the datastore backend 2019-05-31 12:59:54 +02:00
Daniel
0b60809c70 Remove datastore based storage backends 2019-05-31 12:59:35 +02:00
Daniel
56e112f484 Increase API subscription buffer 2019-05-22 16:10:45 +02:00
Daniel
475e36d32f Add bbolt database storage 2019-05-10 11:50:31 +02:00
Daniel
682264acc5 Fix database prepping for windows 2019-04-26 11:38:14 +02:00
Daniel
52b56450c7 Block any database interaction when shutting down 2019-03-12 22:57:29 +01:00
Daniel
1133c78f85 Improve database meta handling 2019-03-08 23:16:36 +01:00
Daniel
15ea65a61d Fix database/query issue 2019-02-14 13:45:38 +01:00
Daniel
358e684909 Fix various issues during portmaster development 2019-01-24 15:23:35 +01:00
Daniel
1ef3ceb274 Complete first alpha version 2018-12-12 19:18:49 +01:00
Daniel
9d5a97c20b Add caching option for database interface 2018-10-22 17:06:49 +02:00
Daniel
852f7ab3c6 Fix database api 2018-10-05 22:21:43 +02:00
Daniel
9ab95b1926 Finish database queries and subscriptions / Improve Accessor 2018-09-27 15:56:35 +02:00
Daniel
b246453a83 Start api revamp 2018-09-21 16:38:18 +02:00
Daniel
ac13b73d65 Complete database MVP 2018-09-14 11:59:30 +02:00
Daniel
2c70416873 Start work on hooks and subscriptions 2018-09-13 21:54:20 +02:00
Daniel
1c7f98d9ba Work on tests and query 2018-09-12 17:10:35 +02:00