1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-25 00:53:43 +00:00
Commit graph

276 commits

Author SHA1 Message Date
390b69e150 Use parametric sql functions to insert new files.
Refactoring so that there are no extra copies of data being inserted.
2015-12-29 17:32:22 +00:00
a91e75829f Fix libpqtypes as external project.
Note: due to a bug in cmake/ninja, this change introduces
problems when building with ninja. See:
https://cmake.org/Bug/view.php?id=15256
2015-12-27 03:09:08 +00:00
d8f3578497 Add libpqtypes from http://libpqtypes.esilo.com/ 2015-12-26 22:16:51 +00:00
c409a3e0a2 Make main dindexer show options used to build. 2015-12-26 14:51:49 +00:00
05979e24a2 Add split_mime() function. 2015-12-26 14:50:40 +00:00
148b60ee97 Add retrieving the mime type.
This is not being stored to the db yet.
2015-12-15 11:26:04 +00:00
2b7d8a6783 Don't scatter the casted type throughout the code. 2015-12-14 13:05:13 +00:00
45e5b7bc8d Implement "locate" action. 2015-12-14 13:00:10 +00:00
cc5bb9bc34 Sort commands printed in help output.
Also fix const-correctness. Hopefully.
2015-12-14 11:55:22 +00:00
ebdd24a8f5 Improve dindexer explanation in readme. 2015-12-13 17:31:21 +00:00
57d925034d Begin working on the "query" action. 2015-12-13 16:46:42 +00:00
93a5130cc5 Move ValidationError to commonlib. 2015-12-13 16:33:58 +00:00
986f0c8db3 Buildfix and minor changes 2015-12-13 16:14:05 +00:00
bef901c56c Print git revision in --version. 2015-12-12 20:27:31 +00:00
861ea2c809 Implement deleting sets from the db. 2015-12-12 20:20:57 +00:00
4a0ddb4beb Hide expand() implementation into settings.cpp. 2015-12-12 20:02:42 +00:00
74afa9f502 Rename settings stuff as it got moved to commonlib. 2015-12-12 17:41:34 +00:00
6e7176be10 Move DBSettings to common lib. 2015-12-12 17:23:50 +00:00
0373743b61 Hack to retrieve the wrong value from boost's exception. 2015-12-12 16:53:16 +00:00
8a4afa241e Begin work on the new delete action. 2015-12-12 16:53:09 +00:00
e6680b0bf1 Add example code to create a new action. 2015-12-10 22:13:06 +00:00
10b9be1f85 Print human-readable autodetected media type. 2015-12-10 16:31:11 +00:00
6c30621400 Put some common stuff into a separate library. 2015-12-10 15:33:38 +00:00
a0b87e6a2d Manage read errors.
If instructed to continue on errors, store info correctly in the db.
2015-12-10 12:13:16 +00:00
ed3dea8f2c More assertions and more explicit code. 2015-12-09 18:36:46 +00:00
b34818c66c Minor style fix in readme 2015-12-08 16:44:26 +00:00
073fea8840 Add flattr button to bitbucket. 2015-12-08 16:41:07 +00:00
c5a798e95f Version bump 0.1.3b 2015-12-08 16:16:13 +00:00
3a4c11ad4c Buildfix when blkid.h is not available. 2015-12-08 16:13:36 +00:00
2cdf0cb3b9 Allow disabling media autodetection at build time.
Use DINDEXER_WITH_MEDIA_AUTODETECT.
2015-12-08 16:07:21 +00:00
97de157724 Refactor the new media type autodetection code. 2015-12-08 16:03:30 +00:00
c82b41207e Enable more warnings (and fix some). 2015-12-08 13:57:12 +00:00
fe2ea40c4f Implement autodetect set type.
Only supports HardDisk, Directory, CdRom, DVD, BluRay for now.
2015-12-08 13:56:46 +00:00
87bc031e65 Rename update action to scan. 2015-12-04 19:40:02 +00:00
20ebc10b0c Dynamically build the type list for the help message. 2015-12-04 19:32:57 +00:00
980190cd44 Change readme formatting 2015-12-04 18:56:55 +00:00
e1520734a4 Add drone.io build badge 2015-12-04 18:54:16 +00:00
8708ef9503 Add dispatcher program.
Invoke like dindexer <action> a b c and it will exec
ACTIONS_PATH/dindexer-<action> a b c
or
ACTIONS_PATH/<action>/dindexer-<action> a b c
2015-12-04 16:32:32 +00:00
fca9b94afd Make one more empty target that only carries include paths. 2015-12-04 16:30:41 +00:00
3899680544 Pull lengthof definition into a different header. 2015-12-04 13:48:20 +00:00
d8be48d2e8 Reorganize source code in directories. 2015-12-04 12:58:13 +00:00
3a67f0ec29 Version bump 0.1.2 2015-12-04 12:31:53 +00:00
3c1b7108f3 Allow type "C" (for CD-Rom) 2015-12-04 12:30:48 +00:00
5f8756ef1b Store access time and modify time in the db. 2015-12-01 16:35:46 +00:00
f1c3deea63 Group parameters in a struct when calling filesearcher's callback. 2015-12-01 16:34:22 +00:00
26e62df73f Change set creation time to type timestamp.
Also add a (still unused) disk_number column.
2015-11-30 18:30:30 +00:00
8b9241757d Don't save to DB if the disk has been added already. 2015-11-27 20:41:36 +00:00
e957fde12c Enable uppercase hash-to-string conversion. 2015-11-27 20:34:42 +00:00
51d0bfdf7a Avoid messages clashing on stdout in debug.
This quickfix completely disables progress output in debug.
2015-11-27 19:54:03 +00:00
f6c638e6e4 Fix wrong assertion. 2015-11-27 19:49:29 +00:00