Commit Graph

372 Commits

Author SHA1 Message Date
Retro_Guy d205bfa6a4 Display number of bots separately from number of users online. 2023-09-04 07:07:06 -07:00
Retro_Guy 3550e09894 Begin adding ability to modify layout, etc. based on User-Agent. 2023-09-04 06:06:43 -07:00
Retro_Guy 1aa93edf6f Move manual scripts to ./tools subdir of scripts. 2023-09-03 07:32:21 -07:00
Retro_Guy e8fcfc9d6a Fix footer link (gitlab) and add '()' to regex for url links. 2023-09-03 03:29:17 -07:00
Retro_Guy f59f818833 Display links in body. Not as easy as it sounds. 2023-09-02 07:38:59 -07:00
Retro_Guy 993183eb84 Write threads db in a transaction to avoid losing thread data. 2023-09-01 02:46:37 -07:00
Retro_Guy 4f95842cec Remove i2p link from tail as I don't keep the target up to date. Just access gitlab. 2023-08-29 08:36:18 -07:00
Retro_Guy 82b6921535 Modify gitlab link in tail.inc. 2023-08-29 08:25:47 -07:00
Retro_Guy ae4136777b Add 'overrides' for some vars and try to read/write history as necessary. 2023-08-27 07:05:53 -07:00
Retro_Guy d25b009776 Change link in tail.inc from github to gitlab. 2023-08-26 06:31:34 -07:00
Retro_Guy c64e3b1779 Fix no 'data' in link for search on user in groups list. 2023-08-26 05:48:13 -07:00
Retro_Guy 2f291dddf5 Prefer articles dbs over overview db for speed. 2023-08-26 04:41:26 -07:00
Retro_Guy f27c5c6657 Some cleanup to handle rebuilding large groups. 2023-08-26 03:43:11 -07:00
Retro_Guy c832ef7927 Temp change for lastarticleinfo.dat issue. 2023-08-23 12:50:56 -07:00
Retro_Guy 161015735a Some fixes for group lists and expire. 2023-08-23 12:25:21 -07:00
Retro_Guy 17ad7a29cf Store thread data in sqlite db instead of file. 2023-08-22 05:34:37 -07:00
Retro_Guy 17e8a5dd5e Only changes to indentation. No other changes. 2023-08-19 15:33:05 -07:00
Retro_Guy 500023723e Use htmlspecialchars properly. 2023-08-19 07:45:07 -07:00
Retro_Guy b2412a8cbf Add comment to text2html() in message.inc.php as to why it does nothing. 2023-08-19 07:09:41 -07:00
Retro_Guy 3d01e5381f Clean up message formatting using monospaced fonts. Also, move style.css and symlink from themes if not changed. 2023-08-19 06:54:26 -07:00
Retro_Guy 2810345e14 Oops, only modify group name in overboard when there is a group name. 2023-08-18 05:12:17 -07:00
Retro_Guy ffb8d988f4 Fix overboard to handle url encoded group names. 2023-08-18 05:06:08 -07:00
Retro_Guy db2a64ef45 Change groups_show() to use -title file instead of constantly contacting local nntp server. 2023-08-18 05:05:23 -07:00
Retro_Guy 0983b18399 Overview flat file removed. Create history.db3 to track deleted articles. 2023-08-16 09:41:13 -07:00
Retro_Guy c9d0d1449e Handle missing lastarticleinfo files in groups_show in newsportal.php. 2023-08-14 06:37:08 -07:00
Retro_Guy ff0e31daca Rename rslight_db_open to overview_db_open as it makes more sense. 2023-08-13 10:00:48 -07:00
Retro_Guy ed31b5b6a1 Remove flat file overview and use articles-overview.db3 for all overview features. 2023-08-13 05:08:04 -07:00
Retro_Guy a7223ecbcb Add features and more logging to InterBBS mail. 2023-08-09 10:10:35 -07:00
Retro_Guy 341b6889ee Add Cache-Control to search.php. 2023-08-09 07:12:32 -07:00
Retro_Guy f4ed00ec6f Remove browser caching from index.php and thread.php. 2023-08-08 06:08:28 -07:00
Retro_Guy c1c56ed528 Avoid crash in thread.inc.php when running huge expire. 2023-08-08 05:54:15 -07:00
Retro_Guy 224e58d5ab Sort processed Mail posts (failed/processed). 2023-08-08 05:15:24 -07:00
Retro_Guy 27a848db3c Set Cache-Control in some headers. 2023-08-04 06:49:48 -07:00
Retro_Guy 2676517fc6 Fix proper path for server_pubkey.txt in tail.inc. 2023-07-30 20:47:28 -07:00
Retro_Guy 5e55fdc7f3 More logging cleanup in expire.php. Some Mail updates. 2023-07-30 08:59:09 -07:00
Retro_Guy 6e50c0d53d Merge gpg verify function into newsportal.php for use in nocem.php and interBBS_mail.php. 2023-07-26 12:36:42 -07:00
Retro_Guy c9fafb0f97 Create gpg keys for server and make available by link. 2023-07-26 12:33:13 -07:00
Retro_Guy c355c0e59a Create gpg key for server and move some gpg settings to gpg.conf. 2023-07-24 10:33:13 -07:00
Retro_Guy f54bfb656a Fix hard-coded dir for 'banned_names.conf'. 2023-07-17 11:08:14 -07:00
Retro_Guy 3fdae1cf95 Save attachment temp files to /tmp, not 'upload' to avoid breaking display when using files.php. 2023-07-17 10:01:05 -07:00
Retro_Guy 2937368252 Remove debug line in post.inc.php and move User-Agent out of 'if' statement. 2023-07-17 06:42:25 -07:00
Retro_Guy bef40acbb6 Cleanup warning in message.inc.php. 2023-07-16 11:36:06 -07:00
Retro_Guy af2f9a65a2 Combine message_post functions in post.inc.php. 2023-07-16 11:32:33 -07:00
Retro_Guy 0ca7c4bbb9 Fix misspelling of PDOException in newsportal.php. 2023-07-13 10:20:58 -07:00
Retro_Guy b745359929 include newsportal.php in cron.php. Check before closing in newsportal.php. 2023-07-12 08:01:52 -07:00
Retro_Guy 1d6042796d Cleanup undefined vars in search.php. 2023-07-10 13:38:45 -07:00
Retro_Guy ef0e873844 Clean up locations for ssl keys and remove unused config.inc.php from scripts dir. 2023-07-09 12:01:34 -07:00
vga256 72b83b55e5 search.php: - prevent script crash when usort() is performed on an empty database result, when using full-body search 2023-07-07 13:09:12 -07:00
vga256 18559b6299 * newsportal.php: nntp_open() now checks if the NNTP server is offline before trying to send commands. It bails out with an error if it cannot connection
* english.lang: cleaned up error messages and added more
2023-07-07 13:08:32 -07:00
vga256 e9a33a1418 * Renamed auth.inc to auth.inc.php. It is a general purpose authentication module that can be used anywhere. Successful authorization sets $logged_in = true 2023-07-07 13:06:37 -07:00
vga256 4b626a3cc9 * oops. Removing debugging information I left behind! 2023-07-07 13:02:06 -07:00
vga256 1d229d5ad1 * newsportal.php now allows a force reload of groups.txt, by suppling (force_reload=true) as the third parameter to groups_read();
* spoolnews.php now forces a reload of groups.txt whenever it runs (regardless of caching) and also checks to see if a remote server has been defined before it tries to contact one.
2023-07-07 13:00:16 -07:00
vga256 09a1eb340d * replaced german variable name with english equivalent 2023-07-07 12:56:51 -07:00
vga256 8e1fe5de65 * newsportal.php: added clarification of NNTP response 2023-07-07 12:52:37 -07:00
Retro_Guy 13c5bb1551 Trim whitespace from username to avoid bypassing rate limits. 2023-06-25 09:15:56 -07:00
Retro_Guy b0bac6f428 Some warnings cleanup in overboard.php. 2023-06-03 11:42:49 -07:00
Retro_Guy 75d000d89b Enable thread view to display last user for tradspool installs. 2023-06-03 09:51:11 -07:00
Retro_Guy bf7c76f360 Multibyte is making me multimad. 2023-06-01 13:44:14 -07:00
Retro_Guy b0f67ee17d Add logo to footer. 2023-05-29 10:08:32 -07:00
Retro_Guy 95d61c0321 Verify group in overboard.php. 2023-05-29 08:38:27 -07:00
Retro_Guy 4e90577cfa Speed up duplicate checking in spoolnews.php. More accurate dates in main groups list. 2023-05-28 06:39:52 -07:00
Retro_Guy 73fd167566 Fix tzo cookie issue and loosen throttle to start at 50. 2023-05-26 16:57:15 -07:00
Retro_Guy 9c74202a20 Fix multibyte name in groups_show. 2023-05-15 12:26:39 -07:00
Retro_Guy 31047dfbf1 Fix bug in Show Headers. 2023-05-15 03:54:49 -07:00
Retro_Guy 705cd2307f More minor code cleanup. 2023-05-14 19:41:08 -07:00
Retro_Guy 798eadcebb Clean up some warnings. 2023-05-14 11:37:10 -07:00
Retro_Guy fcde930e54 Some fixes for local only groups and one for mail check. 2023-05-12 14:02:39 -07:00
Retro_Guy a6ee49ab05 Fix for uploading attachments. 2023-05-07 16:04:05 -07:00
Retro_Guy aa36a6c3da Fix head.inc to not overwrite title. 2023-05-03 11:42:32 -07:00
Retro_Guy 9b26a9efee Fix line in post.inc.php that caused an issue with x-face usage. 2023-05-02 23:49:35 -07:00
Retro_Guy 05bce02b19 Modified newsportal cuz I'm an idiot. 2023-05-02 13:57:48 -07:00
Retro_Guy 653be9a31e Set as array, not stdClass 2023-05-02 10:42:03 -07:00
Retro_Guy f95828bb8c Cleanup lastarticleinfo 2023-05-01 20:03:57 -07:00
Retro_Guy 714e78bfb4 More fixes for php8 plus improved import-db3.php 2023-04-27 20:34:51 -07:00
Retro_Guy 6a34c54437 More minor fixes for php8 2023-04-22 11:29:58 -07:00
Retro_Guy 7db2a31bc9 More fixes for php8.2 2023-04-16 21:48:38 -07:00
Retro_Guy 0683f8ddd0 First mods for php8.2. 2023-04-13 18:52:30 -07:00
Retro_Guy b53c6891aa Avoid iconv deleting entire line for unknow char. Just delete character instead. 2023-01-02 21:56:37 +00:00
Retro_Guy 889b5f2bed Remove leading/trailing whitespace from poster name when posting. 2022-12-23 06:03:46 +00:00
Retro_Guy 40f0ae8ac3 Add 'global ' to overboard.php to display link in footer. 2022-12-19 03:24:11 +00:00
Retro_Guy 0617c7cef2 Cleanup pubkey.(pem/txt) 2022-12-15 06:19:27 +00:00
Retro_Guy 5d3febd4bb Make public key available from site. 2022-12-12 00:22:51 +00:00
Retro_Guy 6bf60708cb Move ssl dir out of spool and write public key to file. 2022-12-11 21:51:56 +00:00
Retro_Guy 96aab09612 Change tor git link to tor v3 2022-11-26 02:37:19 +00:00
Retro_Guy 2d5c4d40b7 Move version number to config.inc.php in /common, and include in overboard.php 2022-11-22 07:02:33 +00:00
Retro_Guy ca0a7053fa Specify rslight version in config.inc.php 2022-11-21 20:10:08 +00:00
Retro_Guy a75ab5f8b1 More cleanup to maintain group navigation 2022-07-25 02:24:08 +01:00
Retro_Guy eca222151d Extract individual groups for posting when replying to crossposted article 2022-07-24 21:33:45 +01:00
Retro_Guy 9215202c01 Improve locating section when accessing a group 2022-06-26 21:35:51 +01:00
Retro_Guy 21a98d9724 Temp fix in cron.php for new installs and cleanup in post.php 2022-05-16 07:01:53 +01:00
Retro_Guy e5390bcdd5 Log newsgroup:number instead of messageid in overboard.php 2022-04-17 05:47:48 +00:00
Retro_Guy 5857063848 Clean up overboard to avoid waste of resources 2022-04-10 04:30:34 +00:00
Retro_Guy 8a03cbfbf6 Avoid creating unneccesary databases. 2022-03-16 06:54:34 +00:00
Retro_Guy 9aec568360 Add domain to X-Rslight-Posting-User 2022-03-12 02:45:48 +00:00
Retro_Guy 72da0c7fae Try to improve checking from line in user link search 2022-03-04 10:51:41 +00:00
Retro_Guy 1fac7da654 Trim Poster search to avoid partial email matches 2022-03-04 09:22:20 +00:00
Retro_Guy 4bee83df61 Don't use search term length when 'data' is present 2022-02-25 06:08:27 +00:00
Retro_Guy 52568dfe56 Check length of search request before searching db 2022-02-25 05:38:21 +00:00
Retro_Guy ad4e54c64b Decode 'From: ' line when displaying results in search.php 2022-02-25 05:33:14 +00:00
Retro_Guy e2598ca9d4 Create link to search name if there is 'data' sent in request 2022-02-25 05:24:57 +00:00
Retro_Guy 6c64fd5afd Fix searching user by link in search.php 2022-02-25 05:14:20 +00:00
Retro_Guy 5f8aa0c785 Ignore empty REQUEST in search.php 2022-02-24 05:58:21 +00:00
Retro_Guy 8141c8221e Search by email address when clicking username for search 2022-02-21 04:15:38 +00:00
Retro_Guy 9f6572e1be Remove max articles limit when first adding a group but leave config options to do so 2022-02-14 08:27:58 +00:00
Retro_Guy dd36c0e3d3 Change data logged to access.log 2022-02-09 05:51:20 +00:00
Retro_Guy d28ba18c47 Add unsubscribe link to subscribed groups 2022-02-03 05:21:01 +00:00
Retro_Guy e7f232d7ac Move (new) in overboard for subscribed groups 2022-02-02 02:43:56 +00:00
Retro_Guy 3fc0407269 Some cleanup in overboard.php for displaying only new articles when subscribed 2022-01-28 04:17:01 +00:00
Retro_Guy bb82443224 Add X-Rslight-Posting-User to outgoing messages 2022-01-26 08:00:34 +00:00
Retro_Guy 6c4b8a07e1 Remove typo in overboard.php 2022-01-26 07:08:03 +00:00
Retro_Guy 27bdf4a60c Only show new messages when clicking 'new' for subscribed users 2022-01-26 02:01:59 +00:00
Retro_Guy c3825c2bd6 Fix checking for 'userdata' when handling subscriptions 2022-01-20 08:00:49 +00:00
Retro_Guy a46dbced75 Verify key each time for subscriptions 2022-01-20 04:05:06 +00:00
Retro_Guy 0d057763b9 Add overboard.php link to 'new' in groups list 2022-01-16 00:31:29 +00:00
Retro_Guy 7410bbdb2e Add key in cookies to verify non-logged in user 2022-01-12 23:44:35 +00:00
Retro_Guy 74f7f09fb1 Add 'subscribe' feature for groups, and config to manage 2022-01-11 23:19:54 +00:00
Retro_Guy d5869313b2 Remove unnecessary 'Pages' listing in article.php 2022-01-08 01:33:16 +00:00
Retro_Guy 08f4e08110 Bring page style in article.php up to date to match article-flat.php 2022-01-08 01:23:04 +00:00
Retro_Guy 9ac3731d60 Encode group name in URL for (thread) links in overboard.php 2022-01-05 03:38:48 +00:00
Retro_Guy 5556a4e40b Use lastarticleinfo to find first article in group for thread display in overboard 2022-01-03 22:01:42 +00:00
Retro_Guy c4039ced4c Check newsgroup before writing 'thread' link in overboard 2022-01-01 07:04:32 +00:00
Retro_Guy 70cf8173ae Add (thread) link to overboard results 2021-12-31 09:41:53 +00:00
Retro_Guy 1816a5dca9 Prune overboard.dat files to only save what will be displayed 2021-12-26 03:31:44 +00:00
Retro_Guy 4d927dcdc4 Integrate nocem into overboard so deleted articles are removed immediately from recent message lists 2021-12-23 03:30:59 +00:00
Retro_Guy 7436e723c2 Reduce load in overboard.php by appending cache file instead of replacing it when expired 2021-12-22 05:57:12 +00:00
Retro_Guy 14c7aaa9dc Avoid display of articles with out of bounds dates in overboard 2021-12-19 04:25:53 +00:00
Retro_Guy 1d4c0ceda9 Correct searchpoint value for message-id in search and search msig across entire site 2021-12-18 22:30:47 +00:00
Retro_Guy f56337b39a Ignore newsgroup when loading by message-id 2021-12-18 22:01:11 +00:00
Retro_Guy 64802562f5 Handle np errors in lastarticleinfo.dat by checking overview db if necessary 2021-12-17 06:15:06 +00:00
Retro_Guy a96819261f Check that database exists before using for last article info 2021-12-16 03:08:22 +00:00
Retro_Guy e8ab8d2ba2 Display local users names italicized in overboard.php 2021-12-16 02:21:43 +00:00
Retro_Guy db7c851891 Add RSS pull and post feature 2021-12-02 04:02:31 +00:00
Retro_Guy 6609288a2b Add comment to INSTALL.md and change version in tail.inc 2021-11-21 03:09:21 +00:00
Retro_Guy a420644129 Verify database exists before trying to open it in search.php 2021-11-17 06:34:52 +00:00
Retro_Guy 20c8789ce8 Move standard images to theme dir, or default to common/images 2021-11-14 05:00:48 +00:00
Retro_Guy 82f4bdf4f0 Add theme support and config option for same 2021-11-09 21:05:46 +00:00
Retro_Guy 4fabc09dca Delete temp files properly when X-Face does not produce an image 2021-10-31 05:40:31 +00:00
Retro_Guy dbf2f4e63d Check if db exists before using for search 2021-10-30 09:14:13 +00:00
Retro_Guy ea7476dd66 Add an additional space before any signature 2021-10-30 05:19:09 +00:00
Retro_Guy 2197f3da85 Cache xface images based on hash of X-Face instead of mid 2021-10-30 05:00:31 +00:00
Retro_Guy 4d728ed6f7 Handle checking for user config file more accurately 2021-10-26 06:26:18 +00:00
Retro_Guy 20a60fa4a3 Add X-Face and signature support for outgoing messages 2021-10-26 05:06:37 +00:00
Retro_Guy 811fa4de98 Add X-Face support (display) 2021-10-19 21:09:59 +00:00
Retro_Guy 5332bbbdb9 Handle attachments with spaces, etc. in file name 2021-09-27 05:08:41 +00:00
Retro_Guy 2d63ae75ae Avoid creating false database when querying article 2021-09-18 05:48:43 +00:00
Retro_Guy ac8dbb48c9 Prevent GET requests for some vars in post.php 2021-09-16 06:25:39 +00:00
Retro_Guy fb7a7d6f4c Improve link highlight for links in messages if bbcode 2021-08-14 08:10:15 +00:00
Retro_Guy 74f3307f26 (hopefully) improve bbcode links in messages 2021-08-07 07:48:08 +00:00
Retro_Guy 000a523529 Find article by msgid from overview instead of group db 2021-08-03 06:49:16 +00:00
Retro_Guy 8bfcf9fbb3 Allow graceful fail if message does not exist when access by message-id. Improve this in the future 2021-08-01 11:40:23 +00:00