Icedream
a111a35e66
Merge remote-tracking branch 'origin/develop'
2017-02-22 18:47:30 +01:00
Icedream
518dbeaf22
Allow disabling auto-join on invite.
2017-02-22 18:46:58 +01:00
Icedream
bd63c975b8
parsers/web: Remove unused import "log".
2016-08-09 00:15:51 +02:00
Icedream
3faff8264f
Add filename to image information.
...
This fixes #6 .
2016-08-08 14:05:55 +02:00
Icedream
1e3af32706
parsers/web: Use unique user agent to get around HTTP error 429 on Reddit.
...
This fixes #12 .
2016-08-08 13:53:44 +02:00
Icedream
b37a15ac1f
Introduce "--images" flag to enable image link parsing and disable image link parsing by default.
2016-07-26 20:36:36 +02:00
Icedream
6d70e02641
Remove defect test routines.
2016-07-22 21:42:20 +02:00
Icedream
19708251b9
Do not register SoundCloud/YouTube parsers if no auth details given for them.
2016-07-22 20:48:57 +02:00
Icedream
fb85ad8554
manager: Ignore users for 30 seconds after they join.
...
This should be enough to at least prevent spammers from abusing the bot immediately.
2016-07-06 18:01:39 +02:00
Icedream
2508971be1
parsers/youtube: Fix #11 by using a full reset in the template.
2016-07-06 04:16:26 +02:00
Icedream
2608df9727
parsers/youtube: Add NSFW marker for age-restricted videos.
2016-07-05 16:18:14 +02:00
Icedream
b61927108b
parsers/youtube: Fix information for channels.
2016-07-05 16:13:03 +02:00
Icedream
0eb16f9975
Remove getYouTubeId from util.go.
...
This bit of code has long been moved to the YouTube parser package.
2016-07-05 15:07:50 +02:00
Icedream
f97c872b2e
parsers/wikipedia: Fix HTTP(S) URL filter logic.
2016-07-03 19:03:32 +02:00
Icedream
6de3faa8e0
parsers/wikipedia: Only accept HTTP(S) links.
2016-07-03 18:59:13 +02:00
Icedream
7a131adfb8
parsers/wikipedia: Fix handling of www.wikipedia.org and wikipedia.org links.
2016-07-03 18:57:04 +02:00
Icedream
769e0e90a7
manager: Fix how URLs are passed to parsers.
...
This should prevent parses from being able to leak changes on the original URL object to other parsers.
Fixes issue #1 .
2016-07-03 18:40:00 +02:00
Icedream
d6a32315f6
parsers/web: Remove extra logging.
2016-06-20 02:45:29 +02:00
Icedream
5c5f5ef478
parsers/web: Compare URLs by their string representations instead.
...
The Path can be different in that the original URL is missing the "/" at the beginning, however the resulting URL may very well contain a "/" at the beginning. In the resulting string representation this doesn't make any difference.
2016-06-20 02:44:51 +02:00
Icedream
dc5597c054
parsers/web: Remove hash reference when parsing URL.
...
Fixes #8 .
2016-06-20 02:43:30 +02:00
Icedream
280da493fb
parsers/web: Add test functions.
2016-06-20 02:30:27 +02:00
Icedream
2163bfc99f
parsers/web: Remove extra logging lines.
2016-06-20 02:30:10 +02:00
Icedream
b99af84dc5
travis: No testing against old Go versions.
...
Go 1.5.4 does not support the whitespace trim syntax for templates. Since we make excessive use of it, we can not support that version of Go.
2016-06-20 00:41:59 +02:00
Icedream
35156593dc
travis: Correct Go versions.
2016-06-20 00:29:53 +02:00
Icedream
ae1dce4bce
New-line fix caused extra spaces between each character.
2016-06-19 23:34:57 +02:00
Icedream
8696313f8e
Move "(no title)" text to its own constant noTitleStr.
...
Main purpose is for making integration testing easier later.
2016-06-19 23:32:27 +02:00
Icedream
ec899f0ddf
Replace new-line characters in HTML title with space.
...
Targets #2 .
2016-06-19 23:31:57 +02:00
Icedream
6775fe5100
parsers/web: Limit HTML parsing to first 8 kB and use Content-Length header.
...
Targets #2 .
2016-06-19 23:09:22 +02:00
Icedream
be2edc845a
Add Travis CI.
...
Fixes #4 .
2016-06-19 22:36:55 +02:00
Icedream
b234f732df
Use actual cross char (×) for image dimensions.
...
Fixes #7 .
2016-06-19 22:27:16 +02:00
Icedream
8e55200ff4
Readme: Fix headings.
2016-06-17 07:37:54 +02:00
Icedream
454d3ccada
Fix typo.
2016-06-12 01:32:13 +02:00
Icedream
4a60f6142a
Initial commit.
...
Source code not properly documented yet and barely any testing but this is the code as running on the server at the moment.
2016-06-11 16:08:13 +02:00