Commit graph

11 commits

Author SHA1 Message Date
Erik Ogenvik
311fc9cd2f Fixed issues with tying accounts to entities.
Since entries in the database tying entities to accounts only can be
created if the entity already is created in the database we need to make
sure the relation in "accounts_entities" isn't created until the entry in
"entities". This is done by letting the StorageManager handle it.
The way to interface between the Persistance and the StorageManager
classes isn't obvious, so we'll have to do it by signals.
2014-09-20 22:13: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
4a9c7078f7 Refactor to use LocatedEntity as base class
All IG code should use the interface of LocatedEntity when dealing
with any entity, rather than sometimes requiring Entity. Add virtual
functions to the interface where required, and modify all other interfaces
to stop them using Entity. This makes the code way cleaner, and much better
de-coupled.
2013-01-17 10:17:07 +00:00
Alistair Riddoch
95b078249a Rename database variable for disambiguation 2012-08-13 20:01:27 +01:00
Alistair Riddoch
68494ba520 Use the ruleset global less often, making code more isolated 2012-01-19 19:34:20 +00:00
Alistair Riddoch
9f5fc30c5a Convert rule clearing functions 2011-09-29 10:31:41 +01:00
Alistair Riddoch
2d987ba116 Concert Database::getTable and Persistence::getRules 2011-09-29 10:12:00 +01:00
Alistair Riddoch
1c79a04701 Start cleaning up the Database API 2011-09-28 22:25:58 +01:00
Alistair Riddoch
9364485967 Add a method to update a rule stored in the database. 2009-11-06 16:22:16 +00:00
Alistair Riddoch
75ed7f672c Add a function to load a new single rule into the database. 2009-11-05 17:38:18 +00:00
Alistair Riddoch
ffd019a744 Correct the spelling of persistence. 2009-03-24 03:08:45 +00:00
Renamed from server/Persistance.h (Browse further)