Commit Graph

91 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
4dc9faf1df
Make reference in ranged for const.
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-31 13:30:40 +01:00
b7d5b21899
Make operator bool() in html_extract and archive_answer const. 2020-10-31 13:25:02 +01:00
eab10e28ae
Reformat uri.cpp. 2020-10-31 13:21:40 +01:00
4f78da24b5
Allow answer of archiving service to be an HTTP redirection.
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-07 11:56:05 +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
bb5d9cecad
Change namespace of version. 2020-01-27 04:50:33 +01:00
62fd8a8abb
Use Poco::URI::encode to percent-encode URIs in AsciiDoc export.
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-12-31 11:22:57 +01:00
489e1fba99
Fix regex for extracting charset.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-19 21:49:53 +01:00
92db2241b0
Add Boost extras to global locale.
All checks were successful
continuous-integration/drone/push Build is passing
Needed for boost::locale::to_lower() to work.
2019-12-17 13:37:06 +01:00
c3307dddf0
Prevent interpretation of AsciiDoc syntax in descriptions.
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-12-15 14:50:06 +01:00
56dc4083ce
Do not attempt to convert encoding if it is already utf-8. 2019-12-11 23:42:45 +01:00
d4d7cd4efd
Simplify is_html(). 2019-12-11 23:42:45 +01:00
c5dc9d4098
Add Boost to Hunter config.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-11 14:23:04 +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
b6e7449a6a
Allow <title> to have arguments.
All checks were successful
continuous-integration/drone/push Build is passing
Fixes title extraction on medium.com posts.
2019-12-02 15:57:56 +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
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
e1ad1a3588
Replace deprecated timelocal() with mktime().
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-27 02:11:30 +01:00
b585a543fb
Cosmetic: Move const up. 2019-11-09 22:37:09 +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
ea585751fc
Fix typo in NOLINT-comment. 2019-10-28 06:46:34 +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
e1ee5d7b37
Remove dependency on libxdg-basedir and pkg-config. 2019-10-27 05:05:51 +01:00
cae1d99f9a
Add missing header.
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-25 06:01:14 +02:00
f8040f4803
Make type conversions explicit. 2019-10-25 06:00:36 +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
43d9e3947a
Disable clang-tidy warnings I can't do anything about.
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-08 18:03:27 +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
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
31de8ff620
Replaced raw array with std::array. 2019-09-23 22:53:11 +02:00
da88eaf703
Moved tagpair-lambda up for better readability.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-23 21:52:10 +02:00
e374405863
Retain archive-flag on HTTP redirects.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-22 23:43:46 +02:00
2f8dffff90
RSS export: Make description more readable.
All checks were successful
continuous-integration/drone/push Build is passing
Add HTML tags to make it look neat.
2019-09-21 21:46:30 +02:00
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
e377429dc1
Improved proxy detection.
All checks were successful
continuous-integration/drone/push Build is passing
Username and password are now supported.
2019-09-20 23:13:55 +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
3424a9009f
Removed unused regex include from asciidoc export.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-20 17:52:54 +02:00
247f49296e
Replaced std::regex with Poco::RegularExpression in searches. 2019-09-20 17:49:03 +02:00
bb8be8e47e
Replaced std::regex with Poco::RegularExpression in URI. 2019-09-20 06:29:27 +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
c9b82fd774
Added RSS export.
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-06 00:53:58 +02:00
fdca73532f
Add JSON export. 2019-09-03 17:50:14 +02:00
561995dadb
Include with <> instead of "". 2019-08-16 17:55:29 +02:00