Commit Graph

32 Commits

Author SHA1 Message Date
Krytarik Raido 8d2bb1f371 Encyclopedia: Drop private responses off settings.
Since there is nothing really sensitive about them anyway,
and it helps configuring multiple bot instances at once.
2022-10-12 23:56:04 +02:00
Krytarik Raido bfa65ed8c3 Encyclopedia, PackageInfo: Add '!more' command.
So unprivileged users can page through multi-message outputs.

Also make PackageInfo stop processing requests twice in case of
privileged users PM'ing the bot with unprefixed commands, and make it
possible to address the bot with prefixed commands for unprivileged use.
2022-10-10 23:56:04 +02:00
Krytarik Raido e9306925c0 Various improvements.
* Encyclopedia, PackageInfo:
  + Make repeat delay a setting.
  + Update default configuration.
* Bugtracker: Fix inconsistencies in network specificity.
2021-12-02 22:13:04 +01:00
Krytarik Raido b4c25ad7e2 Encyclopedia: Minor improvements to config.py 2021-06-12 12:34:04 +02:00
Krytarik Raido 0cfbaa834e Encyclopedia: Restructure databases.
* Add database conversion script.
2018-05-22 00:45:04 +02:00
Krytarik Raido 3368b2d6fe Encyclopedia: General overhaul.
* Improve input handling.
* Enable multi-message output.
* Improve request logging.
* Add real delete function.
* Improve factoid web page.
* Extend factoid info output.
* Count calls of aliases towards
  their own popularity.
* Show info on deleted factoids too.
* Improve factoid search algorithm.
* Sort factoid search by popularity.
* Improve command name structure.
* Various other and minor improvements.
* Update default configuration.
2018-05-22 00:45:04 +02:00
Krytarik Raido b18cc37a15 Encyclopedia: Port to SQLite 3 (with Matt Wheeler) 2018-05-16 23:45:04 +02:00
Elián Hanisch db4af03f78 Encyclopedia: clarify the help text of the 'editchannel' option 2012-01-29 23:42:11 -03:00
Terence Simpson 0438d153da Update supybot.plugins.Encyclopedia.cur* config defaults 2011-08-26 07:51:16 +01:00
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
Elián Hanisch 6a07f0bdff allow unauthorised edits if they made in #ubuntu-ops. 2010-12-12 13:33:52 -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
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 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
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 cc4e59ca57 Update Encyclopedia config.py to use the new ubottu.com address (LP: 340274) 2009-03-10 05:16:09 +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 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 398938dbcd Bantracker timezone defaults to UTC
Encyclopedia:
  calling @sync reloads the plugin after successfully downloading the new database
  allert command and relay channel and configurable per-channel
  (LoCo channels can set the relay to #ubuntu-irc if they want)
  Adding an alias without first creating a dummy factoid should be fixed
2008-05-10 16:13:26 +01:00
Terence Simpson 393b3521f5 Tweaks and modifications.
Bantracker:
  Make the bantracker URL configurable from the bot
  Make sure all the html links are relative
Encyclopedia:
  Handle the possibility of apt-file not being installed
  Handle the possibility of the apt-file cache not being created
  Add sync command to sync with a remote database
  Make sure all the html links are relative
Mess:
  Take out the hard-coded paths, use the config variables to find the plugin dir
2008-05-05 12:34:57 +01:00
Dennis Kaarsemaker 10022b2a42 More fixes\!\! 2007-04-01 13:23:45 +02:00
Dennis Kaarsemaker 02f675df11 * Fixes in Mess
* Made Encyclopedia close/open database connections about hourly (depending on
  usage)
* Encyclopedias prefixcha is now per-channel
2007-03-14 21:50:20 +01:00
Dennis Kaarsemaker f3ffcabca9 Encyclopedia made neat. 2007-02-04 18:35:40 +01:00
Dennis Kaarsemaker 19d13cc640 This project is now officially the one with the worst commitlog :)
Fixes all over the place, won't say which :p
2006-11-17 01:11:05 +01:00
Dennis Kaarsemaker 45c337e8e1 Removed last hardcoded Ubuntu reference and fixed a small bug 2006-10-03 02:05:56 +02:00
Dennis Kaarsemaker 9a1d60918f Add search, make encyclopedia more general, misc fixes 2006-09-28 14:35:24 +02:00
Dennis Kaarsemaker aea38c93ff Initial checkin 2006-06-26 19:57:20 +02:00