Commit Graph

9933 Commits

Author SHA1 Message Date
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
00e25f86d8 Implement TruncatableSet.__repr__. 2014-07-31 22:53:21 +02:00
Valentin Lorentz
5f582e3f52 Make AtomicFile support context managers. 2014-07-31 22:53:21 +02:00
Valentin Lorentz
e42a3dd6ac Fix Python 2.6 compatibility. 2014-07-31 19:53:07 +00:00
Valentin Lorentz
c6cb948996 Fix Python 2.6 compatibility. 2014-07-31 19:53:00 +00:00
Valentin Lorentz
0e7349cf77 Fix utils.str.timestamp for ints. 2014-07-31 19:38:08 +00:00
Valentin Lorentz
0f174d9ee0 Fix utils.str.timestamp for ints. 2014-07-31 19:37:57 +00: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
Mikaela Suomalainen
ddf7ec9baa src/conf.py & commands.py: fix typo
informations --> information
2014-07-31 18:09:22 +00: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
8be1671867 Fix unicode handling issue of utils.str.format on Python 2. 2014-07-31 19:57:26 +02:00
Valentin Lorentz
8010cd5ae2 Fix unicode handling issue of utils.str.format on Python 2. 2014-07-31 19:57:14 +02:00
Valentin Lorentz
70ad232887 Fix af24192b0f (support for struct_time in utils.str.timestamp). 2014-07-31 19:56:17 +02: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
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