Commit Graph

298 Commits

Author SHA1 Message Date
Retro_Guy 7471a9ec51 Make sure account_manager.php can write to banned_users.conf. 2024-07-02 06:43:14 -07:00
Retro_Guy dea38fc6ff Add ability to easily ban user in account_manager.php. 2024-07-02 06:32:36 -07:00
Retro_Guy e0492df010 Add 'change email address' to account_manager.php. 2024-07-02 06:13:34 -07:00
Retro_Guy 7cd9e58b4c Add 'change password' to account manager features. 2024-07-01 23:50:31 -07:00
Retro_Guy 14cc77bfed Allow running accountmgr and maintenance without changing to spoolnews dir first. 2024-07-01 02:12:12 -07:00
Retro_Guy b517d3ce71 Add script account_manager.php to add/delete accounts from command line. 2024-07-01 01:31:00 -07:00
Retro_Guy d87deebe80 Use timer to expire rdns.dat. 2024-06-27 04:19:32 -07:00
Retro_Guy a61a8a8a63 Expire diskcache only once per day. 2024-06-27 03:15:07 -07:00
Retro_Guy e78bf1b769 Fix expire.php to properly handle ttl and upgrade changes (delete old files when using diskcache). 2024-06-25 02:32:40 -07:00
Retro_Guy 47139a9467 Clean old bugs in expire.php and add cache support. 2024-06-16 06:42:13 -07:00
Retro_Guy c1c53e3d71 Remember to clear history for group if reset. 2024-06-11 05:28:56 -07:00
Retro_Guy 7390e2a9bc Add cache handling to maintenance.php and eclipse keeps changing formatting in newsportal.php. 2024-06-11 03:22:21 -07:00
Retro_Guy 68f94d4f6e Add some cache handling in cron.php. 2024-06-11 03:19:26 -07:00
Retro_Guy 6dd5f46960 Preliminary addition of disk caching. 2024-06-07 05:43:52 -07:00
Retro_Guy 11ccd228c6 Clean up logging of refusing articles with dates in the future. 2024-05-30 11:44:14 -07:00
Retro_Guy 8e07ebcc06 Mod spoolnews.php to not poll remote server for last message when it's already known that we have it. 2024-05-29 14:10:01 -07:00
Retro_Guy 3dd359f89f Handle multiline Newsgroups header when posted directly to rslight nntp server. 2024-05-28 04:33:26 -07:00
Retro_Guy a752d6537d Improve handling for multiline Newsgroups header. 2024-05-27 05:57:59 -07:00
Retro_Guy 0dac917320 Some cleanup for spoolnews, and add some more logging for debug purposes. 2024-05-22 04:20:16 -07:00
Retro_Guy c8b9af9d7a Notify in log files when rotated. 2024-05-13 06:41:02 -07:00
Retro_Guy 0a71f71e89 Continue adding logging for db3 write errors in spoolnews.php. 2024-05-02 02:07:58 -07:00
Retro_Guy 78de57a360 Build (un)moderated files data during daily expire. Future need to automatically update changes to moderation flags. 2024-04-17 04:39:20 -07:00
Retro_Guy 2508c5e56f Add handling for moderated newsgroups. 2024-04-16 07:19:03 -07:00
Retro_Guy e6a3cbf774 Try to display base64 data properly in overboard. 2024-04-14 05:17:33 -07:00
Retro_Guy 0c9577034f Add proper 'type' handling for applying nocem. 2024-04-08 06:01:34 -07:00
Retro_Guy d67c35ee42 Sort date as int in expire.php. 2024-03-31 17:10:55 -07:00
Retro_Guy 2ae7f672c2 Add ability to require auth for all commands to nntp server. Enable in overrides.inc.php. 2024-03-11 03:15:30 -07:00
Retro_Guy 860dfa61ca Add and sort by section in grouplist.php. Also update cache from cron.php so no user must wait. 2024-03-08 10:27:35 -07:00
Retro_Guy d600e9376f Check article header integrity in spoolnews.php before spooling. 2024-03-01 13:08:21 -07:00
Retro_Guy 1e001e7f35 Add config option in rslight.inc.php to separate email_tail from message-id generation. 2024-02-22 17:40:44 -07:00
Retro_Guy 4c58cb8b95 Block preloading of Path or Injection-Info headers. 2024-02-17 22:30:48 -07:00
Retro_Guy 64ff0baeaa Update call to message_post in rss-feeds.php to allow for recent changes in function. 2024-02-10 14:57:09 -07:00
Retro_Guy 754ac06b8c Move semaphore file ssl.reload to spool dir. 2024-02-08 11:31:58 -07:00
Retro_Guy a4280b0340 Remove duplicate functions from nocem.php. 2024-02-03 10:36:53 -07:00
Retro_Guy 2729aa98ce Add override option to disable immediate posting per section. 2024-01-20 11:48:07 -07:00
Retro_Guy 5c8eea5d78 Remove debugging wording in send.php logging. 2024-01-20 11:47:41 -07:00
Retro_Guy 5d4991fc8b Remove duplicate articles in outgoing dir. 2024-01-17 11:12:59 -07:00
Retro_Guy 3fd191eed8 Modify maintenance.php to improve references checking as in spoolnews/rslight-lib. 2024-01-03 14:57:27 -07:00
Retro_Guy 18e7e5eb66 Reverts most of 8231373c80 until I can fix that issue properly. 2024-01-03 05:49:16 -07:00
Retro_Guy 8231373c80 Handle stream error in spoolnews.php to avoid skipping groups. 2024-01-02 07:54:56 -07:00
Retro_Guy efae299d16 A retry of updating threads in spoolnews.php. 2024-01-02 05:07:22 -07:00
Retro_Guy 9013d73f2a Initial changes to format of spam.log. 2023-12-31 09:51:53 -07:00
Retro_Guy 98cacd2682 Finish improving multiline header handling. 2023-12-28 13:31:43 -07:00
Retro_Guy 2bbc019daf Fix typo in spoolnews.php. 2023-12-27 17:42:11 -07:00
Retro_Guy 4f315bfebf Just removing some test code in spoolnews.php. 2023-12-27 05:19:40 -07:00
Retro_Guy 801cff2c9d Remove refreshing threads in spoolnews.php. It is not necessary. 2023-12-27 05:07:31 -07:00
Retro_Guy 8dea5588d9 Fix maintaining last article pulled from remote log. 2023-12-27 03:18:48 -07:00
Retro_Guy 8ecdbdae6f Improved spam checking and fix error in spooling. 2023-12-26 09:05:40 -07:00
Retro_Guy 8a5cc20b1f Simplify checking whether to check spam in spoolnews.php. 2023-12-24 12:03:32 -07:00
Retro_Guy c77225d364 Set access to in get_articles. 2023-12-24 07:11:48 -07:00
Retro_Guy e37b1bc826 Avoid duplicate 'Duplicate' checking in spoolnews.php. 2023-12-24 06:49:34 -07:00
Retro_Guy 8baaf3322c Just add 'Gb' to log output relating to free disk space. 2023-12-24 04:15:38 -07:00
Retro_Guy a23246f606 Pause spoolnews if disk space below configured size. 2023-12-24 04:12:25 -07:00
Retro_Guy 8dfa22d64d Testing to clean up spamassassin integration. 2023-12-23 06:44:03 -07:00
Retro_Guy fcaea2cee4 Correct wording for setting up remote SSL port in config. 2023-12-19 07:37:24 -07:00
Retro_Guy d2aa669d35 Create nocem dirs if not exist. Required even if nocem disabled. 2023-12-19 04:50:41 -07:00
Retro_Guy 6efcbc1de0 Fix moving posted article to spool file when using tradspool. 2023-12-19 04:35:03 -07:00
Retro_Guy e40bc37e06 Fix typo in spoolnews.php to point to correct resource when checking to update threads. 2023-12-19 04:34:21 -07:00
Retro_Guy 17567ed8af Add log entry if pcntl_fork is disabled in php.ini. 2023-12-12 05:55:31 -07:00
Retro_Guy a399c66b07 Fix bug in nocem.php to properly handle all newsgroups in Newsgroups: header. 2023-12-01 14:46:22 -07:00
Retro_Guy a799624061 More verbose nntp response messages. 2023-11-30 08:23:42 -07:00
Retro_Guy e425d993e8 Add option to disable bot user counts. 2023-11-30 08:23:11 -07:00
Retro_Guy c3c0d8b683 Add checking all groups to properly write Xref for 'import' in maintenance.php. 2023-11-15 04:55:08 -07:00
Retro_Guy a064a028fd Fix introduced bug with Xref mods. More fixes to come (less critical). 2023-11-13 05:14:28 -07:00
Retro_Guy 6d1823ed35 Finish Xref fixes to include local posting. 2023-11-05 06:10:02 -07:00
Retro_Guy bddd16d49e Prune nocem dirs by days. 2023-11-03 07:23:55 -07:00
Retro_Guy 6216e08e78 Add ability to save incoming nocem to a dir. Probably not useful to most so default is disabled. 2023-11-02 03:47:45 -07:00
Retro_Guy a99403c34c Change mode of nocem files to 0644. 2023-10-30 07:05:25 -07:00
Retro_Guy 0915e8a7fe Rename incoming nocem articles for easier id. 2023-10-29 03:09:49 -07:00
Retro_Guy 72d8cd7905 Fix XHDR to inspect multiple articles properly. 2023-10-24 06:30:10 -07:00
Retro_Guy 8f5ea878de Create more standard Xref for incoming articles for better newsreader support. 2023-10-23 19:01:30 -07:00
Retro_Guy c119f48ec8 Add group database maintenance to expire.php. 2023-10-04 06:27:08 -07:00
Retro_Guy b5b6f05100 Update some comments in maintenance.php. 2023-09-22 03:48:43 -07:00
Retro_Guy adbd795a8f Remove faq from links.conf. Add newsgroup name to 'other' error log output in spoolnews.php. 2023-09-20 07:02:49 -07:00
Retro_Guy 00c537acfa Clean up previous commit to actually work. 2023-09-17 06:27:37 -07:00
Retro_Guy 54ae9071b5 Rename import-db3.php to maintenance.php, and allow it to pause cron.php. 2023-09-17 05:56:24 -07:00
Retro_Guy 970f433e0c Add import filtering by header data. 2023-09-16 09:36:02 -07:00
Retro_Guy 4fd0a6eeab Start to add some logging to cron.php. 2023-09-10 06:29:34 -07:00
Retro_Guy 5e8a78e6d6 Partial rewrite to nocem.php to account for multiple groups per msgid. 2023-09-08 05:11:42 -07:00
Retro_Guy d8d2509ed2 Improve counting users by separating bots/throttled. 2023-09-06 04:07:57 -07:00
Retro_Guy 97e2a04c1f Minor wording change (spiders to bots) in footer. 2023-09-04 09:08:22 -07:00
Retro_Guy d205bfa6a4 Display number of bots separately from number of users online. 2023-09-04 07:07:06 -07:00
Retro_Guy 3550e09894 Begin adding ability to modify layout, etc. based on User-Agent. 2023-09-04 06:06:43 -07:00
Retro_Guy 1aa93edf6f Move manual scripts to ./tools subdir of scripts. 2023-09-03 07:32:21 -07:00
Retro_Guy f8ab6c54f0 Fix nntp LIST ACTIVE newsgroup to work properly when a group is specified. 2023-09-01 06:42:42 -07:00
Retro_Guy fafda5fe3d Rebuild threads in expire.php of over x number of articles deleted. 2023-08-29 06:38:55 -07:00
Retro_Guy ae4136777b Add 'overrides' for some vars and try to read/write history as necessary. 2023-08-27 07:05:53 -07:00
Retro_Guy 65b8d86e25 Reset group pointers when 'importing' group in import-db3.php. 2023-08-26 07:58:27 -07:00
Retro_Guy f27c5c6657 Some cleanup to handle rebuilding large groups. 2023-08-26 03:43:11 -07:00
Retro_Guy 034ce67950 Fix Duplicate checking bug and avoid locking db too long in expire.php. 2023-08-25 04:21:06 -07:00
Retro_Guy 161015735a Some fixes for group lists and expire. 2023-08-23 12:25:21 -07:00
Retro_Guy 11b612a230 Prune failed files in nocem and send. 2023-08-22 13:45:01 -07:00
Retro_Guy ee6e0f8b24 One more minor logging change to expire.php. 2023-08-20 05:01:55 -07:00
Retro_Guy f427947ebb Simple log entry wording change in expire.php. 2023-08-20 04:58:18 -07:00
Retro_Guy 17e8a5dd5e Only changes to indentation. No other changes. 2023-08-19 15:33:05 -07:00
Retro_Guy fef3c8e58a Fix incomplete mods to expire.php. 2023-08-19 08:03:25 -07:00
Retro_Guy 6f1ab0fe38 Add upgrade script for 0.9.0. 2023-08-18 06:07:52 -07:00
Retro_Guy f427069889 Ignore case in NNTP 'LIST' command. 2023-08-18 05:33:39 -07:00
Retro_Guy 0983b18399 Overview flat file removed. Create history.db3 to track deleted articles. 2023-08-16 09:41:13 -07:00
Retro_Guy d66f90e528 Remove articles from np during expire. 2023-08-14 05:34:27 -07:00