swh:1:snp:634d2b8906a7a2f6511ccb358da84e19b290d2c9

sort by:
Revision Author Date Message Commit Date
309fc12 Add postTransition method to IrcCallback, called when irc.state.fsm changes. 01 May 2020, 18:19:53 UTC
f7130f2 Add missing transition trigger on MOTD start. 01 May 2020, 18:19:00 UTC
22120ee Fix various issues with STS handling. 01 May 2020, 17:46:19 UTC
51ff013 Apply STS policies when connecting to a server. 01 May 2020, 17:46:19 UTC
ecc2c32 Add support for storing STS policies. If on an insecure connection: reconnect. If on a secure connect: store it and do nothing else. For now, stored STS policies are not read when connecting to an insecure server. 01 May 2020, 17:46:19 UTC
ff5edd9 Remove Twisted. There's no reason to use it anymore instead of Socket. It's already missing features compared to Socket, and I don't want to maintain it anymore so it will keep getting worse. 01 May 2020, 17:46:19 UTC
45ff709 [WIP] Start reworking Irc around a FSM. To keep track of connection state instead of a complex implicit flow between handling functions. 01 May 2020, 17:43:27 UTC
3eb20ad Fix extra arguments to irc.reply() being ignored by messages returned by '@more'. This change builds all the ircmsg objects directly in irc.reply, with the original arguments. A side effect is that if a config var is changed between the initial command call and the call to '@more', this commit makes it use the old values, but that shouldn't be too much of an issue. Closes GH-1405. 11 April 2020, 14:40:07 UTC
61b47bb Deduplicate list of arguments of _makeReply. 11 April 2020, 14:36:14 UTC
5e91a68 Misc: Fix drop of the last (nb_mores % plugins.Misc.mores) messages. If the last batch had less than plugins.Misc.mores messages; getting the last messages of the batch would raise an IndexError, causing the whole batch to be dropped. 11 April 2020, 14:36:14 UTC
f19079c Misc: rewrite @more tests to fully check the output. This uncovered a few bugs; next commits will fix them. 11 April 2020, 14:09:24 UTC
37a7029 SedRegex: when looking up config vars, strip statusmsg prefix from channel, and use network name for lookup. 11 April 2020, 13:04:11 UTC
0b0da97 callbacks: honor network-specificity of supybot.reply.whenAddressedBy. A side-effect is that plugins should now pass 'irc' instead of 'irc.nick' when they call 'callbacks.addressed()'. 11 April 2020, 13:00:46 UTC
2953126 test: Make assertNoResponse default to a non-zero timeout for threaded plugins. Else it doesn't reliably check there is no response. 10 April 2020, 22:17:16 UTC
7e48ba0 SedRegex: Use assertSnarfNoResponse instead of assertNoResponse. assertNoResponse was only passing by accident on faster machines. 10 April 2020, 22:16:01 UTC
2bbd43f ChannelStats: Skip checks of nick in irc.state.channels[channel] when channel databases are linked. It crashes with KeyError because databases.plugins.channelspecific sets channel='#', which is a non-existent channel. And it doesn't make sense to check for presence in channel if the DB is shared between all channels anyway. 07 April 2020, 19:20:01 UTC
c489d2e Prevent getChannelDb from overriding state.channel set by getChannel. I don't see any use for this; and it means a 'channel' converter called after 'channeldb' returns '#' instead of the actual channel if it's after 'channeldb' in the arg list and databases.plugins.channelspecific is False. 07 April 2020, 19:20:01 UTC
c212ee0 SedRegex: allow matching text with the trailing suffix missing From: https://github.com/jlu5/SupyPlugins/commit/866875ec5d5742471d56cdcf4d2a2f9ff0e650ce 02 April 2020, 17:00:40 UTC
c399272 SedRegex: make callback matching case sensitive This fixes a TypeError issue mentioned in d296bbb949540df1a9e5dd1b01374e94245f7f34. 02 April 2020, 17:00:39 UTC
13c0371 Revert "SedRegex: Make pattern case-insensitive." This reverts commit d296bbb949540df1a9e5dd1b01374e94245f7f34. 02 April 2020, 16:47:32 UTC
d296bbb SedRegex: Make pattern case-insensitive. To fixes a mismatch between callbacks, which use flags=re.I by default, and SED_REGEX.search which isn't; so 'S/foo/bar/' errored because it matches case-insensitively so _unpack_sed is entered, but then _unpack_sed fails to match it case-sensitively. 02 April 2020, 15:30:57 UTC
e2d72c5 Fix msgfmt warnings. 26 March 2020, 21:10:28 UTC
712d8c2 Remove debug print Was added in 8bb31a54e719af4deaa52b28c22792880492f711. 26 March 2020, 09:29:42 UTC
246925a Relay: Add missing 'network' argument. Broken since c1ae3f5c81cc8cf4effc7670e99c9270e31a1c9c. 25 March 2020, 19:56:24 UTC
5f620dd Don't use 'is not' for string comparison. 25 March 2020, 19:10:06 UTC
de77ce6 Raise exception instead of assert... 21 March 2020, 01:21:06 UTC
487897e PluginDownloader: remove legacy name & python 2 branch of my repo 20 March 2020, 23:37:15 UTC
3576503 Update links to the documentation. 17 March 2020, 18:22:52 UTC
8f001f8 Check spec.loader is not None when importing a plugin. 09 February 2020, 15:02:35 UTC
0f3264c Add modulo operator to new math evaluator Closes #1402. 08 February 2020, 15:08:23 UTC
f24a17e Config docs: remove reference to grouped nicks Some networks (e.g. freenode) now allow usage of grouped nicks for SASL username 08 February 2020, 10:07:19 UTC
89ee801 Missing German translations (#1401) 01 February 2020, 08:20:52 UTC
2f49362 RSS: If ids are missing, use <link> as id. 31 January 2020, 19:59:42 UTC
653afdd RSS: Show a meaningful error in case '@rss' is called with a non-URL/name. Instead of letting feedparser try to parse the name. 28 January 2020, 18:35:05 UTC
d3b9918 SedRegex: skip testReDoSTimeout if multiprocessing is disabled 27 January 2020, 16:00:46 UTC
a6ae9f5 ChannelStats: Use the safe math evaluator. 26 January 2020, 19:42:55 UTC
99dd6f1 core/Math: Move the math evaluator to src/utils/. It will be used by ChannelStats. 26 January 2020, 19:42:55 UTC
5c10bea Math: Fix log/log10 return type. They used to always return complex numbers, instead of floats on float argument. 26 January 2020, 19:42:55 UTC
4528a84 Aka, Google, String: fix more DeprecationWarning in tests (#1328) 26 January 2020, 19:31:28 UTC
358c3a7 Channel: fix typo from 772862d49ccb0af5a5d471904d72176e92406a28 26 January 2020, 19:22:51 UTC
304125c AutoMode, Channel, Nickometer: fix invalid escape sequence DeprecationWarning 26 January 2020, 19:20:39 UTC
772862d plugins: use r'' strings to fix DeprecationWarning in test cases (#1328) 26 January 2020, 19:14:25 UTC
ff899f5 Aka, Debug: cleanup imports 26 January 2020, 18:42:43 UTC
9ab9087 Use importlib instead of imp. importlib is deprecated. 26 January 2020, 11:00:08 UTC
9891b0f Replace failUnless/failIf with assertTrue/assertFalse. The old names are deprecated. 26 January 2020, 10:14:18 UTC
5efd2af Socket: Don't add instances twice in cls._instances. The connect() method already adds it, so it was in the list twice (added both by __init__() and connect()). This caused _select() to call _read() twice on the same instance, except there is usually nothing to read on the second call, so it blocks for up to conf.supybot.drivers.poll(). 25 January 2020, 20:00:42 UTC
b5beb5f .travis.yml: fix indent 24 January 2020, 23:12:31 UTC
777d8e4 Socket: use a proper lock instead of a boolean. 23 January 2020, 15:47:49 UTC
f862da3 .travis.yml: Allow failures on nightly. Feedparser doesn't support this version of Python. https://github.com/kurtmckee/feedparser/issues/201 23 January 2020, 13:41:02 UTC
e7553dc Add subcommand dispatching for CAP/FAIL/WARN/NOTE. 23 January 2020, 13:25:10 UTC
c4d073a Rename doAuthenticate* functions to not conflict with callback names. 23 January 2020, 13:24:41 UTC
32d8d14 Make irc.error do nothing is no string is given as argument. Fixes c1d3bad64feca2529e29473f0ed8c622ad1937b1, which crashed with: ``` ERROR 2020-01-18T01:34:07 Uncaught exception in NickAuth._callCommand: Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/supybot/callbacks.py", line 1337, in _callCommand irc.errorNoCapability(cap) File "/usr/local/lib/python3.7/dist-packages/supybot/callbacks.py", line 544, in errorNoCapability raise Error() supybot.callbacks.Error During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/supybot/log.py", line 368, in m return f(self, *args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/supybot/callbacks.py", line 1359, in _callCommand irc.error(str(e)) File "/usr/local/lib/python3.7/dist-packages/supybot/callbacks.py", line 1065, in error raise ArgumentError supybot.callbacks.ArgumentError ``` 18 January 2020, 10:04:54 UTC
895881e Call super().setValue() before defaultHttpHeaders. To prevent infinite recursion on startup, because defaultHttpHeaders gets the value; which is unset, so 'registry._lastModified > self._lastModified' is True, so .set() is called, so .setValue() is called again. 17 January 2020, 18:49:16 UTC
c457b52 Deduplicate setting Accept-Language HTTP header. This adds a new function conf.defaultHttpHeaders that can be used by plugins to get all the default HTTP headers for a given network/channel. 14 January 2020, 18:03:12 UTC
ae5ad2c Web: Implement protocols.http.requestLanguage 14 January 2020, 17:48:11 UTC
62f8b47 Add supybot.protocols.http.requestLanguage 14 January 2020, 17:48:11 UTC
7bd68df Fix getSpecific usage The channel and network arguments were incorrectly swapped 12 January 2020, 09:35:35 UTC
0fccea3 Import MutableMapping and MutableSet from collections.abc. Aliases in collections itself are removed in 3.8. 09 January 2020, 00:11:12 UTC
94ca4cc setup.py: migrate shebang to Python 3 05 January 2020, 19:35:00 UTC
1ab9f46 setup.py: remove obsolete version_info conditionals None of these will run since the base version is now Python 3.4. 05 January 2020, 19:32:42 UTC
5c2e16f scripts: remove obsolete conditionals for Python 2 05 January 2020, 19:31:45 UTC
7e70ce4 scripts: migrate shebangs and version checks to Python 3 05 January 2020, 19:29:41 UTC
9e03e0e Be less hostile to users in --allow-root help 05 January 2020, 19:25:47 UTC
d080edc Readd Limnoria name to default part & quit messages This was removed in https://github.com/ProgVal/Limnoria/commit/c930edd9430178acb1da955997b74a411f451e43 04 January 2020, 19:17:57 UTC
9570ea9 Merge branch 'sedregex-merge' into testing Import SedRegex plugin: History replacer using sed-style expressions. 04 January 2020, 05:24:21 UTC
758a3ef .travis.yml: remove --disable-multiprocessing (fix SedRegex tests) 02 January 2020, 06:13:10 UTC
51f10db SedRegex: update plugin metadata 02 January 2020, 05:56:40 UTC
35dd3c3 Update plugin author/maintainer data From: https://github.com/jlu5/SupyPlugins/commit/cbd953b32c3da5f5d2bb5b9e711a467050a9dcb9 02 January 2020, 05:55:58 UTC
08764b8 SedRegex: spawn a single process to handle the whole history. This is more efficient than spawning up to 1000 processes (assuming Limnoria's default config). From: https://github.com/jlu5/SupyPlugins/commit/ede85ca8b087573ddb27cda99123e217b1e2135b 02 January 2020, 05:55:58 UTC
9e0db63 SedRegex: add test for ReDoS timeout From: https://github.com/jlu5/SupyPlugins/commit/81debc45ecd103f4773e7380ef1be505d86a2909 02 January 2020, 05:55:58 UTC
1267d64 SedRegex: abort when a search times out This requires commit https://github.com/ProgVal/Limnoria/commit/b54d8f8073b4fca1787012b211337dc707cfea45, which separates the timeout and no match cases. Also, raise the default processTimeout as the plugin now aborts on the first message that times out. From: https://github.com/jlu5/SupyPlugins/commit/e5af47993945ce8b0bdd772d144b96ca0be22acd 02 January 2020, 05:55:58 UTC
43d4861 Update my email & repo link references From: https://github.com/jlu5/SupyPlugins/commit/2ae51939b3258d7dd28f8f5dc825575e7638b243 02 January 2020, 05:55:58 UTC
6c54352 SedRegex: test case normalization of channel names From: https://github.com/jlu5/SupyPlugins/commit/5672008a311ada6eb0b6fda6f632132603d159af 02 January 2020, 05:55:58 UTC
937930a SedRegex: match channel names case insensitively Some IRCds (Unreal 3.2) don't mangle target names for case correctness, leading to a bug where users end up ignored by the plugin. Reported by DOMF via IRC. From: https://github.com/jlu5/SupyPlugins/commit/e19abe049888667c3d0a4eb4a2c3ae88b8bea511 02 January 2020, 05:55:58 UTC
67a3928 SedRegex: log all errors, always display the not found mesage From: https://github.com/jlu5/SupyPlugins/commit/fdab0edbc8c82d1442748e6e33a01f3973514fc9 02 January 2020, 05:55:58 UTC
06f70e5 SedRegex: reuse processTimeout in the sub() process too From: https://github.com/jlu5/SupyPlugins/commit/4e08442cdec093609468fd7a35b1b548901bdbc5 02 January 2020, 05:55:58 UTC
363285c README: specifically mention that /s is specific to this plugin [skip ci] From: https://github.com/jlu5/SupyPlugins/commit/5e6c9349fa850150d6e475a3d34cc4e7e4487ed3 02 January 2020, 05:55:58 UTC
e831d0e SedRegex: make the regexp process timeout configurable Although the default has been adequate on my systems, busy or low-powered machines may fail to process regexps quickly enough and cause SedRegex to sporadically error. Reported by @cottongin via IRC. From: https://github.com/jlu5/SupyPlugins/commit/51ff41251b7367f4c056745b18758006c7453ff5 02 January 2020, 05:55:58 UTC
fd7aa57 SedRegex: remove compatibility workaround for Python 2.7.6 and lower From: https://github.com/jlu5/SupyPlugins/commit/c9bcbbb934ed34d51c1f7ee4ee8ed12b26443e5d 02 January 2020, 05:55:58 UTC
1646ca2 SedRegex: skip testBoldReplacement on Python 2 I don't know why it breaks here and I don't really care. From: https://github.com/jlu5/SupyPlugins/commit/b9481184cbba46fd0064088fa0b9a6d47d16df25 02 January 2020, 05:55:58 UTC
dcadb7e SedRegex: remove a duplicate test From: https://github.com/jlu5/SupyPlugins/commit/5e77c65a5fe5c4a718923bd4b7829f951c445bdf 02 January 2020, 05:55:58 UTC
01e0c12 SedRegex: use self.__class__ instead of __class__ in tests (Python 2 compat) From: https://github.com/jlu5/SupyPlugins/commit/b53e6e40a0b0e3565c0b7580085164c478abb413 02 January 2020, 05:55:58 UTC
b01c50c SedRegex: add a bunch of test cases Closes #53. From: https://github.com/jlu5/SupyPlugins/commit/a58785fa4aed5e5b5cd82c5322bb5b46284cb0df 02 January 2020, 05:55:58 UTC
f40d8c5 SedRegex: bump copyright year to 2017 From: https://github.com/jlu5/SupyPlugins/commit/0ef8138ab338c7e226b830a1cc3d7b231a9f0fa2 02 January 2020, 05:55:58 UTC
90ec8a6 SedRegex: fix some replacement queries not working From: https://github.com/jlu5/SupyPlugins/commit/926454b01d122c4e1a82381f2f2d7e39576426bd 02 January 2020, 05:55:58 UTC
6445e90 SedRegex: also catch errors in the regexp_wrapper() step E.g. sre_constants.error: invalid group reference From: https://github.com/jlu5/SupyPlugins/commit/e137d29eb94f1d2f39f574bb6757955ff38499c0 02 January 2020, 05:55:58 UTC
5370296 SedRegex: log the exact error name instead of "SedRegex error" From: https://github.com/jlu5/SupyPlugins/commit/406d7b17902570de9efa57870884bf76f68226a5 02 January 2020, 05:55:58 UTC
dee2b6b SedRegex: require ending delimiter to prevent overzealous matching of replacement text Closes #59. From: https://github.com/jlu5/SupyPlugins/commit/414a4a4a16a0d581bd92b9b8d5afde8d63f2355a 02 January 2020, 05:55:58 UTC
656d217 SedRegex: work around "nothing to replace" errors on < Python 2.7.6 again From: https://github.com/jlu5/SupyPlugins/commit/244a8c6bee8126e9489b17858e89f02b7432e0ea 02 January 2020, 05:55:58 UTC
889c6a1 SedRegex: fix flag matching From: https://github.com/jlu5/SupyPlugins/commit/db125ee5d18259427b279ba352691155faec6328 02 January 2020, 05:55:58 UTC
c1c423c SedRegex: add configuration / usage instructions From: https://github.com/jlu5/SupyPlugins/commit/9d0dce6ef5034f1fc923a870f6865b2a7b05e828 02 January 2020, 05:55:58 UTC
24ae250 SedRegex: implement 's' regex flag to only match the caller's message From: https://github.com/jlu5/SupyPlugins/commit/87c79db3d0ddda75f61c680e8dd9eb20085525e5 02 January 2020, 05:55:58 UTC
bd0b115 SedRegex: allow free form flags and return them in _unpack_sed() From: https://github.com/jlu5/SupyPlugins/commit/423da9f996d7af2f78cee6cc28311a6095f3d390 02 January 2020, 05:55:58 UTC
c1e2e2b SedRegex: sanitize against \n\r\t in output From: https://github.com/jlu5/SupyPlugins/commit/48445e256ac002776ce6ac61a858570224cb6b9f 02 January 2020, 05:55:58 UTC
00f26b0 SedRegex: only operate on messages from the current network Reported by @jztech101. The 'receivedBy' tag is now checked to match the current IRC object, which Works around ProgVal/Limnoria#1211. From: https://github.com/jlu5/SupyPlugins/commit/84b94d589cbce214b8429f73221dbf536dbdd43d 02 January 2020, 05:55:58 UTC
fa13c68 SedRegex: work around "nothing to repeat" errors on Python < 2.7.6 Source: https://stackoverflow.com/questions/3675144/regex-error-nothing-to-repeat and https://bugs.python.org/issue18647 From: https://github.com/jlu5/SupyPlugins/commit/335fc6e3da685e1c899ca41f370383603924ce8f 02 January 2020, 05:55:58 UTC
1499141 Import SedRegex plugin as of https://github.com/jlu5/SupyPlugins/commit/2a556a1b84db3e634754846760ec5b4fb1c0545a Co-authored-by: Michael Daniel Telatynski <postmaster@webdevguru.co.uk> Co-authored-by: nyuszika7h <nyuszika7h@openmailbox.org> 02 January 2020, 05:55:57 UTC
5348869 Skip irctest when optional dependencies are not installed. 01 January 2020, 11:07:59 UTC
ac07b44 Rewrite ecdsa-nist256p-challenge using python-cryptography instead of python-ecdsa. Which is more secure. Closes GH-1389. It also fixes the protocol/format to use the same one as Atheme. See also: https://github.com/ProgVal/irctest/commit/8a81224ba83c82ec097c1a395030a3524182e7f4 01 January 2020, 11:07:59 UTC
864b175 Drop support for Python versions before 3.4. 01 January 2020, 11:07:59 UTC
back to top