Commit Graph

10213 Commits

Author SHA1 Message Date
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
af24192b0f Allow utils.str.timestamp to take a struct_time as argument. 2014-07-31 18:44:00 +02:00
Valentin Lorentz
c51876b4d6 Allow TruncatableSet to get no argument. 2014-07-31 18:43:40 +02:00
Valentin Lorentz
00aaf79ef8 Add test for union with TruncatableSet. 2014-07-31 15:50:26 +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
94fbea6266 Add utils.structures.TruncatableSet. 2014-07-31 14:24:47 +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
nyuszika7h
32e3be3dac src/irclib.py: remove some errors 2014-07-26 11:52:34 +02: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
3973244d82 Undo modifications made in 6f19088724 (merge from Supybot) to setup.py. 2014-07-18 15:38:13 +00: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
Mikaela Suomalainen
d14ff94e05 fix .travis.yml
before

```
% travis lint .travis.yml
Warnings for .travis.yml:
[x] value for notifications section is empty, dropping
[x] in notifications section: unexpected key on_success, dropping
[x] in notifications section: unexpected key on_failure, dropping
```

now:

```
Hooray, .travis.yml looks valid :)
```

See also ProgVal/Supybot-plugins#217
2014-07-16 15:35:06 +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
5446ac13c5 .travis.runonce.bash: care about exit status
Squashed commit of the following:

commit aa8823331ebccebdca83810545b167deb2e6303e
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Tue Jul 15 20:47:29 2014 +0300

    .travis.yml: remove duplicate x

commit ef3b363aa6b692c771733f1b4a9d352c9224f3d0
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sun Jul 13 22:32:10 2014 +0300

    .travis.runonce.bash: add spaces

commit 004905729f954b5368510098fa2cac2a7181964a
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sun Jul 13 22:28:48 2014 +0300

    .travis.runonce.bash: pipe msgcheck to true

commit d5bdeac5f7754c9443c983f374d41a2f9bc0d1b3
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sun Jul 13 11:04:40 2014 +0300

    .travis.runonce.bash: remove RTFD

    There is now hook for it at GitHub.

commit e1dab24f0f6f1c406b2284298a2e8ab3908bdc23
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 12 23:34:14 2014 +0300

    .travis.runonce.bash: care about exit status

    This excludes msgcheck, because it's over-sensitive and always returns
    exit value which logic I don't remember unless everything is correct
    according to it.

    Oh and the behaviour before this commit allows everything to fail
    without having exit code which shows that it failed and we wouldn't
    notice any failures in near future.
2014-07-15 19:51:19 +02: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
Mikaela Suomalainen
9ac4ee8e99 .travis.yml: enable fast-finish
If I understand correctly, this makes the build fail when one build fails without having to wait for all builds to finish.

This might abort building for those which haven't finished yet, but we probably want to know that build fails as soon as one build fails.
2014-07-12 11:18:25 +03:00
Valentin Lorentz
7569b613ff Fix tests for Python 2.6 (broken by 0a9d6469f0). 2014-07-12 10:16:51 +02:00
Valentin Lorentz
ba9938b735 Fix Python 3 compatibility (broken by f5df6695c0). 2014-07-12 10:13:10 +02:00
Valentin Lorentz
0a9d6469f0 Make dependency on python-mock optional. 2014-07-12 10:01:59 +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
Valentin Lorentz
a3941d1ee5 Merge pull request #773 from Mkaysi/patch-1
Ctcp: fix README.md
2014-07-10 22:38:28 +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
da4a1c1a32 80 columns. 2014-07-09 07:50:32 +02:00
Mikaela Suomalainen
20f8c5c56a src/conf.py reword help text for supybot.user
and supybot.networks.<network>.user
2014-07-09 07:50:32 +02:00
Valentin Lorentz
d0c53d9c00 Merge pull request #768 from Mkaysi/clean-travis
fix .travis.runonce.bash
2014-07-05 11:58:57 +02:00
Mikaela Suomalainen
ef77116d68 fix .travis.runonce.bash
* msgcheck now doesn't cause false-alarms with Limnoria specific things.
* remove the broken if which never gets executed by Travis
* These commits have already been build invidually so [SKIP CI]
2014-07-05 11:26:48 +03:00
Valentin Lorentz
42689c446b travis: Install sphinx and msgcheck only for the build running runonce.
Squashed commit of the following:

commit 3b528b5f103500d9cfa62e3442d7c977ee7c6259
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 10:24:02 2014 +0300

    .travis.runonce.bash: fix travis check

    * Install sphinx & msgcheck on same line.
    * Don't install sphinx twice.

commit aca2040807b082a1b1f74be4f8f3917407dd4e3c
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 01:12:10 2014 +0300

    .travis.runonce.bash: use sudo in travis

commit 00b8d9d0b269679867d3ef2d730274d6b0d1701b
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 01:08:51 2014 +0300

    Revert ".travis.runonce.bash: improvising"

    This reverts commit 373471845cd2a1ebfc615fe0eb253ac5f169ec67.

commit 373471845cd2a1ebfc615fe0eb253ac5f169ec67
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 01:00:52 2014 +0300

    .travis.runonce.bash: improvising

    I hope this also works with Travis, but I have no idea does whereis
    usually check $HOME/.local/bin …

commit 1a8f54f337455dbb3e5643ce8fa9735183edcd79
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 00:46:16 2014 +0300

    Revert ".travis.runonce.bash: adjust $PATH"

    This reverts commit dc096462798499270e78ed7aa596dade938796a4.

commit dc096462798499270e78ed7aa596dade938796a4
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 00:37:13 2014 +0300

    .travis.runonce.bash: adjust $PATH

    If something is already installed elsewhere, pip won't reinstall it.

commit bd34aae08a8a739c7f6ecd8db685dc81ac3acf7d
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 00:25:56 2014 +0300

    .travis.runonce.bash: use full paths

    for applications installed to $HOME/.local

commit 643878c2f94cbe9f7244a4d8df7463ed25af2275
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 00:24:20 2014 +0300

    Fix Python 2.6 build

    Move msgcheck & sphinx to .travis.runonce.bash so 2.6 doesn't fail to
    msgcheck requiring Python 2.6.

commit 2fbb279ac2
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 00:19:30 2014 +0300

    fix .travis.yml

commit cc1ccb15a0
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 00:08:12 2014 +0300

    .travis.runonce.bash: add msgcheck

    && requirements.txt: add msgcheck & forgotten sphinx.

commit a2d910d2f5
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 00:03:41 2014 +0300

    .travis.runonce.bash: add forgotten sphinx

commit cdd564f115
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Jul 5 00:01:14 2014 +0300

    Break .travis.yml to two files

    * .travis.yml = the primary Travis config file.
    * .travis.runonce.bash = the script which we want to run only once per
    build.

commit 6c3d2dfcd2
Merge: ebf2442 37d8a54
Author: Valentin Lorentz <progval+github@progval.net>
Date:   Fri Jul 4 19:06:47 2014 +0200

    Merge pull request #755 from Mkaysi/services

    Services: default NickServ and ChanServ to NickServ and ChanServ.

commit ebf2442dbc
Merge: 3f9b10c c534e82
Author: Valentin Lorentz <progval+github@progval.net>
Date:   Mon Jun 30 13:27:34 2014 +0200

    Merge pull request #762 from Mkaysi/nickauth

    NickAuth: update l10n-fi & messages.pot .

commit c534e824f0
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Mon Jun 30 14:22:34 2014 +0300

    NickAuth: update l10n-fi & messages.pot .

    [SKIP CI]

commit 3f9b10cc59
Merge: 607e5e0 38b933a
Author: Valentin Lorentz <progval+github@progval.net>
Date:   Mon Jun 30 13:17:13 2014 +0200

    Merge pull request #761 from nyuszika7h/fix-nickauth-nick-list-error

    NickAuth: fix error message in !list

commit 38b933aee9
Author: nyuszika7h <nyuszika7h@gmail.com>
Date:   Mon Jun 30 09:50:43 2014 +0200

    NickAuth: fix previous commit

    I'm too used to JavaScript.

commit 8e97ad3707
Author: nyuszika7h <nyuszika7h@gmail.com>
Date:   Mon Jun 30 09:47:55 2014 +0200

    NickAuth: fix error message in !list

commit 37d8a545e9
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Fri Jun 6 13:54:26 2014 +0300

    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-07-05 09:33:45 +02:00
Valentin Lorentz
d9a581efa2 Merge pull request #765 from Mkaysi/runonce
Break .travis.yml to two files
2014-07-04 23:24:23 +02:00
Mikaela Suomalainen
2fbb279ac2 fix .travis.yml 2014-07-05 00:19:30 +03:00
Mikaela Suomalainen
cc1ccb15a0 .travis.runonce.bash: add msgcheck
&& requirements.txt: add msgcheck & forgotten sphinx.
2014-07-05 00:08:12 +03:00
Mikaela Suomalainen
a2d910d2f5 .travis.runonce.bash: add forgotten sphinx 2014-07-05 00:03:41 +03:00
Mikaela Suomalainen
cdd564f115 Break .travis.yml to two files
* .travis.yml = the primary Travis config file.
* .travis.runonce.bash = the script which we want to run only once per
build.
2014-07-05 00:01:14 +03: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
Valentin Lorentz
ebf2442dbc Merge pull request #762 from Mkaysi/nickauth
NickAuth: update l10n-fi & messages.pot .
2014-06-30 13:27:34 +02:00