Commit Graph

304 Commits

Author SHA1 Message Date
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 93d890cf59 Change some colors in style-colors.css. Looks better? Maybe. 2021-05-24 03:45:48 -07:00
Retro_Guy 01154ca36e Add article count to user count in count_users.php 2021-05-24 03:04:39 -07:00
Retro_Guy d00415d13f Identify log files in dir, not array for rotation 2021-05-24 02:18:03 -07:00
Retro_Guy 2df752bfb1 ec635be396 got lost. Committing again 2021-05-24 02:04:13 -07:00
Retro_Guy 2f2a45b967 Only check last for each group in overboard.php 2021-05-22 17:09:45 -07:00
Retro_Guy b42b0a71df Add access.log to log rotation 2021-05-16 01:26:43 -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
Retro_Guy d834f7757d Change load rate for throttling a user/spider if necessary 2021-05-03 03:00:40 -07:00
Retro_Guy 1dda180752 Add number of users online display 2021-05-03 02:11:37 -07:00
Retro_Guy d12f36e1dd Display number of users in thread.php 2021-04-29 16:16:32 -07:00
Retro_Guy ec635be396 Increment article number before leaving spoolnews.php if hit limit 2021-04-27 21:12:10 -07:00
Retro_Guy ee86c8209c Clean up rslight-lib a little. Fix finding msg by msgid 2021-04-19 22:14:21 -07:00
Retro_Guy f90fcbded2 Include Anonymous when enforcing posting rate limit 2021-04-17 10:31:01 -07:00
Retro_Guy 3b21c05889 Change link on page after posting to return to previous location 2021-04-16 18:23:13 -07:00
Retro_Guy 5c7c5e2396 Use config option email_tail to define msgid domain 2021-04-15 12:25:23 -07:00
Retro_Guy 6522c37d84 Remove newsportal group cache when importing or repairing a group 2021-04-08 19:22:49 -07:00
Retro_Guy 5932d4a9c6 Pull name from db if enabled in overboard.php and remove quotes in display 2021-04-06 01:39:40 -07:00
Retro_Guy a8d52c97c6 Change onion link in nodelist.php to v3 2021-04-04 23:58:17 -07:00
Retro_Guy d3edebe03f Updated default nodelist.php file 2021-04-04 23:30:43 -07:00
Retro_Guy ff97f617df Get all last article info from database, not overview flat file 2021-04-03 02:10:20 -07:00
Retro_Guy e101fdd81b Get last article date/name from lastarticleinfo-> instead of overview 2021-04-03 00:47:48 -07:00
Retro_Guy 283e851d23 Check section also in post.php if group has changed sections 2021-04-01 23:47:24 -07:00
Retro_Guy 5f531dc6da Rewrite url if group changes section in thread.php and article-flat.php 2021-04-01 23:23:14 -07:00
Retro_Guy c1111c155d Find group in any section to avoid error when groups are moved 2021-04-01 18:36:14 -07:00
Retro_Guy 9541449d56 Use config_dir groups file to pull articles, not local_ 2021-04-01 03:02:47 -07:00
Retro_Guy 99f95d6c2b Check if user exists before allowing encrypt post to user 2021-03-29 23:48:22 -07:00
Retro_Guy fdf56da24f Very minor logging change in rslight-lib.php 2021-03-28 03:15:57 -07:00
Retro_Guy 0ff1dfb4d9 Don't let zero mean false in expire.php 2021-03-27 02:58:07 -07:00
Retro_Guy 1e7d9fabdc Minor color changes in style.css and style-colors.css 2021-03-24 19:12:08 -07:00
Retro_Guy 829e357e0e Properly handle multibyte strings in header search 2021-03-24 19:10:49 -07:00
Retro_Guy 668ed3b85f Search headers using overview db for speed 2021-03-23 03:16:50 -07:00
Retro_Guy be5555a010 Make displaying domain in footer optional 2021-03-20 19:52:56 -07:00
Retro_Guy 1d2c080577 Decode search snippet before display 2021-03-19 02:34:38 -07:00
Retro_Guy 1cd178646b Remove \' from search terms 2021-03-19 02:10:55 -07:00
Retro_Guy b95dcb5a00 Properly check charset when posting with newsreader via SSL 2021-03-17 18:28:41 -07:00
Retro_Guy 696cbd6f17 Sort header search results by date 2021-03-17 03:06:37 -07:00
Retro_Guy 51d3f3b603 Add snippets to all search results 2021-03-17 02:43:31 -07:00
Retro_Guy 22a74cf194 Add variable to change snippet_size in search.php 2021-03-17 01:39:45 -07:00
Retro_Guy f42376129f Add instructions to import all .db3 in import-db3.php 2021-03-15 02:56:01 -07:00
Retro_Guy a70b2c5f0e Sort body search results by rank properly 2021-03-15 02:00:05 -07:00
Retro_Guy f5178de66b Don't try to use phpmailer class if verify_email disabled 2021-03-15 01:32:19 -07:00
Retro_Guy 80f1d1b5c1 Handle multibyte characters better in search results 2021-03-13 04:50:02 -07:00
Retro_Guy b8b16adc6d Allow quoted search query 2021-03-13 04:42:49 -07:00
Retro_Guy b26d49980e Change some defaults in rslight.inc.php 2021-03-13 03:45:24 -07:00
Retro_Guy 9e1885b024 Add link in thread.php to search specific group 2021-03-12 00:56:35 -07:00
Retro_Guy f47d451a48 Protect sqlite barewords from quoting in search 2021-03-11 23:11:35 -07:00
Retro_Guy 39889ea727 Quote everything in search terms for body search 2021-03-11 23:03:17 -07:00
Retro_Guy 8c716974d0 Change color for highlighted search terms in style.css 2021-03-11 22:12:22 -07:00
Retro_Guy e7043d43ae Change default in search.php to Body if using article db 2021-03-11 21:34:53 -07:00
Retro_Guy a9743d76e6 Don't create backup of articles.db3 in import-db3.php 2021-03-11 19:06:34 -07:00
Retro_Guy 345cf56d70 Clean up snippet output for html from search.php 2021-03-11 18:11:22 -07:00
Retro_Guy c06a916037 Add body search feature per section 2021-03-10 23:55:01 -07:00
Retro_Guy c6400cd791 Create search data when local insert of post also 2021-03-08 01:43:06 -07:00
Retro_Guy ae3db9cec1 More cleanup in overboard.php 2021-03-06 19:06:18 -07:00
Retro_Guy cc4aaea153 Modified regex to check for quote in overboard.php 2021-03-06 01:54:38 -07:00
Retro_Guy f5a17c792a Overboard to check for quote in first 5 chars of line 2021-03-05 03:39:30 -07:00
Retro_Guy 9618c729d3 Strip duplicate messages from threads in newsportal 2021-02-27 04:14:26 -07:00
Retro_Guy c107f24d3a Add header links to posting page 2021-02-24 01:52:20 -07:00
Retro_Guy 5d97330e19 Allow nntp.disable semaphore to exit nntp process 2021-02-22 18:51:16 -07:00
Retro_Guy 9a77716efe rslight.inc.php was missing a comma 2021-02-22 16:07:06 -07:00
Retro_Guy 67f06c4acf Increment article number if writing to group with no local_groups.txt entry 2021-02-22 01:47:49 -07:00
Retro_Guy d841469930 Handle several possible errors more gracefully in newsportal.php 2021-02-20 23:36:50 -07:00
Retro_Guy e15a2cf97d Remove filemtime checking in overboard to work properly with article_database 2021-02-20 23:08:17 -07:00
Retro_Guy f4fa4a855d More cleanup of import-db3.php 2021-02-20 16:55:48 -07:00
Retro_Guy 165c8f0a31 Clean up import-db3.php. Avoid duplicates 2021-02-19 00:16:40 -07:00
Retro_Guy 953b203226 Some changes to use -overview less in favor of .db3 2021-02-18 22:10:43 -07:00
Retro_Guy 26a810fdeb Add script to import a group from a rslight articles.db3 file 2021-02-16 23:56:55 -07:00
Retro_Guy 73f9f7349b Add 'UNIQUE' to msgid in databases 2021-02-16 23:49:46 -07:00
Retro_Guy 2ad74eac12 Set default in synchronet.conf to disable 2021-02-13 18:53:46 -07:00
Retro_Guy bb0d1df783 Add example config file template for new sections 2021-02-13 17:58:37 -07:00
Retro_Guy 29528981d4 Clean up Synchronet account creation 2021-02-13 17:54:31 -07:00
Retro_Guy 5264b38bd0 Make sure slash is in path in nocem.php if not in config.inc.php 2021-02-11 18:04:13 -07:00
Retro_Guy efbdc422c6 Make sure article path is created if first post is local 2021-02-09 22:34:48 -07:00
Retro_Guy 2962cd1456 Fix anon posting bug allowing posting when disabled 2021-02-09 22:18:28 -07:00
Retro_Guy 085c6378e3 Fix no '$' in variable name in newsportal.php 2021-02-06 17:05:26 -07:00
Retro_Guy 673ceec47e Revert "Add support to sync via http proxy"
This reverts commit c5f6f41612.
2021-02-06 04:22:45 -07:00
Retro_Guy c5f6f41612 Add support to sync via http proxy 2021-02-04 20:01:58 -07:00
Retro_Guy 71e4c638aa Update nodelist file 2021-02-02 02:14:36 -07:00
Retro_Guy 88a8433f6b Auto detect phpmailer version removing need to configure 2021-02-01 02:12:25 -07:00
Retro_Guy 74c02675ab Avoid trying to use socks server if ['socks_host'] doesn't exist 2021-01-28 19:33:47 -07:00
Retro_Guy a005cc597c Remove any tabs from incoming article headers 2021-01-28 19:07:29 -07:00
Retro_Guy 999eb93d06 Avoid displaying broken articles in np 2021-01-28 19:05:31 -07:00
Retro_Guy efa401bc0e Remove articles from np database if not available 2021-01-27 23:10:32 -07:00
Retro_Guy 0cca82eb1a Enable spam checking incoming (peer/newsreader) articles 2021-01-27 20:06:54 -07:00
Retro_Guy 7d6b551cb4 Add ability to peer via socks4a (works for tor) 2021-01-27 17:17:50 -07:00
Retro_Guy 66c05e9f1f Return proper 430 if artice requested does not exist 2021-01-27 16:24:07 -07:00
Retro_Guy 251f492cae Remove dot(.) before displaying articles since recent mods 2021-01-23 03:09:50 -07:00
Retro_Guy 77350f50d6 Pull articles directly from db or spool if exist, else request from server 2021-01-22 18:04:37 -07:00
Retro_Guy aef9df41a8 Clean up eols in xover output and add 'open_clients' config option 2021-01-21 20:56:24 -07:00
Retro_Guy e790a1295b Change nntp server timeout to 300 seconds 2021-01-21 18:49:17 -07:00
Retro_Guy f495caa2fb Fix registration forms to display somewhat better in chrome 2021-01-21 18:26:30 -07:00
Retro_Guy e2533d7df0 Try to make search.php look consistent between chrome and firefox 2021-01-21 16:58:52 -07:00
Retro_Guy 78bdd61106 Add config option to enable/disable database or tradspool 2021-01-21 02:05:05 -07:00
Retro_Guy 6f126108c1 Make sure overboard.php works with tradspool 2021-01-21 01:25:05 -07:00
Retro_Guy 90db596b9d Set max initial articles back to 1000 in spoolnews.php 2021-01-20 23:16:29 -07:00
Retro_Guy 8192068592 Add (name) index to articles-overview.db3 2021-01-20 22:03:28 -07:00
Retro_Guy 34ed3f90ce Add sqlite support for articles spool 2021-01-20 15:54:47 -07:00
Retro_Guy 12c7293708 Check only if np spool exists, not size 2021-01-13 15:58:19 -07:00
Retro_Guy ad4168ea7b Add thread cache file locking in thread.inc.php 2021-01-09 01:31:51 -07:00
Retro_Guy 4d3645b33c Add interval timers to thread update and expire 2021-01-08 18:41:29 -07:00
Retro_Guy b25d8a0c9f Fix incorrect checking for high watermark in spoolnews.php 2021-01-07 22:48:56 -07:00
Retro_Guy b9045fd227 Remove unused function from rslight-lib.php 2021-01-07 21:42:45 -07:00
Retro_Guy 4ba9a1f573 Trim expired articles in np instead of rebuilding group 2021-01-07 20:32:50 -07:00
Retro_Guy 0dfad99982 Minor wording change in log entry in article-flat.php 2021-01-07 18:41:43 -07:00
Retro_Guy 92c932cf75 Avoid reusing deleted article numbers when writing new articles 2021-01-05 00:04:05 -07:00
Retro_Guy 7545c5192a Add rate limiting requests in article-flat.php 2021-01-04 02:07:48 -07:00
Retro_Guy 8f30c8e585 Change links in footer to git targets for clearnet and tor 2020-12-25 21:50:49 -07:00
Retro_Guy bc9d355916 Add LAST NEXT and article pointer support to server (rslight-lib.php) 2020-12-25 21:39:50 -07:00
Retro_Guy 4ef7a51070 enable thread_load_newsserver in spoolnews.php 2020-12-25 16:24:34 -07:00
Retro_Guy ac010e699c Add expire.log to log rotation in cron.php 2020-12-25 01:46:13 -07:00
Retro_Guy 48ef440ea2 Add session_cache_limiter mod to search.php to allow going back 2020-12-24 17:18:35 -07:00
Retro_Guy 682e508200 Remove section specific wording in search.php 2020-12-24 16:13:27 -07:00
Retro_Guy 136c984fa9 Combine each section db into one .db3 2020-12-24 02:36:17 -07:00
Retro_Guy 19143de4d7 Fix search.php to more properly handle multibyte strings 2020-12-23 04:11:26 -07:00
Retro_Guy f3f9923c5d Change name search links to search.php and populate text box with name 2020-12-19 02:43:25 -07:00
Retro_Guy be067f78b9 Improved article counting for group and listgroup commands 2020-12-18 23:29:46 -07:00
Retro_Guy 0ee48853a2 Use overview to provide news server article numbers info 2020-12-18 22:22:03 -07:00
Retro_Guy a865077390 Update tail.inc to reflect current version number 2020-12-18 19:50:58 -07:00
Retro_Guy ce571450e9 Remove writing to overview file, only db now 2020-12-18 18:22:42 -07:00
Retro_Guy d2d4588e13 Add per group expire settings and use db for expire 2020-12-18 18:14:39 -07:00
Retro_Guy 0e6fdb9b1c Clean up overboard.php to remove non-db code 2020-12-16 23:41:06 -07:00
Retro_Guy abd6be4db2 Limit overboard db query by age 2020-12-16 23:26:09 -07:00
Retro_Guy 45775395e1 Add db support to nocem.php and clean up var 2020-12-15 02:12:06 -07:00
Retro_Guy 364ae19e85 Add writing to overdatabase in rslight-lib.php 2020-12-13 02:48:16 -07:00
Retro_Guy eb769fec17 Introduce modified files using database support and remove result.php 2020-12-11 21:16:13 -07:00
Retro_Guy df2a1967a0 echo all html in section(s) head.inc using php 2020-12-08 01:48:13 -07:00
Retro_Guy dd339edafd Sorted default groups.txt file 2020-12-05 00:52:28 -07:00
Retro_Guy 97c438bbe0 Change default tac value from tail -r to tac in dist config file 2020-12-05 00:30:47 -07:00
Retro_Guy 4cbf15ab90 Fix auth for Synchronet servers after config changes 2020-12-04 21:46:12 -07:00
Retro_Guy e9e2f7b5a6 Add upgrade scripts and add creating user(s,config) dirs in install scripts 2020-12-04 19:41:01 -07:00
Retro_Guy 2bc087d7e9 Another commit for rate limiting (must be tired) 2020-12-03 23:12:04 -07:00
Retro_Guy 6ac6b2ad23 Revert "Proper commit for adding rate limiting per user" 2020-12-03 23:10:01 -07:00
Retro_Guy 3c9435a07a Proper commit for adding rate limiting per user 2020-12-03 23:08:19 -07:00
Retro_Guy 39c1b00908 Revert "Added rate limiting per user (overrides site config)" 2020-12-03 23:06:36 -07:00
Retro_Guy a3aa479f3d Added rate limiting per user (overrides site config) 2020-12-03 22:53:05 -07:00
Retro_Guy 0e4ebd83f9 Change default group to hide in overview in config file 2020-12-02 21:04:27 -07:00
Retro_Guy 3b11ac4210 Set default for remote_ssl properly in config 2020-12-02 19:36:56 -07:00
Retro_Guy d9cb41fb3c Move incorrectly placed script (wrong dir) 2020-12-02 19:03:21 -07:00
Retro_Guy 219960693f Add posting rate limiting and config for same 2020-12-02 19:00:17 -07:00
Retro_Guy 771daeffdf Fix bug creating verified user accounts 2020-12-02 01:50:39 -07:00
Retro_Guy 5ad5e1f35e Remove hardcoded config dir in index.php 2020-11-28 22:58:43 -07:00
Retro_Guy 6b04dbec83 Add key verification to password auth for setup.php 2020-11-28 22:45:03 -07:00
Retro_Guy 05d4f7acd6 Update README.md 2020-11-28 18:43:16 -07:00
Retro_Guy 9a89ee42fc Set proper permissions for rslight.inc.php in install scripts 2020-11-28 18:37:07 -07:00
Retro_Guy 098de63c2e Copy README.md and LICENSE.md to root 2020-11-28 18:23:42 -07:00
Retro_Guy 8b40e729a3 Remove hardcoded domain from rsusers.php and remove duplicate code from phpmailer.inc.php 2020-11-28 18:17:49 -07:00
Retro_Guy c2092e5f41 Initial commit 2020-11-28 17:55:31 -07:00