Commit Graph

5140 Commits

Author SHA1 Message Date
nyuszika7h
b697536db5 Time.tztime: Don't display microseconds
There's no reason for displaying them under most circumstances that I
can think of.
2014-11-24 19:00:45 +01:00
Valentin Lorentz
7a9ab562b7 Channel: Document last commit in the help string of @ban list. 2014-11-24 18:29:25 +01:00
Valentin Lorentz
8de804be7d Channel: Add pattern matching to @ban list. 2014-11-24 18:26:25 +01:00
GLolol
ceee0a64f7 Dict: update dictionary names since dict.org has changed them 2014-11-23 18:48:34 -08:00
Valentin Lorentz
6483fa7a98 Merge pull request #909 from joulez/topic_refresh
Topic refresh
2014-11-21 07:51:33 +01:00
Julian Paul Glass
16ffdf69eb tests.py: wAdded Refresh and Restore tests. plugin.py: Empty lastTopics[channel] raise a KeyError for testing purposes. 2014-11-21 04:50:33 +00:00
Julian Paul Glass
54ee1e7670 added refresh command to Topic plugin 2014-11-21 03:24:10 +00:00
Julian Paul Glass
d35e67046b Add refresh command 2014-11-21 02:07:52 +00:00
Johannes Löthberg
587d53a475 MessageParser/README: Fix documentation link 2014-11-17 16:17:24 +01:00
Mikaela Suomalainen
567386c8e8 Aka: add the plugin help
I assume that everyone knows what aliases are. Please see also issue
 #903.
2014-11-16 19:34:23 +02:00
GLolol
f96d00d26e Owner: fix a typo in plugin.py 2014-11-10 18:34:49 -08:00
James Lu
7a1215f9f4 PluginDownloader: fix a couple of typos 2014-11-10 00:15:42 -08:00
Valentin Lorentz
4516d910f6 Merge pull request #897 from GLolol/patch-1
[suggestion] Misc: default listUnloadedPlugins & listPrivatePlugins to False
2014-11-06 04:08:40 +01:00
GLolol
356adb2bcb Misc: default listUnloadedPlugins & listPrivatePlugins to False 2014-11-05 17:05:05 -08:00
GLolol
7e26a7fe3f Owner: don't allow reloading the Owner plugin 2014-11-03 07:45:32 -08:00
Valentin Lorentz
e925069ae9 Merge pull request #892 from GLolol/notify-incompatible-plugins-on-load
Owner: catch ImportError in a less confusing, friendlier way (Closes #861, Really closes #850)
2014-11-01 19:29:18 +01:00
GLolol
99db7afbea Owner: update error messages
s/This plugin is incompatible/This plugin may be incompatible/
2014-11-01 11:20:05 -07:00
GLolol
76a5616bbe Owner: improve error on loading missing plugins 2014-11-01 11:08:36 -07:00
GLolol
1b2617bf8e Owner: catch ImportError in a less confusing, friendlier way 2014-11-01 10:57:01 -07:00
spline
06b5e04b0b Unix: fix fortune on Python 3
Closes #888
2014-10-22 17:47:39 +03:00
nyuszika7h
84e8310e7f AutoMode: Fix "Dismissing auto-mode" log message 2014-10-22 12:09:35 +02:00
nyuszika7h
b3f129435d Google: Set default value of maximumResults to 3
3 results usually fit in a single message, on the other hand the default
of 8 is too much.
2014-10-20 14:19:18 +02:00
Valentin Lorentz
1650860032 RSS: Do no block commands calling while loading a feed. 2014-10-14 20:59:00 +00:00
nyuszika7h
5187719a88 Filter: Remove tests for old lithp command
The command was removed in dc36ddf, but the tests weren't.
2014-10-14 22:45:44 +02:00
Erika Mustermann
dc36ddf595 Remove abelist 'lithp' command from Filter plugin
It has been pointed out that it's quite offensive as it makes light of a defect in one's ability of communicating with others and most people that suffer from such a malady are quite sensitive about it
2014-10-14 15:34:11 -05:00
Melody
b8f1e09079 Remove racist 'azn' command from Filter plugin 2014-10-14 21:41:25 +02:00
Valentin Lorentz
e9b8dddbb6 Merge pull request #873 from Mkaysi/wizard
Recommend Aka in supybot-wizard instead of Alias
2014-10-13 15:53:22 +02:00
Mikaela Suomalainen
577b9a06f1 Alias: recommend Aka in supybot-wizard 2014-10-13 11:24:59 +03:00
Valentin Lorentz
cd05f47d04 Merge pull request #872 from GLolol/karma-configurable-chars
Karma: support configurable increment/decrement chars (Closes #596)
2014-10-13 03:28:49 +02:00
Valentin Lorentz
8ab29fb291 Web: Add explicit error when page encoding cannot be guessed. 2014-10-13 01:13:15 +00:00
James Lu
41fb0f8eca Karma: fix allowSelfRating 2014-10-12 13:22:56 -07:00
James Lu
42a858595b Karma: add support configurable chars (picks up where #596 left off) 2014-10-12 12:56:43 -07:00
Valentin Lorentz
d2046a81a2 RSS: Prevent errors if users do not use @announce add correctly. Closes GH-869. 2014-10-10 14:41:45 +00:00
GLolol
458cebead2 Anonymous: fix help for allowPrivateTarget
This fixes some grammar issues previously discussed at #limnoria.
2014-10-09 13:32:19 -07:00
Valentin Lorentz
13c2bd3fcc Fix 5ff7b83fdd. 2014-10-09 14:20:25 +00:00
Valentin Lorentz
95e2a796c6 Merge pull request #851 from Mkaysi/anonymous
Anonymous: fix config help for allowPrivateTarget
2014-10-09 16:13:42 +02:00
Valentin Lorentz
5ff7b83fdd Channel: Let ops see nicks in a private channel. Closes GH-797. 2014-10-09 14:12:09 +00:00
GLolol
a5224fe84f Aka: fix a bug in aka show where None is returned for non-existant aliases 2014-10-03 21:56:09 +02:00
GLolol
0d4f7c655d Topic: actually read 'requireManageCapability' per channel 2014-09-20 00:49:06 +02:00
nyuszika7h
7f1d990298 Aka: Add set command to change existing aliases 2014-09-18 13:16:56 +02:00
nyuszika7h
55cadfd411 PluginDownloader: Sort repolist output alphabetically 2014-09-17 20:32:19 +02:00
Valentin Lorentz
e49b6fe8d2 Owner: Make error message of plugin loading at startup more explicit. Closes GH-850. 2014-09-14 11:08:28 +00:00
Valentin Lorentz
44707374c0 RSS: Fix support of feeds that do no have guid fields. Closes GH845. 2014-09-14 10:06:45 +00:00
Valentin Lorentz
15fb16a8ae RSS: Make the cache bigger in order to prevent duplicated announces. 2014-09-12 22:37:06 +00:00
Mikaela Suomalainen
b44437bdbd Anonymous: fix config help for allowPrivateTarget
I am again unsure of my wordings, so if someone could check them, that
would be nice.
2014-09-12 09:52:17 +03:00
Valentin Lorentz
7043e17fb0 Anonymous: Fix handling of allowPrivateTarget (after a629f51). 2014-09-12 04:53:23 +00:00
Mikaela Suomalainen
ae5f33393e Dict: use * as default dictionary
The config help is unclear as it talks about `*` meaning all
dictionaries while having default value as empty string.
2014-09-05 21:41:55 +03:00
Valentin Lorentz
8e491eb2b1 Later & Seen: Fix neutral grammar in l10n-fr. 2014-08-30 12:11:00 +02:00
Valentin Lorentz
e6d80f9346 User: Fix @gpg remove with some gpg configs. 2014-08-29 16:17:31 +00:00
Valentin Lorentz
a440d6ddf4 NickAuth & User: Fix nick auth + gpg auth when secure flag is on. Closes GH-825. 2014-08-26 13:59:24 +02:00
Valentin Lorentz
92c76044ec Misc: Fix typo in l10n-fr. 2014-08-25 21:04:02 +00:00
Valentin Lorentz
838c3e5a66 String: @re: catch “invalid group reference” exceptions. (Fixes second issue of GH-824.) 2014-08-25 09:43:12 +00: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
nyuszika7h
f40ffe37e4 Admin: Clarify error on 435 numeric 2014-08-17 13:48:43 +02:00
nyuszika7h
4f23e76c83 Admin: Update .po files 2014-08-17 13:48:42 +02:00
Valentin Lorentz
e51e45de4d RSS: Fix typo. 2014-08-13 17:04:35 +02:00
Valentin Lorentz
c08a480f11 RSS: Honor supybot.plugins.RSS.initialAnnounceHeadlines. 2014-08-13 16:43:43 +02:00
Valentin Lorentz
96ba33a296 RSS: Fix bad usage of safe_substitute. 2014-08-13 14:17:06 +00:00
Mikaela Suomalainen
58f3649f58 RSS: update l10n-fi & messages.pot
[SKIP CI]
2014-08-10 18:10:20 +02:00
Valentin Lorentz
1d4a1b13d8 RSS: Internationalize feed-specific format config doc. 2014-08-10 15:29:47 +02:00
Mikaela Suomalainen
b1bfc7dda2 User: fix typo messsage --> message
Also update messages.pot & l10n-fi.
2014-08-09 18:37:39 +03:00
Valentin Lorentz
0c6315afac Merge pull request #808 from nyuszika7h/fix-who
Fix WHO clash with external plugins (e.g. ChanTracker)
2014-08-05 12:00:31 +02:00
Valentin Lorentz
3b2382d2f9 RSS: Remove debug output. 2014-08-05 11:49:13 +02:00
Valentin Lorentz
b938ef68fb QuoteGrabs: Fix previous commit. 2014-08-05 11:49:13 +02:00
Valentin Lorentz
35bfd76852 Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support (without breaking Python 2 support). 2014-08-05 11:20:20 +02:00
Valentin Lorentz
907ede8035 Revert "Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support."
This reverts commit 30e03a542a.
2014-08-05 11:20:20 +02:00
Valentin Lorentz
30e03a542a Factoids & Karma & MessageParser & MoobotFactoids & QuoteGrabs: Fix Pypy3 support. 2014-08-05 10:48:31 +02:00
Valentin Lorentz
bb5c9b1648 Karma: Fix Pypy3 support.
Setting db.text_factory to str gets the repr() of a bytes object, while the default text factory seems to work well on any Python version.
2014-08-05 10:43:27 +02:00
nyuszika7h
20c71df8f9 Fix WHO clash with external plugins (e.g. ChanTracker) 2014-08-04 21:32:13 +02:00
Valentin Lorentz
8efcc4a009 RSS: Display nice error if an announced feed does not exist. 2014-08-04 17:01:30 +02:00
Valentin Lorentz
d431c2992b Factoids: Fix compatibility of web server with Python 3. Closes GH-784. 2014-08-04 13:21:40 +00:00
Valentin Lorentz
f39e6363ed Dunno: Log commands. Closes GH-798. 2014-08-04 15:12:17 +02:00
Valentin Lorentz
ab1ac2aa8e RSS: Remove use of deprecated property. Closes GH-807. 2014-08-04 15:02:46 +02:00
nyuszika7h
7d09f50165 NickAuth: Don't clear auth when joining unidentified 2014-08-03 14:35:53 +02:00
nyuszika7h
cb4f5a0a39 Re-add removed comment 2014-08-03 14:00:36 +02:00
nyuszika7h
d1ecfe3153 Fix code style 2014-08-03 13:59:35 +02:00
nyuszika7h
871607614a Implement account-notify, extended-join and WHOX
Also integrate it with NickAuth.

Closes #778.
2014-08-02 12:30:24 +02:00
Mikaela Suomalainen
b0acaf397b Karma: update l10n-fi & messages.pot 2014-08-01 20:08:01 +03:00
Mikaela Suomalainen
ab162784b0 Aka: update l10n-fi & messages.pot 2014-08-01 20:05:37 +03:00
Mikaela Suomalainen
cae6799fe5 RSS: update l10n-fi & messages.pot 2014-08-01 20:03:49 +03:00
Mikaela Suomalainen
f29ad6ddea Anonymous: update l10n-fi & messages.pot 2014-08-01 19:53:32 +03:00
Mikaela Suomalainen
72d60db0eb Web: update l10n-fi & messages.pot 2014-08-01 19:50:48 +03:00
Valentin Lorentz
ddcbc151b6 RSS: Fix listing of commands (show names, not URLs). 2014-08-01 09:17:58 +00:00
Valentin Lorentz
f3b31e5a4b RSS: Add support for ETag and Last-Modified. 2014-08-01 01:12:19 +02:00
Valentin Lorentz
db50e65b86 RSS: Fix tests for Python 3. 2014-08-01 00:16:36 +02:00
Valentin Lorentz
332164aa20 RSS: Fix Python2.6 compatibility. 2014-07-31 21:58:30 +00:00
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