Valentin Lorentz
a4758146d8
Factoids: Fix NameErrors in HTTP callback.
2021-06-01 12:16:34 +02:00
Valentin Lorentz
24f20dcb86
Factoids, Services: Fix crash when imported by supybot-plugin-doc
2021-04-05 11:30:59 +02:00
Valentin Lorentz
a84eabf146
Factoids: Add --author filtering to @search.
2020-07-14 18:16:10 +02:00
Valentin Lorentz
c1ae3f5c81
all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue.
2019-08-24 23:35:01 +02:00
Valentin Lorentz
696254ff1b
Use irc.isChannel instead of ircutils.isChannel when possible.
...
It's aware of the network's 'chantypes'.
2019-08-04 21:52:40 +02:00
James Lu
cd853f3e31
Factoids: add missing Raise in requireVoice checks
...
Reported by braimee on IRC.
2016-09-25 17:11:14 -07:00
Valentin Lorentz
7b658e714b
Factoids: Fix Python 3 support.
2016-06-04 18:57:31 +02:00
Valentin Lorentz
59df2ff038
Factoids: Fix names of utils.web.url(un)quote.
2016-06-04 18:53:55 +02:00
Valentin Lorentz
4576874128
httpserver: Respond to HEAD requests. Closes GH-1203.
2016-01-05 18:25:35 +01:00
Valentin Lorentz
c3a2c800f1
Remove need for 2to3.
2015-08-11 16:50:23 +02:00
Valentin Lorentz
34d384bd67
Remove need for fix_methodattrs.
2015-08-10 18:09:52 +02:00
Valentin Lorentz
c0ac84bb53
Remove need for fix_import, fix_types, and fix_urllib.
2015-08-10 17:55:25 +02:00
Valentin Lorentz
216c5d213f
Replace sys.version_info[0] usages with minisix.PY{2,3}.
2015-08-09 00:23:03 +02:00
Valentin Lorentz
be118c3338
Remove use of fix_dict fixer.
2015-08-08 23:08:49 +02:00
James Lu
a755238ef4
Add/improve help for Debug + plugins from F-W:
...
- Debug
- Factoids
- Format
- Games
- Google
- Herald
- Internet
- Karma
- Lart
- Math
- Misc
- MoobotFactoids
- Network
- News
- NickAuth
- Nickometer
- Note
- Owner
- Protector
- Quote
- QuoteGrabs
- Relay
- Scheduler
- Seen
- ShrinkUrl
- Status
- String
- Time
- Todo
- Topic
- URL
- Unix
- User
- Utilities
- Web
2014-11-30 12:07:41 -08:00
Valentin Lorentz
35bfd76852
Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support (without breaking Python 2 support).
2014-08-05 11:20:20 +02:00
Valentin Lorentz
907ede8035
Revert "Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support."
...
This reverts commit 30e03a542a
.
2014-08-05 11:20:20 +02:00
Valentin Lorentz
30e03a542a
Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support.
2014-08-05 10:48:31 +02:00
Valentin Lorentz
d431c2992b
Factoids: Fix compatibility of web server with Python 3. Closes GH-784.
2014-08-04 13:21:40 +00:00
Valentin Lorentz
35a62b4e77
Continue accelerating the 2to3 step (remove fix_ws_comma, fix_xreadlines, and fix_zip).
2014-01-21 10:40:18 +01:00
Valentin Lorentz
38bab185a9
Remove Python2.4-specific code.
2013-07-13 17:28:21 +02:00
Valentin Lorentz
4647ed81fd
Factoids: Fix help of @random.
2013-07-11 06:58:46 +00:00
Valentin Lorentz
d0476c9eb2
Factoids: Make sure _http_running is assigned before being used.
2013-06-29 12:24:52 +02:00
Valentin Lorentz
43563bcc1c
core & Factoids: Allow commands to disable doc-availability checks for programmatically setting it.
2013-06-01 17:13:55 +02:00
Valentin Lorentz
427f01032b
Factoids: Fix XHTML validation of the web interface.
2013-06-01 10:32:51 +02:00
Valentin Lorentz
8bfea88e3f
Factoids: Use supybot.plugins.Factoids.requireVoice for @forget too.
2013-05-18 14:47:38 +02:00
Valentin Lorentz
1090c4623f
Factoids: Add supybot.plugins.Factoids.requireVoice. Closes GH-378.
2013-05-17 17:47:43 +02:00
Valentin Lorentz
65afe65ae6
Factoids: Enforce order of approximate factoids.
2013-05-14 20:16:05 +02:00
Valentin Lorentz
b9a46cef21
Factoids: Fix @lock and @unlock.
2013-05-04 01:01:11 +02:00
Valentin Lorentz
f4c643ad51
Factoids: Add the web interface.
2013-03-11 19:54:17 +01:00
Valentin Lorentz
3dba9088b0
Merge remote-tracking branch 'supybot/master' into testing
...
Conflicts:
INSTALL
plugins/ChannelLogger/README.txt
plugins/ChannelStats/README.txt
plugins/Google/plugin.py
plugins/Google/test.py
plugins/Plugin/test.py
plugins/Web/test.py
setup.py
src/callbacks.py
src/ircdb.py
src/irclib.py
src/utils/str.py
test/test_irclib.py
2013-01-01 21:11:24 +01:00
James McCoy
82ecf36fcd
Update my name/contact information
...
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:16:48 -04:00
Valentin Lorentz
df2d976818
Use utils.str.MultipleReplacer instead of str.maketrans.
2012-08-04 14:04:15 +02:00
James McCoy
9b855beec6
Merge branch 'typos'
2011-10-23 19:41:54 -04:00
Valentin Lorentz
8fb4cbcdc6
Factoids: Fix typo.
...
Conflicts:
plugins/Factoids/locale/fi.po
plugins/Factoids/locale/fr.po
plugins/Factoids/messages.pot
src/version.py
Signed-off-by: James McCoy <vega.james@gmail.com>
2011-10-23 19:30:07 -04:00
Valentin Lorentz
083815c6f7
Factoids: Fix typo.
2011-07-18 15:23:06 +02:00
Valentin Lorentz
49e14f9a92
Conditional & Dict & Factoids & MessageParser: remove redundant spaces, update i18n and l10n-fr
2011-06-28 19:43:21 +02:00
Valentin Lorentz
2791955209
Factoids: fix merge problem (duplicated wrap()-ing). Thanks kini fore the report
2011-04-09 15:24:52 +02:00
Valentin Lorentz
f7899c7627
Factoids: fix merge
2011-02-26 10:45:29 +01:00
Daniel Folkinshteyn
dfeb50de2d
Add --raw option to factoids.whatis, which disables variable substitution on the factoid.
...
also add test for this.
2011-02-25 19:18:50 +01:00
Daniel Folkinshteyn
b12d8a8a04
Use the ircutils.standardSubsitute function upon factoid output.
...
This allows inclusion of the usual standardSubstitute vars within factoids.
There is no config to disable this, since it is possible to escape the substitutions
by simply doubling the dollar signs, as per the python documentation:
http://docs.python.org/library/string.html#template-strings
Thus, if you want a factoid to output a literal "$channel", for example, all
you'd need to do is use "$$channel" in your factoid text, which will come out
as "$channel" when said by the bot.
Also added tests for this new behavior.
2011-02-25 19:18:02 +01:00
Daniel Folkinshteyn
8ed94257ba
some enhancements Factoids.rank:
...
output options: plain key output, and alpha sorting for plain output.
allow an optional argument for how many ranked facts to show.
2011-02-25 19:16:48 +01:00
Daniel Folkinshteyn
d433bfc8f0
for Factoids: make approximate fuzzy key searches also when invoking whatis directly.
...
also add tests.
while there, remove useless config setting for replyinvalidcommand testing, since it is true by default.
2011-02-25 19:13:27 +01:00
Daniel Folkinshteyn
e46948400d
take out getDb override from factoids, since i have changed it upstream, in plugins.__init__.py, to use proper sqlite3 syntax.
2011-02-25 18:54:51 +01:00
Daniel Folkinshteyn
2d718d31bb
Fix factoids bug ,Factoids.showFactoidIfOnlyOneMatch feature is broken when used off-channel:
...
https://sourceforge.net/tracker/?func=detail&aid=2965589&group_id=58965&atid=489447
2011-02-25 18:48:56 +01:00
Daniel Folkinshteyn
b306c5440f
add damerau-levenshtein distance to supybot.utils.seq
...
use it in factoids invalid command to match possible typos
write tests for same.
2011-02-25 18:36:09 +01:00
Daniel Folkinshteyn
50ac5a05e1
delete leftover debug-prints
2011-02-25 18:35:30 +01:00
Daniel Folkinshteyn
366c2b7c17
add factoids alias function, to link more keys to existing factoids.
2011-02-25 18:35:17 +01:00
Daniel Folkinshteyn
436d2bade8
mod factoids plugin to use a separate key-value relationship table
...
this avoids duplication, and allows one to set a bunch of aliases for a factoid, without creating duplicates of the same fact content.
2011-02-25 18:33:40 +01:00
Daniel Folkinshteyn
471921eab6
make 'factoids info' include usage count in output. add test for same.
2011-02-24 21:03:30 +01:00