Commit Graph

46 Commits

Author SHA1 Message Date
6426305366
Use libcurl to download URIs.
Some checks failed
continuous-integration/drone/push Build is failing
2020-10-31 18:26:05 +01:00
5b82bb0ef0
Reformat uri.hpp. 2020-10-31 13:25:45 +01:00
b7d5b21899
Make operator bool() in html_extract and archive_answer const. 2020-10-31 13:25:02 +01:00
8a4f518cb9
Fix clang-tidy warnings.
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-27 06:32:28 +01:00
6fa611cf42
Detect file encoding of web page and convert to UTF-8.
Some checks failed
continuous-integration/drone/push Build is failing
Fixes #6.
2019-12-11 13:01:44 +01:00
7c7d28b7bc
Store document in class variable. 2019-12-11 13:00:43 +01:00
ad676bbc13
Add rofi export. 2019-11-28 09:03:52 +01:00
f8fd9b8c6d
Add text_to_string(). 2019-11-28 09:03:38 +01:00
138170975a
Add list.hpp to remwharead.hpp. 2019-11-28 05:08:39 +01:00
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
45668b6c9f
Add export: link.
A plain list of links, separated by newline. Closes #2.
2019-11-27 21:53:48 +01:00
37f6da6710
[[nodiscard]] all the functions.
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-30 08:51:07 +01:00
32cf647131
Nest namespaces. 2019-10-30 08:06:12 +01:00
e40140fb03
Remove unnecessary const in function declaration.
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-28 06:46:58 +01:00
eb77d8fc75
Implement all special member functions for ExportBase. 2019-10-28 06:46:08 +01:00
0a1396fc25
Mark URI::archive() const. 2019-10-27 20:38:58 +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
d821a9310f
Add virtual destructor to ExportBase. 2019-10-25 06:00:56 +02:00
d8102b017e
Cut descriptions at 500 characters.
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-15 15:10:39 +02:00
61aa6b4653
Removed alias DB = Database.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-30 13:24:00 +02:00
2c4fb47f63
Changed namespace-indentation and header order. 2019-09-30 13:23:45 +02:00
b1ce2437c0
Simplified structs.
All checks were successful
continuous-integration/drone/push Build is passing
using X = struct X → struct X.
2019-09-29 01:06:27 +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
d521f21f20
Fix header installation path.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-22 03:03:42 +02:00
cd3b871260
Escape JSON and RSS in description in reference. 2019-09-20 21:41:19 +02:00
9d3ace6de0
Remove duplicates in search results.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-20 18:19:33 +02:00
bb8be8e47e
Replaced std::regex with Poco::RegularExpression in URI. 2019-09-20 06:29:27 +02:00
c9b82fd774
Added RSS export.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-06 00:53:58 +02:00
3c27a1a0b9
Include export/json.hpp in remwharead.hpp.
Some checks failed
continuous-integration/drone/push Build is failing
2019-09-05 22:47:51 +02:00
fdca73532f
Add JSON export. 2019-09-03 17:50:14 +02:00
aa622e7cc9
Moved threading into library.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-09 00:42:27 +02:00
ebb1061e99
Escape Search in doxygen comments and replace vector with list. 2019-08-08 22:27:17 +02:00
c0d10423ba
Changed vector<Database::entry> to list<Database::entry>. 2019-08-08 15:19:42 +02:00
82f471755e
Improved library-documentation. 2019-08-07 20:32:46 +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
cbcd64e172
Made ~URI virtual. 2019-08-07 15:14:00 +02:00
c218c23f97
Fix archiving by extracting the Content-Location header.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-06 19:56:57 +02:00
90fff35e0e
Added error handling to calls to archive service. 2019-08-06 12:40:52 +02:00
862e90274e
Added error handling to http_extract. 2019-08-06 12:17:39 +02:00
9bf6031b92
Replaced ICU with POCO. 2019-08-06 12:00:18 +02:00
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
df59f484c6
Display right include paths in Doxygen output.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-05 23:35:49 +02:00
a40a394b1a
Added CMake commands to reference and updated Doxyfile.
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-05 20:17:10 +02:00
1f446388e5
Support plain HTTP as well. 2019-08-05 17:00:34 +02:00
9d0dd589a7
Replaced curlpp with POCO. Only HTTPS support fo far.
Some checks failed
continuous-integration/drone/push Build is failing
curlpp seems dead. 🙁
2019-08-04 18:46:53 +02:00
b4e845a352
Updated CMake recipes and changed file structure.
Some checks failed
continuous-integration/drone/push Build is failing
2019-08-03 22:27:08 +02:00