Commit Graph

8 Commits

Author SHA1 Message Date
codestation
d59b7d6ff3 Add options to skip multimedia indexing. 2014-04-27 01:45:33 -04:30
codestation
00b76f308c Changed read timestamps timezones to UTC.
Fix QListDB::getObjectMetadatas not returning metadata when a single
object was requested.
Show size in GiB for backups.
2014-04-19 15:48:50 -04:30
codestation
6ed8dd749e Added functions to create virtual entries on the database.
Disabled sqlite setting in config dialog.
2014-03-22 13:58:39 -04:30
codestation
99d216d474 Enable SQLiteDB backend.
Multiple fixed and finished the implementation of the SQLite backend.
Try to load the database before trying to attempt a rescan.
Delete the metadala list for backends that allocate them on demand.
Moved some generic functions to the databse class.
Renamed utils header to avoid rare QtCreator bug.
2014-02-05 23:30:12 -04:30
codestation
f722c4579b Pass database object to others using their constructors.
Prepare SQLiteDB class functions so it can be instantiated.
2014-01-29 01:06:19 -04:30
codestation
a021c5db8f Modify removeRecursively to be able to delete a file.
Added getParentId func.
Add the datatype for newly inserted items.
Pass a double pointer instead of a pointer reference so the metadata_t can be optional.
Make sure to delete the files after deleting an entry in the backup manager.
2014-01-28 18:05:43 -04:30
codestation
b7ad2b13f4 Create a unified base class to access the database.
Moved the default database class to QListDB and disallow leaking CMAObjects outside this class.
Rewrote QListDB and CMAEvent to use the new internal API.
Moved the file format constants to the base database class.
Moved the metadata loading methods to the base database class.
2014-01-28 14:00:15 -04:30
codestation
e1aa32894d Renamed database class to qlistdb in preparation to create generic database class. 2014-01-24 13:08:35 -04:30