Commit Graph

14 Commits

Author SHA1 Message Date
3fe1e78af4
Add --delete, to delete URIs from the database.
All checks were successful
continuous-integration/drone/push Build is passing
Closes #5.
2019-11-28 00:56:20 +01:00
ff7b6338a0
Replace Poco::Path::dataHome() with get_data_home().
All checks were successful
continuous-integration/drone/push Build is passing
`Poco::Path::dataHome()` does not follow the XDG Base Directory Specification.
2019-10-27 07:21:18 +01:00
e1ee5d7b37
Remove dependency on libxdg-basedir and pkg-config. 2019-10-27 05:05:51 +01:00
2c4fb47f63
Changed namespace-indentation and header order. 2019-09-30 13:23:45 +02:00
f48b07f323
Refactored for better readability.
All checks were successful
continuous-integration/drone/push Build is passing
Ran clang-tidy over the code, took most of the advice.
2019-09-25 03:58:29 +02:00
76ed9e9222
Don't return empty entry if no data is matched.
All checks were successful
continuous-integration/drone/push Build is passing
Add check if number of rows is != 0.
2019-09-06 02:10:08 +02:00
c0d10423ba
Changed vector<Database::entry> to list<Database::entry>. 2019-08-08 15:19:42 +02:00
7143e09901
Read the time when retrieving data from database.
All checks were successful
continuous-integration/drone/push Build is passing
The datetime format is SQLite, the function expected ISO 8601.
2019-08-07 20:39:12 +02:00
fafb0c8aa1
Switched from vsqlite++ to POCO.
Some checks failed
continuous-integration/drone/push Build is failing
2019-08-07 19:41:58 +02:00
6d16b2598e
Revert "Replace libxdg-basedir with Poco::Path."
This reverts commit d74b3cabfa.

Poco::Path::dataHome() is only available in >= 1.9.
2019-08-05 19:11:37 +02:00
d74b3cabfa
Replace libxdg-basedir with Poco::Path. 2019-08-05 18:40:36 +02:00
4aec2fafb3
Simplyfied entry comparison in operator ==(). 2019-07-29 12:50:53 +02:00
b3bb1f05f2
namespaced library.
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-27 09:59:43 +02:00
7fb23ee207
Split code into library and cli. 2019-07-26 20:58:24 +02:00