Commit Graph

51 Commits

Author SHA1 Message Date
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
833af36b08 all plugins: auto-generate READMEs
Starting with this commit, there should be no "original" text
in READMEs.
Instead, the entire text should be in docstrings, and READMEs
should be automatically generated from these docstrings.

Motivation:

* The same help is available both via IRC and in the README
  (although the README can be more detailed, as only the first
  paragraph will be shown on IRC)
* This will allow auto-generating plugin help on docs.limnoria.net
  using the same content as the README, as it's sourced from the
  docstrings

Additionally, this converts all READMEs from Markdown to ReST,
because the documentation already uses ReST, and other docstrings
in the codebase are in ReST for this reason.
2021-04-05 17:42:31 +02:00
Valentin Lorentz
c1ae3f5c81 all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
James Lu
9ba21a1cad Unix: fix a typo in sysuname & sysuptime's command descriptions
runnning -> running
2018-09-30 18:03:29 -07:00
Valentin Lorentz
4f6a5e7db9 Add config variable supybot.commands.allowShell. (#1301) 2017-09-24 21:11:21 +02:00
Ken Spencer
82cdf17964 Unix: make the default ping count configurable (fixes #1187)
Squashed commit of the following:

commit 2952c1f3e3d81a4d473bc7037f3fa9091219e483
Author: James Lu <james@overdrivenetworks.com>
Date:   Sat Sep 23 12:42:05 2017 -0700

    Unix: fix wrong conf var name

commit a3ea173ee0995e9d22472cc569d54d7e65648117
Merge: ca037a94 165d9f25
Author: James Lu <james@overdrivenetworks.com>
Date:   Sat Sep 23 12:41:37 2017 -0700

    Merge branch 'configurable-ping-count' of https://github.com/IotaSpencer/Limnoria into configurable-ping-count

commit 165d9f258f02c5adf0087b164e144038c06a46c4
Author: Ken Spencer <ken@electrocode.net>
Date:   Sat Sep 23 15:39:02 2017 -0400

    Unix: use str() on the integer-type defaultCount so we don't get a TypeError

commit f3b58710752f3b40db44ddc97369e15951563ea7
Author: Ken Spencer <ken@electrocode.net>
Date:   Sat Sep 23 15:35:30 2017 -0400

    Unix: use PositiveInteger so < 0 is inherently invalid

commit b4f9e4fdfffcc75c4803480702271647decf73a0
Author: Ken Spencer <ken@electrocode.net>
Date:   Sat Sep 23 15:03:37 2017 -0400

    Unix: make the default ping count configurable
2017-09-23 12:45:17 -07:00
Valentin Lorentz
5db3faca7a Unix: Add support for -4 and -6 in @ping. Closes GH-1224. 2016-03-11 21:12:04 +01:00
Valentin Lorentz
25a913a82b Unix: Make fortune.equal and fortune.file channel-specific. 2016-03-01 19:21:17 +01:00
Valentin Lorentz
c3a2c800f1 Remove need for 2to3. 2015-08-11 16:50:23 +02:00
Valentin Lorentz
216c5d213f Replace sys.version_info[0] usages with minisix.PY{2,3}. 2015-08-09 00:23:03 +02:00
James Lu
a38ab5ea89 Unix: Update logging again 2014-12-13 11:21:18 -08:00
James Lu
d5b7a27685 Unix: update logging 2014-12-13 11:19:18 -08:00
James Lu
63a7a03498 Unix: log shell and call commands at INFO (Closes ProgVal/Limnoria#929) 2014-12-13 10:57:27 -08:00
James Lu
a755238ef4 Add/improve help for Debug + plugins from F-W:
- Debug
- Factoids
- Format
- Games
- Google
- Herald
- Internet
- Karma
- Lart
- Math
- Misc
- MoobotFactoids
- Network
- News
- NickAuth
- Nickometer
- Note
- Owner
- Protector
- Quote
- QuoteGrabs
- Relay
- Scheduler
- Seen
- ShrinkUrl
- Status
- String
- Time
- Todo
- Topic
- URL
- Unix
- User
- Utilities
- Web
2014-11-30 12:07:41 -08:00
spline
06b5e04b0b Unix: fix fortune on Python 3
Closes #888
2014-10-22 17:47:39 +03:00
Valentin Lorentz
3cd9bb7896 Unix: Merge code of ping and ping6. 2014-08-24 17:10:16 +02:00
Mikaela Suomalainen
3b6ed52ca4 Unix: add ping6 (closes #821) 2014-08-24 17:51:24 +03:00
Valentin Lorentz
e7169e9143 Unix: Fix @wtf. 2014-05-02 17:32:19 +00:00
Mikaela Suomalainen
030c77f637 Unix: allow wtf to tell that it doesn't know something. Fixes ProgVal/Limnoria#256 . 2014-04-27 14:22:16 +03:00
nyuszika7h
fb8d929cc8 Clarify help text for !shell
I should stop using @, poor @shell getting notified by commits
irrelevant to his interests. :P

[skip ci]
2014-03-01 18:23:04 +01:00
nyuszika7h
322023c011 Unix: Add @shell command 2014-02-27 16:01:21 +01:00
nyuszika7h
bc4cfb96dd Unix: Fix FD leaks and Windows compatibility 2014-02-27 15:36:05 +01:00
Valentin Lorentz
06fdaa792f Continue accelerating the 2to3 step (remove fix_map). 2014-01-21 10:57:38 +01:00
Valentin Lorentz
bb7db3ab21 Continue accelerating the 2to3 step (remove fix_except). 2014-01-20 15:49:15 +01:00
Valentin Lorentz
3dba9088b0 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	INSTALL
	plugins/ChannelLogger/README.txt
	plugins/ChannelStats/README.txt
	plugins/Google/plugin.py
	plugins/Google/test.py
	plugins/Plugin/test.py
	plugins/Web/test.py
	setup.py
	src/callbacks.py
	src/ircdb.py
	src/irclib.py
	src/utils/str.py
	test/test_irclib.py
2013-01-01 21:11:24 +01:00
Valentin Lorentz
d6da8a5a0d Unix: Prevent name conflict with _(). 2012-09-23 16:30:14 +00:00
James McCoy
82ecf36fcd Update my name/contact information
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:16:48 -04:00
Valentin Lorentz
ea17fe5c57 Unix: Decode stream for the command line in sysuname. 2012-08-05 18:26:39 +02:00
Valentin Lorentz
6537137b3f Unix: make plugin py3k-friendly. 2012-08-04 22:20:20 +02:00
Valentin Lorentz
dcd07a2ec4 ChannelStats & Filter & Math & Unit: use utils instead of str.translate. 2012-08-04 19:13:35 +02:00
Valentin Lorentz
d52e501ae8 Use open() instead of file(). 2012-08-04 13:13:16 +02:00
robbe
7de277d052 Add commands Unix.sysuptime and Unix.sysuname. 2012-04-15 14:02:39 +02:00
nyuszika7h
277080a247 Unix: Made plugin.py:190 localizable and regenerated messages.pot 2011-12-22 22:28:46 +01:00
nyuszika7h
1c01dc2a3c Unix: Add configuration variable spell.language 2011-12-22 22:21:20 +01:00
nyuszika7h
8af27f4f64 Unix: Make configuration variable fortune.offensive channel-specific 2011-12-18 14:24:35 +01:00
nyuszika7h
751a3ef921 Unix: Make configuration variable fortune.short channel-specific 2011-12-18 14:21:46 +01:00
skizzhg
6e5350def6 ChannelLogger & Format & Karma & Owner & Reply & Status & URL & Unix: Fix typoes. 2011-08-10 11:26:47 +02:00
Valentin Lorentz
2d56eba17e Unix: fix merge of @ping 2011-02-26 09:50:15 +01:00
Daniel Folkinshteyn
e35bf94600 Unix: add call command, giving owner ability to call any system command. 2011-02-25 19:38:33 +01:00
brian c
cc5f3c1049 Unix: various enhancements to the ping command:
Fixed bug in 100% packet loss response.
Errors from ping are now sent to irc.error().
Added packet count, interval, ttl, and wait options.
Added additional test cases.

Also, Enabled threading for Unix plugin, and
for wtf, spell, and ping commands.

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2011-02-25 19:31:46 +01:00
oevna@users.sourceforge.net
61167ce909 Unix: fixed uncaught OSError exception raised when executing ping fails.
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2011-02-25 19:31:06 +01:00
oevna@users.sourceforge.net
390b3ec15f Added ping command to Unix plugin
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
2011-02-25 19:30:31 +01:00
Valentin Lorentz
6a9a8d81b8 Internationalize Time, Todo, Topic, URL, Unix, Utilities, and Web 2010-10-20 09:39:44 +02:00
James Vega
ca56575eb5 Unix: Use converter to enforce "no spaces" for spell's argument.
Closes: Sf#3064304
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-09-20 19:44:01 -04:00
James Vega
a7c924b466 Switch from using the various popen flavors to subprocess.Popen
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit fbdc44ca52)
2010-08-24 19:40:23 -04:00
Jeremy Fincher
de69f9da17 Backed out my previous change. I should know better than to question the all-knowing jamessan. 2009-03-11 13:37:25 -04:00
Jeremy Fincher
bec12b6877 Made jamessan's code agree with his comment (and the maximum integer that can fit into two bytes). 2009-03-11 13:37:25 -04:00
James Vega
699bb15f23 Fix a test failure by limiting random.randrange to [-32768, 32767] 2009-03-11 13:37:25 -04:00
James Vega
a3e4fc5b1d Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
James Vega
0367ae5615 plugins/Unix: Keep track of two lines in Unix.spell since aspell sometimes list suggestions after a '*' or '+' line. 2005-07-22 13:08:40 +00:00