summaryrefslogtreecommitdiffstats
path: root/src/plugins/url.rs
Commit message (Collapse)AuthorAgeFilesLines
* Url: Use shorter timeout for title downloadsJokler2018-05-111-1/+4
| | | | | A new function has been added to the Url/download util to allow setting different timeouts.
* Main: Replace the logger with log4rsJokler2018-04-271-5/+6
|
* Drop useless titles againJokler2018-04-181-11/+23
|
* Take better title instead of first foundJokler2018-04-111-25/+18
|
* Add usefulness rating function to url titlesJokler2018-04-071-49/+99
|
* Let the Url plugin check for og:titlesJokler2018-03-221-1/+30
|
* Trim titles in the url pluginJokler2018-03-181-1/+1
|
* Add sed pluginJokler2018-03-131-2/+1
|
* Consider title tags with attributesJokler2018-03-111-4/+14
|
* Decode html encoded characters in titlesJokler2018-03-101-5/+11
|
* Use a naive search for html titles to speed it upJokler2018-03-081-12/+9
|
* Use Error & ErrorKind pair instead of simple enumsJokler2018-03-021-20/+43
| | | | | | | | | | | | Each plugin should define its own errors with a respective variant in the main ErrorKind of frippy. A new procedural macro was added to reduce the boilerplate required for new error system. It can be used by deriving "Error" and adding a name for the Error via the "error" attribute. So far non of the plugins except for Url and Factoids use their own errors yet.
* Use lossy UTF8 conversion and add a log_error functionJokler2018-03-011-5/+2
|
* Create errors with failureJokler2018-02-281-24/+13
| | | | | The plugins are mostly not using the new errors yet and the error handling in the Factoids plugin is just temporary.
* Remove unwraps from the Url pluginJokler2018-02-251-12/+19
|
* Run rustfmt and clippyJokler2018-02-241-1/+0
|
* Merge branch 'dev' into factoid-pluginJokler2018-02-231-26/+33
|\
| * Run latest rustfmtJokler2018-02-121-22/+16
| |
| * Replace is_allowed with a single-threaded execute functionJokler2018-02-121-9/+13
| | | | | | | | The old execute got renamed to exeute_threaded.
| * Upgrade dependenciesJokler2018-02-101-5/+5
| |
| * Add evaluate function to pluginsJokler2018-02-101-11/+18
| | | | | | | | This allows plugins to be used in combination with each other.
* | Add download function & fromurl commandJokler2018-02-131-59/+2
|/
* Trim url titles and move downloading into a functionJokler2017-12-131-20/+33
|
* Remove unused codeJokler2017-12-121-7/+0
|
* Only match urls which start with httpJokler2017-12-121-2/+2
|
* Add Url PluginJokler2017-12-111-0/+146