Commit Graph

931 Commits

Author SHA1 Message Date
Retro_Guy 71e29dd57c Handle article with missing boundary line in message.inc.php. 2024-07-25 06:09:57 -07:00
Retro_Guy 8bc18592b2 Add session expiry in config.ing.php. 2024-07-25 06:09:36 -07:00
Retro_Guy f83f04b634 Clean up IP address matching (is changed for same user?) for posting auth. 2024-07-23 04:37:31 -07:00
Retro_Guy d1a6b271ca Truncate usernames received by post/get to help avoid abuse. 2024-07-23 04:36:54 -07:00
Retro_Guy 9494d6e1a6 Log when setting new 'start' ip address for auth. 2024-07-22 02:41:02 -07:00
Retro_Guy 333c4a381a Remove port from ipv4 addresses in auth.log. 2024-07-22 02:17:00 -07:00
Retro_Guy b50bac6a3e Make sure to update 'start' ip address after change and auth ok. 2024-07-21 16:12:55 -07:00
Retro_Guy 075fef485c Add log entry when cookies updated. 2024-07-21 16:12:26 -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 20cbe6e17d Make sure to use session pass verify function in post.php. 2024-07-21 06:30:13 -07:00
Retro_Guy 59a2d9abaa Apply all logins to all features (intentionally did not previously). 2024-07-21 06:19:35 -07:00
Retro_Guy 53d646b519 Try to improve session handling. 2024-07-20 08:01:24 -07:00
Retro_Guy c867de95dc Create user encryptionkey if not exist. (this is for old sites) 2024-07-19 06:53:09 -07:00
Retro_Guy 5708b4e641 Continue trying to standardize logging format. 2024-07-19 05:56:46 -07:00
Retro_Guy 861a2de1f4 Connect session in config.inc.php. 2024-07-19 05:56:22 -07:00
Retro_Guy baec311624 Set php session timeout to match cookie auth timeout. 2024-07-18 06:11:50 -07:00
Retro_Guy 8e6558e804 Add overrides option to control Newsgroup header editing. 2024-07-18 06:11:14 -07:00
Retro_Guy 09ae8d3f73 Continue standarizing log files to contain ip address. 2024-07-18 05:20:38 -07:00
Retro_Guy d59c8ea313 Move auth logging in post.php to auth.log. 2024-07-17 08:27:49 -07:00
Retro_Guy f0fab10597 Reset auth timeout timer at each post. 2024-07-17 06:34:52 -07:00
Retro_Guy 171be3cc17 Allow Logout without re-entering auth. 2024-07-17 06:34:24 -07:00
Retro_Guy c908cb71fb Add function to handle cookie creation at login. 2024-07-17 06:33:48 -07:00
Retro_Guy 718af651da Add checking for spaces in Newsgroups header when posting. 2024-07-16 15:14:24 -07:00
Retro_Guy a506fbd34b Add a proper faq file. 2024-07-16 07:46:43 -07:00
Retro_Guy a5b29b148e encode group name for link (Back) after posting to avoid issues with certain chars in group names. 2024-07-16 04:51:33 -07:00
Retro_Guy b8bbd09f93 Fix bug writing username and auth status to cookies when posting. 2024-07-14 15:32:02 -07:00
Retro_Guy f48297e45a Add overrides option to disable newsgroups editing when posting. 2024-07-13 03:52:57 -07:00
Retro_Guy 932d9a14ad Add ability to crosspost new thread (max 3 groups). 2024-07-12 06:54:15 -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 2de9be69ac Clean up some html in header scripts. 2024-07-11 03:31:44 -07:00
Retro_Guy cc75b78096 Change (UTC) to -0000 in reply header. 2024-07-08 00:30:07 -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 b99626e356 Add date to quote (On <date> <person> wrote:). 2024-07-06 06:28:21 -07:00
Retro_Guy 37106ad153 Remove some commented out code in newsporta.php. 2024-07-06 05:54:38 -07:00
Retro_Guy 352b633384 Remove some unnecessary variable assignments in thread.inc.php. 2024-07-06 02:35:32 -07:00
Retro_Guy 4e6a190c40 Save threads to file, not db. 2024-07-06 02:15:03 -07:00
Retro_Guy 06ef2552a8 Remove caching for threads while working on improving thread handling. 2024-07-06 01:24:43 -07:00
Retro_Guy a9eefac949 Add overrides toggle for thread tree. 2024-07-06 01:24:16 -07:00
Retro_Guy 6e2d8f58e2 Hide thread tree unless enabled in overrides.inc.php. 2024-07-05 13:18:23 -07:00
Retro_Guy c7cb347215 Cleanup blocking by . 2024-07-05 11:35:17 -07:00
Retro_Guy e5f23dd63f Try to avoid listing threads multiple times in thread view. 2024-07-05 06:31:17 -07:00
Retro_Guy faf883423e Change some variable names in newsportal.php to make sense. 2024-07-05 06:30:53 -07:00
Retro_Guy 4a6b57f282 Increment version for new devel changes. 2024-07-04 05:33:47 -07:00
Retro_Guy b5bdb0f1ab Add toggle to sort body search results by date or relevance. 2024-07-04 01:52:05 -07:00
Retro_Guy 8152a49a40 Isolate ip address in abuse.log. 2024-07-03 02:26:07 -07:00
Retro_Guy 8724e66c51 Try to standardize some logging output. Move article retrieve errors from newsportal.log to debug.log. 2024-07-03 00:16:36 -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 8f7692c1af Don't add articles to cache immediately when spooling or posting. 2024-07-02 14:08:17 -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 c48056d3d0 Allow longer tlds in email addresses during registration. 2024-06-30 08:22:50 -07:00
Retro_Guy ee0253d919 Try to fix spaces in quotes (> >>) that some newsreaders add. 2024-06-30 08:22:25 -07:00
Retro_Guy caaec22735 Increment version number. 2024-06-30 00:55:42 -07:00
Retro_Guy 7952b6a00b Remove extra blank line from end of quote. 2024-06-30 00:53:56 -07:00
Retro_Guy f25096f833 Change wording in debian-upgrade.sh to make it more clear it will overwrite scripts. 2024-06-28 03:32:52 -07:00
Retro_Guy 73820db091 Fix comment wording in cache.inc.php. 2024-06-28 03:15:08 -07:00
Retro_Guy a0bed95f5e Standardize logging of useragent and rdns blocklist logging in abuse.log. 2024-06-27 09:19:03 -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 350c414d9f Minor wording change in nocemlist.php. 2024-06-27 03:14:34 -07:00
Retro_Guy 804dee4e46 Improve conversion of search snippets to html in overboard.php. 2024-06-26 00:05:49 -07:00
Retro_Guy 8f4c7c9978 Remove extra blank lines at end of article when using Quote. 2024-06-25 23:26:32 -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 f66db66487 Fix extra line in linewrap. 2024-06-24 13:57:51 -07:00
Retro_Guy 8fb54771ef Apply text rewrite if enabled to overboard.php. 2024-06-20 03:41:36 -07:00
Retro_Guy cc1c41f107 Add msgid and posting-user hash to post.log if enabled. 2024-06-19 02:28:28 -07:00
Retro_Guy 4af893eb82 Increment version to 0.9.134. 2024-06-18 04:32:40 -07:00
Retro_Guy df094abeb3 log subject in post.log since we don't yet have msgid. 2024-06-18 04:02:05 -07:00
Retro_Guy 598ba842b3 Serialize data for get_data_from_msgid cache. 2024-06-18 03:44:07 -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 c4a53acbc1 Continue debugging disk caching. 2024-06-07 07:39:33 -07:00
Retro_Guy f76e46cfb1 Move memcached handling to functions in preparation for adding disk caching in another function. 2024-06-07 06:33:00 -07:00
Retro_Guy 87e061abe4 Use instead of for article.db3 cache. 2024-06-07 06:13:00 -07:00
Retro_Guy 07b592ca0a Increment version to avoid caching errors. 2024-06-07 05:46:02 -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 98db866a06 Standardize cache logging to 'cache.log'. 2024-06-06 05:50:03 -07:00
Retro_Guy bb3cfd30b2 Log memcached new connections when logging is off. 2024-06-06 02:38:30 -07:00
Retro_Guy 662dc7e0fe Clean up SESSION['pass'] to use true/false only. 2024-06-05 04:32:38 -07:00
Retro_Guy 3ff76df4fe Standarize some variables and address some php warnings. 2024-06-05 04:05:17 -07:00
Retro_Guy f8ec3d9ca6 Change display of no-archive msg to match style of blocked by blocklist msg. 2024-06-04 05:34:33 -07:00
Retro_Guy 2affbfc298 Compress data for memcache. 2024-06-04 04:18:19 -07:00
Retro_Guy c2cc9657f9 Add memcache to (newsportal's) message_read. 2024-06-04 03:31:37 -07:00
Retro_Guy 057fca590a Avoid creating thread dbs for groups that do not exist. 2024-06-02 08:04:07 -07:00
Retro_Guy 7622cc4e3c Fix bug in nocem that caused section to not be found (so no delete). 2024-06-01 04:27:51 -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 1ea1ed2132 Remove duplicate check of incoming article date. 2024-05-30 05:42:07 -07:00
Retro_Guy 8c259cf695 Move version number to text file. 2024-05-30 02:25:03 -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 cb9102d0d3 Previous commit used an old cached copy of newsportal.php (thanks eclipse). This fixes that. 2024-05-29 05:35:46 -07:00
Retro_Guy 2ffdf5c4d2 Improve creating clickable links from urls in article. 2024-05-29 04:52:54 -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 e6627d448b Limit overboard threads view to maxdisplay. 2024-05-27 05:58:23 -07:00
Retro_Guy a752d6537d Improve handling for multiline Newsgroups header. 2024-05-27 05:57:59 -07:00
Retro_Guy 2cba850cb0 Improve handling for multiline newsgroups header in nocemlist.php (thanks Julien_ÉLIE for the suggestions). 2024-05-27 03:58:08 -07:00
Retro_Guy 21dea6d9a7 Notify if trying to post to non-existent followup-to group. 2024-05-27 02:04:11 -07:00
Retro_Guy 5102749487 Fix bug recently introduced in deleting an article (used by nocem). 2024-05-24 06:28:17 -07:00
Retro_Guy 0f23b44ef0 Handle X-Face: header properly when a user creates an x-face of just spaces (Don't add the header). 2024-05-22 05:33:03 -07:00
Retro_Guy 6108dcefba Line wrap article before preparing for quoting. 2024-05-22 05:09:05 -07:00
Retro_Guy 775a39ab7b Allow incoming article to be up to 2 minutes in the future, no more. 2024-05-22 04:33:47 -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 1641b223f3 Increment version number. 2024-05-21 05:50:33 -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 e720f3729c Add feature to block clients by content of user agent string. 2024-05-21 05:39:45 -07:00
Retro_Guy 97c864d4de At least remove one of the three requests for an article from cache. 2024-05-20 05:22:24 -07:00
Retro_Guy b7badacd3f Standardize wording in memcache logging. 2024-05-20 04:15:15 -07:00
Retro_Guy 95f1b1c149 Avoid retrieving articles multiple times for display_full_headers. 2024-05-20 03:59:30 -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 448275cdd8 Handle special chars in link for message id search. 2024-05-19 00:45:39 -07:00
Retro_Guy 4136c62bfd Wrap the text in quotes, but do not count the depth. 2024-05-18 13:20:44 -07:00
Retro_Guy 6b9eb7da18 Add function to wrap lines when posting. 2024-05-18 12:10:14 -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 453f025629 Skip polling lastarticleinfo for groups not to be shown. 2024-05-15 04:53:47 -07:00
Retro_Guy 31345514b1 Add pointless loading spinner (js) that nobody will ever see. 2024-05-15 04:53:09 -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 a5fb9e5db6 Add new articles to memcache immediately. 2024-05-14 03:56:18 -07:00
Retro_Guy 76324850a9 Cleanup article.php to match article-flat.php where reading message-id from url. 2024-05-14 03:06:03 -07:00
Retro_Guy d540ccd0ca Check thread cache size before writing to memcache. 2024-05-13 16:35:58 -07:00
Retro_Guy ee782e3a63 Prefer articles db over overview db in groups_show. 2024-05-13 15:44:48 -07:00
Retro_Guy aca70518ad Cleanup article-flat.php when article is requested by message-id. 2024-05-13 15:20:15 -07:00
Retro_Guy c8b9af9d7a Notify in log files when rotated. 2024-05-13 06:41:02 -07:00
Retro_Guy e993aed1f0 Compress thread array data for memcache and log size in bytes when writing. 2024-05-13 04:52:59 -07:00
Retro_Guy 95b8fc2baf Minor fix to overboard to not display max + 1 articles, just max articles. 2024-05-13 04:52:28 -07:00
Retro_Guy 94c7af9d8d Fix halting overboard at oldest article in flat display. 2024-05-13 02:18:26 -07:00
Retro_Guy 611a0279d9 Use memcache for get_newsgroups_by_msgid. 2024-05-13 02:16:25 -07:00
Retro_Guy 9825d0d43d Fix retrieving article twice in overboard flat view. 2024-05-12 16:17:25 -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 14eb6e3ae6 Add ability to provide a link or comment about x-face in configuration page. 2024-05-11 08:11:02 -07:00
Retro_Guy 6e91cb4807 Unset lastarticleinfo before each group display to avoid left over data from previous group. 2024-05-11 05:29:15 -07:00
Retro_Guy bf723a3c0e Remove echoed comment for debugging in overboard.php. 2024-05-11 04:50:03 -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 4578fa6933 Allow maintenance.php to create temp .db3 files. 2024-05-11 02:56:21 -07:00
Retro_Guy 6d19400b96 More work on thread_cache in memcache. 2024-05-10 08:08:41 -07:00
Retro_Guy 571e5eaabd Stop updating lastupdate when posting. Cleanup more logging for memcache. 2024-05-10 05:02:45 -07:00
Retro_Guy c5e72c94a8 Try to make more obvious when thread has multiple pages. 2024-05-10 04:29:41 -07:00
Retro_Guy 6c20453fa8 Fix handling redirects to other section when section names contains + 2024-05-10 04:15:55 -07:00
Retro_Guy b0b1ba8b69 More memcache cleanup and add threads to memcache. 2024-05-10 03:24:13 -07:00
Retro_Guy ea5a32cb1e Memcache for groups page plus some more cleanup. 2024-05-09 06:22:53 -07:00