1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-29 01:33:46 +00:00
Commit graph

94 commits

Author SHA1 Message Date
f82659e370 Add move semantics. 2016-01-06 13:12:00 +00:00
6edfb08383 Store mime type and charset in the db. 2016-01-06 02:18:42 +00:00
839b9dd49a Generate a table scheme with some valid username.
Have main prog print the new build time constant.
2016-01-05 14:12:36 +00:00
c7b44f6368 Use parametric queries. 2016-01-05 13:30:17 +00:00
9beedf7210 Add "Program overview". 2016-01-05 13:24:12 +00:00
f5356e0c29 Change namespace in machinery to mchlib. 2016-01-05 12:49:27 +00:00
4e29200b47 Move scan's core code into new machinery lib. 2016-01-05 12:35:46 +00:00
487b8efe61 Refactor Indexer so that writing to the db is done outside. 2016-01-05 11:24:23 +00:00
8b566c9fdb Make the string for pqtypes at build-time. 2016-01-04 18:03:49 +00:00
c4a2433a04 Move libpqtypes template helpers out to a new header. 2015-12-31 01:20:56 +00:00
ed0fbac5e1 connection.hpp is a public header. 2015-12-31 01:13:26 +00:00
1532d3c083 Fix reading values from ResultSet/Row.
Send correct group_id to the db in a safer way.
2015-12-31 00:38:44 +00:00
9bb5689d48 Remove query_void() methods. query() is just fine. 2015-12-30 10:20:52 +00:00
43bec4711e Clarify PGresult ownership and lifetime. 2015-12-30 10:15:36 +00:00
ff926d85a4 Define BOOST_SPIRIT_USE_PHOENIX_V3=1 2015-12-29 19:12:15 +00:00
c6f034d98e Replace spirit phoenix with standalone phoenix includes. 2015-12-29 19:02:56 +00:00
a3f44bce8d Use new parametric query_void() instead of manual insert into sets. 2015-12-29 18:11:15 +00:00
d2b18cd157 Remove some warnings happening on gcc 4.9. 2015-12-29 17:32:48 +00:00
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