Commit Graph

5171 Commits

Author SHA1 Message Date
Valentin Lorentz
b9a3c01bb1 Merge pull request #940 from joulez/messageparser
Reorder: Move the id to the front of the regexp it represents.
2014-12-10 10:30:55 +01:00
Julian Paul Glass
b016958213 bold formating for the id string. 2014-12-10 09:23:18 +00:00
GLolol
ef9fbc4a07 Network: s/caller/callee/ 2014-12-09 22:40:29 -08:00
James Lu
2628dc03c4 Network: More minor improvements to 'whois' output 2014-12-09 18:38:21 -08:00
James Lu
2b324203e7 Network: changes to the 'whois' output formatting 2014-12-09 18:32:31 -08:00
Julian Paul Glass
7c0428dfcc Change the id format. Remove the quotes. 2014-12-10 02:11:13 +00:00
Julian Paul Glass
92824116c5 changes to test.py 2014-12-10 01:45:31 +00:00
Julian Paul Glass
1d0685e02f Reorder: Move the id to the front of the regexp it represents. 2014-12-10 01:39:23 +00:00
Mikaela Suomalainen
8fbf5193e6 Network: make whois reply more clear
Mention that it's possible that whoised user has channel list hiding
umode. This umode is usually +i, but I say "channel list hiding umode",
because +i is not always the umode which hides user list.

For example Quakenet always forces mode +i to every user and it cannot
be unset, but channel list is still visible. Some other IRCds can have
different modes to hide channel lists than +i.
2014-12-08 08:21:29 +02:00
Valentin Lorentz
5fdf8c3c9e Merge pull request #932 from GLolol/misc/customhelp
Misc: add ability to specify custom help strings
2014-12-07 09:29:18 +01:00
James Lu
9215bb5754 Misc: further simplify custom help logic 2014-12-06 18:06:59 -08:00
James Lu
f5bf5129a9 Misc: add ability to specify custom help URLs when 'help' is ran without arguments 2014-12-06 18:06:59 -08:00
James Lu
58dd73899e Misc: fix a typo (s/uncompatible/incompatible/) 2014-12-06 12:18:09 -08:00
Valentin Lorentz
654df6fac7 Merge pull request #931 from GLolol/patch-1
Filter: fix a typo in 'aol' help
2014-12-05 07:32:29 +01:00
GLolol
3f737abbde Filter: fix a typo in 'aol' help 2014-12-04 21:47:46 -08:00
nyuszika7h
913cd58b8e Anonymous: Better error when "tell" is disabled 2014-12-03 20:55:16 +01:00
James Lu
a755238ef4 Add/improve help for Debug + plugins from F-W:
- Debug
- Factoids
- Format
- Games
- Google
- Herald
- Internet
- Karma
- Lart
- Math
- Misc
- MoobotFactoids
- Network
- News
- NickAuth
- Nickometer
- Note
- Owner
- Protector
- Quote
- QuoteGrabs
- Relay
- Scheduler
- Seen
- ShrinkUrl
- Status
- String
- Time
- Todo
- Topic
- URL
- Unix
- User
- Utilities
- Web
2014-11-30 12:07:41 -08:00
James Lu
74655e4203 Add help for the following plugins (ref #903):
- Admin
- Alias
- AutoMode
- Channel
- ChannelLogger
- ChannelStats
- Conditional
- Config
- Ctcp
- Dict

- Also, proofread Aka's help from #904 for grammar.
2014-11-29 23:18:44 -08:00
GLolol
5bc0d4311c Services: update my comment 2014-11-27 22:53:08 -08:00
James Lu
3665d263ac Services: don't warn about unexpected ChanServ notices if the target is a channel 2014-11-27 21:18:00 -08:00
Valentin Lorentz
261a9c4d2a Merge pull request #920 from GLolol/misc/better-help
Misc: give better help when command isn't found but coincides w/ the name of a loaded plugin
2014-11-27 10:03:26 +01:00
James Lu
b88ff26942 Network: don't allow '.' in network names (Closes #874)
Network: fix typo
2014-11-26 21:50:24 -08:00
James Lu
223a3293d8 Misc: give better help when command isn't found but coincides with the name of a loaded plugin (ref #912) 2014-11-26 18:55:26 -08:00
Valentin Lorentz
175a646500 Merge pull request #914 from nyuszika7h/time-workaround-python-bug
Time.time: Work around a Python bug
2014-11-26 08:19:07 +01:00
Valentin Lorentz
131e5d584a Merge pull request #895 from GLolol/no-reload-owner
Owner: don't allow reloading the Owner plugin
2014-11-26 08:18:35 +01:00
Valentin Lorentz
d5d5e57f4c Merge pull request #884 from nyuszika7h/google-max-results
Google: Set default value of maximumResults to 3
2014-11-26 08:13:43 +01:00
Valentin Lorentz
daee0164fe Merge pull request #918 from GLolol/patch-1
Math/README.md: fix a silly typo
2014-11-26 08:02:38 +01:00
GLolol
4a520b2b9a Math/README.md: fix a silly typo 2014-11-25 17:42:36 -08:00
Valentin Lorentz
51566fedb1 Merge pull request #915 from nyuszika7h/tztime-remove-μs
Time.tztime: Don't display microseconds
2014-11-25 18:22:16 +01:00
nyuszika7h
da2cec32eb Time.time: Work around a Python bug
There is a bug [1] in older versions of Python (reproduced up to 2.7.5
and 3.2.3) where time.strftime('%z') would always give '+0000' if it's
given an argument. It's closed as "not a bug", but appears to be fixed
in recent versions. To work around this, datetime and dateutil is used
now when available.

[1] http://bugs.python.org/issue1493676
2014-11-24 22:09:38 +01:00
Valentin Lorentz
d4e07c7713 Unix: Longer timeout so tests stop failing that often. 2014-11-24 19:09:11 +01:00
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