Commit Graph

7130 Commits

Author SHA1 Message Date
James Vega
54dda880d4 Add a pluginCommands kwarg to Commands.listCommands.
Plugins which implement their own listCommands method should pass their
non-typically discoverable commands to Commands.listCommands via this
mechanism.  This means that the de-duplication of commands is performed in one
spot instead of having each plugin implement it on their on in their
listCommands method.

This reverts commits 0ce829af6215b97e725f4d6d580d1151950be869 and
09fb0e6fc974445a3414fb03a94625f8538d4570.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-22 18:52:15 -04:00
Ricky Zhou
fa3a2dd23b Allow nItems to take longs as well.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-19 00:58:07 -04:00
James Vega
d7dee482ca Google: Ensure we don't try to use the 3rd party json module.
json-py provides a different interface than simplejson (renamed json when
included with Python2.6).  As such, we test for the different interface and
raise an error when we encounter it.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-19 00:55:17 -04:00
James Vega
cca36ed9f2 Factoids: Add simpleSyntax argument to getCommandHelp.
It helps to properly override the parent class's method so that Misc.help
doesn't error when trying to get Factoids.learn's help.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 11:09:18 -04:00
James Vega
9f718fb01c release.py: Use web.sf.net instead for uploading version.txt
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:56:05 -04:00
James Vega
3535f6a702 Updated to 0.83.4+git.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:49:52 -04:00
James Vega
f32c886692 Updated to 0.83.4.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:49:42 -04:00
James Vega
dbf58d5faa Update supybot-plugin-doc's manpage
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:46:18 -04:00
James Vega
249180bc41 release.py: Specify all the arguments for string formatting
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:31:16 -04:00
James Vega
660621d77e release.py: Use a proper commit message for the +git commit
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:30:54 -04:00
James Vega
1c4738bfdc supybot-wizard: Fix listing of plugins during setup.
Due to the changes to prevent the global plugins dir from being set in
supybot.directories.plugins, the global plugins weren't being found.  Simply
extend the list of directories with the global directory.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:26:57 -04: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
7c89914d2d release.py: Don't specify -a and paths to git commit
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:07:27 -04:00
James Vega
e464260b8a release.py: Actually specify the user to clone as
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:04:39 -04:00
James Vega
8c3125a287 release.py: Correct a couple git checks
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 03:02:52 -04:00
James Vega
d09a4cbbc5 release.py: Allow for a dry-run to double-check the results
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 02:55:23 -04:00
James Vega
b82e22b019 Update ChangeLog and RELNOTES for 0.83.4
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 02:45:16 -04:00
James Vega
d7237104ae Math: Update the units info from ConvertAll
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:44:59 -04:00
James Vega
2e8a2238c1 INSTALL: Use python2.x/Python2x when referring to the version.
Use explicit numbers actually does confuse some people.  Hopefully the x will
make it easier for them to realize they should use whatever number corresponds
to the version they have installed.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:18:02 -04:00
James Vega
c03504b906 Change PySQLite version from 1.0.x to 1.x as 1.x seems to work now
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:17:05 -04:00
James Vega
d37580e592 Change our minimum dependency back to 2.3
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:16:42 -04:00
James Vega
4a7fe53365 Add docs/FAQ
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:15:12 -04:00
James Vega
babb4082d9 Add docs/CONFIGURATION
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-18 00:14:48 -04:00
James Vega
5fda0df4a9 Update dateutil to latest version and include all files
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-11 12:16:28 -04:00
James Vega
fea4cc2962 Fix setup.py and add local/__init__.py so Time can be installed
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-11 11:23:49 -04:00
Jeremy Fincher
279c00a925 Fixed dateutil to use the "local" subdirectory format. 2009-05-08 12:36:37 -05:00
James Vega
8c66ed9a3f Add Success plugin from supybot-plugins package
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-07 22:52:16 -04:00
James Vega
f3a1e36727 Add Dunno plugin from supybot-plugins package
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-07 22:50:32 -04:00
James Vega
2b09c70bc3 Remove the Insult plugin
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-07 22:43:09 -04:00
James Vega
bcb00d55b2 LICENSE: Update Copyright date range
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-07 22:41:39 -04:00
James Vega
406736524b supybot-plugin-doc: Clean up generation of config docs
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-07 21:46:40 -04:00
James Vega
178f70f946 USING_WRAP: Clarify inChannel documentation and document onlyInChannel.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-04 11:44:10 -04:00
James Vega
61852861ba supybot-plugin-doc: Add basic RST support. Config still needs cleanup
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-05-03 10:54:04 -04:00
James Vega
f5eb5bb6d6 GETTING_STARTED: addhostmask => hostmask add
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-28 14:48:49 -04:00
James Vega
0615846ab3 Fix getCommandHelp's use of dynamic.msg
Default chan to None so we can still retrieve a config value if dynamic.msg
isn't valid (e.g., when running supybot-plugin-doc).

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-28 08:14:46 -04:00
James Vega
cedc4aaebe Merge branch 'master' of git+ssh://supybot.git.sourceforge.net/gitroot/supybot 2009-04-28 07:58:10 -04:00
James Vega
160b7b2fdd supybot-plugin-doc: Stub support for rendering different formats
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-28 00:38:35 -04:00
James Vega
acd4e26401 supybot-plugin-doc: It's outputDir not outputdir
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-28 00:36:55 -04:00
James Vega
38f338ea48 supybot-plugin-doc: Add an error() to handle logging errors and exiting
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-28 00:36:06 -04:00
James Vega
b3d97ea03e callbacks: Only use dynamic.msg if it's not None in getCommandHelp
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-28 00:33:03 -04:00
James Vega
f3dca89500 supybot-plugin-doc: Allow specifying an output directory
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-27 19:37:06 -04:00
James Vega
faed698932 Return a fake MakeDB function when documenting plugins.
There's no need to actually search for valid database backends when
documenting.  It only gets in the way of the actual document generation
process.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-27 19:31:58 -04:00
James Vega
5c2b493509 supybot-plugin-doc: Remove escape option; only used for Plone website
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-27 19:07:01 -04:00
Jeremy Fincher
f159cb742a Seriously, I'll get this right one of these days... 2009-04-27 11:10:56 -05:00
Jeremy Fincher
f51928d93b 'debug' wasn't an imported log function, like I thought it was, assuming 'fatal' was also available. 2009-04-27 11:09:37 -05:00
Jeremy Fincher
92e2046b81 Added additional check for pidfile writability to supybot-botchk. 2009-04-27 10:39:22 -05:00
Jeremy Fincher
82db19754d If supybot can't write the pidfile, it needs to exit. 2009-04-27 10:35:19 -05:00
James Vega
4285df0809 Factoids: Fix thinko in getCommandHelp
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-23 16:05:31 -04:00
James Vega
5301390290 BadWords: Only send a msg stripped of formatting if it had bad words
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-14 19:59:59 -04:00
James Vega
84ca6f2ae3 callbacks: Update PluginRegexp docstring to reference (un)addressedRegexps
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-09 10:53:02 -04:00