Commit Graph

5003 Commits

Author SHA1 Message Date
Valentin Lorentz
057da44ab3 RSS: Make sure two different feeds cannot have the same URL. 2014-07-31 23:56:27 +02:00
Valentin Lorentz
3a127e884e RSS: Allow feed-specific format. Closes GH-104. 2014-07-31 23:50:43 +02:00
Valentin Lorentz
1265f9229a RSS: Open dump file in text mode (json uses text mode). 2014-07-31 20:57:47 +00:00
Valentin Lorentz
7ac053d8f1 Merge branch 'rewrite-rss' into testing 2014-07-31 22:53:44 +02:00
Valentin Lorentz
b5911f8489 RSS: Implement persistence of announced headlines. 2014-07-31 22:53:21 +02:00
Valentin Lorentz
4a3d39e747 Merge branch 'rewrite-rss' into testing
Conflicts:
	src/utils/str.py
2014-07-31 19:24:01 +00:00
Valentin Lorentz
e9b58f7820 RSS: Use queueMsg instead of sendMsg (flood…) 2014-07-31 19:17:27 +00:00
Valentin Lorentz
784b534a3d RSS: Remove deadlock and make announces work. 2014-07-31 20:50:12 +02:00
Valentin Lorentz
f35ece8147 RSS: Fix stupid bugs. 2014-07-31 20:14:09 +02:00
Valentin Lorentz
809a34a9ad RSS: Fix test broken by 2caade8f. 2014-07-31 20:12:59 +02:00
Valentin Lorentz
a5c928b364 RSS: Fix test broken by 2caade8f. 2014-07-31 20:12:37 +02:00
Valentin Lorentz
2f327ab9c1 Fix Python 2.6 support (broken in the two last commits). 2014-07-31 18:06:20 +00:00
Valentin Lorentz
ca425b7b0a RSS: Fix checking of feed existancy. 2014-07-31 19:31:20 +02:00
Valentin Lorentz
0a6a4991a5 RSS: Make feed commands work. 2014-07-31 18:56:52 +02:00
Valentin Lorentz
219c47d1c8 RSS: Major rewriting. @rss works. 2014-07-31 18:44:49 +02:00
Valentin Lorentz
cab9fcdd8d RSS: Group config variables in the code in a more logical way. 2014-07-31 14:59:22 +02:00
Valentin Lorentz
7057112d2d RSS: Add tests for announce. 2014-07-30 22:00:20 +00:00
Valentin Lorentz
8cd0b4c1e3 Web: Increase timeout to 10 and improve error message. 2014-07-30 11:18:54 +00:00
Valentin Lorentz
7e84b534cc Internet: override reply.oneToOne and always send IPs in one message (there are potentially a lot of them). 2014-07-23 19:47:42 +02:00
Valentin Lorentz
37ce57efbd Internet: Remove duplicate IPs from @dns. 2014-07-23 19:46:15 +02:00
Valentin Lorentz
0587af90a1 Internet: Make @dns show all addresses. Closes GH-786. 2014-07-23 19:22:15 +02:00
Mikaela Suomalainen
0ce8ef8299 Time: update messages.pot & l10n-fi
I translated IANA Time Zone Database too, because I tried googling for
my translation and the first results are about correct thing (even if
Google first suggests wrong spelling which (when clicked) suggests two
other wrong spellings…

[SKIP CI]
2014-07-23 18:31:27 +03:00
Mikaela Suomalainen
b8193e0c88 Time: tztime: mention IANA TZ Database in help
https://www.iana.org/time-zones uses the spelling IANA Time Zone Database,
so I use it too.
2014-07-23 18:21:23 +03:00
Valentin Lorentz
496979758f Karma: Fix tests. 2014-07-19 14:22:09 +00:00
Valentin Lorentz
1edd7fc379 Karma: Delete record instead of resetting it to zero, and make @clear able to delete all records at once. 2014-07-19 14:20:04 +00:00
Valentin Lorentz
0d5f8ab05b Owner: Remove side-effect of renaming test. 2014-07-18 20:55:12 +02:00
Valentin Lorentz
39dad55b6f Make renaming of commands persistant. Closes GH-789. 2014-07-18 20:43:24 +02:00
Valentin Lorentz
c6346e48dd AutoMode: Do not make voice override ban. Closes GH-160. 2014-07-17 20:00:03 +02:00
Mikaela Suomalainen
e02a766f82 Factoids: fix l10n-fi
Fixes #783 (I hope). There is translatable string `$value` that I had
translated and I believe it's what causes that issue.

```diff
 #: config.py:80
  msgid "$value"
  -msgstr "$arvo"
  +msgstr "$value"
  ```
2014-07-17 09:02:51 +03:00
Valentin Lorentz
74e5b5d5a4 ShrinkUrl: Fix goo. Looks like a change in the API. Closes GH-779. 2014-07-16 05:49:15 +00:00
Valentin Lorentz
ab011a6618 ShrinkUrl & core: Fix encoding issue related to getUrlFd. 2014-07-16 05:42:46 +00:00
Valentin Lorentz
0a1bf6db22 Aka: Add @show command. Closes GH-572. Closes GH-710. 2014-07-13 21:19:48 +02:00
nyuszika7h
fee33c1272 Relay: fix string in config 2014-07-13 17:25:58 +02:00
nyuszika7h
8e11dc8b28 Use gender-neutral pronouns everywhere 2014-07-13 17:23:11 +02:00
Valentin Lorentz
ba9938b735 Fix Python 3 compatibility (broken by f5df6695c0). 2014-07-12 10:13:10 +02:00
Valentin Lorentz
6f19088724 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	.gitignore
	plugins/Alias/plugin.py
	plugins/Anonymous/plugin.py
	plugins/Anonymous/test.py
	setup.py
	src/callbacks.py
2014-07-12 09:48:27 +02:00
Mikaela Suomalainen
8f0c07cdb4 Ctcp: fix README.md
* Fix quoting
* Remove prefix, quoting should tell that it's a bot command

[SKIP CI]
2014-07-10 23:07:35 +03:00
James McCoy
a629f51328 Anonymous: Move "say $nick" functionality to new tell command
Allowing Anonymous.say to send a message to either a nick or an
(implicit) channel through the use of first('nick', 'inChannel') changed
the behavior of the command by making it impossible for 'inChannel' to
take effect.

This meant that any previous users of the command that expected "say
some text" to send "some text" to the current channel would instead try
to send "text" to the user "some".  Depending on the value of
conf.plugins.Anonymous.allowPrivateTarget, this would result in either
an error or a strange message to a random user.

Creating a new tell command solves this issue as Anonymous.channel now
goes back to its simple 'inChannel' wrapper.

Signed-off-by: James McCoy <vega.james@gmail.com>
2014-07-09 21:03:26 -04:00
Valentin Lorentz
6c3d2dfcd2 Merge pull request #755 from Mkaysi/services
Services: default NickServ and ChanServ to NickServ and ChanServ.
2014-07-04 19:06:47 +02:00
Mikaela Suomalainen
c534e824f0 NickAuth: update l10n-fi & messages.pot .
[SKIP CI]
2014-06-30 14:23:23 +03:00
nyuszika7h
38b933aee9 NickAuth: fix previous commit
I'm too used to JavaScript.
2014-06-30 09:50:43 +02:00
nyuszika7h
8e97ad3707 NickAuth: fix error message in !list 2014-06-30 09:47:55 +02:00
Mikaela Suomalainen
2caade8f7c RSS: make more sense to default config
* Change default separator to `|` as used by Topic plugin.
* Show links with manual calling and automatic announcement.
    * In most of cases we want to know where does new RSS feed title point to...
2014-06-20 22:09:30 +03:00
Valentin Lorentz
8ec9f1b496 Fill README of some plugins. Closes GH-747. Closes GH-749. 2014-06-14 13:23:06 +02:00
James McCoy
f5df6695c0 Alias: Restore recursion limit and limit memory use
The (faulty) detection of recursive Aliases was removed in
a656fd0693, claiming that "our nesting
limit will catch issues now."  However, nested Aliases weren't actually
increasing the nesting level.

Actually increasing the nesting level when an alias is executed restores
the intended behavior.  Additionally, limiting the size of the
expanded arguments to an alias prevents exponential growth of memory
usage for certain malicious inputs/aliases.

Signed-off-by: James McCoy <vega.james@gmail.com>
2014-06-09 23:48:41 -04:00
Mikaela Suomalainen
bc7b9c62a0 Scheduler: fix quoting & add plugins in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
91caae2e08 Relay: fix quoting & mention cmdall in README.md
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
91fcd704ce RSS: fix quoting & mention onetoone in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
decaa09fd6 Praise: fix quoting in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
6eb504325f Nickometer: fix quoting in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
c0b9e06d5c NickAuth: fix quoting and wording in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
4b630e8229 MoobotFactoids: fix quoting in README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
64acf863f0 Limiter: fix quoting in README.md. 2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
aa73cbbd9e Later: fix topics and quoting in README.md.
Also updated to reflect our default settings.

[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
cebce8c56e Lart: fix README.md.
[SKIP CI]
2014-06-08 16:59:42 +02:00
Mikaela Suomalainen
4d6c7ab39e Karma: fix quoting in README.md and one mistake.
* plugins.karma.allowunaddressedkarma doesn't mean that the bot must be addressed by nick. It must be addressed, but that can also happen with prefix.

[SKIP CI]
2014-06-08 17:10:28 +03:00
Mikaela Suomalainen
b6085d60bc Ctcp: Mention channel mode +C in README. 2014-06-08 16:46:05 +03:00
Mikaela Suomalainen
0a31dd18cf AutoMode: update README.md.
[SKIP CI]
2014-06-08 13:54:09 +03:00
Mikaela Suomalainen
f44cc389a9 Anonymous: add another example & add notice about...
...this plugin not meant for identifying even if it's possible and tell
how the identifying should happen.
2014-06-08 13:37:59 +03:00
Mikaela Suomalainen
56f8d54583 Alias: improve formatting of README.md. 2014-06-08 13:19:58 +03:00
Valentin Lorentz
2ea9e7187f Time & User & Web: Fix metadata of translation files. 2014-06-08 12:16:52 +02:00
Mikaela Suomalainen
5d6a2f009b I am Mikaela.
And I thought this was already made clear to Limnoria, but seems that it
wasn't. because the wrong name appears in translations that I don't
remember touching.

[SKIP CI]
2014-06-08 13:07:36 +03:00
Mikaela Suomalainen
c500517fcf Factoids: update l10n-fi & messages.pot. 2014-06-07 23:26:08 +02:00
Mikaela Suomalainen
d4a6434190 Factoids: fix tests. 2014-06-06 23:12:40 +03:00
Mikaela Suomalainen
52e1ffcc50 Factoids: make more sense with default config.
* Default separator to `is`.
    * It's more used than `as`.
    * Help text updated too.
* Default value as `$value`. Like with Topic plugin, the `$key could be`
is just annoyance which users are very likely to disable anyway.
2014-06-06 22:52:09 +03:00
Mikaela Suomalainen
37d8a545e9 Services: default NickServ and ChanServ to NickServ and ChanServ.
* Most of networks have services with this name.
    * I can only name QuakeNet from those that don't, but the default
    configuration exludes it.
* If this plugin is loaded in Supybot-wizard, it asks for nicknames of
NickServ and ChanServ.

[SKIP CI] because this is `git commit --amend` and the build already
passed.
2014-06-06 14:19:34 +03:00
Mikaela Suomalainen
fc81013be5 Mass rename README.txt --> README.md .
[SKIP CI]
2014-06-06 12:42:33 +02:00
Valentin Lorentz
7d716aa8f3 setup.py: Use UTC for version number. Closes GH-717. 2014-06-04 16:50:31 +02:00
Valentin Lorentz
47514f9f98 Merge pull request #713 from monodemono/testing
Fixed iban help text.
2014-06-02 16:25:36 +02:00
Mikaela Suomalainen
b3fc7da275 Channel: update messages.pot & l10n-fi. 2014-06-02 16:03:42 +03:00
monodemono
c42cb8b34d Fixed iban help text.
Removed redundant information, and slightly altered the grammar in certain parts.
2014-06-02 05:54:47 -07:00
Valentin Lorentz
76bc193455 Ctcp: Fix name-crash which made --nicks always interpreted as true. Closes GH-664. 2014-05-31 20:47:16 +02:00
Valentin Lorentz
b14ed2c5d9 Config: Prevent variable creation when trying to get the value of a channel-specific variable for a non-channel. 2014-05-31 20:44:56 +02:00
Valentin Lorentz
fd2ecf0dec Revert "Relay: set NoticeNonPrivmsgs to True."
This reverts commit cc8f96eeac.
2014-05-31 17:55:44 +02:00
Mikaela Suomalainen
cc8f96eeac Relay: set NoticeNonPrivmsgs to True.
Please see https://github.com/TkTech/notifico/issues/79

* > There is a difference between a NOTICE to a channel and a NOTICE to a user, every client should be able to correctly display notices to a channel. ~~ @Dav1dde

* > They should, but they don't. ~~ @Mkaysi

* > That's besides the point. There are a lot of clients that do handle it properly, and if they don't then that's not notifico's fault, that's their own fault. ~~ @sckasturi
2014-05-31 17:45:41 +02:00
Mikaela Suomalainen
b5fd00b416 ChannelLogger: set FlushImmediately to True.
* This is default behaviour with ZNC and some other IRC related applications.
* Users are often confused when the logs don't appear.
* The logs will less likely get lost if they are written immediately.
* Gribble is doing this too (but not by default).
2014-05-31 18:28:26 +03:00
Mikaela Suomalainen
156cf62c56 Misc: update l10n-fi. 2014-05-31 15:12:22 +03:00
Mikaela Suomalainen
674192f2f0 RSS: update l10n-fi. 2014-05-31 15:10:50 +03:00
Valentin Lorentz
bd0a077482 RSS: Update l10n-fr. 2014-05-31 11:46:31 +02:00
Valentin Lorentz
b6498ba206 Merge pull request #626 from nyuszika7h/rss-announce-prefix
RSS: Change 'New news' to 'News' in announcements
2014-05-31 11:45:50 +02:00
Valentin Lorentz
9569eb22d8 Misc: Only write channel name, instead of prepending it with “channel”. 2014-05-29 18:46:09 +00:00
Valentin Lorentz
a430e3bce5 Misc: Internationalize two strings. 2014-05-29 18:11:38 +00:00
Valentin Lorentz
c66072ffc2 Misc: Improve code in previous merge. 2014-05-29 18:07:20 +00:00
Srijay Kasturi
b3bf19ffe7 Add invalid command was called in.
fixes #584
2014-05-29 12:32:13 -04:00
Valentin Lorentz
c799bb2931 Merge pull request #688 from Mkaysi/user.identify
Make user.whoami more clear to unidentified users.
2014-05-29 00:30:21 +02:00
Mikaela Suomalainen
a769b4f97a User: update messages.pot & l10n-fi. 2014-05-28 19:49:53 +03:00
Mikaela Suomalainen
c810a52afd User: fix #687 2014-05-28 19:47:31 +03:00
Mikaela Suomalainen
f486bdbdba fix previous commit 2014-05-28 18:34:41 +03:00
Mikaela Suomalainen
4d81a55241 Channel: fix test.py . 2014-05-28 12:59:43 +03: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
monodemono
4be7f6d6c2 Removed extra spaces & pipe from default separator 2014-05-25 13:22:07 -07:00
Valentin Lorentz
7b7b93eee6 Later & Topic: Fix tests to work with latest configuration changes. 2014-05-24 23:26:55 +02:00
Mikaela Suomalainen
bf536d5cd2 Topic: fix default format
The old format also included useless nick. I don't know anyone who has used the default meaning it and it annoys people and it just annoyed me.

> XX:XX:XX  -: blah blah blaa (Mikaela)
2014-05-23 18:05:19 +03:00
Mikaela Suomalainen
404fcbac37 Later: make default settings more sane
private: False
* If #653 gets done, notices are much more easier to lose.

tellOnJoin: False
* Many people are using bouncers or running their IRC clients on 24/7 up server, so in many cases joins don't tell anything on are people really present, so it's better to just wait for them to say something.
2014-05-22 12:48:42 +03:00
Valentin Lorentz
66d0a7acdd Network: Fix @whois to work with multiple 319 messages per whois. 2014-05-20 10:49:23 +00:00
Mikaela Suomalainen
f87052788e Aka: use better quotes for lastfm in README.md. 2014-05-19 12:27:07 +03:00
Mikaela Suomalainen
700d2c7d46 Aka: update README. Fixes #639 for those who read READMEs. 2014-05-19 12:20:55 +03:00
Valentin Lorentz
de41d6f89d Merge pull request #637 from GLolol/spellit-no-space
Filter: remove unneeded leading space from !spellit output
2014-05-17 12:54:29 +02:00
Valentin Lorentz
0888104e28 Filter: Make @uniud linear instead of quadratic. 2014-05-15 16:45:19 +00:00