Commit Graph

172 Commits

Author SHA1 Message Date
Valentin Lorentz 526ffb0ccb Web: Fix code factorization (576a96fb71). Closes GH-1173. 2015-10-17 15:41:20 +02:00
James Lu 6e96f8f8bf Web: actually return the whitespace-stripped title 2015-10-04 12:54:41 -07:00
Valentin Lorentz 20ef13ef9f Web: Ignore SVG titles. Closes GH-1147. 2015-08-29 21:08:35 +02:00
Valentin Lorentz 576a96fb71 Web: Factorize the code of the title snarfer and the title command. 2015-08-29 21:04:38 +02:00
Valentin Lorentz c3a2c800f1 Remove need for 2to3. 2015-08-11 16:50:23 +02:00
Valentin Lorentz 054953891f Web: check URL whitelist in snarfer. 2015-08-11 14:46:47 +00:00
Valentin Lorentz be6bc1a734 Remove need for fix_unicode. 2015-08-10 18:52:51 +02:00
Valentin Lorentz 6ceec0c541 Web: HTMLParseError is deprecated/unused since Python 3.3 and removed in Python 3.5. 2015-08-10 18:16:02 +02:00
Valentin Lorentz c0ac84bb53 Remove need for fix_import, fix_types, and fix_urllib. 2015-08-10 17:55:25 +02:00
Valentin Lorentz 216c5d213f Replace sys.version_info[0] usages with minisix.PY{2,3}. 2015-08-09 00:23:03 +02:00
Valentin Lorentz a81d3ddae6 Web: add option for having titlesnarfer immune to defaultignore. Closes GH-1101 2015-05-15 12:39:30 +02:00
Valentin Lorentz d06d744f11 Squashed commit of the following:
commit 47ede7f658c17857fd291a1a40df3b3c18e36473
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:51:45 2014 +0200

    Misc: update l10n-fi

    Sorry, I forgot to commit this before PR.

commit 6b5d61e5a5ae323dcc2c8366ea68236fd09bccae
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:42:37 2014 +0200

    Web: update l10n-fi

    [CI SKIP]

commit e103515083d9448bd80520c02c895ea8a1f33107
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:41:15 2014 +0200

    URL: update l10n-fi

commit 942d1db0aa1deb8e5d2a4f81a62edefc30a6ce27
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:33:52 2014 +0200

    Factoids: update l10n-fi

    [CI SKIP]

commit dae8da0c7568c63ebc3986503ac86a5d6466c6e9
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:32:46 2014 +0200

    Conditional: update l10n-fi

commit 7bd2d8cc65b3908c6ffe5b1eb9250987484c247a
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:20:23 2014 +0200

    Todo: update l10n-fi

commit ee37330b8fdd3a32fd5156ab0e792d76176b0515
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:19:17 2014 +0200

    Nickometer: update l10n-fi

commit 81271aa71846469de61d1be4b5cb442a26f955b9
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:16:30 2014 +0200

    NickAuth: update l10n-fi

commit 7d9bfeaffaef0c1f1fee7ed7d84064ba02bfdfb1
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:14:04 2014 +0200

    Note: update l10n-fi

commit 9ab5c2c3803413b1e775121a733ddf0408065764
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:10:09 2014 +0200

    Google: update l10n-fi

    "This is a simple plugin to provide access to the Google services we
    all know and love from our favorite IRC bot." :D

commit 897a7b79c45108e70b2ba1a4f7156029a043a17d
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:07:13 2014 +0200

    Herald: update l10n-fi

commit 2825cd6a32d4cc843a748d0ea6162760064cdc77
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 14:00:59 2014 +0200

    Misc: update l10n-fi

    [SKIP CI]

commit fba930cd3982d5ba92ba1b1ec1c194911a01e875
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:58:51 2014 +0200

    Utilities: update l10n-fi

commit 21c875b3fc66176f2c65fd1291e3a6360e8708f3
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:57:25 2014 +0200

    Aka: update l10n-fi

commit 05005f464db107f8ad18becc3855e263f04634c8
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:51:15 2014 +0200

    Config: update l10n-fi

commit 8e57df072c9af0dda1ac2b048712f5e973163c7d
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:50:20 2014 +0200

    Karma: add l10n-fi

commit d2f6c6802fc327d2f308ef71ac2640df244463d1
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:47:28 2014 +0200

    Alias: update l10n-fi

    [CI SKIP]

commit b97484dd74e553606de26cab987c69bc160781a9
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:45:23 2014 +0200

    Topic: update l10n-fi

commit 6dc04aca97a2a107821f53c5d067133122323df3
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:43:41 2014 +0200

    Time: update l10n-fi

commit e0f04cb4334f854524da711993ae7041f151b1c8
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:38:44 2014 +0200

    Scheduler: update l10n-fi

commit bcd8ede5ad263963b6fa67fac204cf8f2ab3cafa
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:37:28 2014 +0200

    Filter: update l10n-fi

commit 32619add01f26332f3c5b559003c94711c4a299b
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:26:11 2014 +0200

    Internet: update l10n-fi

commit a3c3342db39ae8404df8d89478b5c23f6642847d
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:12:05 2014 +0200

    Web: update l10n-fi

    [CI SKIP]

commit 77476fd14b970969ef6d64cfe6930e3812e6f88e
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:10:23 2014 +0200

    Unix: update l10n-fi

commit db5d59b4514becf128b6ec0dbec8f4543cb069ea
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:09:19 2014 +0200

    ChannelStats: update l10n-fi

commit 827c225fe5141cd3fa5060b19e8e19aafc8a2895
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:08:02 2014 +0200

    Quote: update l10n-fi

commit 615019735eae74f95413622d0e42a7cd7d610da1
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:06:22 2014 +0200

    Seen: update l10n-fi

commit 36c4606fd82b207f93658fda320890eb26bec6d4
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 13:03:52 2014 +0200

    MoobotFactoids: update l10n-fi

commit c1c958a6dbb14b2f039771cb4179c5ba36d10026
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:23:33 2014 +0200

    Dict: update l10n-fi

    [CI SKIP]

commit 9d98da8e3d3fdd0f2204bd92e5c57313e8fc3477
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:21:58 2014 +0200

    ShrinkURL: update l10n-fi

commit a5d6a7325b753e4ea2bfbb29374be89207fc59fd
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:20:04 2014 +0200

    String: update l10n-fi

commit 95f88c750ebcbaf66512d940b089298a67e19851
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:19:06 2014 +0200

    Admin: update l10n-fi

commit ba52e93038468f785148ba31cb87c974fe64cddb
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:17:45 2014 +0200

    Relay: update l10n-fi

commit 0ae032bf4d4562c91164560cefe2e4d88be1ed74
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:16:42 2014 +0200

    Math: update l10n-fi

commit c16cc0fa114d063d75c3b043dc5b357a470ce46e
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:14:54 2014 +0200

    Channel: update l10n-fi

    [CI SKIP]

commit 738a3c91d66cfc822697bc4d35f0bc3ea44a8191
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:13:28 2014 +0200

    ChannelLogger: update l10n-fi

commit 843dc98cea02cc4027d2ea6824258e12a69cb828
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:12:14 2014 +0200

    RSS: update l10n-fi

commit 903b50150d42202c382cb20f18fefd17d62ae0ad
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:09:44 2014 +0200

    Protector: add l10n-fi

    [CI SKIP]

commit d5488599151814e0a26ab43d4e2d0545a2910a0c
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:08:08 2014 +0200

    QuoteGrabs: update l10n-fi

commit 2586497f74555a092969e07190e544374effa634
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:04:30 2014 +0200

    Lart: update l10n-fi

    [CI SKIP]

commit 276d76eb3c6ba64d6b5bccd54897d01059a86fcd
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 12:03:18 2014 +0200

    Anonymous: update l10n-fi

commit b98c6a51c9f2e12b0207d68baa7f4311e7c276be
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 11:44:16 2014 +0200

    User: update l10n-fi

    [CI SKIP]

commit 218a53ffcbfc854678cac3a4af033753f1f48fa6
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 11:42:13 2014 +0200

    News: update l10n-fi

commit 0b68eda84131448fbe585983f4320c163574e2d2
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 11:40:41 2014 +0200

    Format: update l10n-fi

commit 9c390ed244c2b152f343d56837e56bedab7d7698
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 11:39:03 2014 +0200

    AutoMode: update l10n-fi

commit 4523e154792fdead7a26b19a3178c1c1e86082a7
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 11:37:49 2014 +0200

    Status: update l10n-fi

commit 28d6c4b0c5072273d8d37c9bf87b671aba6d5df4
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 11:36:33 2014 +0200

    Games: update l10n-fi

    [CI SKIP]

commit 52e21367d99e908b1c650f2f379659037251c4eb
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 11:34:22 2014 +0200

    Network: update l10n-fi

    [CI SKIP]

commit 7876a8f1e1ae35a13df9299e24c996a887542481
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Sat Dec 20 11:28:18 2014 +0200

    core: update l10n-fi
2014-12-20 14:37:27 +01:00
Mikaela Suomalainen 64c0e38635 Web: fix unmatched parenthesis and add missing dot 2014-12-20 13:14:33 +02:00
Valentin Lorentz ba12692fb4 Web: Add support for charrefs. Closes GH-923. 2014-12-11 09:59:08 +01:00
Valentin Lorentz 95c15922e4 Remove outated output. 2014-12-11 09:50:17 +01:00
Valentin Lorentz 10529328ac Web: Remove test broken if accessing slashdot from France. 2014-12-11 09:50:11 +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
Valentin Lorentz 8ab29fb291 Web: Add explicit error when page encoding cannot be guessed. 2014-10-13 01:13:15 +00:00
Mikaela Suomalainen 72d60db0eb Web: update l10n-fi & messages.pot 2014-08-01 19:50:48 +03:00
Valentin Lorentz 8cd0b4c1e3 Web: Increase timeout to 10 and improve error message. 2014-07-30 11:18:54 +00:00
Valentin Lorentz 2ea9e7187f Time & User & Web: Fix metadata of translation files. 2014-06-08 12:16:52 +02:00
Mikaela Suomalainen fc81013be5 Mass rename README.txt --> README.md .
[SKIP CI]
2014-06-06 12:42:33 +02:00
Valentin Lorentz 5f306a8c74 Fix neutral pronouns. 2014-04-11 21:56:42 +00:00
Valentin Lorentz b8f31a3fca Web: disable threading in commands. (They are run in separated processes anyway…) 2014-04-06 14:05:40 +00:00
Mikaela Suomalainen 3a2b01d517 PluginDownloader: update l10n-fi.
The typo fix edition.
2014-03-22 16:38:16 +02:00
Mikaela Suomalainen 9eec5c0ab5 Ctcp: update l10n-fi. 2014-03-22 16:16:52 +02:00
Mikaela Suomalainen bf2640ddb8 User: update l10n-fi. 2014-03-22 15:44:26 +02:00
Mikaela Suomalainen 3fc64abe93 Web: update l10n-fi. 2014-03-22 13:05:49 +02:00
Mikaela Suomalainen aa59a98767 Aka: add l10n-fi. 2014-03-22 12:39:48 +02:00
Mikaela Suomalainen 0d62257d79 update messages.pot files && Unix: update l10n-fi. 2014-03-22 12:22:54 +02:00
Mikaela Suomalainen f88e8e20b9 My name is Mikaela!
Thanks @nyuszika7h :) ☺
2014-03-22 12:01:11 +02:00
Valentin Lorentz 4fe74ed397 Merge branch 'aka-sqlite3' into speed-up-2to3 2014-02-02 22:15:43 +01:00
Valentin Lorentz 1c617ea742 ChannelStats & Conditional & Format & Karma & Web: Update l10n-fr. 2014-01-22 13:53:03 +01:00
Valentin Lorentz 5cfa7828ea ChannelStats & MessageParser & PluginDownloader & RSS & User: Update l10n-fr. 2014-01-22 08:02:03 +01:00
Valentin Lorentz 8b06bd52f0 All plugins: Update .pot files and rename Supybot-fr to Limnora in French translation files. 2014-01-21 16:48:13 +01:00
Valentin Lorentz 35a62b4e77 Continue accelerating the 2to3 step (remove fix_ws_comma, fix_xreadlines, and fix_zip). 2014-01-21 10:40:18 +01:00
Valentin Lorentz bb7db3ab21 Continue accelerating the 2to3 step (remove fix_except). 2014-01-20 15:49:15 +01:00
Valentin Lorentz c1c23f66f4 Continue accelerating the 2to3 step (remove fix_print). 2014-01-20 15:31:09 +01:00
nyuszika7h b5a9aee7a6 Web: Fix exception on timeout 2013-12-25 16:43:41 +01:00
Valentin Lorentz 13d2746454 ChannelStats & Conditionnal & Format & Karma & Limiter & MessageParser & Misc & Network & PluginDownloader & Seen & ShrinkUrl & Status & String & Time & Topic & User & Web: Update messages.pot. 2013-11-27 00:02:05 +01:00
Valentin Lorentz 289f614bfa Web: Make choice of displayed domain (origin/target) configurable. 2013-11-19 10:20:32 +00:00
Valentin Lorentz 11d8f4655b Web: Display the target domain in snarfer. Re-implements pull request GH-523. 2013-11-19 10:16:43 +00:00
Valentin Lorentz 40675ffdfa Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	plugins/Admin/plugin.py
	plugins/BadWords/config.py
	plugins/Filter/plugin.py
	plugins/Google/plugin.py
	plugins/Math/plugin.py
	plugins/Misc/plugin.py
	plugins/Note/plugin.py
	plugins/RSS/plugin.py
	plugins/Seen/test.py
	plugins/ShrinkUrl/config.py
	plugins/ShrinkUrl/plugin.py
	plugins/ShrinkUrl/test.py
	plugins/Status/plugin.py
	plugins/String/config.py
	plugins/String/plugin.py
	plugins/Time/plugin.py
	plugins/Todo/plugin.py
	plugins/Web/plugin.py
	plugins/__init__.py
	scripts/supybot-botchk
	setup.py
	src/__init__.py
	src/callbacks.py
	src/commands.py
	src/conf.py
	src/drivers/Socket.py
	src/ircdb.py
	src/irclib.py
	src/ircutils.py
	src/questions.py
	src/registry.py
	src/schedule.py
	src/test.py
	src/utils/file.py
	src/utils/gen.py
	src/utils/net.py
	src/utils/web.py
	src/world.py
2013-08-24 11:28:29 +02:00
Valentin Lorentz 790bda4664 Web: Fix nesting of commands (bug introduced in d8a4ef8421). 2013-08-20 11:37:39 +02:00
Kill Your TV b46a0dd6a2 Unicode fixes for python 2.x
These changes have been tested with Python 3.2.3 and Python 2.7.5.
2013-08-17 14:12:10 +00:00
Valentin Lorentz 18cc1ff3bb Revert "Web: Disable @title and @doctype for non-HTML documents." (incompatible with Python 2)
This reverts commit 34b0e5faad.
2013-08-15 00:14:34 +00:00
Valentin Lorentz 34b0e5faad Web: Disable @title and @doctype for non-HTML documents. 2013-08-09 18:03:02 +02:00
Valentin Lorentz d8a4ef8421 Web: Prevent memory bomb when calling commands with an URL to a page sending crafted requests. 2013-08-09 12:16:24 +02:00
Valentin Lorentz 3341cd15ba Admin & Factoids & Google & Later & Misc & NickAuth & RSS & Seen & User & Web: Update messages.pot 2013-07-25 11:39:06 +02:00
Valentin Lorentz b4402b28ed utils.web: Rename get_encoding to getEncoding for consistency. 2013-07-09 12:05:51 +00:00
Valentin Lorentz 820113344c Web: Use utils.web.get_encoding for guessing charset. 2013-07-09 12:02:43 +00:00
Valentin Lorentz dbedcbb6c9 Web: Disable testWhitelist if --no-network is given. 2013-07-09 09:18:33 +02:00
Valentin Lorentz 5f1535447c Web: Use @title's utf8 decoding in the snarfer. 2013-07-02 13:42:53 +02:00
Daniel Folkinshteyn 944f9c3e3f Web: create a cofigurable url whitelist
Prevent various forms of abuse that result via the Web plugin, such as fetching or titling
malicious content, or revealing bot IP.

Conflicts:
	plugins/Web/plugin.py
	plugins/Web/test.py
2013-06-27 07:09:22 +02:00
George Miller 0150c79924 Added a way to have the urlsnarfer report exceptions (hotsnotnound, ...)
(Should be possible changed to only ioExceptions)
Enable/Disable via 'supybot.plugins.Web.snarferReportIOExceptions'
2013-04-05 10:05:00 +02:00
Valentin Lorentz 9ef83f70cf Web: Fix encoding in @title. 2013-03-06 12:11:46 +00:00
Valentin Lorentz 693e827340 Alias & ChannelLogger & MessageParser & MoobotFactoids & User & Web: Update l10n-fr. 2013-03-02 19:15:12 +01:00
Terje Hoås 2327317b33 Web: Fix fetch. Use getUrl instead of getUrlFd.
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2013-01-08 20:32:43 -05:00
Valentin Lorentz 603f44129d Web: Fix Python 3 compatibility. 2013-01-06 17:06:26 +01:00
Valentin Lorentz 2177429618 Web: Remove netcraft (which does not seem to want bots). 2013-01-05 19:14:58 +01:00
Valentin Lorentz 5f1d7cc097 Web: Fix test of snarfing (Microsoft changes the title based on location of the computer). 2013-01-05 18:03:13 +01:00
Valentin Lorentz 918092a54d Web: Fix snarfing of titles with UTF-8 characters. 2013-01-05 18:02:35 +01:00
Valentin Lorentz 3dba9088b0 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	INSTALL
	plugins/ChannelLogger/README.txt
	plugins/ChannelStats/README.txt
	plugins/Google/plugin.py
	plugins/Google/test.py
	plugins/Plugin/test.py
	plugins/Web/test.py
	setup.py
	src/callbacks.py
	src/ircdb.py
	src/irclib.py
	src/utils/str.py
	test/test_irclib.py
2013-01-01 21:11:24 +01:00
Valentin Lorentz 6cbc6a14dd Rename all 'locale' directories to 'locales'.
Firstly, these directories contains more than one locale. Secondly, it conflicts with the 'locale' python module.
2012-12-26 15:43:35 +01:00
Valentin Lorentz 943f3a0133 Web: Fix test for @title. 2012-12-12 19:24:23 +01:00
Valentin Lorentz 22febc4a20 Web: Fix encoding issues in title snarfing and @title. 2012-11-17 15:10:36 +00:00
Valentin Lorentz 6ea2d062b7 Web: Filter special chars in @title, and add --no-filter.
I'm adding --no-filter just in case someone want to use @title to do this at purpose
2012-10-31 16:35:51 +00:00
Daniel Folkinshteyn f310350335 Web: add 'timeout' config for web fetch, default 5 sec.
Otherwise, when a site would take a long time to respond, the thread would hang for quite a while.

also needed to mod src/utils/web.py to take the timeout arg.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-10-15 22:10:56 -04:00
Terje Hoås cb623b2f4e Web: Fix fetch. Use getUrl instead of getUrlFd. 2012-10-02 18:19:53 +02:00
Valentin Lorentz ad3bf1302f Web: Fix compatibility with Python <= 2.6. 2012-09-22 17:43:59 +00:00
Valentin Lorentz a95546316f Web: Fix title snarfer with titles containing unicode characters. 2012-09-22 17:34:33 +00:00
Valentin Lorentz 841dc719e1 Web: Fix page decoding. 2012-09-19 15:08:52 +00:00
James McCoy d73a801d8f Web: Remove/update non-functional tests
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-05 21:35:56 -04:00
James McCoy 82ecf36fcd Update my name/contact information
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:16:48 -04:00
Valentin Lorentz 8507498be4 Web: make plugin py3k-friendly. 2012-08-04 22:23:40 +02:00
Valentin Lorentz 86f541e6db Revert "Web: Fix unicode problems for titleSnarfer."
This reverts commit 3579701d2d.
2012-05-11 18:10:23 +02:00
Terje Hoås 3579701d2d Web: Fix unicode problems for titleSnarfer. 2012-05-04 12:11:53 +02:00
Mika Suomalainen b688eabd17 Web: update l10n-de. 2012-04-27 15:47:28 +03:00
skizzhg aedfc07762 Update l10n-it. 2012-03-16 18:28:05 +01:00
Mika Suomalainen 837b7e89b1 Web: update l10n-fi. 2012-03-15 20:48:51 +08:00
Valentin Lorentz 44c10a0b49 Web: Update message.pot. 2012-02-16 17:17:23 +01:00
Valentin Lorentz 3a59601d29 Web: Fix supybot.plugins.Web.nonSnarfingRegexp and update l10n-fr and l10n-it. 2012-01-28 20:40:45 +01:00
Mika Suomalainen edf3851691 Web: add l10n-fi. 2011-12-22 15:24:20 +02:00
Tanner a913f4cf25 Web: Added a description to README.txt 2011-11-06 21:26:55 +08:00
Valentin Lorentz 8add66511e Update l10n-fr. 2011-10-29 16:52:29 +02:00
Valentin Lorentz eefddc76f0 Merge pull request #249 from fbesser/fbesser
german translations
2011-10-27 04:18:07 -07:00
skizzhg 51e02849ad Web: Fix l10n-it. 2011-10-27 10:47:25 +02:00
Florian Besser ffb19f72a6 Web: Add l10n-de 2011-10-26 12:10:30 +02:00
Florian Besser 74cd35f772 Web: localized 'Title:' in titleSnarfer 2011-10-26 11:25:51 +02:00
skizzhg 1af08c27d7 Admin & Channel & Games & Math & MessageParser & Misc & MoobotFactoids & Network & Nickometer & Owner & Praise & Relay & Reply & Topic & Unix & Web: update/add l10n-it. 2011-08-06 18:55:38 +02:00
Valentin Lorentz 6ed15bafe4 Web: Fix use of %S converter. 2011-07-01 17:07:54 +02:00
Valentin Lorentz f0571e434b AutoMode & BadWord & Config & Format & Karma & Later & Web: Add/update l10n-it. 2011-06-30 09:56:25 +02:00
Valentin Lorentz aef0b6865d Filter & Format & Later & Plugin & RSS & Reply & Status & Topic & Unix & Web: update French translation 2011-02-26 11:19:32 +01:00
Valentin Lorentz 0d7e3d3759 (Re)generate all plugin's .pot file 2011-02-26 10:40:50 +01:00
Valentin Lorentz 5e09a9c887 Merge branch 'l10n-fr' into testing 2010-10-30 12:11:29 +02:00
Valentin Lorentz df3459dc3b Localize Sucess, Time, Todo, Topic, Url, Unix, User, Utilities, and Web into French 2010-10-30 12:10:31 +02:00
Valentin Lorentz 8be4aaeff1 Merge branch 'readability' 2010-10-23 10:38:52 +02:00
Valentin Lorentz 6a9a8d81b8 Internationalize Time, Todo, Topic, URL, Unix, Utilities, and Web 2010-10-20 09:39:44 +02:00
Valentin Lorentz b47c7c92a3 Edit Status and Web plugins in order to use %S 2010-10-16 11:37:58 +02:00
James Vega 288d7c6e02 Update plugins to ignore all non-ACTION CTCP messages.
Also update commands.urlSnarfer to do the same, which allows us to revert
"Don't bother snarfing URLs from non-Action CTCP messages."

This reverts commit 3282e3407e.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2010-01-28 08:14:44 -05:00