Commit Graph

157 Commits

Author SHA1 Message Date
Krytarik Raido f9066b25c0 Encyclopedia: Rename setting 'alert' → 'alerts' 2022-10-13 00:17:04 +02:00
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 39d64b3e74 Encyclopedia: Trim alert relay message. 2021-10-14 17:04:04 +02:00
Krytarik Raido 57cfd73750 Encyclopedia: Improve exempting of commands in private. 2021-09-21 16:23:04 +02:00
Krytarik Raido 148bf183e2 Encyclopedia: Add 'review' command to list edit requests. 2021-07-24 20:34:04 +02:00
Krytarik Raido 2bd46f38ff Encyclopedia: Fix 'otherUser' → 'nick' on commands. 2021-07-23 21:13:04 +02:00
Krytarik Raido e3614f3256 Encyclopedia: Fix regression in web page. 2021-06-14 01:56:04 +02:00
Krytarik Raido db29965a33 Encyclopedia: Rework message parsing. 2021-06-14 01:56:04 +02:00
Krytarik Raido 902534d10b Encyclopedia: Various improvements on aliases.
* Make 'delete' work on aliases without prior 'unforget' of target.
* Also show forgotten aliases in factoid info.
* Also hide forgotten aliases from web page unless searched.
* Improve handling of alias edits.
* Check for aliases on 'forget' and 'delete'
2021-06-14 01:56:04 +02:00
Krytarik Raido 987b3c91fa PackageInfo: Add 'releases' command to list all valid releases.
* Instead no longer include those in error message on invalid releases.
* But add setting to send list of valid releases in private on error.
* Minor fixes to Encyclopedia along the way.
* Update default configuration.
2021-06-13 00:23:04 +02:00
Krytarik Raido b4c25ad7e2 Encyclopedia: Minor improvements to config.py 2021-06-12 12:34:04 +02:00
Krytarik Raido 95f8fabc59 Encyclopedia: Guard against mistakes. 2021-05-26 03:45:04 +02:00
Krytarik Raido 8ffed09aef Encyclopedia: Various improvements.
* Improve handling of aliases.
* Make 'delete' work without prior 'unforget'
* Fix issue of passing empty commands to bot just to allow
  multi-message output (about to be fixed by pending upstream change)
2021-04-22 21:13:04 +02:00
Krytarik Raido 34203f7b11 Encyclopedia: Update Python shebangs. 2021-01-28 05:04:04 +01:00
Krytarik Raido b4cde99a4d Encyclopedia: Fix XSS vulnerability (LP: #1832773) 2021-01-28 04:04:04 +01:00
Krytarik Raido 3596ab6692 Encyclopedia: Improve previous commit. 2020-12-10 19:23:04 +01:00
Krytarik Raido 34be030c26 Various: Switch from 'imp' module to 'importlib'
* Bugtracker
* Encyclopedia
* PackageInfo
2020-12-10 04:50:04 +01:00
Krytarik Raido 1284f0c157 Encyclopedia: Refactor handling of being addressed. 2020-11-06 05:34:04 +01:00
Krytarik Raido 83434d4373 Update homepage and its assets. 2020-10-28 02:04:04 +01:00
Krytarik Raido 95c8c5e9f7 Various: Mirror changes to checkIgnored() function.
* Bugtracker
* Encyclopedia
* PackageInfo
2020-10-26 01:23:04 +01:00
Krytarik Raido ed35f240fd Various: Fix output redirection.
* Encyclopedia
* PackageInfo
2020-10-24 05:04:04 +02:00
Krytarik Raido 32f2c9ac3f Various: Follow upstream bot development.
Specifically, use msg.channel and make network-aware where easily possible.

* Bugtracker
* Encyclopedia
* PackageInfo
2020-10-23 06:23:04 +02:00
Krytarik Raido fdbaa3fc36 Encyclopedia: Fix addressing on replies. 2020-10-19 22:04:04 +02:00
Krytarik Raido 18b4fe831a Various: Avoid error when msg.prefix is from services.
* Bugtracker
* Encyclopedia
* PackageInfo
2020-10-19 20:56:04 +02:00
Krytarik Raido 182cc59009 Bugtracker: Various improvements.
* Add option to set aliases on trackers.
* Complete removal and renaming of trackers.
* Only load default trackers if none set yet.
* Improve handling of auto-discovered trackers.
* Add function to reset trackers to defaults.
* Minor fix to Encyclopedia along the way.
2019-07-08 02:45:04 +02:00
Krytarik Raido aec19ef265 Various: Work around msg.args in inFilter() potentially being empty...
...in Limnoria running on Python 3

* Bugtracker
* Encyclopedia
* PackageInfo
2019-05-31 06:50:04 +02:00
Krytarik Raido d72081d106 Various: Work around msg.prefix in inFilter() potentially being empty...
...in Limnoria running on Python 3, particularly on startup.

* Bugtracker
* Encyclopedia
* PackageInfo
2018-05-22 00:45: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 669293de1e Encyclopedia: Add Python 3 support. 2018-05-16 23:45:04 +02:00
Krytarik Raido b18cc37a15 Encyclopedia: Port to SQLite 3 (with Matt Wheeler) 2018-05-16 23:45:04 +02:00
Terence Simpson 3af16d32ff Fix factoid search and show aliases again 2015-04-04 20:21:13 +01:00
Terence Simpson cc540f7c54 Make Encyclopedia enforce supybot.plugins.Encycopedia.enabled setting 2014-06-02 02:24:20 +01:00
tsimpson de68b62ce1 Actually commit the right commit this time 2013-08-09 12:52:22 +01:00
tsimpson 9825c45ba7 Don't queue certain messages, like alert and edit responses, to avoid false flood protection on them. 2013-08-09 12:16:38 +01:00
tsimpson f66008f901 Fix SQL injection issue in Encyclopedia/factoids.cgi 2012-12-22 12:28:15 +00:00
tsimpson fcbe5e92ec Fix an issue where creating factoids that contain '>' or '|' could be eithe fail, or be interpreted as a redirection 2012-05-10 13:43:25 +01:00
Elián Hanisch c5cf91187a Encyclopedia: add testcase for requests. 2012-01-30 00:10:38 -03:00
Elián Hanisch db4af03f78 Encyclopedia: clarify the help text of the 'editchannel' option 2012-01-29 23:42:11 -03:00
Elián Hanisch 2f5ae3eca8 suggesting a factoid forced a limit of 14 chars in factoid's name.
This caused problems with channel specific factoids, now the limit is 35.
2011-10-24 14:34:17 -03:00
Terence Simpson 0438d153da Update supybot.plugins.Encyclopedia.cur* config defaults 2011-08-26 07:51:16 +01:00
Terence Simpson a7f415defd And I suck at typing 2011-08-04 13:37:23 +01:00
Terence Simpson 120035a5c1 $nick apparently was ubottu-specific, now it's in bzr
Also added $who which will be replaced with the callers nick
2011-08-04 13:30:34 +01:00
Elián Hanisch 4eeb6ddc7f fix Encyclopedia testcases. 2011-08-03 18:33:46 -03: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
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