Commit Graph

390 Commits

Author SHA1 Message Date
Retro_Guy 83ee1efee1 Add feature to forward interBBS Mail to Email. 2024-10-08 08:33:27 -07:00
Retro_Guy 12b4660b19 Upgrade maintenance.php to handle remote server pointer arrays instead of flat files. 2024-10-08 04:57:01 -07:00
Retro_Guy bb7aae6656 Save remote server statistics to a serialized file instead of flat file. 2024-10-06 15:38:41 -07:00
Retro_Guy 6899a71935 Add email notifications to admin for low disk space and nearing low disk space (which will pause spooling). 2024-10-06 06:07:43 -07:00
Retro_Guy 6209a23a43 Add default Admin user details in phpmail.inc.php. 2024-10-06 06:07:12 -07:00
Retro_Guy 626d810527 Add feature to account_manager to look up posters by posting-hash when necessary. 2024-10-04 05:10:05 -07:00
Retro_Guy bb14360d1e Add config toggle for mailing admin debug messages. 2024-10-04 04:54:08 -07:00
Retro_Guy 250c66f44c Add function to create sections in maintenance.php. 2024-10-03 05:13:03 -07:00
Retro_Guy 57bbebaf19 Prefer Injection-Date to Date header in spoolnews.php. 2024-09-29 10:17:51 -07:00
Retro_Guy 4e23a4127a Monitor newsportal article count mismatches and rebuild thread cache when necessary. 2024-09-28 14:56:42 -07:00
Retro_Guy 9798a4b0d0 Check outgoing message for age before trying to re-send. This may avoid an issue if an article is causing a bug and keeping other articles from sending. 2024-09-20 08:30:52 -07:00
Retro_Guy bfa6457930 Check if article is rejected specifically by remote server and if so, move to 'failed' dir immediately (don't wait 4 hours). 2024-09-20 05:55:30 -07:00
Retro_Guy 43a61d7acd More carefully check for end of message in spoolnews.php, avoiding lines that are not just a dot.lf 2024-09-19 03:35:43 -07:00
Retro_Guy 8f6b17e894 Make sure dot is at first char of line checking end of message in rslight-lib.php. 2024-09-17 04:00:13 -07:00
Retro_Guy 540a6e290f Keep retrying sending to remote server for 4 hours if error. 2024-09-12 05:03:47 -07:00
Retro_Guy 54a0e6fbda Add overrides option to set Newsgroups limit per post or reply. 2024-09-07 06:03:57 -07:00
Retro_Guy 7ade78e9f3 Remove some debugging lines in rslight-lib.php. 2024-09-07 05:11:05 -07:00
Retro_Guy 2f87113359 Avoid sending article to remote server multiple times if crossposts use same server. 2024-09-06 16:46:37 -07:00
Retro_Guy 50322a1277 Prune failed dir to get rid of old failed messages. 2024-09-05 05:42:04 -07:00
Retro_Guy 75546cdb78 Add short delay when using nntp.reload to allow port to be released before trying to bind again. 2024-08-25 13:41:28 -07:00
Retro_Guy 02c1733392 Remove tmp files after successful posting. 2024-08-24 12:26:29 -07:00
Retro_Guy 3c397371c0 Change nntp.restart to nntp.reload in nntp.php. 2024-08-20 04:47:55 -07:00
Retro_Guy 095b757bc5 Use nntp.reload instead of nntp.restart for congruentia. 2024-08-18 01:44:14 -07:00
Retro_Guy 8ebf69f766 Add nntp.restart semaphore and fix issue with nntp.disable. 2024-08-17 10:12:49 -07:00
Retro_Guy 23471f3825 Fix some bugs in rslight-lib.php that did not identify end of header correctly. 2024-08-15 11:02:40 -07:00
Retro_Guy 0cd41266be Add 'Forgot Password' link and process to register.php. 2024-08-12 06:13:50 -07:00
Retro_Guy 636bcedb2e Remove some unused code and fix thread tree above article display. 2024-08-01 07:16:23 -07:00
Retro_Guy 9e6a344453 Move change_identity function to newsportal.php. Allow to run account_manager and maintenance as root. 2024-07-26 08:31:40 -07:00
Retro_Guy 2e0f7431a6 Log socket ip addresses from nntp connections in auth.log. 2024-07-21 08:11:32 -07:00
Retro_Guy 8e6558e804 Add overrides option to control Newsgroup header editing. 2024-07-18 06:11:14 -07:00
Retro_Guy a506fbd34b Add a proper faq file. 2024-07-16 07:46:43 -07:00
Retro_Guy f48297e45a Add overrides option to disable newsgroups editing when posting. 2024-07-13 03:52:57 -07:00
Retro_Guy ff689009ed Remove posts from outgoing when rejected by remote server with 441. 2024-07-12 04:56:02 -07:00
Retro_Guy c21a79eb89 First step try to fix issue threading where aricles have exactly same date. Sounds simple I know. 2024-07-07 11:07:28 -07:00
Retro_Guy 7e78d614e0 Add config to set reply header. 2024-07-07 01:20:00 -07:00
Retro_Guy a9eefac949 Add overrides toggle for thread tree. 2024-07-06 01:24:16 -07:00
Retro_Guy d17d058ead Add comment to nocem.conf to comma separate types for same issuer. 2024-07-02 14:12:41 -07:00
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 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