Archived
1
0
Commit Graph

1670 Commits

Author SHA1 Message Date
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
3fb9140a07 fix style 2018-11-25 08:51:05 -05:00
Jeff
9f18416f08 update template 2018-11-25 08:49:54 -05:00
Jeff
6694c23859 better query 2018-11-25 08:47:40 -05:00
Jeff
fbc53d1e81 fix last commit 2018-11-25 07:12:26 -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
Jeff
23c357eaac fix watermark stuff 2018-11-24 17:23:00 -05:00
Jeff Becker
795fcbe37c
disable spamtell for now 2018-11-06 16:47:56 -05:00
Jeff Becker
ad07b95d96
no 2018-11-06 16:34:55 -05:00
Jeff Becker
c89c06e15d
fix 2018-11-06 16:25:01 -05:00
Jeff Becker
57f431ffd2
more 2018-11-06 16:09:46 -05:00
Jeff Becker
2265b4b2ae
more 2018-11-06 16:03:44 -05:00
Jeff Becker
515f42c664
eh 2018-11-06 15:58:21 -05:00
Jeff Becker
5c4eb739d6
what 2018-11-06 15:50:08 -05:00
Jeff Becker
c010b3f2c5
more 2018-11-06 15:44:57 -05:00
Jeff Becker
57552f53e4
actually use spamd 2018-11-06 15:41:15 -05:00
Jeff Becker
955efe33a1
fug 2018-11-06 15:29:06 -05:00
Jeff Becker
0e72397956
more js crap 2018-11-06 15:28:02 -05:00
Jeff Becker
cc4cee1322
typofix 2018-11-06 15:22:11 -05:00
Jeff Becker
5b8326745c
fix build 2018-11-06 15:15:51 -05:00
Jeff Becker
95448d82f0
Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2018-11-06 15:06:14 -05:00
Jeff Becker
196acdb134
initial spam ui 2018-11-06 15:05:59 -05:00
Jeff
142c40889b make it compile 2018-10-27 07:00:58 -04:00
Jeff
9cecd94fc2 tell about banned articles when handling ARTICLE 2018-10-27 06:59:23 -04:00
Jeff Becker
0ae8107138
fix placement 2018-10-26 07:39:19 -04:00
Jeff Becker
97a1aba125
fix message 2018-10-26 07:36:59 -04:00
Jeff Becker
2a4b5d768a
i hate js 2018-10-26 07:36:27 -04:00
Jeff Becker
8349cdb74b
fix up logic 2018-10-26 07:34:32 -04:00
Jeff Becker
f1adf381ce
fix typo 2018-10-26 07:32:17 -04:00
Jeff Becker
5c09be1a6d
fix placement 2018-10-26 07:30:20 -04:00
Jeff Becker
a6b15674c6
Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2018-10-26 07:28:33 -04:00
Jeff Becker
e72a37f928
add js delete function 2018-10-26 07:28:24 -04:00
Jeff
0c77218b70 404 instead of redirect 2018-10-20 11:37:13 -04:00
Jeff
b4de45569e don't fallback to english to prevent cache layer DoS 2018-10-20 11:24:30 -04:00
Jeff
644f8da3f4 update css 2018-10-20 10:27:24 -04:00
Jeff
7f42443cce update css 2018-10-20 10:26:12 -04:00
Jeff Becker
91ced83c3a
Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2018-09-02 07:17:25 -04:00
Jeff Becker
56c7c5bf21
default to bind nntp on all interfaces 2018-09-02 07:16:59 -04:00
Jeff
468320706c fix typo 2018-08-25 15:49:41 -04:00
Jeff
4a02015f8e og attachments 2018-08-25 15:47:22 -04:00
Jeff
648889e3c5 Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2018-08-25 15:45:01 -04:00
Jeff
df450e31ca add brief text to opengraph description 2018-08-25 15:44:37 -04:00
Jeff Becker
6e4514fed4
update templates 2018-08-15 17:32:47 -04:00
Jeff Becker
880096ea47
again 2018-08-15 13:51:24 -04:00
Jeff Becker
4cb037cbf4
update again 2018-08-15 13:50:42 -04:00
Jeff Becker
15af182415
Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2018-08-15 13:46:03 -04:00
Jeff Becker
0ef0a1ee6a
update admin image 2018-08-15 13:45:52 -04:00
Jeff
92b2550865 fix templates 2018-08-05 10:05:42 +10:00
Jeff
eeac199b1e more sfw fixes 2018-08-05 10:02:30 +10:00
Jeff
c34bed4d85 fix temlate 2018-08-05 09:52:23 +10:00
Jeff
9129dcd916 update templates 2018-08-05 09:49:05 +10:00
Jeff
c896ac31c5 make it compile 2018-08-05 09:47:21 +10:00
Jeff
dba84638c9 sfw url stuff 2018-08-05 09:45:28 +10:00
Jeff
695956f9bd Merge branch 'master' of ssh://github.com/majestrate/nntpchan 2018-08-05 09:37:01 +10:00
Jeff
8b7b894eb3 add sfw mode, first try 2018-08-05 09:35:47 +10:00
Jeff Becker
ec714e03de
try again 2018-06-24 08:19:39 -04:00
Jeff Becker
03e577d04d
try supporting ubuntu trusty's postgres version 2018-06-24 08:18:16 -04:00
Jeff Becker
e78e52debb
Revert "add check for short posts"
This reverts commit d5e0f7d698.
2018-06-16 18:08:14 -04:00
Jeff
c1fd82bab5 more 2018-06-05 13:58:45 -04:00
Jeff
d5e0f7d698 add check for short posts 2018-06-05 13:34:36 -04:00
Jeff
5ea16f369a fix hover 2018-05-16 19:50:02 -04:00
Jeff
9ebc76e4e8 cite hover 2018-05-16 19:39:14 -04:00
Jeff Becker
6a69c81e79
ensure skiplist entry 2018-05-06 12:35:03 -04:00
Jeff Becker
7a7432f2b5
fix error message 2018-05-06 11:20:43 -04:00
Jeff Becker
d58ab2f034
correct includes 2018-05-06 11:15:55 -04:00
Jeff Becker
7468a6ed35
freebsd support 2018-05-06 11:15:33 -04:00
Jeff Becker
1077f0935e
freebsd support 2018-05-06 11:15:01 -04:00
Jeff Becker
852a847c58
more 2018-05-06 11:06:40 -04:00
Jeff Becker
fd1c4ccb12
write correct amount 2018-05-06 11:03:53 -04:00
Jeff Becker
e5c8ea84d0
debug 2018-05-06 11:01:31 -04:00
Jeff Becker
1212ae09f4
debug 2018-05-06 11:01:04 -04:00
Jeff Becker
28c4e9a22d
debug 2018-05-06 11:00:17 -04:00
Jeff Becker
8c4edf27a0
fug 2018-05-06 10:46:22 -04:00
Jeff Becker
ce2ffc1927
fix!!!!! 2018-05-06 10:45:58 -04:00
Jeff Becker
fe409fe586
fix!!!!! 2018-05-06 10:45:40 -04:00
Jeff Becker
1530a0aae5
fix?! 2018-05-06 10:41:11 -04:00
Jeff Becker
a267c9ac35
fix? 2018-05-06 10:36:26 -04:00
Jeff Becker
6366f626f3
fix? 2018-05-06 10:30:06 -04:00
Jeff Becker
b1f88783a6
fix 2018-05-06 10:29:21 -04:00
Jeff Becker
ddb8be8386
fix? 2018-05-06 10:28:30 -04:00