Commit Graph

81 Commits

Author SHA1 Message Date
Johannes Löthberg
7c757cd52e disable: Actually disable command by plugin if specified
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2016-11-03 14:28:41 +01:00
Valentin Lorentz
b33dadea9e Make INFO a bit less verbose when connecting. 2016-02-21 11:01:31 +01:00
Valentin Lorentz
685bedcd74 Add config variable supybot.abuse.flood.command.notify. 2015-09-16 21:32:25 +02:00
Valentin Lorentz
c81d5d3151 Make the 'command flood' banmask follow supybot.protocols.irc.banmask. 2015-09-01 20:40:32 +02:00
Valentin Lorentz
c3a2c800f1 Remove need for 2to3. 2015-08-11 16:50:23 +02:00
Valentin Lorentz
17bf893437 Fix imports. 2015-08-09 09:21:12 +02:00
Valentin Lorentz
5b9e07ecd2 Fix previous commit. 2015-08-09 00:47:50 +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
Valentin Lorentz
10a9bc578b Owner: Don't crash on "upkeep high" on Python 3.
Python 3's except statement removes the need for sys.exc_clear,
see https://www.python.org/dev/peps/pep-3100/
2015-05-19 19:10:00 +02:00
James Lu
b243c83e41 Admin/Owner: Use standard substitution for part/quit messages 2015-02-05 20:26:14 -08:00
James Lu
0e0feb1a84 Owner: substitute %version% for the Supybot version in plugins.Owner.quitMsg (Closes ProgVal#847)
Cherry-picked from commit GLolol@205199e.
2015-02-04 21:20:45 -08: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
131e5d584a Merge pull request #895 from GLolol/no-reload-owner
Owner: don't allow reloading the Owner plugin
2014-11-26 08:18:35 +01:00
GLolol
f96d00d26e Owner: fix a typo in plugin.py 2014-11-10 18:34:49 -08:00
GLolol
7e26a7fe3f Owner: don't allow reloading the Owner plugin 2014-11-03 07:45:32 -08:00
GLolol
99db7afbea Owner: update error messages
s/This plugin is incompatible/This plugin may be incompatible/
2014-11-01 11:20:05 -07:00
GLolol
76a5616bbe Owner: improve error on loading missing plugins 2014-11-01 11:08:36 -07:00
GLolol
1b2617bf8e Owner: catch ImportError in a less confusing, friendlier way 2014-11-01 10:57:01 -07:00
Valentin Lorentz
e49b6fe8d2 Owner: Make error message of plugin loading at startup more explicit. Closes GH-850. 2014-09-14 11:08:28 +00:00
Valentin Lorentz
39dad55b6f Make renaming of commands persistant. Closes GH-789. 2014-07-18 20:43:24 +02:00
Nicolas Coevoet
f9afcffb3a Fixes ProgVal/Limnoria#611 2014-05-09 14:39:57 +02:00
GLolol
b8ada98df1 Fix incorrect error on loading nonexistent plugin 2014-02-06 18:52:33 -08:00
Valentin Lorentz
bb7db3ab21 Continue accelerating the 2to3 step (remove fix_except). 2014-01-20 15:49:15 +01:00
Valentin Lorentz
2fda69b4d6 Continue accelerating the 2to3 step (remove fix_raise). 2014-01-20 15:43:55 +01:00
Valentin Lorentz
21144f7c9c Don't send JOIN on connection if there is no channels to join. 2013-07-14 09:44:34 +02:00
Valentin Lorentz
6ffcf122a7 Remove code specific to Python 2.{3,4,5}. 2013-05-13 15:27:26 +02:00
Valentin Lorentz
8f6063135e Add supybot.abuse.flood.interval. 2013-05-09 09:40:55 +02:00
Valentin Lorentz
23e84cfff9 Join all channels in one message when connecting. 2013-03-27 16:55:45 +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
Valentin Lorentz
0267f15a45 Owner: Reload module configuration in @reload. 2012-09-17 17:49:13 +02: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
22befe3d61 Owner: Prevent use of uninitialized variable. 2012-08-05 18:28:17 +02:00
Valentin Lorentz
1606e2d1e0 Owner: Fix docstring. Closes GH-133. 2012-02-11 15:19:14 +01:00
James McCoy
d5593bbba2 Merge branch 'disable' 2011-10-22 15:52:44 -04:00
Valentin Lorentz
8fb97c56bc Owner: Fix bug with @enable and @disable if a plugin is given. Closes GH-43. Closes GH-44.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2011-10-22 15:52:19 -04:00
skizzhg
6e5350def6 ChannelLogger & Format & Karma & Owner & Reply & Status & URL & Unix: Fix typoes. 2011-08-10 11:26:47 +02:00
Valentin Lorentz
5275d708e5 Owner: Fix bug with @enable and @disable if a plugin is given. Closes GH-43. Closes GH-44. 2011-06-29 13:56:22 +02:00
Valentin Lorentz
1c07963a90 Owner: Being ignored for commands flood is now restricted to non-trusted users (instead of non-owners). Closes GH-13. 2011-06-22 20:02:43 +02:00
Valentin Lorentz
c6e54fb1b2 Owner: fix error message when the ImportError comes from the plugin 2011-03-08 15:18:38 +01:00
Valentin Lorentz
6629c8d48f Add @reloadlocale to Owner plugin 2010-11-19 17:10:47 +01:00
Valentin Lorentz
0360451cb9 Note & Owner : fix missing import for the i18n 2010-10-31 11:29:01 +01:00
James Vega
26a458b9ec Merge branch 'maint/0.83.4' 2010-09-20 19:46:18 -04:00
James Vega
074ded49e4 Use the plugin name for Owner.defaultplugin's error message.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-20 18:20:52 -04:00
James Vega
c53f8cd510 Rename Owner.log to Owner.logmark
Since every plugin has a log method (to do actual logging), the log command
was conflicting with that.  The attempted workaround was overly complicated
and broken.  Simply renaming the command to logmark simplifies everything.

Closes Sf #2889709

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit acaa9b1fd6)
2010-08-24 19:21:58 -04:00
James Vega
acaa9b1fd6 Rename Owner.log to Owner.logmark
Since every plugin has a log method (to do actual logging), the log command
was conflicting with that.  The attempted workaround was overly complicated
and broken.  Simply renaming the command to logmark simplifies everything.

Closes Sf #2889709

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-10-31 18:22:14 -04:00
James Vega
eff20402ac Change canonize => normalize
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-08-27 16:41:34 -04:00
James Vega
614fa22038 Fix a syntax error in the last command flood commit 2009-03-11 13:37:26 -04:00
James Vega
300443c8f6 Finish the implementation of command flood prevention 2009-03-11 13:37:26 -04:00
James Vega
d39846ae68 Add a pointer to importantPlugins config var in defaultplugin's help. 2009-03-11 13:37:25 -04:00