Commit Graph

517 Commits

Author SHA1 Message Date
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 da6a4f5042 Check that mail sent with @domain is not our own domain. If it is, strip it. 2023-08-11 07:46:19 -07:00
Retro_Guy e908f8676f Minor fixes in mail.php. 2023-08-11 06:00:41 -07:00
Retro_Guy d09aac728a Move failed bbsmail files as necessary. 2023-08-10 15:51:43 -07:00
Retro_Guy 82b81ea123 Fix issue with usernames in keys and key data. 2023-08-10 10:09:19 -07:00
Retro_Guy 5e699cae94 Minor mods for interBBS Mail. 2023-08-10 06:22:26 -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 4b6068d906 Fix typo in spoolnews.php. 2023-08-08 07:22:26 -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 000be193b9 Fix expire.php to skip non-group lines in group list. 2023-08-06 09:24:29 -07:00
Retro_Guy 11a1ab9528 InterBBS Mail complete. Ready for heavy testing. 2023-08-05 12:36:02 -07:00
Retro_Guy 458ed6d9c5 Import incoming mail into user mail database. 2023-08-05 08:47:28 -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 4449d48b5a Send mail to admin when new php key added. 2023-07-30 18:40:54 -07:00
Retro_Guy 5e55fdc7f3 More logging cleanup in expire.php. Some Mail updates. 2023-07-30 08:59:09 -07:00
Retro_Guy fdce46d15f Move gpg public key to /pubkey instead of /tmp. 2023-07-29 13:29:00 -07:00
Retro_Guy 221004cc2e Clean up expire.php and add some console logging. 2023-07-29 11:34:09 -07:00
Retro_Guy 9737f0e8ea Minor fixes to send and spoolnews. Continue work on Mail features. 2023-07-29 10:00:27 -07:00
Retro_Guy 9f834f72f1 Add notes in gpg.conf about NoCeM. 2023-07-26 16:30:24 -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 15539985b6 Modify spoolnews.php to use overview db3 instead of overview flat file to determine . 2023-07-26 12:00:14 -07:00
Retro_Guy af642b5d29 Use gpg.conf to configure GNUPGHOME for nocem.php. 2023-07-24 10:57:22 -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 c6dba01ab1 Avoid creating remote group file for local only groups. 2023-07-23 12:36:52 -07:00
Retro_Guy f00596a520 Update rslight-lib.php to separate tradspool and sqlite better, and return more informative response to posting. 2023-07-23 09:13:42 -07:00
Retro_Guy 1b8f31fe34 Fix possible fatal article number error in 1839remote_groupfile. 2023-07-18 09:15:24 -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 6d249a1144 Add 30 character limit to usernames in register.php. 2023-07-14 12:58:25 -07:00
Retro_Guy 0ca7c4bbb9 Fix misspelling of PDOException in newsportal.php. 2023-07-13 10:20:58 -07:00
Retro_Guy 0dfe8d162e Standardize view for logged in features headers. 2023-07-13 09:17:38 -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 4fc6bd5090 Remove duplicate function from rslight-lib.php. 2023-07-11 12:55:34 -07:00
Retro_Guy 1d6042796d Cleanup undefined vars in search.php. 2023-07-10 13:38:45 -07:00
Retro_Guy ac5d85ef2f Fix some ssl bugs for letsencrypt. 2023-07-10 11:20:08 -07:00
Retro_Guy 3c100839eb Change version to 0.8.5. 2023-07-10 07:45:38 -07:00
Retro_Guy eae7143228 Combine user login for mail, files and user. 2023-07-09 13:10:59 -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
Retro_Guy d56a2f1564 Set in config.inc.php in scripts dir. 2023-07-09 09:35:30 -07:00
Retro_Guy d5dd865677 Revert "* upload.php now checks for user login instead of prompting for a login"
This reverts commit 271ca2ead3.
2023-07-08 12:49:44 -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
tomo 271ca2ead3 * upload.php now checks for user login instead of prompting for a login 2023-07-07 12:48:29 -07:00
tomo 1f7be9db16 * Added login failure output. 2023-07-07 12:47:42 -07:00
tomo 2646e652a7 * bug fix: if the no_verify field was blank, e-mail verifications would not go out.
* added option to turn on PHPMailer debug mode
2023-07-07 12:46:55 -07:00
tomo 532d22a495 * fixed bracket use for variable $ssltime 2023-07-07 12:44:10 -07:00
tomo 213fe4fec4 * Used freeBSD install script as base, and modified it to use macOS-style directories. Tested and working with macOS 10.14.x 2023-07-07 12:42:41 -07:00
Retro_Guy a2dfffbd7c Restrict XOVER to in spoolnews.php. 2023-07-01 10:44:32 -07:00
Retro_Guy 2f842a5dc9 Immediately delete articles in expire.php. 2023-06-30 09:50:51 -07:00
Retro_Guy 13c5bb1551 Trim whitespace from username to avoid bypassing rate limits. 2023-06-25 09:15:56 -07:00
Retro_Guy 2dc4245b54 Fix duplicate data in snippets in rslight-lib.php. 2023-06-25 09:07:36 -07:00
Retro_Guy 27114f5b90 Mod spoolnews.php to accept reply from FMS when xover command is not correct. 2023-06-23 15:21:40 -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 f8953949d3 Fix some typos. 2023-06-01 09:17:10 -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 c50d2d5bb6 Remove painful JT theme. 2023-05-29 01:28:17 -07:00
Retro_Guy f2087b8c55 Minor mods to Blue and Metal theme row border colours. 2023-05-29 00:27:12 -07:00
Retro_Guy 4f2920a747 Minor change to wording in import-db3.php help. 2023-05-28 21:53:20 -07:00
Retro_Guy 0035debe45 List version to 0.8.3. 2023-05-28 09:35:18 -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 182aabfc42 Add new theme and change default. 2023-05-21 06:10:53 -07:00
Retro_Guy 56214f2bd7 Remove outgoing spool files for local groups. 2023-05-16 15:40:04 -07:00
Retro_Guy ba92f8dd2f Make new mail notification more obvious and cleanup rslight-lib.php 2023-05-16 15:28:04 -07:00
Retro_Guy 49a15058f3 Delete zip archive. 2023-05-15 12:38:50 -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 1f2d6fa949 Fix title in 'common' scripts. 2023-05-14 20:07:01 -07:00
Retro_Guy 705cd2307f More minor code cleanup. 2023-05-14 19:41:08 -07:00
Retro_Guy a8c373ba12 Use 'null' instead of blank for some not set 'POST' variables. 2023-05-14 19:14:55 -07:00
Retro_Guy 5b7d025126 Continue after finding duplicate msgid in spoolnews.php. 2023-05-14 17:56:44 -07:00
Retro_Guy cc73c642b2 Fix some warnings and fix title for some internal links pages. 2023-05-14 17:38:30 -07:00
Retro_Guy 798eadcebb Clean up some warnings. 2023-05-14 11:37:10 -07:00
Retro_Guy 09deebae1a Verify overview exists before reading for XOVER in rslight-lib.php. 2023-05-13 12:33:55 -07:00
Retro_Guy 8cb989a440 Improve spoolnews.php to handle local groups in non-local section. 2023-05-13 10:10:09 -07:00
Retro_Guy 7f3bf1b416 Fix creation of overview for local group. 2023-05-13 00:05:29 -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 1bf1353c63 Remove copied comments from import-tradspool-articles.php. 2023-05-12 12:53:48 -07:00
Retro_Guy 3b8e874378 Add script to manually insert articles from tradspool. 2023-05-12 11:08:09 -07:00
Retro_Guy 700686e457 Minor fix in rslight-lib.php, and rename letsencrypt.inc.php to avoid broken installs. 2023-05-08 10:56:11 -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 3dc512b656 Minor wording change in help for import-db3.php 2023-05-02 11:13:29 -07:00
Retro_Guy 653be9a31e Set as array, not stdClass 2023-05-02 10:42:03 -07:00
Retro_Guy 3b8306c3ab Update import-db3.php 2023-05-02 10:39:48 -07:00
Retro_Guy 55f8e28264 Return import feature to import-db3.php 2023-05-01 20:10:24 -07:00
Retro_Guy f95828bb8c Cleanup lastarticleinfo 2023-05-01 20:03:57 -07:00
Retro_Guy 2a3ba439ac Notify user of new mail in tagline to make it more obvious (user must be logged in). 2023-04-29 18:45:59 -07:00
Retro_Guy 564a333791 Add NoCeM scripts in tools dir 2023-04-29 10:39:21 -07:00
Retro_Guy 8ccc56c73e Fix USER/PASS case in rslight-lib.php 2023-04-27 21:22:26 -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 42d8a4bc18 Set version to 0.8.0 2023-04-14 13:11:01 -07:00
Retro_Guy 0683f8ddd0 First mods for php8.2. 2023-04-13 18:52:30 -07:00
Retro_Guy 832316a13e Monitor SSL changes to keep up to date 2023-03-18 22:07:34 +00:00
Retro_Guy 87d441f7e8 More cleanup in rslight-lib.php for ssl 2023-01-09 06:47:51 +00:00
Retro_Guy 8cc1e4388c Some cleanup for SSL in rslight-lib.php. 2023-01-09 04:39:38 +00:00
Retro_Guy fba529ef91 Add easy config for letsencrypt 2023-01-08 17:12:27 +00: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 b5dea3e2cc Add 'site_shorname' to config for inter-site communication. 2022-12-11 23:34:07 +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 5e22a45cb7 Fix typo in spoolnews.php # to $ 2022-12-07 07:15:52 +00:00
Retro_Guy 4eabf3b9f3 Force spoolnews.php to give up when problem with connection to upstream server. 2022-12-06 19:24:19 +00:00
Retro_Guy 7428ac3153 Some cleanup and mods to send.php (keep outgoing dir clean) 2022-12-06 19:17:46 +00:00
Retro_Guy dbaee5338a Temporary? fix for send.php if it hangs, which it does 2022-12-04 04:21:17 +00:00
Retro_Guy 96aab09612 Change tor git link to tor v3 2022-11-26 02:37:19 +00:00
Retro_Guy 09dfb25b9d Fix 'version' for install/upgrade 2022-11-26 01:48:59 +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 468fd105a3 Remove space from call in send.php 2022-11-21 20:07:16 +00:00
Retro_Guy be1cc6c141 Validate email domain on registration. 2022-11-10 07:19:45 +00:00
Retro_Guy ab832aec75 Add some character restrictions to new usernames. 2022-11-05 19:26:52 +00:00
Retro_Guy 9c0addc9dd Minor security improvements to changepw.php. 2022-11-02 04:33:17 +00:00
Retro_Guy c574dd4c66 More cleanup and improvements in email verification. 2022-11-02 03:46:56 +00:00
Retro_Guy 229cac0de1 Make register.php a bit more robust. This is not complete but works fine. 2022-10-30 03:37:15 +00:00
Retro_Guy da4766b350 Remove duplicate function in rslight-lib.php and allow symlink in spoolnews to rocksolid. 2022-10-30 02:03:01 +00:00
Retro_Guy b56e94d3b7 Fix hardcoded username in register.php 2022-08-23 08:34:13 +01:00
Retro_Guy c2b2369b23 Revert 01e33ae591 until clean up duplicate functions in nntp scripts with lib scripts 2022-08-02 07:44:08 +01: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 01e33ae591 Remove messages from newsportal immediately in nocem.php 2022-07-19 08:00:49 +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