Commit Graph

350 Commits

Author SHA1 Message Date
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 7952b6a00b Remove extra blank line from end of quote. 2024-06-30 00:53:56 -07:00
Retro_Guy 73820db091 Fix comment wording in cache.inc.php. 2024-06-28 03:15:08 -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 3bb2f3beb8 Add ability to filter connections by reverse dns string. 2024-06-25 04:44:51 -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 6e7b8b4057 Move memcached handling to functions in preparation for adding disk caching. 2024-06-07 04:13:23 -07:00
Retro_Guy bb3cfd30b2 Log memcached new connections when logging is off. 2024-06-06 02:38:30 -07:00
Retro_Guy c2cc9657f9 Add memcache to (newsportal's) message_read. 2024-06-04 03:31:37 -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 1d347d0344 Add comment in overrides.inc.php for blocking by user agent. 2024-05-21 05:41:33 -07:00
Retro_Guy 9cf227363f Add prefix to memcache key names to allow for multiple rslight instances. 2024-05-20 03:01:44 -07:00
Retro_Guy 768c95b0ee Add overrides option to specifiy rate limit for self identified bots. 2024-05-18 04:10:52 -07:00
Retro_Guy 39af9862f5 Just changing some wording in a comment. 2024-05-14 06:58:57 -07:00
Retro_Guy 702843d599 Add option to set maxitemsize in memcache.inc.php. 2024-05-14 06:41:07 -07:00
Retro_Guy c8b9af9d7a Notify in log files when rotated. 2024-05-13 06:41:02 -07:00
Retro_Guy 7189381f46 Apply in overboard flat view. 2024-05-12 04:10:54 -07:00
Retro_Guy f7fbe1307c Use persistent memcached connections. 2024-05-12 02:32:33 -07:00
Retro_Guy 781f83d749 Oops, don't exit completely if memcache is disabled. 2024-05-11 04:05:56 -07:00
Retro_Guy 2fd21f8deb Clean up memcached.inc.php (avoid dupe variables, etc. 2024-05-11 03:39:35 -07:00
Retro_Guy b0b1ba8b69 More memcache cleanup and add threads to memcache. 2024-05-10 03:24:13 -07:00
Retro_Guy de02cb4f8b Delete article from memcache when deleted by nocem. 2024-05-09 03:01:42 -07:00
Retro_Guy 12a3ca5009 Move memcache settings to config file. 2024-05-08 14:01:21 -07:00
Retro_Guy 4864955e94 Add memcache support (starting with np_get_db_article) 2024-05-08 08:00:16 -07:00
Retro_Guy c97f2865eb Add override option to disable adding X-Rslight-* headers to posts. 2024-05-08 01:59:27 -07:00
Retro_Guy 7b0d92a421 Add override option to disable 'new articles' link on groups page. 2024-05-03 04:10:39 -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 6f62f72a1b Add overrides option to set User-Agent header. 2024-04-29 08:05:41 -07:00
Retro_Guy 55e5c37067 Add Thread view to overboard. Probably still has bugs. 2024-04-26 04:48:28 -07:00
Retro_Guy c449af9f53 Cleanup overrides.inc.php to contain all currently available override options. 2024-04-18 04:19:25 -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 e5ff52f299 Add ability to disable adding attachments by section in overrides.inc.php. 2024-04-15 03:47:44 -07:00
Retro_Guy e6a3cbf774 Try to display base64 data properly in overboard. 2024-04-14 05:17:33 -07:00
Retro_Guy d52936c9d9 Add banned_users.conf file to ban local users, and add some auth logging. 2024-04-12 07:53:43 -07:00
Retro_Guy 0c9577034f Add proper 'type' handling for applying nocem. 2024-04-08 06:01:34 -07:00
Retro_Guy 79e09c4f8b Allow to disable x-face in overrides.inc.php. 2024-04-02 12:28:26 -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 fd5285ba88 Continue with feature to hide unsubscribed groups. Add default and also option in overrides.inc.php. 2024-03-04 09:47:34 -07:00
Retro_Guy 5ec9cf5501 Add modified user's display name to aliases.conf. 2024-03-02 10:54:28 -07:00
Retro_Guy d600e9376f Check article header integrity in spoolnews.php before spooling. 2024-03-01 13:08:21 -07:00
Retro_Guy e570f1df9b Clean up links.conf to remove nodelist. 2024-02-28 09:33:03 -07:00
Retro_Guy c05b4ab308 Add Message-ID search bar to header. 2024-02-26 06:02:08 -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 b6be00ae1c Add 'groups' link and auto populating groups list. 2024-01-14 06:53:02 -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