Commit Graph

190 Commits

Author SHA1 Message Date
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
Retro_Guy 571e5eaabd Stop updating lastupdate when posting. Cleanup more logging for memcache. 2024-05-10 05:02:45 -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
Retro_Guy de02cb4f8b Delete article from memcache when deleted by nocem. 2024-05-09 03:01:42 -07:00
Retro_Guy 85a035beb5 Add memcache to get_data_from_msgid function. 2024-05-09 02:02:28 -07:00
Retro_Guy 12a3ca5009 Move memcache settings to config file. 2024-05-08 14:01:21 -07:00
Retro_Guy f97fcc59d2 Some debugging on memcache support. 2024-05-08 13:21:20 -07:00
Retro_Guy f38cc9ce0b Get lastarticleinfo in groups page from article db instead of overview db. 2024-05-08 08:53:19 -07:00
Retro_Guy 7f20ff373c Don't log memcache hits by default. 2024-05-08 08:22:59 -07:00
Retro_Guy 4864955e94 Add memcache support (starting with np_get_db_article) 2024-05-08 08:00:16 -07:00
Retro_Guy 187e1b917b Add show/hide toggle on section group display page. 2024-05-07 04:45:38 -07:00
Retro_Guy 116d47a29f Add external ability to modify display of a post (bad idea, don't do it) 2024-05-05 10:20:28 -07:00
Retro_Guy bbdf946dca Some bug cleanup in overboard and creating .db3 files. 2024-05-02 05:45:29 -07:00
Retro_Guy 087e26ca6a Apply wordrap in post to hopefully work properly with multibyte characters. 2024-05-02 04:22:16 -07:00
Retro_Guy 2612ebe5e9 Verify group exists before creating .db3 file for articles. 2024-05-02 03:08:48 -07:00
Retro_Guy 0dbafa27fa Add logging for db3 write errors in spoolnews.php. 2024-05-02 02:07:10 -07:00
Retro_Guy 7efc2bd61e Check theme image dir for new-articles.png befure using default location. 2024-04-30 04:38:54 -07:00
Retro_Guy 9495538f86 Add green button to 'Latest' link in groups list for logged in users. 2024-04-30 04:31:50 -07:00
Retro_Guy 3c22f952df Add 'mark read' link to group list page. 2024-04-29 01:59:48 -07:00
Retro_Guy bb486431b0 Cleanup for overboard threads mod. 2024-04-28 03:05:02 -07:00
Retro_Guy 9871867104 Fix bug related to missing overrides.inc.php and also fix display of stream info on post page when using ssl. 2024-04-18 03:33:36 -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