Erik Ogenvik
|
f87233cd53
|
Clean up code.
|
2018-10-30 19:35:57 +01:00 |
|
Erik Ogenvik
|
0fe760a003
|
Fixed issue with iterating over results.
Didn't work nicely with the way our SQLLite wrapper does it.
|
2018-06-29 12:25:42 +02:00 |
|
Erik Ogenvik
|
b0cf29b18d
|
Use SQLite 3 for persistence.
Instead of storing data in Postgres we store it by default in SQLite,
using an in-process database.
This makes setup and handling much easier.
|
2018-05-19 21:47:24 +02:00 |
|
Erik Ogenvik
|
4e788e90c7
|
Separate out Postgres specific parts.
|
2018-05-16 21:48:18 +02:00 |
|
Erik Ogenvik
|
66baf9c9dc
|
Stor all rules as files only.
We should only store entities and accounts in the database.
|
2018-05-16 11:22:09 +02:00 |
|
Erik Ogenvik
|
7aaa9b9ba7
|
Optimize includes.
|
2017-03-19 21:36:52 +01:00 |
|
Erik Ogenvik
|
446ff7b16a
|
Fix memory leak with PGResult.
The postgres db result wasn't always deleted as it should. Fix this by
using shared_ptr with a custom Deleter.
|
2013-09-12 22:12:49 +02:00 |
|
Olek Wojnar
|
7f9ff2246d
|
Remove CVS $Id tags
The legacy tags are causing build issues in Debian.
|
2013-07-15 20:31:59 +02:00 |
|
Alistair Riddoch
|
c7c920982a
|
Convert remaining Storage functions
|
2011-10-03 22:03:06 +01:00 |
|
Alistair Riddoch
|
6c8997942f
|
Convert scheduleCommand and related queries
|
2011-09-29 12:11:15 +01:00 |
|
Alistair Riddoch
|
9f5fc30c5a
|
Convert rule clearing functions
|
2011-09-29 10:31:41 +01:00 |
|
Alistair Riddoch
|
7aa394b2ca
|
Converty Database::initRule
|
2011-09-28 22:54:35 +01:00 |
|
Alistair Riddoch
|
5c4851b9c7
|
Switch first set of functions
All functions which return error/success should return int according
to the C library convention used in most of cyphesis
|
2011-09-28 22:32:39 +01:00 |
|
Alistair Riddoch
|
2106e56bfb
|
Add rule database setup to Storage utility class
|
2011-04-21 10:11:14 +01:00 |
|
Alistair Riddoch
|
608795f985
|
Copy ruleset handling code from cyloadrules into Storage
|
2011-04-20 20:31:33 +01:00 |
|
Alistair Riddoch
|
ee03318f5e
|
Rename class to Storage
|
2011-04-20 20:10:53 +01:00 |
|
Alistair Riddoch
|
3e3e43ab03
|
Rename AccountBase.* files to Storage.*
|
2011-04-20 20:03:30 +01:00 |
|