Commit Graph

58 Commits

Author SHA1 Message Date
tastytea 8b84429c94
Changed -S, --span to -T, --time-span,
continuous-integration/drone/push Build is passing Details
and added -S as short option for --search-all.
2019-05-22 09:54:56 +02:00
tastytea 8e75e7bfbf
Added option to not archive page.
continuous-integration/drone/push Build is passing Details
2019-05-22 09:43:58 +02:00
tastytea 50f2007291
Fixed tag list in AsciiDoc-export if entry has no title. 2019-05-21 15:26:20 +02:00
tastytea feab1e8769
Forgot newline after error message. 2019-05-21 11:59:58 +02:00
tastytea 02aae04cf5
Replaced more characters for tag anchors, prepend t_ to tag anchors.
continuous-integration/drone/push Build is passing Details
2019-05-20 13:13:26 +02:00
tastytea 32040c277c
Replaced more regular expressions with search & replace.
continuous-integration/drone/push Build is passing Details
2019-05-20 10:50:49 +02:00
tastytea 344e77d8bf
Replace more characters for tag-anchors.
Asciidoctor doesn't like ₀-₉ and ⁰-⁹.
2019-05-20 10:49:15 +02:00
tastytea da4931ab2f
Made tag-sorting locale-aware.
continuous-integration/drone/push Build is failing Details
2019-05-19 19:19:51 +02:00
tastytea 679a335b63
Updated usage line.
continuous-integration/drone/push Build is passing Details
2019-05-19 13:03:53 +02:00
tastytea da5ff47396
Ruled out duplicates when searching. 2019-05-19 12:47:38 +02:00
tastytea 26623cc95b
Confused option description with default value for --search-all. 2019-05-19 11:52:31 +02:00
tastytea 896d0e7734
Added option to search in tags, titles, descriptions and full texts. 2019-05-19 10:56:03 +02:00
tastytea ef145b2b00
Added option to search for tags.
continuous-integration/drone/push Build is passing Details
2019-05-19 09:42:52 +02:00
tastytea 3d19b9a1d2
Sort tags by number of occurrences first, then alphabetically.
continuous-integration/drone/push Build is passing Details
2019-05-18 15:13:27 +02:00
tastytea 6036e6c35d
Return error if fulltext is empty. 2019-05-18 13:51:41 +02:00
tastytea 3c8f9d8c7f
Print error message if archiving fails.
continuous-integration/drone/push Build is passing Details
2019-05-18 12:46:58 +02:00
tastytea 8e4d70985d
Added set_curlpp_options() to set common curlpp options. 2019-05-18 07:54:22 +02:00
tastytea f57f2bf578
Fixed AsciiDoc export.
continuous-integration/drone/push Build is passing Details
It was not formatted correctly if descriptions were missing.
2019-05-18 03:03:37 +02:00
tastytea 28503cc3bd
Only attempt to extract title and description from HTML files.
continuous-integration/drone/push Build is failing Details
2019-05-18 01:57:07 +02:00
tastytea 662fe22df4
Modified AsciiDoc output a bit.
continuous-integration/drone/push Build is passing Details
Seconds are no longer included in times, the link to the archived
version comes directly after the time and tags are separated by a |.
2019-05-17 11:13:39 +02:00
tastytea 887d6bd0ca
That last newline was not necessary. 2019-05-17 08:07:32 +02:00
tastytea 751e6b2d12
Oops, forgot a ;.
continuous-integration/drone/push Build is passing Details
2019-05-17 05:54:30 +02:00
tastytea f9563cddcd
Replaced regular expressions in with find & replace, where possible.
continuous-integration/drone/push Build is failing Details
2019-05-17 05:43:17 +02:00
tastytea c7f35db5d9
Added tests for the URI class.
continuous-integration/drone/push Build is passing Details
2019-05-17 03:00:47 +02:00
tastytea 15af9633bf
Fixed off-by-one bug in remove_html_tags(). 2019-05-17 03:00:07 +02:00
tastytea a08d305ab6
Adding tests for AsciiDoc export. 2019-05-17 01:42:49 +02:00
tastytea 3f3964973a
Fixed array initialisation for gcc-5.
continuous-integration/drone/push Build is failing Details
2019-05-17 00:30:03 +02:00
tastytea d4314c3f1c
Changed short option for --span from -s to -S. 2019-05-17 00:04:24 +02:00
tastytea 0cf8c65c40
Removed --sort. 2019-05-16 12:55:54 +02:00
tastytea e65fb77722
Cosmetic changes. 2019-05-16 12:53:32 +02:00
tastytea 81f7feb044
List things by tag. 2019-05-16 12:39:22 +02:00
tastytea 1c5927666d
Fixed segfault with pages on https://freitag.de/. 2019-05-16 12:03:09 +02:00
tastytea a3259626ff
Added AsciiDoc support. 2019-05-16 09:41:20 +02:00
tastytea 914d22569f
Renamed URL to URI. 2019-05-16 08:37:38 +02:00
tastytea 3e4ee6985f
Sort newest to oldest. 2019-05-16 07:54:24 +02:00
tastytea 563690dba9
Only attempt to archive URL if it begins with http. 2019-05-16 07:53:28 +02:00
tastytea bb9cff2992
Made CSV expoer RFC 4180 compliant. 2019-05-16 03:56:17 +02:00
tastytea dfc382b92c
CSV: Enclose everything in "". 2019-05-16 00:52:05 +02:00
tastytea d95a9a1255
Print only 1 CSV header. 2019-05-16 00:45:06 +02:00
tastytea 1c336bba29
There was 1 / too many. 2019-05-16 00:41:06 +02:00
tastytea f5e3e6af49
CSV header. 2019-05-16 00:33:28 +02:00
tastytea b6dffa9c7b
Filter by time-span in export. 2019-05-16 00:26:48 +02:00
tastytea 2c27a352a2
Export as CSV to stdout. 2019-05-16 00:13:26 +02:00
tastytea df69efbbb7
Print function name in error messages. 2019-05-16 00:04:49 +02:00
tastytea c17b7e89f1
Allow conversion from/to SQLite datetime. 2019-05-16 00:03:57 +02:00
tastytea f636215b8d
Aliased system_clock::time_point to time_point. 2019-05-15 22:41:48 +02:00
tastytea 91ab718099
Put global types in types.hpp. 2019-05-15 22:40:02 +02:00
tastytea cc912b8a36
Archive URLs. 2019-05-15 22:24:11 +02:00
tastytea 1c39c8ac86
Fetch page, extract title, description and full text. 2019-05-15 07:04:12 +02:00
tastytea a1e3c57da2
Storing URL & time & tags in the database works. 2019-05-14 22:57:51 +02:00