Archived
1
0
Commit Graph

376 Commits

Author SHA1 Message Date
cathugger d8f888dffa srnd: saner default max message size 2019-04-06 20:36:54 +03:00
Jeff Becker a207f1aaea Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2019-04-04 07:25:45 -04:00
Jeff Becker 558dacac79 off 2019-04-04 07:25:38 -04:00
cathugger c8e3faa4c6 srnd: change unicode tripcode rune range 2019-03-29 23:13:32 +02:00
Jeff Becker 43ce4490ed fix crash 2019-03-03 12:55:54 -05:00
Jeff Becker b4d2de6ec8 add limit to search 2019-03-03 12:51:25 -05:00
Jeff Becker 4ae08d2c11 fix 2019-03-02 11:17:15 -05:00
Jeff Becker 0252dfa512 add option to fetch referenced uri 2019-03-02 11:10:05 -05:00
Jeff Becker 6807aaee3d fix stuff and add uri in post form 2019-03-02 10:21:45 -05:00
Jeff Becker a00630a6b3 wut 2019-02-19 08:52:51 -05:00
Jeff Becker 9d43d84926 try fixing captcha 2019-02-19 08:45:10 -05:00
Jeff Becker 8f7d57f64d fix 2019-02-13 08:37:04 -05:00
Jeff Becker e13dcf9e20 don't use bad locale 2019-02-13 08:34:54 -05:00
Jeff Becker 74ca4caca5 muck about 2019-02-13 08:29:55 -05:00
Jeff Becker 67e0f259b6 add reveal secrets in mod stream 2019-02-10 14:11:04 -05:00
Jeff Becker 59068bb961 eh 2019-01-29 06:57:08 -05:00
Jeff Becker bcddab9af6 Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2019-01-29 06:50:38 -05:00
Jeff 31b6f814d4 more 2019-01-28 13:39:03 -05:00
Jeff 1a18d20a1a try fixing race 2019-01-28 12:03:52 -05:00
Jeff Becker 25cb6b7d3f bump version 2019-01-27 09:54:11 -05:00
cathugger 8fd1f4a30f srnd: use some of headers from outer message 2019-01-27 14:43:17 +02:00
cathugger a8695c5caf srnd: message/rfc822 doesn't have charset parameter 2019-01-26 15:08:12 +02:00
cathugger b61741fdda srnd: use all bits of blake2b for signature 2019-01-25 20:43:12 +02:00
cathugger fb0c600e3a srnd: use text/plain as default type
otherwise it fails to parse valid messages
2018-12-23 08:35:22 +02:00
Jeff Becker ef4d45a148 more 2018-12-21 08:43:07 -05:00
Jeff Becker 966c999d68 Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2018-12-21 08:39:20 -05:00
Jeff Becker ae9a96a35f fix problems in varnish invalidation maybe 2018-12-21 08:39:01 -05:00
cathugger b54e1d84da use correct header, reserve some msgids, tweaks 2018-12-15 02:05:00 +02:00
cathugger af161968c8 srnd: avoid quoting in some cases 2018-12-12 20:56:48 +02:00
cathugger 40e4ae1fc4 srnd: custom email address formatter, some tweaks
This adds custom email address formatter, which, unlike stdlib one, doesn't needlessly quote names.
Quoted names can be a bit of issue with older nodes which parse addresses in simpler way, and end up not removing quote characters.
This also ensures that newlines cannot be inserted in in From and Subject headers, which effectively allowed insertion of new headers in message being posted, and generating invalid messages.
2018-12-12 18:38:58 +02:00
cathugger 7e6f143108 generate compliant From headers, more tolerance to non-compliant From headers, other fixups 2018-12-11 22:57:42 +00:00
cathugger fa511c275e srnd: ensure clean XOVER output 2018-12-09 19:50:27 +00:00
cathugger b5ff2dc4a2 srnd: fix multipart message parsing 2018-12-08 21:00:13 +00:00
cathugger 2d62a3bc7f srnd: error while reading message isn't valid thing 2018-12-08 19:44:56 +00:00
Jeff Becker 3b492579b8 Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2018-12-07 08:51:34 -05:00
Jeff Becker 89d4794871 make it work without frontend 2018-12-07 08:50:40 -05:00
cathugger 740bf82a1e srnd: properly parse email addresses
this replaces faulty address parsing code with calls to stdlib' email parser and some reasonable fallbacks.
note that nntpArticle.Email() function was completely incorrect, but it's not used anywhere in code, apparently.
2018-12-03 14:54:08 +02:00
Jeff Becker 05ebac9aa5 update vendored lib 2018-11-28 17:55:31 -05:00
Jeff Becker a9f8bf2f8c remove fully 2018-11-27 10:57:24 -05:00
Jeff Becker 28e8e95207 add mod command 2018-11-27 10:50:08 -05:00
Jeff Becker 0e6e2093e4 add remove command for mod 2018-11-27 10:45:21 -05:00
Jeff Becker 053708a9cb Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2018-11-27 10:25:16 -05:00
Jeff Becker 4d4aea61fe try fixing issues #161 and #162 2018-11-27 10:24:27 -05:00
cathugger 2d3c304c81 srnd: more lax Message-ID check
This axes out literally insane overly restrictive regex-based
Message-ID check and replaces it with clean and simple conditions
specified in RFC 3977.
Old check wasn't compliant with any email or netnews internet
standard I know of, and was causing propagation issues.
Even old RFC 822 (email) and RFC 850 (usenet) specifications
don't have so restrictive specifications.
2018-11-27 06:27:05 +02:00
cathugger 91e758c834 fix ARTICLE not returning any error
Yes, I'm aware it sometimes may still return wrong code.
2018-11-25 20:01:33 +02:00
Jeff 6694c23859 better query 2018-11-25 08:47:40 -05:00
Jeff 76f9d84fa0 add new route for board list 2018-11-25 07:09:34 -05:00
Jeff d1c392ce29 Revert "fix watermark stuff"
This reverts commit 23c357eaac.
2018-11-24 17:51:59 -05:00
Jeff cbd7d30e8d include more for previous commit 2018-11-24 17:48:30 -05:00
Jeff 613ae771c1 Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2018-11-24 17:24:21 -05:00