Commit Graph

168 Commits

Author SHA1 Message Date
Gordon Shumway 8dcbb7a195 Update plugin.py 2019-03-08 23:36:32 -05:00
Tobias Rosenqvist 85bd8e21a2 SpiffyTitles: refactored t() 2017-04-14 14:23:45 +02:00
Tobias Rosenqvist c385cb4ac7 SpiffyTitles: fix for "typo" in my last commit 2017-04-14 01:51:23 +02:00
Tobias Rosenqvist bc92311f47 SpiffyTitles: Make t work again, and behave saner 2017-04-14 01:05:53 +02:00
Tobias Rosenqvist da4c823b92 SpiffyTitles: config.py, moved some items around, added comments 2017-04-12 11:48:22 +02:00
Tobias Rosenqvist 1f6a385d97 SpiffyTitles: Fixed the IMDB template, it needs to be a ChannelValue,
not a GlobalValue.
2017-04-12 09:34:04 +00:00
Tobias Rosenqvist dd5b428b7f Refactored the template fetching, which requires py3<->py2 considerations,
into it's own method; get_template()
2017-04-12 09:14:37 +00:00
Tobias Rosenqvist e33acd7331 Made it work properly (at all) on py3 again.
It should also still work on py2.
2017-04-09 16:36:13 +00:00
Skeeter Alvarez a79c679ca7 Make SSL verification configurable with registry value verifySSL 2017-04-04 13:39:50 -07:00
Skeeter Alvarez 0837ad539e Fix some issues that prevented plugin from being loaded on python3.. 2017-04-04 13:17:25 -07:00
Butterscotch Stallion b714f8bc1d Merge pull request #100 from lunchdump/master
Make UTF-8 support python2 friendly
2017-04-03 19:03:48 -04:00
Skeeter Alvarez c253465dd1 Make UTF-8 support python2 friendly 2017-04-03 15:58:51 -07:00
Butterscotch Stallion 94278087db Merge pull request #99 from Znuff/patch-3
Changed BeautifulSoup parser to html5lib
2017-04-03 17:43:22 -04:00
Butterscotch Stallion f601392aa4 Merge pull request #98 from Znuff/patch-2
Added unicode support to templates
2017-04-03 17:40:50 -04:00
Bogdan Ilisei 520776d371 Changed BeautifulSoup parser to html5lib
This makes it possible for SpiffyTitles to decode html entities like &abreve; &acirc; &comma; etc.
2017-03-09 22:48:03 +02:00
Bogdan Ilisei 4e5167fd5b Added unicode support to templates
Allows unicode chars and emojis to be used in templates.
2017-02-28 09:19:38 +02:00
Tobias Rosenqvist 7539487ed9 Moved .gitignore to the root of the repository, where it should be 2016-11-17 23:30:59 +00:00
Tobias Rosenqvist f3cefdd2f4 Channel names in channelBlacklist and channelWhitelist must be lowercase. This was not made clear enough, now noted in the README. 2016-11-17 22:58:15 +00:00
Tobias Rosenqvist b0f74a81e3 Fixes #91 2 - ran 2to3 to fix Python2->Python3 issues 2016-11-17 22:48:24 +00:00
Tobias Rosenqvist 440ef154ab Fixes #91 1 - unicodedata.normalize() is what was most likely intended here, also deciding on NFC normalization 2016-11-17 21:24:53 +00:00
Tobias Rosenqvist 270516d717 Added a .gitignore 2016-11-17 21:22:46 +00:00
butterscotchstallion b49d289ae1 Fixes #76 - use irc.queueMsg for all messages 2016-01-30 14:07:43 -05:00
butterscotchstallion f50d9307ac Fixes #86 for real - adds specific handling for the case of dai.ly 2016-01-30 14:04:24 -05:00
butterscotchstallion 997aa7eb13 Adds dailymotion.com to Daily Motion handler 2016-01-30 13:43:14 -05:00
butterscotchstallion ddddb195c7 Fixes #86 - Adds dai.ly domain for Daily Motion handler 2016-01-30 13:32:38 -05:00
butterscotchstallion e52b731862 Fixes a bug in has_capability which wasn't including the channel
Lots of pep8 cleanup
2016-01-07 18:38:53 -05:00
kerozene a58d571cc8 SpiffyTitles: improve Reddit handler template tags
- {{age}} 'today', 'yesterday'
- {{title}} in commentTemplate is thread title
2015-12-14 15:35:53 +11:00
kerozene cf97950568 SpiffyTitles: Fix wrong return value 'None' in get_source_by_url() 2015-12-13 12:53:42 +11:00
kerozene 8883df571c SpiffyTitles: default handler - take the first non-empty title tag 2015-12-13 02:47:55 +11:00
kerozene 8b3b997086 SpiffyTitles: Add Reddit handler 2015-12-12 15:15:44 +11:00
kerozene 207f48e5a1 SpiffyTitles: Add a fallback base domain matcher for handlers
- Fixes #77
2015-12-12 04:12:50 +11:00
kerozene 0d627f45a3 SpiffyTitles: Add warning if link is a redirect to a different domain
- redirect sites like http://grabify.link present innocuous content
  while logging IPs
2015-12-12 04:12:50 +11:00
kerozene 5847c0601e SpiffyTitles: Make domainPattern settings channel-based 2015-12-12 04:12:50 +11:00
kerozene 05b7ea1a46 SpiffyTitles: Implement Wikipedia extracts 2015-11-20 04:37:08 +11:00
butterscotchstallion 80ca56d870 Fixes error in regular expression example in documentation 2015-11-12 22:41:59 -05:00
butterscotchstallion ed4dde81c1 Fixes logging issues 2015-11-12 01:25:06 -05:00
butterscotchstallion 0a938a1fce Fixes a typo 2015-11-12 01:09:40 -05:00
butterscotchstallion 492e4fbee5 Reduces verbosity of logging and updates documentation 2015-11-11 18:15:28 -05:00
butterscotchstallion 335eb6ab21 Fixes an error in the documentation 2015-11-11 12:07:16 -05:00
kerozene b7ee7bd891 SpiffyTitles: fix 'hours' edge case for #72 2015-11-11 12:51:58 +11:00
butterscotchstallion 237591941e Fixes #72 - parse error for timestamps that don't have seconds 2015-11-10 00:48:10 -05:00
butterscotchstallion e3b71443b0 Changes nearly every configuration option to be per-channel! 2015-11-09 19:44:49 -05:00
butterscotchstallion a16014c039 Changes "defaultTitleTemplate" to a channel configuration value 2015-11-09 18:24:17 -05:00
butterscotchstallion 46e1851369 Removes some debugging code 2015-11-08 22:36:53 -05:00
butterscotchstallion b13d32481f Changes linkMessageIgnorePattern to a channel configuration settings. Also documents that setting 2015-11-08 19:13:26 -05:00
butterscotchstallion 8752af8065 Updates SpiffyTitles documentation/default configuration 2015-11-06 18:57:12 -05:00
kerozene 17619f96c0 SpiffyTitles: Add YouTube start timestamp 2015-11-07 05:05:19 +11:00
butterscotchstallion 7b6e5c6774 Adds lxml to requirements 2015-11-05 19:22:35 -05:00
butterscotchstallion c8e8ddd3c6 Merge branch 'master' of github.com:butterscotchstallion/limnoria-plugins 2015-11-03 18:53:11 -05:00
butterscotchstallion 88a9434087 Fixes #40 - adds requireCapability setting 2015-11-03 18:52:22 -05:00