Commit Graph

335 Commits

Author SHA1 Message Date
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
Retro_Guy 81c083596d Allow article-flat.php to find article by message-id in url 2021-08-01 11:23:35 +00:00
Retro_Guy cd2da9952a Fix hardcoded logfile path in article-flat.php 2021-07-23 09:32:52 +00:00
Retro_Guy 8476af159f Avoid counting throttled sessions 2021-07-04 09:59:47 +00:00
Retro_Guy aa571ec45f Move lock files to /lock to allow multiple instances 2021-07-03 02:08:34 +00:00
Retro_Guy e1ff96926a Move session_start in overboard.php else warning in bsd 2021-06-22 06:56:13 +00:00
Retro_Guy f3a24b6c96 Clean up version id in some scripts 2021-06-22 06:10:21 +00:00
Retro_Guy 46e7e25d62 Change posting name cookie path to / 2021-06-22 06:00:40 +00:00
Retro_Guy afb72007fb Set tzo cookie only in header.php 2021-06-21 09:15:32 +00:00
Retro_Guy 4d61a4d967 Highlight MAIL link if new mail. Change cookie path to / . Move some scripts to spoolnews/ 2021-06-21 09:04:13 +00:00
Retro_Guy 4766775a64 Move rate throttling to function in newsportal.php 2021-06-18 10:10:34 +00:00
Retro_Guy 58090b0120 Trim comma from url links 2021-06-17 07:06:01 +00:00
Retro_Guy 1f31a3c809 Minor changes to article-flat.php 2021-06-17 07:00:12 +00:00
Retro_Guy 3cbdc0d875 Cleanup creating links and add protocols 2021-06-16 09:04:22 +00:00
Retro_Guy 50993b3ab7 Remove possible (.) from end of url link 2021-06-15 07:42:23 +00:00
Retro_Guy 59a21be4a0 Fix newsportal code to create clickable links 2021-06-15 07:31:41 +00:00
Retro_Guy 5288a72716 Add delete feature to mail.php 2021-06-14 07:25:44 +00:00
Retro_Guy bba0ed7fac Highlight read/unread messages in mail 2021-06-12 07:42:44 +00:00
Retro_Guy 0531055378 Change mail auth cookie name to mail_auth 2021-06-11 08:03:24 +00:00
Retro_Guy 662046f50f Authenticate email login using changing keys 2021-06-11 07:50:54 +00:00
Retro_Guy 44c32c218c Separate mail username from posting username 2021-06-10 06:47:57 +00:00
Retro_Guy 493f548e05 Add expire setting to auth cookie 2021-06-10 06:27:15 +00:00
Retro_Guy 4beccff539 Keep mail logged in. TESTING 2021-06-10 02:41:51 +00:00
Retro_Guy 3b5d7852c8 Clean up file section interface a bit 2021-06-09 06:56:22 +00:00
Retro_Guy bbafaccb54 Cleanup uploaded file names for db 2021-06-08 05:30:09 +00:00
Retro_Guy ad98fcb1fa Change User-Agent address to www instead of news 2021-06-08 00:01:00 +00:00
Retro_Guy 164b395f53 Add optional google analytics support 2021-06-07 03:28:55 +00:00
Retro_Guy 7830e5abd0 Fix display of mb usernames in group list page 2021-06-04 23:57:09 +00:00
Retro_Guy 4096ff8d18 Verify logged in user before displaying a message in mail.php 2021-06-04 03:25:31 +00:00
Retro_Guy e042c25c00 Add private messaging in mail.php. NOT COMPLETE 2021-06-03 05:25:59 +00:00
Retro_Guy c0579b1639 Minor layout change to upload.php 2021-06-01 05:26:42 +00:00
Retro_Guy c6a4dfb0a8 Add logging to files feature 2021-06-01 00:09:52 +00:00
Retro_Guy d94ea073ed Convert special characters to HTML entities in overboard.php 2021-05-28 05:42:08 +00:00
Retro_Guy cd883734fa Escape % from header searches 2021-05-26 01:37:37 +00:00
Retro_Guy 2f2a45b967 Only check last for each group in overboard.php 2021-05-22 17:09:45 -07:00
Retro_Guy e96d74f6be Minor change to key in upload.php 2021-05-16 00:51:51 -07:00
Retro_Guy 483951d74c Use sitekey for input verification instead of admin key 2021-05-15 01:51:39 -07:00
Retro_Guy db4b2b4e89 Add file upload/download features 2021-05-13 02:24:54 -07:00