Commit Graph

217 Commits

Author SHA1 Message Date
Valentin Lorentz
6cbc6a14dd Rename all 'locale' directories to 'locales'.
Firstly, these directories contains more than one locale. Secondly, it conflicts with the 'locale' python module.
2012-12-26 15:43:35 +01:00
Valentin Lorentz
992de0962b Misc: Update @version to use new display format of dates in Github API. 2012-11-05 15:44:22 +00:00
Valentin Lorentz
484d7e6fac Misc: Notify the caller when @tell succeeded. Closes GH-97.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-10-24 17:36:21 -04:00
James McCoy
57e429011d Misc: Use regexp_wrapper for Misc.last
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-10-24 00:24:16 -04:00
Daniel Folkinshteyn
9356d0734f Misc: fix potential ddos when misc.last command is fed a specially-crafted regexp.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-10-20 14:56:11 -04: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
45bf9db03c Merge branch 'py3k-backport' into testing
This branch provides support of Python 3 via 2to3 (without dropping
Python 2 support).
2012-08-08 21:46:29 +02:00
Valentin Lorentz
0134696b8b Misc: make plugin py3k-friendly. 2012-08-04 20:25:36 +02:00
Mika Suomalainen
89a2ed7313 Misc: update l10n-fi. 2012-08-04 15:30:53 +03:00
Valentin Lorentz
5033893e9c Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2012-07-30 11:36:39 +02:00
Valentin Lorentz
e8fd44570a Misc: Internationalize a string & update l10n-fr. 2012-07-30 11:31:17 +02:00
Valentin Lorentz
afbdcf89f5 Misc: Fix l10n-fr. 2012-07-29 12:35:51 +00:00
Valentin Lorentz
5be287b536 Misc: Fix encoding issue with translations using non-ascii characters in @version string. 2012-05-21 17:21:43 +00:00
Valentin Lorentz
0a4e99b6f2 Misc: Use the GitHub API in @version.
* Works with the new automatic version.py
* Prevents us from loading and parsing a raw file.
2012-05-11 19:00:40 +02:00
Valentin Lorentz
d71b1a815a Merge pull request #341 from Mkaysi/l10n-de
Update l10n-de.
2012-04-27 08:56:40 -07:00
Mika Suomalainen
04f0660a31 Misc: update l10n-hu. 2012-04-27 17:55:51 +02:00
Mika Suomalainen
a9db7f02ea Misc: update l10n-de. 2012-04-27 15:40:28 +03:00
Valentin Lorentz
e92b8a62f5 Merge supybot's master (will make future merges easier)
Conflicts:
	plugins/Misc/plugin.py
	plugins/String/plugin.py
	src/drivers/Socket.py
	src/irclib.py
	src/ircutils.py
2012-04-03 16:55:29 +02:00
skizzhg
aedfc07762 Update l10n-it. 2012-03-16 18:28:05 +01:00
Mika Suomalainen
b3d9a475ea Misc: update l10n-fi. 2012-03-15 20:48:51 +08:00
Valentin Lorentz
808ed5cd9b Update l10n-fr. 2012-03-15 13:44:43 +01:00
Valentin Lorentz
46a890417a Update all plugin .pot files. 2012-03-11 21:06:19 +00:00
nyuszika7h
5b0faad2f9 Misc: Handle KeyError in 'completenick'. Closes GH-315. 2012-02-25 21:04:08 +08:00
Valentin Lorentz
e2c1adda7f Misc: Fix search of unloaded plugins if Misc is not in supybot install dir. 2012-02-20 07:26:49 +00:00
Valentin Lorentz
f18850e5f8 Misc: Add @completenick. Closes GH-154. 2012-02-11 15:17:12 +01:00
James McCoy
f0233c370f Prevent nesting of Misc.tell
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-13 18:05:21 +01:00
James McCoy
ca23cbb774 Merge branch 'maint/0.83.4' 2011-12-06 01:18:18 -05:00
James McCoy
5b4c150d03 Prevent nesting of Misc.tell
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-12-05 23:13:09 -05:00
James McCoy
8b73f78b3e Merge branch 'maint/0.83.4'
Conflicts:
	plugins/Misc/plugin.py
	src/ircutils.py

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-11-13 15:26:19 -05:00
Florian Besser
f32c65b526 Misc: Update l10n-de 2011-11-04 18:58:59 +01:00
James McCoy
c91916ae5e Misc: Avoid setting up "invalid command" flood handling if its not enabled
Closes: Sf#3088554
Signed-off-by: James McCoy <vega.james@gmail.com>
2011-10-29 17:53:35 -04:00
Florian Besser
67ede3d38b Misc: Add l10n-de 2011-10-27 12:41:57 +02:00
Valentin Lorentz
90ad25668e Misc: Fix order of replies of @tell, in order to fix issue with nesting.
Using @ignore [tell foo bar] was telling 'The operation succeeded' to foo, and ignore 'bar'.
2011-09-18 10:31:09 +02:00
Valentin Lorentz
2f6acdf42f Misc: Add --unloaded option. 2011-09-01 17:48:09 +00:00
nyuszika7h
0418c64505 Channel & Misc & Reply: Update l10n-hu. 2011-08-15 14:53:29 +02:00
Daniel Folkinshteyn
e11dc28025 Misc: fix potential ddos when misc.last command is fed a specially-crafted regexp.
Conflicts:

	plugins/Misc/plugin.py
2011-08-13 01:56:21 +02:00
Valentin Lorentz
d85cbd256b Misc: Security fix to @last: time-consuming could freeze the bot. Closes GH-157. 2011-08-12 18:51:40 +02:00
Valentin Lorentz
2caae4d043 Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-08-12 13:07:14 +02:00
skizzhg
54aef4f3d5 Later & Misc & Seen & Todo: Update l10n-it. 2011-08-10 17:23:59 +02:00
Mika Suomalainen
11f6220458 Misc: update l10n-fi
Also updated header.
2011-08-10 15:03:37 +03:00
skizzhg
cf436631d6 Admin & Anonymous & AutoMode & Channel & Misc & NickCapture & Seen & Todo & URL: Update l10n-it. 2011-08-10 11:48:07 +02:00
Valentin Lorentz
bc36debe2f ChannelLogger & Format & Karma & Later & Misc & Owner & Reply & Seen & Status & Todo & URL & Unix: Update messages.pot and l10n-fr. 2011-08-10 11:44:57 +02:00
Valentin Lorentz
9cd2c31dd4 Misc: Notify the caller when @tell succeeded. Closes GH-97. 2011-08-07 11:30:51 +02:00
skizzhg
7e88bb1ce3 Update l10n-it for many plugins. 2011-08-07 11:16:04 +02:00
Valentin Lorentz
0ec578eec4 Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-08-06 18:58:17 +02:00
skizzhg
1af08c27d7 Admin & Channel & Games & Math & MessageParser & Misc & MoobotFactoids & Network & Nickometer & Owner & Praise & Relay & Reply & Topic & Unix & Web: update/add l10n-it. 2011-08-06 18:55:38 +02:00
nyuszika7h
09479e96eb Misc: Update l10n-hu. 2011-07-30 23:41:36 +02:00
nyuszika7h
c9f48d8555 Misc: Added partial l10n-hu. 2011-07-30 23:30:37 +02:00
Mika Suomalainen
9ce5b943aa Misc: fixed l18-n 2011-07-16 21:19:20 +03:00
Valentin Lorentz
4e6d08c7ce Misc: Fix @source help. Closes GH-78. 2011-07-16 13:45:43 +02:00
Mika Suomalainen
862a590020 Misc: added l18n-fi 2011-07-15 17:21:36 +03:00
Valentin Lorentz
fac7f9b379 AutoMode & Conditional & Misc & Network & Owner & Plugin & RSS & Relay & Services & String & Unix: Add l10n-it. 2011-07-12 15:04:13 +02:00
Valentin Lorentz
6b160def92 Misc: Update messages.pot and l10n-fr. 2011-07-10 19:00:12 +02:00
Valentin Lorentz
a83f2c9a07 Misc: Change URL in @source. 2011-07-10 17:08:20 +02:00
Valentin Lorentz
28a3067eee Misc: update i18n and l10n-fr 2011-06-06 19:06:52 +02:00
Valentin Lorentz
6c1699583b Misc: use Limnoria version string. 2011-06-05 20:30:32 +02:00
Valentin Lorentz
dbf353770e Misc: fix french translation 2011-03-09 12:06:54 +01:00
Valentin Lorentz
54e6e45bd7 Misc: fix typo French translation (thanks to trashy) 2011-03-01 21:55:32 +01:00
Valentin Lorentz
0d7e3d3759 (Re)generate all plugin's .pot file 2011-02-26 10:40:50 +01:00
Valentin Lorentz
f13a2c7ee4 Fix translations 2011-01-08 13:35:43 +01:00
Valentin Lorentz
ddb3dd5a50 Merge branch 'i18n' into l18n-fr 2010-11-01 11:49:04 +01:00
Valentin Lorentz
4dcd7f7fb4 Bug fixes (mainly the &config help internationalization) 2010-11-01 11:42:33 +01:00
Valentin Lorentz
f536540204 Merge branch 'i18n' into l10n-fr 2010-10-31 11:31:53 +01:00
Valentin Lorentz
0360451cb9 Note & Owner : fix missing import for the i18n 2010-10-31 11:29:01 +01:00
Valentin Lorentz
eb8b16f8fb Localize Misc, MoobotFactoids, Network, News, NickCapture, Nikometer, Note, Owner, Plugin, Praise, Protector, Quote, QuoteGrabs, RSS, Relay, Reply, Scheduler, and Seen 2010-10-29 18:10:32 +02:00
Valentin Lorentz
45de092652 Internationalize Herald, Internet, Karma, Lart, Later, Limiter, Math, and Misc 2010-10-17 15:59:23 +02:00
Daniel Folkinshteyn
9e1ba9910a make Misc.apropos return plugin name even if command is in only one plugin.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit 8daebd1240)
2010-08-24 19:50:22 -04:00
Daniel Folkinshteyn
8daebd1240 make Misc.apropos return plugin name even if command is in only one plugin.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-06-19 17:20:20 -04:00
Jeremy Fincher
b9d6277e30 Added supybot.abuse.flood.command.invalid.notify, a configuration variable determining whether the bot will notify infractors of their ignoring. 2009-06-09 10:40:05 -05:00
James Vega
0d98118247 Allow getCommandHelp to be told whether to use simpleSyntax.
Use this to force Misc.help to ignore simpleSyntax since the user has
explicitly asked for the help.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:12:54 -04:00
James Vega
f539e65b8e Misc.last: Prevent potential information leaks
Add required predicates which
1) Do not retrieve messages from a channel the calling user isn't in
2) Do not retrieve messages from a +s channel unless the calling user is in a
   query or in that channel

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-03-08 01:09:25 -05:00
James Vega
507b95a2eb Fix a couple Misc tests 2009-03-11 13:37:26 -04:00
James Vega
7bb3b1ec60 Merge the changes from the python25compat branch into the trunk 2009-03-11 13:37:24 -04:00
James Vega
4de0a49489 plugins/Misc/test.py: Correct a test and make a couple tests more robust. 2006-05-05 12:51:08 +00:00
James Vega
48a5f2a4a9 plugins/Misc/test.py: Add a missing plugin that needs to be loaded. Update some documentation and add a note about why a test is failing. 2006-05-05 12:50:13 +00:00
James Vega
a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega
d4d165ea40 plugins/Misc: Make sure Misc.last only skips the first message if last is being performed on the channel the user is currently in. 2005-06-10 12:19:10 +00:00
Jeremy Fincher
490fb0b140 Changed prefixName to prefixNick, which is more appropriate, and has always bothered me. Better now than later. 2005-06-01 21:08:30 +00:00
Jeremy Fincher
b41166cc4c This should've been an error response in the first place. 2005-06-01 20:14:37 +00:00
Jeremy Fincher
5c8677cf22 Give a better error message when a given command isn't found in a plugin. 2005-06-01 01:10:08 +00:00
Jeremy Fincher
0b848199b5 Fixed some style issues with logging calls. 2005-05-18 04:18:35 +00:00
James Vega
726679d6e4 plugins/Misc: Give proper help when listing a plugin with no commands. 2005-05-09 17:53:06 +00:00
Jeremy Fincher
f79ffc85bd Fixed bug with replies when it's not a command and it's not nested. 2005-05-05 13:24:11 +00:00
James Vega
141bbf8bff Remove the hostmask test from Misc. 2005-04-15 12:15:51 +00:00
James Vega
9482f27bf1 Make hostmask a source-nested command in User. 2005-04-14 23:41:18 +00:00
Jeremy Fincher
47a1912030 Improved the reply given when a plugin with no commands is 'list'ed. 2005-03-26 17:52:40 +00:00
James Vega
9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
Jeremy Fincher
b0e006ab12 Fixed help to show the full command. 2005-02-24 12:50:09 +00:00
Jeremy Fincher
e863999e16 Accidentally changed this from an error to a reply when refactoring. 2005-02-24 04:25:28 +00:00
Jeremy Fincher
66036c344f Oops, forgot a format. 2005-02-19 19:48:48 +00:00
Jeremy Fincher
1c10d4cd20 Fixed help. 2005-02-19 19:44:49 +00:00
Jeremy Fincher
8756b79cc4 Moved the appropriate commands from Misc to Plugin, and fixed the test failures in the process. 2005-02-18 06:31:26 +00:00
Jeremy Fincher
0e86d75ed7 Fixed apropos and help to work with the newly refactored command change. 2005-02-18 05:21:15 +00:00
James Vega
90c000793d utils.gen.* functions shouldn't explicitly be called since they're all in the utils namespace. 2005-02-15 13:57:57 +00:00
James Vega
b13a607e2c Fix some test failures. 2005-02-13 02:53:31 +00:00
Jeremy Fincher
181d0d59c6 Had the more and the messages reversed. 2005-02-10 01:28:38 +00:00
James Vega
88746764dd Update source URL. 2005-02-09 18:09:07 +00:00
Jeremy Fincher
b0cb616709 Changed callbacks.Privmsg to be callbacks.Plugin, and callbacks.PrivmsgCommandAndRegexp to be callbacks.Plugin. 2005-02-09 07:04:04 +00:00
Jeremy Fincher
70d1b1d5d0 Moved _mores to IrcObjectProxy, where it more rightfully belongs. 2005-02-07 06:28:52 +00:00
Jeremy Fincher
972716069c Removed callbacks.Privmsg; if it is replaced at some later time, it'll be different. 2005-02-07 06:10:41 +00:00
Jeremy Fincher
fd365e9994 Removed the revision tests, since we removed the revision command. 2005-02-07 05:52:42 +00:00
Jeremy Fincher
fdddefe129 Added a listCommands method to PrivmsgRegexp, to allow plugins to list their own commands. 2005-02-04 20:08:38 +00:00
Daniel DiPaolo
c998dfbebf Moving action,reply,private,notice to new Reply plugin (for real) 2005-02-02 04:39:45 +00:00
Daniel DiPaolo
739c9ceda7 Fix Misc tests not to rely on Gameknot 2005-02-01 07:39:28 +00:00
James Vega
8669467b9b Split ping off from the old Fun plugin. 2005-02-02 03:26:22 +00:00
Jeremy Fincher
6965abc3fd Made the warning log in Misc.version (a) info, and (b) more useful. 2005-02-02 02:44:58 +00:00
James Vega
2b7e813ffd jemfinch needs his dots! 2005-02-01 13:50:01 +00:00
Jeremy Fincher
641c5cd634 Added __version__ strings to already-converted plugins. 2005-02-01 06:15:37 +00:00
James Vega
de89bf0265 Update usage of utils.str functions. 2005-01-31 14:52:27 +00:00
James Vega
28cb5abc65 Update usage of functions in utils.gen. 2005-01-31 13:06:43 +00:00
Jeremy Fincher
68b1d65d68 Plugin normalization, sanitation, etc. Removed unused imports, for the most part. 2005-01-29 21:24:17 +00:00
Jeremy Fincher
381a42d863 Added an "irc" argument to callbacks.Privmsg.__init__, so now plugins get an Irc on instantiation. 2005-01-29 19:16:29 +00:00
Jeremy Fincher
5fd6bbb52d Completely restructured our utils modules.
Tons of changes.  Here's the summary of things that matter most:

* There is no more supybot.fix.
* There is no more supybot.webutils; now there is supybot.utils.web.
  * It's no longer webutils.WebError, but just utils.web.Error.
* You shouldn't import itertools, ideally, but instead import utils.iter.
* No more using imap/ifilter in commands unless absolutely necessary.  It's
  premature optimization and annoying.
* utils.str.format isn't quite ready yet, but will be soon.  That'll be the
  next big thing to fix in our code.
2005-01-27 06:59:08 +00:00
Jeremy Fincher
8d415d7631 Updated to work with the new supybot-test. 2005-01-19 23:20:46 +00:00
Jeremy Fincher
2c31235a3e Moved docstrings in plugin packages to __init__.py instead of plugin.py; no lazy "backwards compatibility" hack. 2005-01-19 23:17:35 +00:00
Jeremy Fincher
5019d10a1b Updated license years. 2005-01-19 13:33:05 +00:00
Jeremy Fincher
8ca625d339 Initial import. 2005-01-19 13:14:38 +00:00