Commit Graph

360 Commits

Author SHA1 Message Date
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
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 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 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 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 99f95d6c2b Check if user exists before allowing encrypt post to user 2021-03-29 23:48:22 -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 a70b2c5f0e Sort body search results by rank properly 2021-03-15 02:00:05 -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 e7043d43ae Change default in search.php to Body if using article db 2021-03-11 21:34:53 -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 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 953b203226 Some changes to use -overview less in favor of .db3 2021-02-18 22:10:43 -07:00
Retro_Guy 73f9f7349b Add 'UNIQUE' to msgid in databases 2021-02-16 23:49:46 -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 74c02675ab Avoid trying to use socks server if ['socks_host'] doesn't exist 2021-01-28 19:33:47 -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 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 e2533d7df0 Try to make search.php look consistent between chrome and firefox 2021-01-21 16:58:52 -07:00
Retro_Guy 6f126108c1 Make sure overboard.php works with tradspool 2021-01-21 01:25:05 -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 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 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 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 a865077390 Update tail.inc to reflect current version number 2020-12-18 19:50:58 -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 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 4cbf15ab90 Fix auth for Synchronet servers after config changes 2020-12-04 21:46:12 -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 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 6b04dbec83 Add key verification to password auth for setup.php 2020-11-28 22:45:03 -07:00
Retro_Guy c2092e5f41 Initial commit 2020-11-28 17:55:31 -07:00