Commit Graph

107 Commits

Author SHA1 Message Date
Krytarik Raido f2ea4477c0 Bugtracker: More exactly trim CVE information. 2022-10-11 03:34:04 +02:00
Krytarik Raido cccf339e2e Bugtracker: Add option to send bug information via notice. 2022-10-01 16:45:04 +02:00
Krytarik Raido 2e3acd7da2 Bugtracker: Use bug prefix to determine certainty and type. 2022-04-19 22:34:04 +02:00
Krytarik Raido 94210cea6b Bugtracker: Try and limit snarfer terms to trackers. 2022-01-10 17:50:04 +01: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 f296c53534 Bugtracker: Allow colon and hash as sole delimiters on term snarfing. 2021-09-15 20:23:04 +02:00
Krytarik Raido 2b012a7075 Bugtracker: Fix regression from previous commit. 2021-01-07 19:34:04 +01:00
Krytarik Raido 5d8e2c4edc Bugtracker: Add 'tickets' type to SourceForge tracker. 2021-01-07 17:34: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 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 18b4fe831a Various: Avoid error when msg.prefix is from services.
* Bugtracker
* Encyclopedia
* PackageInfo
2020-10-19 20:56:04 +02:00
Krytarik Raido 4af34b02f6 Bugtracker: Add CGit as tracker. 2020-06-22 07:04:04 +02:00
Krytarik Raido e0926a9a3c Bugtracker: Add support for commits. 2020-06-21 09:04:04 +02:00
Krytarik Raido 7473bf6fa7 Bugtracker: Fix regression in persistency.
* Make tracker settings persist across restarts.
* Separate the various parts more properly.
* Update default trackers.
2020-06-20 23:04:04 +02:00
Krytarik Raido cafa17ea1c Bugtracker: Make error reporting optional, disable by default. 2020-06-07 21:13:04 +02:00
Krytarik Raido cd4cd70afa Bugtracker: Fix regression in bug detection. 2020-05-14 04:23:04 +02:00
Krytarik Raido 0830407afa Bugtracker: Add support for subprojects to GitLab tracker. 2020-05-03 05:04:04 +02:00
Krytarik Raido 383409ee74 Bugtracker: Improve handling of the various bug types.
* Extend trigger words by a few terms.
* Make it possible to specify exactly what bug type to
  pull the info for, on trackers that support multiple.
2020-04-05 06:56:04 +02:00
Krytarik Raido cbca12caec Bugtracker: Update GitLab tracker. 2020-03-30 05:17:04 +02:00
Krytarik Raido 339abdecfa Bugtracker: Update GitLab tracker. 2020-01-07 00:04:04 +01:00
Krytarik Raido 0459d38132 Bugtracker: Fix error handling. 2019-07-12 00: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 0bbbf8b700 Bugtracker: Make handling of Trac more strict. 2018-07-15 01:04: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 b7e49d1510 Bugtracker: Make SOAP trackers work on Python 3 too.
* Debian, and Mantis.
2018-05-22 00:45:04 +02:00
Krytarik Raido 29fffb3795 Bugtracker: Update Mantis tracker.
* Add JSON.
* Deprecate SOAP.
2018-05-22 00:45:04 +02:00
Krytarik Raido 4a9fd482b7 Bugtracker: Add GitLab and Gitea as trackers. 2018-05-16 23:45:04 +02:00
Krytarik Raido 681895bfc7 Bugtracker: Drop loop off report handling. 2018-05-16 23:45:04 +02:00
Krytarik Raido 11b6996639 Bugtracker: Update trackers.
* Add Bugzilla JSON, SourceForge, GitHub.
* Make Mantis and Trac getable.
* Deprecate Bugzilla XML.
2018-05-16 23:45:04 +02:00
Krytarik Raido 1e4fc7f3d0 Bugtracker: General overhaul.
* Improve regex matching.
* Improve CVE and OOPS handling.
* Fix various minor things.
* Drop outdated and unused code.
2018-05-16 23:45:04 +02:00
Krytarik Raido 9ab4725d49 Bugtracker: Various improvements in output.
* Make sure output fits maximum length of IRC messages.
* Improve general formatting of output, including casing.
* Strip any leading or trailing spaces off bug report title.
* Improve handling of duplicates, assignee, and extended info.
2018-05-16 23:45:04 +02:00
Krytarik Raido 45ae48b53a Bugtracker: Add Python 3 support (by Mattia Rizzolo) 2018-05-16 23:45:04 +02:00
Terence Simpson a3fb9093ad Bugtracker:
* Update CVE regex to match the new CVE format:
   http://www.cve.mitre.org/cve/identifiers/syntaxchange.html
2014-08-12 17:47:38 +01:00
tsimpson 6c4be15c09 If snarfing a bug number, only include the bug tracker description (name) when a tracker is explicitly specified 2012-12-18 04:17:05 +00:00
tsimpson 80125ddde0 Fix Launchpad OPPS URL (again) 2012-09-28 09:56:08 +01:00
tsimpson 778ee4a23c Bots should not respond (incorrectly) to merge request URLs (LP: #868416) 2012-09-27 13:53:50 +01:00
tsimpson b038dca49c Bugtracker: Fix bugSnarfer regex to (finally) detect "tracker: #number" format
PackageInfo: Force apt-file to i386 architecture, as update_apt_file only grabs that anyway
2012-09-27 13:16:42 +01:00
Martin Packman 0a76edf58b Use new oops.canonical.com site when giving oops links 2012-09-17 11:53:01 +01:00
tsimpson fbb7a7ae67 Fix Bugzilla/Issuezilla URLs (LP: #1019861)
As far as I can tell, IssueZilla and Bugzilla are API compatible (note)
2012-07-04 14:21:37 +01:00
tsimpson f0d7e799d1 Merge ubottu Bugtracker with bzr.
Treat the Architecture key from apt-cache as a list, rather than a single string.
2012-04-10 14:05:29 +01:00
Terence Simpson 53451ef83f Handle Launchpad duplicates better 2011-08-26 07:32:15 +01:00
Terence Simpson af3c308926 Add IBugtracker::__str__() so error reporting is prettier 2011-06-17 19:21:04 +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
Terence Simpson 23b38f5352 Strengthen flood protection
Remove duplicate bugs numbers before processing them
IBugtracker is now comparable by URLs, rather than by instance ID. This allows better flood protection
Check for repeats in is_ok() before calling the tracker plugin, we don't want to flood the tracker
2011-04-04 08:03:22 +01:00
Terence Simpson 5758a266a0 pad.lv actually works now 2011-03-29 20:40:53 +01:00
Terence Simpson 2ee7815190 Add support for pad.lv
Filter out unlikely bug numbers for the "ubuntu" tracker
Try to be a bit smarter about which launchpad.net URLs are bug URL
2011-03-29 20:12:08 +01:00
Terence Simpson 928fc13794 Make sure Bantracker/Launchpad raises a BugNotFoundError 2011-03-17 20:56:42 +00:00
Terence Simpson 8bd3a656d5 Parse pad.lv bug URLs for Launchpad (lp: #736378) 2011-03-17 01:16:58 +00:00
Terence Simpson 6511b98454 In all that, I made 1 typo, and only a missing comma at that. 2011-03-12 17:43:35 +00:00