Commit Graph

63 Commits

Author SHA1 Message Date
maride 6d497ae0cf Send the right response code for accepted authentication 2023-11-13 14:07:22 +01:00
maride 8d1e83acee Move repo to git.maride.cc 2023-11-12 13:48:11 +01:00
maride 19d0e1f68c Accept the right authentication reply code 2023-11-12 13:40:56 +01:00
Dustin Sallings f00d51cf8c Added go module stuff 2021-07-22 17:58:59 -07:00
Dustin Sallings 7f1d21d368
Adding a go workflow. 2021-07-22 17:55:19 -07:00
J.P. Neverwas 7b30ed992e Add client helper for multi-line roundtrip handling 2021-07-22 17:52:58 -07:00
J.P. Neverwas 3c37ea2157 Add Capability support and STARTTLS to nntpclient 2021-07-22 17:52:58 -07:00
Gil Raphaelli c90cf61f8f enable client creation from an existing connection 2017-06-23 21:46:37 -07:00
Tim Retout 5787f144b7 Fix leading . in output for LIST OVERVIEW.FMT 2017-05-18 08:05:16 -07:00
Tim Retout d9b5eddbdf Use a more meaningful 215 text for LIST OVERVIEW.FMT 2017-05-18 08:05:16 -07:00
Tim Retout 82592ef9a3 server: Use net.Conn interface in Process()
This allows implementations to pass a crypto/tls Conn, for instance.
2017-05-18 08:04:23 -07:00
Ivan Vučica 2ceb8dcb12 Fix the link to the couchserver example 2017-05-18 08:03:53 -07:00
Dustin Sallings 373a550c48 Comment consistency++ 2014-11-02 14:16:59 -08:00
Dustin Sallings c072475797 Do proper error handling in the example 2014-11-01 20:35:13 -07:00
Dustin Sallings f304ad58f4 And maybe set a good example in the client by closing 2014-10-31 15:48:59 -07:00
Dustin Sallings a93f673a01 Use fmt instead of strconv for simple int stringing 2014-10-30 19:01:07 -07:00
Dustin Sallings 7afa1f6b49 Implemented client.Close()
Because sometimes, clients don't stay connected forever.
2014-10-29 15:39:54 -07:00
Nathan Goldschmidt b4367e1d72 authenticate first
Otherwise, I get the following:

2014/10/28 12:16:54 Got banner:  news.example.com NNRP Service Ready (posting ok) (yEnc enabled).
2014/10/28 12:16:54 Error in setting reader mode: 480 Authentication required for command

Closes #2
2014-10-29 12:56:08 -07:00
Dustin Sallings 27c8681078 Added a LICENSE
Closes #1
2014-03-26 10:42:22 -07:00
Dustin Sallings 5683f6883c Remaining lint work 2014-02-27 22:14:03 -08:00
Dustin Sallings a08b98e6d6 Fewer Ns in nntpserver 2014-02-27 22:07:53 -08:00
Dustin Sallings 2114130710 Minor lint cleanup 2014-02-26 00:15:16 -08:00
Dustin Sallings 03e125d1ae Build fix of exampleserver :( 2014-02-25 23:48:14 -08:00
Dustin Sallings 4ef66cd9df doc/golint cleanups for base packages 2014-02-25 22:55:09 -08:00
Dustin Sallings 8b8eab1e23 Use my github couchdb interface 2013-12-05 01:21:56 -08:00
Dustin Sallings 3315ab1e80 Get rid of some makes I don't normally use 2013-08-01 01:00:59 -07:00
Dustin Sallings 7d47f2b3a5 Build fix 2013-08-01 00:59:56 -07:00
Dustin Sallings 93e54a0b16 Getting rid of .travis.yml 2013-08-01 00:43:59 -07:00
Dustin Sallings 86c2fb0312 Get rid of unnecessary new. 2013-06-03 01:39:13 -07:00
Dustin Sallings 793c1bc406 Travising. 2012-11-01 00:10:46 -07:00
Dustin Sallings fd96ceddd9 Log to syslog. 2012-10-24 20:25:43 -07:00
Dustin Sallings 9cf04f96d4 Escaping cleanup for message IDs. 2012-06-26 01:59:42 -07:00
Dustin Sallings 9da2334c31 Increase default group timeout cache to 5m 2012-02-26 17:29:10 -08:00
Dustin Sallings 96afe50a62 Escape @ in message IDs when mapping to CouchDB keys. 2012-02-26 17:27:36 -08:00
Dustin Sallings 9a50d827e9 Added list (for active, etc...) to client. 2012-02-25 17:15:24 -08:00
Dustin Sallings 218ca409ed Better view for getting just the active groups. 2012-02-25 16:44:05 -08:00
Dustin Sallings 33f1082fb8 Must actually use the range specified to get reasonable behavior. 2012-02-25 15:03:34 -08:00
Dustin Sallings 12b409af0c Some model cleanups. 2012-02-25 14:31:12 -08:00
Dustin Sallings 794360987a Group creator ignore. 2012-02-25 14:30:53 -08:00
Dustin Sallings bd0a3780a7 Added option to optimistically store articles. 2012-02-25 13:44:40 -08:00
Dustin Sallings 53097bb37c Added caching for the group list. 2012-02-25 13:27:35 -08:00
Dustin Sallings e06d42693f A group creator for the couch backend. 2012-02-25 13:25:19 -08:00
Dustin Sallings 7b3e18b15d New error variable for authentication failures. 2012-02-24 22:01:33 -08:00
Dustin Sallings 10a5576e4b Don't print out success if there will later be an error. 2012-02-24 20:26:48 -08:00
Dustin Sallings 1d4491cefc Distinct sessions are probably a good idea. 2012-02-24 18:58:04 -08:00
Dustin Sallings def75dc445 Only allow direct usage of groups with a description. 2012-02-24 16:46:58 -08:00
Dustin Sallings f4c929f50c Automatically set up the views at startup time. 2012-02-23 18:22:22 -08:00
Dustin Sallings 801e642876 Use url.QueryEscape for the ID cleaning. 2012-02-23 18:00:20 -08:00
Dustin Sallings eb2c5acee5 Unbackwards logic. 2012-02-23 17:58:21 -08:00
Dustin Sallings 9c952cd9b1 Don't catch and then ignore the !200 error. 2012-02-23 17:55:14 -08:00