Commit Graph

276 Commits

Author SHA1 Message Date
9fd8264c3f Rework TIC processing and added test cases 2023-11-22 15:58:00 +11:00
5b24ff944f Change System::match to return a single item regardless of role 2023-11-22 13:59:19 +11:00
3221d7f679 Show packet info when viewing echomail 2023-11-22 13:59:19 +11:00
f639e3ffab New attempt to making sure echomails have origin and senders path/seenby details (rework of #45d7823) 2023-11-22 13:59:19 +11:00
4a870b6587 Improvements to echomail path handling, ensuring sender and pktsrc are in the path 2023-11-22 10:40:28 +11:00
250e584c03 Routed Netmails should still have the netmail dest address, not the hub's address 2023-11-15 22:56:26 +11:00
3b99c409e0 When a netmail has a msgid, dont overwrite it 2023-11-15 11:19:14 +11:00
85243d128e Fixes for TIC processing and not identifying path/seenby correctly 2023-10-29 21:28:29 +11:00
c8ab8d3db3 Exported echomail should have the Hub as the OrigNet/OrigNode 2023-10-09 21:54:46 +11:00
0fcb628c11 Non functional cosmetic updates 2023-10-04 15:49:44 +11:00
c7e707c143 Attempt to catch errors creating address for dovenet mail 2023-10-04 12:17:16 +11:00
2a50a1d795 When we dont have session() details return a blank string instead of null 2023-10-03 09:17:30 +11:00
ff04de52b5 Rework TIC processing to use Storage::disk(). Implemented handling of replaces and files that already exist 2023-09-23 22:40:17 +10:00
2ae24b9955 Move fido configuation items into fido namespace. If keeping packets move them into a date aligned subdir 2023-09-22 15:35:08 +10:00
612efda945 Process packet seenby/path/via lines when saving echomail/netmail 2023-09-20 21:37:18 +10:00
7fedf88d8c Hopefully a fix to stop clrghouz creating systems called Discovered System 2023-09-19 22:16:25 +10:00
11f9adf11a Fix seenby sort order, with flatten domains 2023-09-19 17:28:25 +10:00
3a35bce9e7 Changing System::match() to not include NC, some debugging updates 2023-09-19 11:29:08 +10:00
5e67be5ba1 Alert message for echomails with security violations is using wrong address 2023-09-19 11:29:08 +10:00
4343774079 Dont abort a session when there is an invalid FTN presented 2023-09-19 11:29:08 +10:00
cc04ddd7b3 More work to ensure messages from a node are valid for the domain, and fix domain flatten to check for zone if one is supplied 2023-09-17 15:54:47 +10:00
708d9a9f67 More work to decommission rogue_path 2023-09-16 21:39:34 +10:00
c1d6d48a3c Dont enable rogue_path - it looses our true path for messages - instead create addresses in the path we dont know about. 2023-09-15 16:59:46 +10:00
6e133770fc An enhancement to ensure that flatten domains gets the correct FTN 2023-09-15 15:20:19 +10:00
e553bb4ce6 Enable merging address in a domain that has flatten set 2023-09-11 23:25:00 +10:00
673c444acd Implement 2D domain processing - mainly for fidonet 2023-09-10 22:48:12 +10:00
67c1be209d Logging changes when processing TIC files 2023-09-09 00:10:45 +10:00
6498e364fb More TIC processing fixes 2023-09-08 21:04:24 +10:00
1e17aed170 Debugging to try and catch address creation exception (because of two active addresses) 2023-09-04 14:15:53 +12:00
74a56d1e17 Now correctly showing packet receive time, and sending Notifications based on the packet address, not the node address 2023-08-06 13:43:10 +10:00
fb65c645cb Fix incorrect assigning of service ports in #ccafc6 2023-08-04 17:01:48 +10:00
df541984ab On domain list, also include echoareas without messages. 2023-08-04 10:50:41 +10:00
f281575b15 Enable netmail forwarding for users that receive messages directed at clrghouz 2023-08-03 17:31:42 +10:00
929d25c737 Fix for another address loop when finding a parent 2023-08-01 16:49:43 +10:00
ccafc6866a Removed some old consts 2023-07-31 19:15:12 +10:00
7ca6fdc195 Add total messages to domain view, and improve echoarea stats query 2023-07-30 20:16:58 +10:00
3f7f04c382 Detect when we dont have an address in a domain, and pick the first domain address even if we are not in the zone. 2023-07-30 12:11:08 +10:00
e28e17866e Fix for address <-> children loops 2023-07-30 11:49:21 +10:00
cd140971e2 Implemented echoarea/filearea security 2023-07-29 13:17:36 +10:00
f1ccca25ea Change public to show on echo/file areas to enable limiting whats shown in the activity graph 2023-07-28 13:22:39 +10:00
4e44e2e266 Added system polling 2023-07-26 19:44:07 +10:00
17fe7e910d Multiple enhancements to interactive messages, moved messages to Notifications, send netmail back when invalid packet password 2023-07-23 20:21:02 +10:00
8d9bde9692 Fix messages to points, and fix netmail coming from systems which dont include an Origin line 2023-07-20 22:16:38 +10:00
c1ec4eff36 Optimised our sending and receiving of items 2023-07-18 23:00:13 +10:00
a3302b4012 Complete of logging received and sent packet names, and display them in the web ui for each node 2023-07-15 22:10:05 +10:00
61ab0614b6 Correctly storing netmail flags (intransit, local, recv) with senders ID and packet name 2023-07-15 10:46:19 +10:00
ccdce6bb62 Move mailer details into a separate table 2023-07-07 23:59:04 +10:00
30c11956dd Remove some debugging left from previous commits, fix Address::scopeTrashed(), change display of BBS list 2023-07-07 22:42:02 +10:00
7073fece94 Fix showing packet dump on view packet, change Address::active() to not take into account zone/domain 2023-07-06 15:50:46 +10:00
9762b8c2f4 Fix call to determine if a service is active 2023-07-06 11:55:54 +10:00
d6aafa4322 Changes to phone, add Active/Archive to echomail list for nets 2023-07-06 11:55:54 +10:00
0f7a42c503 Enabled configuration of EMSI tunables in setup 2023-07-06 09:20:33 +10:00
c3d4c1fc31 Enable full setup on the setup form 2023-07-05 22:58:24 +10:00
6f298d778f Some BINKP optimisation, implemented crypt, implemented receiving compressed transfers 2023-07-05 19:38:50 +10:00
ad36da0bb1 Code cleanup, no functional changes 2023-07-04 11:33:28 +10:00
b70a36003a Remove Passport and replace with Sanctum, upgrade framework to Laravel 10 2023-06-26 21:50:40 +12:00
75549590fc Enable systems to configure their packet type 2023-06-26 21:24:24 +12:00
a26f61d75d Define and detect different packet types (2,2e,2+,2.2) 2023-06-26 21:24:24 +12:00
fdbc58856b Enabled akas() method to only show current active akas. Should fix the link register netmail from polling an invalid FTN id. 2023-06-23 21:36:30 +10:00
b8534d8598 Make filename unique for each area, rename column to name/lname for files 2023-06-23 17:33:47 +10:00
0eca20ebdd Fix packet:info command when using system, fix adding clrghouz to path for echomail 2023-06-23 16:29:56 +10:00
b1b86ca04a Implemented file sending during BINKP and EMSI sessions 2023-06-22 22:13:47 +10:00
58341db0fb Show netmails to admins, record netmail path in the DB 2023-06-18 23:33:26 +10:00
073be20ceb Fix for BBS List 2023-04-22 21:31:09 +10:00
b1d522d8cc Added DNS server 2023-04-22 21:30:30 +10:00
23e8522e1a Performance enhancements for system view 2023-04-15 13:34:08 +10:00
Deon George
d949737608 Fix authentication for originating EMSI session with known systems 2023-02-11 23:06:13 +11:00
Deon George
63e3397aee Add packet name for incoming netmails, dont send back messages to sender for areafix messages 2023-01-24 23:16:11 +11:00
Deon George
eca9f257eb Only show Network Admin if the user is a ZC of a network 2022-12-11 21:46:08 +11:00
Deon George
14349adeab Limit to max messages in a packet, currently hard coded to 50 2022-12-03 01:25:44 +11:00
Deon George
170f5c87ed Log systems polling 2022-12-03 01:25:44 +11:00
Deon George
d5d4a0d781 Auto create Domains/Zones as systems present their AKAs to us 2022-12-03 01:25:44 +11:00
Deon George
c034ce6cd4 Added FTN list, System View 2022-11-25 17:44:03 +07:00
Deon George
289caa8225 Added address:purge, changing active_addresses index 2022-11-20 17:52:49 +11:00
Deon George
5957a25044 Enabled address undelete and purge, now showing systems deleted messages 2022-11-19 12:02:13 +11:00
Deon George
9f0fa242e6 When deleting an Address change active to FALSE 2022-11-13 15:17:22 +11:00
Deon George
9721db185b Ensure Echomail is initialised correctly 2022-11-05 10:17:14 +11:00
Deon George
2790381a30 Determine if an inbound file is a nodelist 2022-11-05 10:17:14 +11:00
Deon George
34f289953d Implementation fixes for TIC processing 2022-11-05 10:17:14 +11:00
Deon George
7571a2cd7d Enable moving inbound files to s3 and logging in DB 2022-11-04 17:30:18 +11:00
Deon George
029a8a9d73 Added file areas and TIC processing 2022-11-02 22:01:45 +11:00
Deon George
702c5fb4f2 Indexes for performance improvements, improved FTN regex 2022-11-02 22:01:45 +11:00
Deon George
da85e85774 Cast empty Collections to null, Cast strings to zstd compressed strings, add msg_src to echomails processed, fix duplicate seenbys 2022-11-02 21:20:43 +11:00
Deon George
e8fc75f2e3 Remove OldEchomail since we no longer have the mongo dependancies 2022-10-29 17:42:56 +11:00
Deon George
e6ba03080b Use zstd for domain home pages info, added nunomaduro/laravel-console-summary 2022-10-27 19:16:35 +08:00
Deon George
5745c67538 Refactor the database, in preparation to moving to postgresql 2022-10-23 13:50:08 +11:00
Deon George
8072f7c5a9 Work on registration of existing systems to users 2022-03-20 22:42:11 +11:00
Deon George
6db16712ee Fix passthrough netmail. 2022-02-19 17:03:12 +11:00
Deon George
daba4a78d3 Fix echoarea name is converted to UC, add netmail VIA lines for outgoing netmail 2022-02-17 23:55:37 +11:00
Deon George
12a40a79fb Fix for single encoding error, when only the first message was decoded, some logging for Address objects 2022-02-13 11:27:23 +11:00
Deon George
a05ca1c2a4 Misc bug fixes while testing 2022-02-06 20:40:21 +11:00
Deon George
b65289af9f Enable binding ports for IPv6 2022-02-03 13:23:58 +11:00
Deon George
d660d5a6df Move DomainController::NODE* to Address::NODE*, make role mandatory in the database, change logic so that mail generated by the host comes from a node address. 2022-02-03 13:23:58 +11:00
Deon George
efa7195633 Add DBID back to messages, add path/seen-by to generated messages, other minor cosmetic fixes 2022-01-22 23:08:46 +11:00
Deon George
fe9fbb88b0 Fix packet name sent to remote - now matches packet name stored in DB 2022-01-20 23:25:47 +11:00
Deon George
421cd565bd Enable us to create an outbound packet without updating send details. Determine the send address for packets earlier 2022-01-20 17:54:02 +11:00
Deon George
d930c410dc Remove caching on Zone, fix cockroach cannot do like on integers 2022-01-20 17:51:40 +11:00
Deon George
6f1d47a6ab Fixes to message processing, now that we are using cockroachdb 2022-01-15 17:11:51 +11:00
Deon George
e78e79a8f5 Change sorting on graphs so that date is in date order 2022-01-15 14:58:42 +11:00
Deon George
6b0bf32552 Query optimisations for last_messages and traffic 2022-01-15 14:58:42 +11:00
Deon George
3d6f233c1d Added no_export option to stop a message from being exported when saved. 2022-01-15 14:58:42 +11:00
Deon George
424d6ef39d Switchout DB to CockroachDB 2022-01-15 14:58:41 +11:00
Deon George
afaa7d8bc7 Internal enhancements to system registration and editing 2022-01-05 09:26:42 +11:00
Deon George
fa2ac9a656 Changes to Authorisation for users to edit systems, minor cosmetic fixes and more logging 2021-12-29 13:44:27 +11:00
Deon George
10afd6f3a4
Limit graphic stats to 6 months by default, some performance query improvements 2021-12-03 11:24:23 +11:00
Deon George
3a1c6d55c6 Enable UTF8 encoding to/from as well in messages 2021-12-01 22:45:51 +11:00
Deon George
f1780e61ea Some messages have the origin in the middle of the message - change strpos to strrpos 2021-11-29 21:12:44 +11:00
Deon George
41d36fe86d
User dashboard caching 2021-11-26 17:19:55 +11:00
Deon George
6acc8ee407
Cache some calls to Mongo for performance 2021-11-26 16:58:50 +11:00
Deon George
be886d9e4b
Add query cache, show per echo stats on network page 2021-11-26 16:16:33 +11:00
Deon George
02c23f047c Fix for recording seen-by, add md5 to message body, fix incorrect log of dispatching messages 2021-11-21 16:53:56 +11:00
Deon George
b333d38095 Added in network graph on about screen 2021-11-20 18:00:40 +11:00
Deon George
6f9df005aa Fixes to finding a record when FTN when region_id/host_id have the same value 2021-11-20 11:51:00 +11:00
Deon George
483e35202b Fix for addresses where region_id is set inlieu of host_id, sort system ZC addresses 2021-11-20 11:11:38 +11:00
Deon George
a0db589dc5 Start on user dashboard 2021-10-26 23:19:55 +11:00
Deon George
83e06908b0 Multiple exception bug fixes identified during testing 2021-10-07 23:32:37 +11:00
Deon George
ca666e456a Enable user switching 2021-10-02 10:03:17 +10:00
Deon George
8b8b513ed1 Add kludge to Test responses 2021-09-14 23:14:13 +10:00
Deon George
79e613a811 Allow for origin/tagline/tearline can have UTF8 chars, show # messages in packets 2021-09-12 23:06:17 +10:00
Deon George
fcdde10512 Auto create nodes that are discovered by message packets 2021-09-11 23:32:10 +10:00
Deon George
dbbfe46cb9 Echomail export 2021-09-08 22:07:19 +10:00
Deon George
8306f4c3a3 Start of echomail subscribing 2021-09-06 23:39:48 +10:00
Deon George
97384ce3a0 Fix message path ordering 2021-08-30 00:44:20 +10:00
Deon George
271f066667 Added echomail search and display 2021-08-29 11:48:27 +10:00
Deon George
ba7f9c1c99 Subject contains UTF-8 codes sometimes 2021-08-26 23:46:49 +10:00
Deon George
8c992ad0f9 Enhance nodelist import 2021-08-22 00:20:22 +10:00
Deon George
ad21285a8c
Tagline/tearline presentation is handled in Message::class 2021-08-19 17:24:56 +10:00
Deon George
8685c6407a
Fix ping blank messages 2021-08-19 16:59:12 +10:00
Deon George
5bf612e5b4 Set packed boolean when packing Netmail's is successful 2021-08-16 22:30:34 +10:00
Deon George
628293c741 Enable default zones for 4d systems 2021-08-16 22:26:33 +10:00
Deon George
b8478adecb Catch Netmails that dont generate an exception when converting to a packed message. Make sure we present unique addresses 2021-08-15 19:47:33 +10:00
Deon George
ae96ff9a24 Fix System ZC identification 2021-08-15 16:01:51 +10:00
Deon George
414a10f84e Fix end session report, move address when system is a ZC, show #addresses on systems 2021-08-15 11:42:38 +10:00
Deon George
b9abd17139 Dont process messages from robots 2021-08-15 00:21:04 +10:00
Deon George
4048289cf3 Implemented hide AKA, Minor Node::class changes, other fixes 2021-08-14 16:14:43 +10:00
Deon George
05f387aab7 Assigning session details to ZC makes it default route 2021-08-13 22:53:59 +10:00
Deon George
eb0405f019 Added echoareas and fileareas 2021-08-11 23:45:49 +10:00
Deon George
c7388c2db6 Enabled default routing 2021-08-09 23:35:22 +10:00
Deon George
72fb8044f9 Fix for identifying children for netmail packets 2021-08-08 21:50:09 +10:00
Deon George
b179b1b3e9 Mail routing parent/children, domain name validation, nodelist import changes and other fixes 2021-08-08 01:14:11 +10:00
Deon George
49bc946024 CSS changes, enable links to system edit on network list 2021-08-08 01:12:11 +10:00
Deon George
d937547599 Some message optimisation, added Echomail processing 2021-07-31 00:44:23 +10:00
Deon George
2fdc6eabad Revise CRC calls and use php's internal functions 2021-07-21 20:52:17 +10:00
Deon George
9dcfe6b17d BINKP responding to incoming netmail pings 2021-07-18 22:11:34 +10:00
Deon George
bd85f8b055 Remove redundant tables and code 2021-07-17 20:28:25 +10:00
Deon George
1fa566b26c Transfering netmail via EMSI 2021-07-17 17:15:40 +10:00
Deon George
a0d3c8d8ab Start of processing packets - implemented PING Responce to Netmail 2021-07-16 16:39:02 +10:00
Deon George
c8447d8573 Update and display last seen for systems 2021-07-04 23:24:38 +10:00
Deon George
acfde97e79 Fix binkp remote closing connection, add/delete session details, menu item this system, minor CSS fixes, move system form editing to individual files 2021-07-04 21:48:05 +10:00
Deon George
64fd264427 Usability fixes 2021-07-02 23:44:20 +10:00