aboutsummaryrefslogtreecommitdiff
path: root/Plugin/URL_Title.pm
Commit message (Collapse)AuthorAge
* URL_Title: Don't try and use non-existent headerDavid Phillips2018-10-02
|
* Validate configuration parameter presence and typeDavid Phillips2018-09-21
|
* Overhaul config parsingDavid Phillips2018-09-17
| | | | | | | | | | | | | | | | * makes plugin config more private: The config file now uses sections denoted with [Plugin::Foo] where plugin- private config can be stored. Plugins are now passed the usual, as well as a hashref for their own config section. They are also passed the config section of the core, i.e. those config options not appearing in an explicit section. Generally, these are used for bot-global options, so should be accessible to all plugins, but plugin-specific config shall be hidden * tries to improve parsing of hash-like strings and arrays The previous mechanism of using regex to pull out possible tokens was only ever meant to be temporary, and caused problems with escaping or encapsulation inside strings. I have made steps on hash parsing to allow tokens inside strings. Both array and hash parsing still to provide an escape character to escape the item separator (,)
* Rename handlers to on_*David Phillips2018-09-10
|
* Reinstate action handling in modules that need itDavid Phillips2018-09-10
| | | | Also remove debug logging statements from Jinx.pm
* Configurable modulesDavid Phillips2018-09-03
|
* Remove unnecessary shebangs from modulesDavid Phillips2018-08-12
|
* URL_Title.pm: allow for percent encodingDavid Phillips2018-08-10
|
* No need for [A-z] when case-insensitive flag usedDavid Phillips2018-06-20
|
* Change URL parsing from space to RFC 3982David Phillips2018-06-20
|
* URL_Title: Allow SVG titlingDavid Phillips2018-06-19
|
* Truncate URLs based on shorturl length, not full URLDavid Phillips2018-05-07
|
* Fold URL title whitespace into same lineDavid Phillips2018-05-07
|
* Replace HTML::HeadParser with HTML::ParserDavid Phillips2018-05-07
| | | | Weird bugs with HeadParser, cannot debug and patch for upstream as yet
* Decode HTML body before passing to to head parserDavid Phillips2018-04-10
| | | | | | | | | From the HTML::HeadParser docs: > Note that the HTML::HeadParser might get confused if raw undecoded UTF-8 is > passed to the parse() method. Make sure the strings are properly decoded > before passing them on. This explains some hard-to-trace bugs with character mangling
* Correct capitalisation on module namesDavid Phillips2018-04-10