Thomas Hochstein
99d4cbcae2
Add README.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2024-05-26 00:33:07 +02:00
Thomas Hochstein
4fe0c455ea
Change mail address.
...
Signed-off-by: Thomas Hochstein <thh@thh.name>
2020-08-23 22:47:56 +02:00
Thomas Hochstein
15dd22593e
Don't warn for missing optional encoding setting.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-08-19 16:21:14 +02:00
Thomas Hochstein
6e49580a28
Mark yapfaq.pl executable.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-08-19 16:10:43 +02:00
Thomas Hochstein
3b06ebf93a
Add Charset setting to config file.
...
Fixes #29 .
Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-08-19 15:52:23 +02:00
Thomas Hochstein
cc74e2f92b
Bump version, copyright; update URLs.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2017-08-19 15:32:13 +02:00
Thomas Hochstein
04eac1b541
Fix typo in POD.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2012-10-12 20:12:11 +02:00
Thomas Hochstein
9224368882
Release 0.9.1 (Maintenance Release)
...
Add changelog entry.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-11-01 18:01:32 +01:00
Thomas Hochstein
0b68926d7c
Test mode: Add X-Supersedes only if Supersedes would be set.
...
Fixes #28 .
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-10-31 18:42:52 +01:00
Thomas Hochstein
373681d034
Bump version number to 0.91.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-10-31 18:42:17 +01:00
Thomas Hochstein
bd3a4c3841
Release 0.9
...
Add changelog entries.
Bump version number.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-09-11 23:58:15 +02:00
Thomas Hochstein
f5a291096e
Drop use of Fcntl (not needed).
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-06-15 22:30:11 +02:00
Thomas Hochstein
c4765a39f3
Changed packaging.
...
- Drop .yapfaqrc and yapfaq.cfg in favor of .yapfaqrc.sample
and yapfaq.cfg.sample; rename test.txt to sample.txt.
- Change contents of these files to reflect the new names.
- Update some defaults, change sample.txt contents to English.
- Add "INSTALLATION" chapter to documentation.
Fixes #7 .
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-15 19:16:40 +02:00
Thomas Hochstein
8f65a0a519
Change default Message-ID format.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-15 19:04:24 +02:00
Thomas Hochstein
b146f21475
Change: Modify headers for test posts.
...
- Change MID so you can do multiple tests.
- Replace Supersedes with X-Supersedes so you do not delete
postings while testing.
- Add remark ("This is a test message.").
- Change documentation accordingly.
Fixes #6 .
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-15 17:22:20 +02:00
Thomas Hochstein
3b2e5e066d
Change: Drop %LM from subject if Last-Modified is not found.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-15 16:36:52 +02:00
Thomas Hochstein
b16eb1aec4
Fix: Accept leading/trailing whitespace for Last-modified pseudo header.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-15 16:32:58 +02:00
Thomas Hochstein
dc66bfa3f5
Bump version (0.9-prelease).
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-14 22:15:31 +02:00
Thomas Hochstein
994d975969
Release 0.8.1 (Maintenance Release)
...
Add changelog entries.
Bump version number.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-14 22:04:00 +02:00
Thomas Hochstein
ba8ae1cfe5
Fix broken implementation of "Program" in .yapfaqrc.
...
Fixes #4 .
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-14 21:58:15 +02:00
Thomas Hochstein
cdfec198d6
Release 0.8
...
Add changelog entries.
Bump version number.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-13 22:00:21 +02:00
Thomas Hochstein
2d8e5cdbc7
Documentation: Add Git repository and bug tracker.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-13 19:33:40 +02:00
Thomas Hochstein
bdbb9d7043
Making use of Getopt::Std's --help and --version.
...
Fixes #3 .
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-13 19:33:25 +02:00
Thomas Hochstein
39cb5672df
Add "Program" to .yapfaqrc.
...
Fixes #2 .
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-13 19:31:49 +02:00
Thomas Hochstein
0e741504fe
Drop PGP support.
...
You may use tinews.pl from
ftp://ftp.tin.org/tin/tools/tinews.pl instead.
Fixes #1 .
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-05-13 19:24:44 +02:00
Thomas Hochstein
8f067a2ffb
Fix: Consistency check for MID-Format fixed (regexp).
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
Fix.
2010-04-14 23:31:37 +02:00
Thomas Hochstein
13ce8c26a3
Add: MID-Format may now contain %t for a Unix timestamp.
...
%t will be replaced by the number of seconds since the epoch.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-14 23:31:23 +02:00
Thomas Hochstein
605916ef61
Add comments pointing to .yapfaqrc to source.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-14 10:10:28 +02:00
Thomas Hochstein
9817f98a91
Fix: Add "-V", NNTPSERVER to documentation, add more examples.
...
Added examples for -s and -c.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-14 10:02:48 +02:00
Thomas Hochstein
b802358a60
readconfig(): Add file name to verbose output.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-14 09:38:23 +02:00
Thomas Hochstein
7ef63844b5
Reset default for NNTPServer to "unset".
...
Since yapfaq fill fall back to Perl's build-in defaults,
that should be no problem; furthermore user may now
override this setting via .yapfaqrc without changing
the code.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-14 09:11:45 +02:00
Thomas Hochstein
e16539c99c
Change sample yapfaq.cfg (mark optional settings).
...
Optional settings are mostly commented out.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-14 09:10:05 +02:00
Thomas Hochstein
647af2ea07
Bump version (0.8-prelease).
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-14 09:07:19 +02:00
Thomas Hochstein
ace701c4a6
Release 0.7
...
Add changelog entries.
Bump version number.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-14 08:00:30 +02:00
Thomas Hochstein
ac69c3ee90
readconfig(): Make mid-format optional.
...
Set defaults for expires and mid-format when they're invalid
(defaults were already set in postfaq() if undefined).
Change documentation accordingly; make it more clear if
parameters are optional or mandatory.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-13 23:59:43 +02:00
Thomas Hochstein
2ef9b9cd23
Fix: Wrong text for content check (configuration file).
...
Check for Message-ID had text from check for Expires.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-12 00:20:48 +02:00
Thomas Hochstein
5a6670c7ff
Fix: Save status information only after successful posting.
...
* New Function: updatestaus
Move status information save to updatestatus.
* post() now returns exit code.
* postfaq() will update status information only
when post() was successful.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-11 23:23:12 +02:00
Thomas Hochstein
227afd47f6
Update documentation for .rcfile.
...
Add the according sections to the POD documentation.
Fix some wording.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 22:07:18 +02:00
Thomas Hochstein
86c0a10044
Add option '-c': define another .rcfile.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 22:07:08 +02:00
Thomas Hochstein
6f235aca38
Add sample .yapfaqrc with defaults.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 22:06:59 +02:00
Thomas Hochstein
d60c2d5fdf
Add rcfile (.yapfaqrc) for configuration.
...
All configuration data is read from .yapfaqrc
with defaults set in yapfaq.pl
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 22:06:49 +02:00
Thomas Hochstein
2507947f17
Moved configuration to a hash (%Config).
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 22:05:40 +02:00
Thomas Hochstein
b855559ee3
Add option '-s': pipe article to script.
...
Use an external program to post - or otherwise handle -
the article.
Amend documentation.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 02:14:59 +02:00
Thomas Hochstein
55bfbd3cde
-t CONSOLE: Change delimiter.
...
No leading \n is necessary.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 01:43:19 +02:00
Thomas Hochstein
b955062245
Add some more comments.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 01:42:25 +02:00
Thomas Hochstein
a052296f3b
Add option '-V': print version and copyright information.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 01:05:55 +02:00
Thomas Hochstein
ae3b1b7906
-h: Replace version/usage information with man page.
...
Feed script to perldoc when called with -h.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 01:05:25 +02:00
Thomas Hochstein
d69ba0bb34
Change: Authenticate only if $NNTPUser is set.
...
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-10 00:49:24 +02:00
Thomas Hochstein
dbca4ad8a1
Add checks for mandatory content in configuration file.
...
Enhance and optimize existing checks.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-08 08:33:01 +02:00
Thomas Hochstein
40847f71a0
Add check for MID-Format and fallback to FQDN.
...
Uses hostfqdn from Net::Domain.
Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-04-08 08:30:21 +02:00