Commit Graph

10 Commits

Author SHA1 Message Date
akwizgran
b548820f77 Transport details for contacts can be stored in the database (these are arbitrary key/value pairs that describe how to reach the contact using a particular transport). Moved the generic ContactId and Rating classes out of the database package of the API. 2011-07-06 16:50:01 +01:00
akwizgran
9fbf0f21de Contact IDs are now auto-generated. 2011-07-06 14:53:35 +01:00
akwizgran
5d768a5718 DatabaseComponent throws an exception instead of returning silently if a contact is removed during an operation involving that contact. More unit tests. 2011-07-05 18:15:44 +01:00
akwizgran
f97393f160 Unit tests, refactoring and bugfixes for the database. Replies to messages in
other groups no longer affect sendability, which makes it safe to delete all
messages from a group when unsubscribing.
2011-07-05 14:16:29 +01:00
akwizgran
390b316724 Unit tests for H2Database. 2011-07-04 16:06:10 +01:00
akwizgran
b29a024c2a Changed "neighbour" to "contact" throughout (messy, but it's only going to get messier later). Also reordered some methods in DatabaseComponent impls. 2011-06-29 13:16:33 +01:00
akwizgran
ed0174a91b Added the ability to remove neighbours from the database (untested). 2011-06-29 12:54:00 +01:00
akwizgran
b2532708d3 Removed name from startTransaction(), merged the two batch-removal methods. 2011-06-28 17:52:26 +01:00
akwizgran
d193f23e4c Replaced printlns with logging, moved delete() to FileUtils. 2011-06-27 10:38:30 +01:00
akwizgran
cd4f99df3d Initial commit with new directory structure. 2011-06-21 18:01:28 +01:00