Commit Graph

20 Commits

Author SHA1 Message Date
Valentin Lorentz
314fad36eb Modernize tests
Thanks to https://pypi.org/project/teyit/
2022-11-20 19:33:23 +01:00
Valentin Lorentz
63eb6672ea Revert generic 'The Limnoria Contributors' in copyright notices
This commit reverts db7ef3f025
(though it keeps the year updates)

After discussion with several people, it seems better to mention
copyright owners explicitly. eg. https://reuse.software/faq/#vcs-copyright
explains the issue of using VCSs to track copyright.

As db7ef3f025 only replaced mentions
of my name with 'The Limnoria Contributors', this commit only needs
to undo that + add one person who contributed to setup.py.
2021-10-17 09:57:55 +02:00
Valentin Lorentz
db7ef3f025 all: Add generic 'The Limnoria Contributors' to copyright notices.
No need to bother with details (that are all outdated / out of sync
anyway), just look up the git history.
2021-08-01 21:54:49 +02:00
Valentin Lorentz
9891b0fca4 Replace failUnless/failIf with assertTrue/assertFalse.
The old names are deprecated.
2020-01-26 11:14:18 +01:00
GLolol
b81bd2589e Topic: add test for removing multiple topics 2014-12-26 17:23:28 -05:00
Julian Paul Glass
16ffdf69eb tests.py: wAdded Refresh and Restore tests. plugin.py: Empty lastTopics[channel] raise a KeyError for testing purposes. 2014-11-21 04:50:33 +00:00
monodemono
996dd7bf74 Fixed a small oversight. 2014-05-25 13:42:59 -07:00
monodemono
c7b842fad2 Updated to reflect changes to default separator. 2014-05-25 13:26:57 -07:00
Valentin Lorentz
7b7b93eee6 Later & Topic: Fix tests to work with latest configuration changes. 2014-05-24 23:26:55 +02:00
Valentin Lorentz
b57be07f1c Topic: Add supybot.plugins.Topic.alwaysSetOnJoin. 2013-08-17 17:48:25 +00:00
Daniel Folkinshteyn
e68704a0fc topic now checks for +t mode before denying topic changes, and also allows halfops in addition to ops.
default required capabilities for topic changes (if topic is +t and user is not an op or halfop), are chan,op and chan,halfop
thanks jemfinch for the suggestions.
2011-02-25 18:53:11 +01:00
Daniel Folkinshteyn
c0986e1122 change Topic to have a default required capability set, for all write operations.
by default, now only allows chanops, and users with admin or channel,op capability to change topics
2011-02-25 18:47:56 +01:00
Daniel Folkinshteyn
814d89e200 topic now checks for +t mode before denying topic changes, and also allows halfops in addition to ops.
default required capabilities for topic changes (if topic is +t and user is not an op or halfop), are chan,op and chan,halfop
thanks jemfinch for the suggestions.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-04-14 22:57:01 -04:00
Daniel Folkinshteyn
063dd24677 change Topic to have a default required capability set, for all write operations.
by default, now only allows chanops, and users with admin or channel,op capability to change topics

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-04-14 22:56:52 -04:00
James Vega
a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega
a477f12f47 plugins/Topic: Add a proper test for the previous Topic.set fix. 2005-06-01 21:06:04 +00:00
James Vega
d5653077d3 plugins/Topic: Fix a bug with Topic.set where setting topic 1 would set the entire topic. 2005-05-19 17:23:31 +00:00
James Vega
9971e991fe Fix the modelines. 2005-03-23 20:07:45 +00:00
James Vega
14837bc544 Added Topic.fit. 2005-02-04 05:04:40 +00:00
Jeremy Fincher
309b693e86 Added Topic in the new plugin format. 2005-02-02 04:39:30 +00:00