Commit Graph

63 Commits

Author SHA1 Message Date
tastytea e1ee5d7b37
Remove dependency on libxdg-basedir and pkg-config. 2019-10-27 05:05:51 +01:00
tastytea cae1d99f9a
Add missing header.
continuous-integration/drone/push Build is passing Details
2019-10-25 06:01:14 +02:00
tastytea f8040f4803
Make type conversions explicit. 2019-10-25 06:00:36 +02:00
tastytea d8102b017e
Cut descriptions at 500 characters.
continuous-integration/drone/push Build is passing Details
2019-10-15 15:10:39 +02:00
tastytea 43d9e3947a
Disable clang-tidy warnings I can't do anything about.
continuous-integration/drone/push Build is passing Details
2019-10-08 18:03:27 +02:00
tastytea 61aa6b4653
Removed alias DB = Database.
continuous-integration/drone/push Build is passing Details
2019-09-30 13:24:00 +02:00
tastytea 2c4fb47f63
Changed namespace-indentation and header order. 2019-09-30 13:23:45 +02:00
tastytea f48b07f323
Refactored for better readability.
continuous-integration/drone/push Build is passing Details
Ran clang-tidy over the code, took most of the advice.
2019-09-25 03:58:29 +02:00
tastytea 31de8ff620
Replaced raw array with std::array. 2019-09-23 22:53:11 +02:00
tastytea da88eaf703
Moved tagpair-lambda up for better readability.
continuous-integration/drone/push Build is passing Details
2019-09-23 21:52:10 +02:00
tastytea e374405863
Retain archive-flag on HTTP redirects.
continuous-integration/drone/push Build is passing Details
2019-09-22 23:43:46 +02:00
tastytea 2f8dffff90
RSS export: Make description more readable.
continuous-integration/drone/push Build is passing Details
Add HTML tags to make it look neat.
2019-09-21 21:46:30 +02:00
tastytea c9221757e6
RSS export: Use chunk of description as title if title is empty.
The first 100 chars of the description will be used as title.
2019-09-21 21:44:44 +02:00
tastytea e377429dc1
Improved proxy detection.
continuous-integration/drone/push Build is passing Details
Username and password are now supported.
2019-09-20 23:13:55 +02:00
tastytea 9d3ace6de0
Remove duplicates in search results.
continuous-integration/drone/push Build is passing Details
2019-09-20 18:19:33 +02:00
tastytea 3424a9009f
Removed unused regex include from asciidoc export.
continuous-integration/drone/push Build is passing Details
2019-09-20 17:52:54 +02:00
tastytea 247f49296e
Replaced std::regex with Poco::RegularExpression in searches. 2019-09-20 17:49:03 +02:00
tastytea bb8be8e47e
Replaced std::regex with Poco::RegularExpression in URI. 2019-09-20 06:29:27 +02:00
tastytea 76ed9e9222
Don't return empty entry if no data is matched.
continuous-integration/drone/push Build is passing Details
Add check if number of rows is != 0.
2019-09-06 02:10:08 +02:00
tastytea c9b82fd774
Added RSS export.
continuous-integration/drone/push Build is passing Details
2019-09-06 00:53:58 +02:00
tastytea fdca73532f
Add JSON export. 2019-09-03 17:50:14 +02:00
tastytea 561995dadb
Include with <> instead of "". 2019-08-16 17:55:29 +02:00
tastytea aa622e7cc9
Moved threading into library.
continuous-integration/drone/push Build is passing Details
2019-08-09 00:42:27 +02:00
tastytea e015ec3f3f
Don't crash if protocol is missing / not known.
continuous-integration/drone/push Build is passing Details
2019-08-08 21:25:28 +02:00
tastytea c0d10423ba
Changed vector<Database::entry> to list<Database::entry>. 2019-08-08 15:19:42 +02:00
tastytea 7143e09901
Read the time when retrieving data from database.
continuous-integration/drone/push Build is passing Details
The datetime format is SQLite, the function expected ISO 8601.
2019-08-07 20:39:12 +02:00
tastytea 84f9c0ad97
Add Poco::Data.
continuous-integration/drone/push Build is passing Details
2019-08-07 19:52:51 +02:00
tastytea fafb0c8aa1
Switched from vsqlite++ to POCO.
continuous-integration/drone/push Build is failing Details
2019-08-07 19:41:58 +02:00
tastytea c218c23f97
Fix archiving by extracting the Content-Location header.
continuous-integration/drone/push Build is passing Details
2019-08-06 19:56:57 +02:00
tastytea e79f003a79
Prepend scheme://host to location if server returns only path. 2019-08-06 17:23:49 +02:00
tastytea 90fff35e0e
Added error handling to calls to archive service. 2019-08-06 12:40:52 +02:00
tastytea 862e90274e
Added error handling to http_extract. 2019-08-06 12:17:39 +02:00
tastytea 9bf6031b92
Replaced ICU with POCO. 2019-08-06 12:00:18 +02:00
tastytea 92eef4c64d
Transformed the search functions into a class.
Deleted unicode tests because they are covered by search tests.
2019-08-06 12:00:17 +02:00
tastytea 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
tastytea 1d7153008a
Use numbers instead of constants for HTTP response code check.
continuous-integration/drone/push Build is failing Details
Poco 1.7 doesn't have HTTPResponse::HTTP_PERMANENT_REDIRECT.
2019-08-05 18:49:17 +02:00
tastytea d74b3cabfa
Replace libxdg-basedir with Poco::Path. 2019-08-05 18:40:36 +02:00
tastytea 406c2486f7
Added HTTP proxy support.
continuous-integration/drone/push Build is failing Details
2019-08-05 18:23:34 +02:00
tastytea d4db780925
Added Poco::Foundation and subtracted Poco::Util from linked libs. 2019-08-05 17:00:53 +02:00
tastytea 1f446388e5
Support plain HTTP as well. 2019-08-05 17:00:34 +02:00
tastytea fd2db04aad
Fixed the additional search paths for the dependency-workarounds. 2019-08-04 22:25:04 +02:00
tastytea 5e18bbdf50
Added workaround for when Poco*Config.cmake recipes cannot be found.
continuous-integration/drone/push Build is failing Details
2019-08-04 20:04:55 +02:00
tastytea 9d0dd589a7
Replaced curlpp with POCO. Only HTTPS support fo far.
continuous-integration/drone/push Build is failing Details
curlpp seems dead. 🙁
2019-08-04 18:46:53 +02:00
tastytea b4e845a352
Updated CMake recipes and changed file structure.
continuous-integration/drone/push Build is failing Details
2019-08-03 22:27:08 +02:00
tastytea 083a08beb8
Re-ordered and reformatted cmake recipes.
continuous-integration/drone/push Build is passing Details
2019-07-30 07:52:37 +02:00
tastytea 4aec2fafb3
Simplyfied entry comparison in operator ==(). 2019-07-29 12:50:53 +02:00
tastytea bdf8883d58
Added a pkg-config file.
continuous-integration/drone/push Build is passing Details
2019-07-29 04:01:47 +02:00
tastytea bc3d377254
Added a bit to Reference main page.
continuous-integration/drone/push Build is passing Details
2019-07-28 02:25:59 +02:00
tastytea 68e81ff411
Escaped mentions of URI in documentation. 2019-07-28 02:18:52 +02:00
tastytea 998cc32546
Cosmetic changes in the Documentation. 2019-07-28 02:14:06 +02:00