Commit Graph

7960 Commits

Author SHA1 Message Date
Mika Suomalainen
fc2b67d03d Merge remote-tracking branch 'progval/testing' into testing 2011-08-16 16:21:18 +03:00
Valentin Lorentz
22eb147116 Channel: Really deny access to the nicks list. Closes GH-172. 2011-08-16 13:22:23 +02:00
Mika Suomalainen
a091456c4d Merge remote-tracking branch 'progval/testing' into testing 2011-08-15 18:56:10 +03:00
Valentin Lorentz
5f9c889bf3 Merge pull request #169 from nyuszika7h/testing
Add/update l10n-hu for some plugins.
2011-08-15 08:26:31 -07:00
Daniel Folkinshteyn
37597bfe94 Create a commands.process function which runs a function inside a separate process.
This is the only way to limit the execution time of a possibly long-running python statement.
Use this on String.re, due to the possibility of pathologically long re matching in python.
This allows us to remove the 'trusted-only' restriction on string.re.
In the future, this should probably be used in other places that take user-supplied regexps,
such as 'misc last --regexp', for example, as well as other potentially long-running tasks
that can block the bot.

Conflicts:

	plugins/String/plugin.py
	src/commands.py
2011-08-15 17:24:33 +02:00
nyuszika7h
0418c64505 Channel & Misc & Reply: Update l10n-hu. 2011-08-15 14:53:29 +02:00
Mika Suomalainen
27e4390f90 Merge remote-tracking branch 'nyuszika7h/testing' into testing 2011-08-14 16:31:38 +03:00
nyuszika7h
749ae84460 Merge remote-tracking branch 'progval/testing' into testing 2011-08-14 14:20:55 +02:00
Mika Suomalainen
0c2e55a754 AutoMode: fixed some typos. 2011-08-14 14:27:20 +03:00
Mika Suomalainen
505b9a55f3 Anonymous: Fixed typos in l10n-fi.
I am now checking all my translations. Some of them seem to have very many typos.
2011-08-14 14:18:29 +03:00
Valentin Lorentz
0d97adadc4 Merge branch 'master' into testing 2011-08-14 10:55:55 +02:00
Daniel Folkinshteyn
dd040f830d RSS: add channel-specific blacklist and whitelist.
also fix bug introduced with the initialannounce feature, which overwrote newheadlines
list when doing channel-specific things with it.
2011-08-14 10:53:58 +02:00
Valentin Lorentz
1c5cdb919f Merge pull request #162 from Mkaysi/testing
Added & Fixed translations.
2011-08-13 13:50:23 -07:00
Mika Suomalainen
08ffe912ac Alias: fix l10n-fi.
Fixed typos, added space before lines in string, added header.
2011-08-13 23:45:52 +03:00
Mika Suomalainen
aa621f96b7 Admin: fixed l10n-fi.
It seems that I have made very many spelling mistakes in Admin plugin. They are now
fixed.
2011-08-13 23:32:12 +03:00
Mika Suomalainen
9b7e53e03e Services: added l10n-fi
And wrote a header :)
2011-08-13 23:03:12 +03:00
Mika Suomalainen
1f1861970a Services: added partial l10n-fi.
Three strings left to translate, 93% translated.
2011-08-13 20:32:34 +03:00
Mika Suomalainen
6d0622e188 Services: added partial l10n-fi.
Currently translated 52%.
2011-08-13 19:56:38 +03:00
Mika Suomalainen
80c81a728e Added "*.mo" to .gitignore
Poedit is generating them for me and if implementation in Limnoria doens't use .mo files,
why to have them in repo?
2011-08-13 19:27:58 +03:00
nyuszika7h
9477ba20fb Merge remote-tracking branch 'progval/testing' into testing 2011-08-13 13:45:02 +02:00
Daniel Folkinshteyn
3fa45b3b5f Secure some more commands which take a regexp from untrusted user input.
Namely todo.search, note.search, dunno.search.

Conflicts:

	plugins/Note/plugin.py
	plugins/Todo/plugin.py
	src/version.py
2011-08-13 01:59:18 +02:00
Daniel Folkinshteyn
0e3002d1f8 String: set default re subprocess timeout to 0.1, since that should be quite enough.
Conflicts:

	plugins/String/config.py
2011-08-13 01:57:03 +02:00
Daniel Folkinshteyn
e11dc28025 Misc: fix potential ddos when misc.last command is fed a specially-crafted regexp.
Conflicts:

	plugins/Misc/plugin.py
2011-08-13 01:56:21 +02:00
Daniel Folkinshteyn
91ac1c2179 String: fix it up to work with the previously committed enhancement for subprocess timeout.
Conflicts:

	plugins/String/plugin.py
2011-08-13 01:55:25 +02:00
Daniel Folkinshteyn
3526d5dabf src/commands.py: make subprocesses raise an error on timeout, rather than return a string
Conflicts:

	src/commands.py
2011-08-13 01:53:58 +02:00
Valentin Lorentz
d85cbd256b Misc: Security fix to @last: time-consuming could freeze the bot. Closes GH-157. 2011-08-12 18:51:40 +02:00
Valentin Lorentz
8d6ce790e8 Time: Remove useless/bad/wrong error message from @tztime. 2011-08-12 13:07:40 +02:00
Valentin Lorentz
2caae4d043 Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-08-12 13:07:14 +02:00
Valentin Lorentz
1fa02674a0 Revert "In registry.py, test whether a requested configuration variable is a channel name before creating it automatically. Closes GH-63."
This reverts commit c6facc99f3.

Conflicts:

	src/version.py
2011-08-12 01:06:31 +02:00
skizzhg
54aef4f3d5 Later & Misc & Seen & Todo: Update l10n-it. 2011-08-10 17:23:59 +02:00
nyuszika7h
522ae701d5 Merge remote-tracking branch 'progval/testing' into testing 2011-08-10 15:37:53 +02:00
Valentin Lorentz
0ec1c6a81e Merge pull request #151 from Mkaysi/testing
Updated l10n-fi in many plugins.
2011-08-10 05:20:44 -07:00
Mika Suomalainen
0098ab87f9 NickCapture: update l10n-fi
Also updated header.
2011-08-10 15:07:11 +03:00
Mika Suomalainen
11f6220458 Misc: update l10n-fi
Also updated header.
2011-08-10 15:03:37 +03:00
nyuszika7h
872e0bac41 Merge remote-tracking branch 'progval/testing' into testing 2011-08-10 13:55:36 +02:00
Mika Suomalainen
3a9bf0fe60 Later: update l10n-fi.
Translated the new strings and improved header.
2011-08-10 14:41:44 +03:00
Mika Suomalainen
8b52943768 Owner: update l10n-fi
Notice: Owner plugin translations will not work so this is still empty .po file, which
contains what must be translated.
2011-08-10 14:37:41 +03:00
Mika Suomalainen
9d885b054d ChannelLogger: update l10n-fi.
Also fixed one typo and added header.
2011-08-10 14:30:58 +03:00
Mika Suomalainen
9ab6f2763a Ctcp: update l10n-fi
It was probably already uptodate and errors in check_trans.py were because of
Poedit.
2011-08-10 14:27:55 +03:00
Mika Suomalainen
97c67983a1 Karma: update l10n-fi
Updated Finnish translation in Karma.
2011-08-10 14:23:54 +03:00
Mika Suomalainen
e8201796c4 Format: update l10n-fi
This was copy-pasted completetly, because Poedit and msgmerge refused to update
from .pot file. I also started writing better headings as skizzhg has requested.
2011-08-10 14:20:09 +03:00
Mika Suomalainen
111df53b1f Reply: update l10n-fi. 2011-08-10 13:06:55 +03:00
Mika Suomalainen
3dd61131a4 Seen: update l10n-fi. 2011-08-10 13:05:26 +03:00
Mika Suomalainen
618200ca50 Merge remote-tracking branch 'progval/testing' into testing 2011-08-10 13:02:18 +03:00
Mika Suomalainen
4a69f68aca Merge remote-tracking branch 'progval/testing' into testing 2011-08-10 13:01:53 +03:00
Daniel Folkinshteyn
98996be251 Services: catch occasional error when removing waiting joins from list 2011-08-10 12:01:30 +02:00
Daniel Folkinshteyn
6dca55deeb Services: fix problem with some channels being mixed up between networks on startup, when noJoinsUntilIdentified is true.
When noJoinsUntilIdentified config is true, the bot holds join messages in a 'waitingJoins' list, and processes them
once nickserv identification comes through. The problem was that when the bot is configured to join multiple networks,
join messages from different networks would get appended to the same list, without any differentiation by which message
belongs to which network. Thus, if there are messages waiting for multiple networks, it would often be the case that
whichever network got identification done first, would 'pick up' other network's join messages.

This fix stores the network name along with the join messages in the list, and has each network pick out only its own
join messages.
2011-08-10 12:00:42 +02:00
skizzhg
cf436631d6 Admin & Anonymous & AutoMode & Channel & Misc & NickCapture & Seen & Todo & URL: Update l10n-it. 2011-08-10 11:48:07 +02:00
Valentin Lorentz
d8c0f46fbb Merge branch 'testing' of github.com:ProgVal/Limnoria into testing 2011-08-10 11:45:34 +02:00
Valentin Lorentz
bc36debe2f ChannelLogger & Format & Karma & Later & Misc & Owner & Reply & Seen & Status & Todo & URL & Unix: Update messages.pot and l10n-fr. 2011-08-10 11:44:57 +02:00