Commit Graph

214 Commits

Author SHA1 Message Date
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 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 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 c908cb71fb Add function to handle cookie creation at login. 2024-07-17 06:33:48 -07:00
Retro_Guy 37106ad153 Remove some commented out code in newsporta.php. 2024-07-06 05:54:38 -07:00
Retro_Guy c7cb347215 Cleanup blocking by . 2024-07-05 11:35: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 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 8f7692c1af Don't add articles to cache immediately when spooling or posting. 2024-07-02 14:08:17 -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 3bb2f3beb8 Add ability to filter connections by reverse dns string. 2024-06-25 04:44:51 -07:00
Retro_Guy f66db66487 Fix extra line in linewrap. 2024-06-24 13:57:51 -07:00
Retro_Guy 598ba842b3 Serialize data for get_data_from_msgid cache. 2024-06-18 03:44:07 -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 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 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 3ff76df4fe Standarize some variables and address some php warnings. 2024-06-05 04:05:17 -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 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 5102749487 Fix bug recently introduced in deleting an article (used by nocem). 2024-05-24 06:28:17 -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 e720f3729c Add feature to block clients by content of user agent string. 2024-05-21 05:39:45 -07:00
Retro_Guy b7badacd3f Standardize wording in memcache logging. 2024-05-20 04:15:15 -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 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 a5fb9e5db6 Add new articles to memcache immediately. 2024-05-14 03:56:18 -07:00
Retro_Guy ee782e3a63 Prefer articles db over overview db in groups_show. 2024-05-13 15:44:48 -07:00
Retro_Guy 611a0279d9 Use memcache for get_newsgroups_by_msgid. 2024-05-13 02:16:25 -07:00
Retro_Guy 7189381f46 Apply in overboard flat view. 2024-05-12 04:10:54 -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 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