Commit Graph

111 Commits

Author SHA1 Message Date
Terence Simpson fd36bffcc0 (large commit, see bazaar log)
[Bantracker]
 * Less spaces in README.txt
 * Remove mention of table 'users' in README.txt
 * Add more detail on how to create the bans database in README.txt
 * Add note about supybot-wizard creating the initial database in README.txt
 * Don't hard-code default values in config.py:configure()
 * Tweak config.py
 * Clean up bans.cgi a bit

[Bugtracker]
 * Comment-out obsolete "bug reporting" variables in config.py
 * Update README.txt and remove "bug reporting" stuff, also remove extraneous license info
 * Comment-out obsolete "bug reporting" code
 * Don't import imaplib

[Encyclopedia]
 * Don't hard-code default values in config.py:configure()
 * Check for 'owner' capability before checking if the hostmask is ignored in plugin.py:checkIgnored()
 * Clean up README.txt

[PackageInfo]
 * Don't hard-code default values in config.py:configure()
 * Update default distributions in config.py:configure()
 * Update defaultRelease in config.py 
 * Update README.txt

* Add a few docstrings to commoncgi.py
* Update COPYING
* Update README.txt
2011-05-28 07:33:21 +01:00
Andrea Corbellini a6f91c2dad Pass prefixNick=True. 2011-05-09 14:20:39 +02:00
Andrea Corbellini ad21468aec When a user tries to speak with the bot, reply to him, so the message doesn't get lost. 2011-05-08 18:27:51 +02:00
Elián Hanisch 0d5c8e00cf fix typo: "delated" -> "deleted" 2011-03-24 19:55:50 -03:00
Terence Simpson 06813cf920 Also don't resolve aliases in raw mode 2011-03-21 09:54:31 +00:00
Terence Simpson ea6e9a4fe4 Include deleted factoids in 'raw' mode 2011-03-21 09:16:53 +00:00
Terence Simpson 8e1ff7fe95 Don't override "!google", only "!google ..." 2011-02-12 15:47:54 +00:00
Terence Simpson edf17bfbb5 Add a static-factoid for !google, also make sure supybot.plugins.Encyclopedia.ignores can override the other static-factoids.
++inline-doc
2011-02-01 07:33:52 +00:00
Terence Simpson b6adc54a42 Added the '+' modifier to display raw factoids 2011-01-26 18:44:31 +00:00
Elián Hanisch 046b3a5b43 fix previous commit: actually only allow edits in #ubuntu-ops if the user
has 'restricted-editor' capability.
2010-12-12 14:11:10 -03:00
Elián Hanisch 6a07f0bdff allow unauthorised edits if they made in #ubuntu-ops. 2010-12-12 13:33:52 -03:00
Elián Hanisch 58a38c8aff fix, parts without a message raised an exception. 2010-10-16 12:15:56 -03:00
Elián Hanisch b583933e5e allow multiple factoids in kick/remove reason 2010-10-16 11:55:02 -03:00
Elián Hanisch a6583efc83 If a user is removed with a reason that includes a factoid, show the
factoid in private. (LP: #210769)
2010-10-16 01:20:53 -03:00
Elián Hanisch 5024069d33 now really don't warn in -ops 2010-06-30 13:38:14 -03:00
Elián Hanisch 9c990ac7e6 fix condition, don't warn ops for every factoid. 2010-06-30 13:32:17 -03:00
Elián Hanisch cbffa3a1c6 ignore factoid requests when user prefix urls in them. 2010-06-30 13:06:58 -03:00
Terence Simpson 7a1dc5c616 Reply when a factoid is requested in /msg 2010-06-09 15:07:52 +01:00
Terence Simpson 5082202a3e fix++ 2010-05-29 00:55:07 +01:00
Terence Simpson f3de8f84a6 Make a custom anything() function that follows the same form as every other function in supybot.questions, because apparently no one thought this was a good idea... 2010-05-28 23:51:28 +01:00
Terence Simpson 15d0b1cbda s/replaychannel/relaychannel/ Thanks FireCrotch
(PS: r200 :)
2010-05-28 23:35:53 +01:00
Elián Hanisch c0ba4ab1ab fix typo 2010-05-24 17:27:28 -03:00
Terence Simpson 7e874dc706 Merge++ 2010-05-24 14:50:16 +01:00
Terence Simpson ad7a493262 Update copyright/license/author/contributors information
Make sure all files have encoding set to utf-8 unless they already have an encoding
Added COPYING with contense of GPL-2
Added plugin name prefix to all log output. This should take the form of self.log.severity("Plugin: message"),
when not logging from plugin.py use: "Plugin/file_without_dot_py: message"
Bantracker: Made the confgure() function do something, it also creates an initial database if it doesn't exist
Encyclopedia: Made the configure() function do something, it also creates an initial database if it doesn't exist
PackageInfo: Improve the configure() function, it also now creates some initial .list files and prompts to run update_apt and update_apt_file
This goes some way to getting an "ubottu" package together, all we need to do is patch supybot-wizard to download the plugins
from bzr and put them somewhere supybot will see them, then the wizard will do all the initial setup
2010-05-24 14:38:06 +01:00
Elián Hanisch 22b45065a3 Terence's commits 2010-05-22 20:48:33 -03:00
Elián Hanisch 99530e7211 simple testcase for Encyclopedia
getting this to work tired me and I don't feel like adding more tests.
2010-05-22 20:41:05 -03:00
Elián Hanisch 56cd566609 disable threadding:
threadded plugin + sqlite = locking issues
2010-05-22 20:39:25 -03:00
Terence Simpson 0320609071 use /usr/bin/env for #! lines 2010-05-19 14:11:16 +01:00
Elián Hanisch 95618780f4 syncing for the first time fails because it tries to backup a file that
doesn't exist yet. Since there's nothing to backup, ignore this error and continue.
2010-05-17 10:46:35 -03:00
Terence Simpson 0cb8fc1fb7 Style touch-ups and code reuse 2010-03-29 09:02:17 +01:00
Elián Hanisch ae4ee8d666 show when and who last edited a factoid in the cgi page 2010-03-28 20:52:30 -03:00
Terence Simpson b355b89f4a And the rest 2010-02-04 19:01:11 +00:00
Terence Simpson 562b0faf0f Update author/version/url info 2009-11-26 16:39:34 +00:00
Terence Simpson 5da62db6b0 add missing ')' 2009-11-22 22:44:07 +00:00
Terence Simpson 2aa2031d86 Add new value substitution code missing from last import from ubottu 2009-11-22 22:32:40 +00:00
Terence Simpson 24a8f2041f Add 'privateNotFound' channel config option to Encyclopedia, if set to True the bot will /msg the 'notfoundmsg' rather than send it in the channel 2009-11-16 16:43:34 +00:00
Terence Simpson 7791f6e416 Resync all running ubottu code to bzr branch, they should now be in sync again 2009-10-12 19:26:35 +01:00
Terence Simpson cc4e59ca57 Update Encyclopedia config.py to use the new ubottu.com address (LP: 340274) 2009-03-10 05:16:09 +00:00
Terence Simpson f0e2dffbe2 Update code from working branch and fix a couple of bugs 2009-01-19 22:10:51 +00:00
Terence Simpson 4094c59f58 Fix a small SQL injection issue and update copyright of factoids.cgi 2008-12-10 06:48:18 +00:00
Terence Simpson 8c583fb0eb Fix HTML 2008-11-01 21:34:55 +00:00
Terence Simpson 12711d5b91 Disable debugging code 2008-10-28 08:13:57 +00:00
Terence Simpson 687e689b09 Small fixes and documentation updates 2008-10-28 08:09:48 +00:00
Terence Simpson 885ad30ded Added PackageInfo plugin.
Moved package info/lookup to PackageInfo plugin
2008-10-22 18:31:40 +01:00
Terence Simpson 39044a2c16 Updated defaults for plugins.Encyclopedia.remotedb and plugins.Encyclopedia.alert 2008-10-21 22:54:26 +01:00
Terence Simpson 4105f4f2db Update Encyclopedia
Make sure Lart, Mess, Webcal and IRCLogin all work when defaultIgnore is True
2008-09-28 02:55:23 +01:00
Terence Simpson de212755bb Fix @sync again 2008-08-07 18:42:46 +01:00
Terence Simpson 03aa1fda82 add supybot.utils to Encyclopedia/plugins.py 2008-08-07 18:17:53 +01:00
Terence Simpson 8290296373 Fix broken capability checking and extend with some hierarchy checking 2008-08-07 14:31:26 +01:00
Terence Simpson 24a296c2d8 Implement the 'sync' command fully, making the 'remotedb' variable channel specific. See @help sync 2008-08-07 12:37:25 +01:00