Commit Graph

47 Commits

Author SHA1 Message Date
tastytea 6123c7fbb3
Use sub-project curl_wrapper instead of custom implementation.
continuous-integration/drone/push Build is passing Details
Via git subtree from <https://schlomp.space/tastytea/curl_wrapper>.
2020-11-13 22:41:56 +01:00
tastytea 6426305366
Use libcurl to download URIs.
continuous-integration/drone/push Build is failing Details
2020-10-31 18:26:05 +01:00
tastytea 5b82bb0ef0
Reformat uri.hpp. 2020-10-31 13:25:45 +01:00
tastytea b7d5b21899
Make operator bool() in html_extract and archive_answer const. 2020-10-31 13:25:02 +01:00
tastytea 8a4f518cb9
Fix clang-tidy warnings.
continuous-integration/drone/push Build is passing Details
2020-01-27 06:32:28 +01:00
tastytea 6fa611cf42
Detect file encoding of web page and convert to UTF-8.
continuous-integration/drone/push Build is failing Details
Fixes #6.
2019-12-11 13:01:44 +01:00
tastytea 7c7d28b7bc
Store document in class variable. 2019-12-11 13:00:43 +01:00
tastytea ad676bbc13
Add rofi export. 2019-11-28 09:03:52 +01:00
tastytea f8fd9b8c6d
Add text_to_string(). 2019-11-28 09:03:38 +01:00
tastytea 138170975a
Add list.hpp to remwharead.hpp. 2019-11-28 05:08:39 +01:00
tastytea 3fe1e78af4
Add `--delete`, to delete URIs from the database.
continuous-integration/drone/push Build is passing Details
Closes #5.
2019-11-28 00:56:20 +01:00
tastytea 45668b6c9f
Add export: link.
A plain list of links, separated by newline. Closes #2.
2019-11-27 21:53:48 +01:00
tastytea 37f6da6710
[[nodiscard]] all the functions.
continuous-integration/drone/push Build is passing Details
2019-10-30 08:51:07 +01:00
tastytea 32cf647131
Nest namespaces. 2019-10-30 08:06:12 +01:00
tastytea e40140fb03
Remove unnecessary const in function declaration.
continuous-integration/drone/push Build is passing Details
2019-10-28 06:46:58 +01:00
tastytea eb77d8fc75
Implement all special member functions for ExportBase. 2019-10-28 06:46:08 +01:00
tastytea 0a1396fc25
Mark `URI::archive()` const. 2019-10-27 20:38:58 +01:00
tastytea ff7b6338a0
Replace `Poco::Path::dataHome()` with `get_data_home()`.
continuous-integration/drone/push Build is passing Details
`Poco::Path::dataHome()` does not follow the XDG Base Directory Specification.
2019-10-27 07:21:18 +01:00
tastytea d821a9310f
Add virtual destructor to ExportBase. 2019-10-25 06:00:56 +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 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 b1ce2437c0
Simplified structs.
continuous-integration/drone/push Build is passing Details
using X = struct X → struct X.
2019-09-29 01:06:27 +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 d521f21f20
Fix header installation path.
continuous-integration/drone/push Build is passing Details
2019-09-22 03:03:42 +02:00
tastytea cd3b871260
Escape JSON and RSS in description in reference. 2019-09-20 21:41:19 +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 bb8be8e47e
Replaced std::regex with Poco::RegularExpression in URI. 2019-09-20 06:29:27 +02:00
tastytea c9b82fd774
Added RSS export.
continuous-integration/drone/push Build is passing Details
2019-09-06 00:53:58 +02:00
tastytea 3c27a1a0b9
Include export/json.hpp in remwharead.hpp.
continuous-integration/drone/push Build is failing Details
2019-09-05 22:47:51 +02:00
tastytea fdca73532f
Add JSON export. 2019-09-03 17:50:14 +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 ebb1061e99
Escape Search in doxygen comments and replace vector with list. 2019-08-08 22:27:17 +02:00
tastytea c0d10423ba
Changed vector<Database::entry> to list<Database::entry>. 2019-08-08 15:19:42 +02:00
tastytea 82f471755e
Improved library-documentation. 2019-08-07 20:32:46 +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 cbcd64e172
Made ~URI virtual. 2019-08-07 15:14:00 +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 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 df59f484c6
Display right include paths in Doxygen output.
continuous-integration/drone/push Build is passing Details
2019-08-05 23:35:49 +02:00
tastytea a40a394b1a
Added CMake commands to reference and updated Doxyfile.
continuous-integration/drone/push Build is passing Details
2019-08-05 20:17:10 +02:00
tastytea 1f446388e5
Support plain HTTP as well. 2019-08-05 17:00:34 +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