Commit Graph

80 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 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 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 b355b89f4a And the rest 2010-02-04 19:01:11 +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 f0e2dffbe2 Update code from working branch and fix a couple of bugs 2009-01-19 22:10:51 +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
Terence Simpson 0a39ae7222 Make sure all modules uses are imported 2008-08-07 06:49:37 +01:00
Terence Simpson 9660e4e41d More inteligent !factoid > user handling 2008-08-07 06:43:22 +01:00
Terence Simpson 24fe143332 This makes 100 :) 2008-08-04 20:09:49 +01:00
Terence Simpson f173b65390 The "Massive Update" edition:
Mess:
 * Fixed file lookup to not depend on order in config file
Encyclopedia:
 * Lots of small fixes and a few additions
Bantracker:
 * Web-interface now has a special oper: keyword, logs can now be hidden too
 * Added new commands: 'updatebt': Syncs with the channel ban list,
   'coment': Reads or adds a comment for a ban,
   'togglemsg': Toggles /msg's from the bot,
   'banlink': Sends a direct link to the a log with a highlight
 * Updated several commands and made hostname lookup more intelligent
2008-08-04 11:11:15 +01:00
Terence Simpson 8f254c3ad5 Use UTC for all times visable to the user 2008-08-04 04:51:32 +01:00
Terence Simpson 168050b05c Big-Old-Update Edition
FreenodeAuth has been replaced by the IRCLogin plugin
Bantracker, Bugtracker, Encyclopedia and Lart have some fixes updates
2008-07-20 16:59:27 +01:00
Terence Simpson c46c983c71 '/msg <botname> search ...' now works as expected 2008-06-02 10:33:53 +01:00
Terence Simpson ade1297f6c Bugtracker: Small fix
Encyclopedia: Fix "Everyone is an editor" bug
2008-05-28 23:22:15 +01:00
Terence Simpson ee4d16b352 When checking if the bot is addressed, check with case-insensitivity 2008-05-16 04:57:03 +01:00
Terence Simpson da3317d8ae Because I'm dumb 2008-05-13 22:22:50 +01:00
Terence Simpson 68d0540458 Fix code that seems to fail 2008-05-13 21:08:59 +01:00
Terence Simpson 06814d02cd If python-apt isn't installed (like on some non-debian systems) then just disable package search and lookup 2008-05-11 16:16:20 +01:00
Terence Simpson 30549cba8b Remove some checking for '>' and '|' when creating factoids, should allow adding factoids with > and | in them.
** Not sure if this will cause a problem or not, but it should be ok hopefully **
2008-05-11 02:50:54 +01:00
Terence Simpson 21ab658806 Encyclopedia:
Fix channel specific factoid lookup for channes with Upper-case names (LP: #203595)
Bugtracker:
  Add @mark to add a Bantracker entry without having to kick or ban (LP: #159568)
2008-05-11 02:36:57 +01:00
Terence Simpson eaeb52c797 make !find case sensitive as apt-file is 2008-05-10 17:01:24 +01:00