Commit Graph

345 Commits

Author SHA1 Message Date
Deon George 02105b10fb Fix EMSI sessions, buffer_clear() was renamed tx_purge() 2023-07-08 17:36:41 +10:00
Deon George ccdce6bb62 Move mailer details into a separate table 2023-07-07 23:59:04 +10:00
Deon George ad4ea699a5 Fix BINKP transfers when tcp buffer has more chars than we need at that point in time 2023-07-07 23:13:43 +10:00
Deon George 30c11956dd Remove some debugging left from previous commits, fix Address::scopeTrashed(), change display of BBS list 2023-07-07 22:42:02 +10:00
Deon George 6c75659395 Enable demoting and promoting address role 2023-07-06 18:43:32 +10:00
Deon George 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
Deon George 36d03d1c12 Fix for region_id when importing messages and the address exists in a different region 2023-07-06 13:55:54 +10:00
Deon George 9762b8c2f4 Fix call to determine if a service is active 2023-07-06 11:55:54 +10:00
Deon George d6aafa4322 Changes to phone, add Active/Archive to echomail list for nets 2023-07-06 11:55:54 +10:00
Deon George 0f7a42c503 Enabled configuration of EMSI tunables in setup 2023-07-06 09:20:33 +10:00
Deon George c3d4c1fc31 Enable full setup on the setup form 2023-07-05 22:58:24 +10:00
Deon George 6f298d778f Some BINKP optimisation, implemented crypt, implemented receiving compressed transfers 2023-07-05 19:38:50 +10:00
Deon George f9f9fb5345 Improve debugging and code optimisations for Socket operations 2023-07-04 11:33:28 +10:00
Deon George ad36da0bb1 Code cleanup, no functional changes 2023-07-04 11:33:28 +10:00
Deon George b70a36003a Remove Passport and replace with Sanctum, upgrade framework to Laravel 10 2023-06-26 21:50:40 +12:00
Deon George 75549590fc Enable systems to configure their packet type 2023-06-26 21:24:24 +12:00
Deon George a26f61d75d Define and detect different packet types (2,2e,2+,2.2) 2023-06-26 21:24:24 +12:00
Deon George fa3653a94b Enable sysops to update their own BBS details 2023-06-23 22:04:10 +10:00
Deon George 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
Deon George b8534d8598 Make filename unique for each area, rename column to name/lname for files 2023-06-23 17:33:47 +10:00
Deon George 0eca20ebdd Fix packet:info command when using system, fix adding clrghouz to path for echomail 2023-06-23 16:29:56 +10:00
Deon George b1b86ca04a Implemented file sending during BINKP and EMSI sessions 2023-06-22 22:13:47 +10:00
Deon George 58341db0fb Show netmails to admins, record netmail path in the DB 2023-06-18 23:33:26 +10:00
Deon George f147b33b60 Dont activate an address if another system has it active 2023-06-17 19:14:16 +10:00
Deon George e3f2d6cf15 Fix EMSI TRX time - force it to be local time 2023-06-17 11:37:59 +10:00
Deon George b41d65a8fd Fix SocketClient checking for more data, now that we buffer received data 2023-06-16 23:18:35 +10:00
Deon George 530c9cbd46 Added DNS to setup configuration and about page 2023-06-12 23:41:25 +10:00
Deon George ccf01a1b23 Enhancements to DNS server and notes for usage with bind 2023-06-12 23:19:50 +10:00
Deon George b1c62ae227 Update SocketClient to support UDP. Change DNS queries to use SocketClient 2023-06-11 22:18:52 +10:00
Deon George 073be20ceb Fix for BBS List 2023-04-22 21:31:09 +10:00
Deon George b1d522d8cc Added DNS server 2023-04-22 21:30:30 +10:00
Deon George ae46dee24e Fix point address assignment 2023-04-15 20:24:53 +10:00
Deon George 23e8522e1a Performance enhancements for system view 2023-04-15 13:34:08 +10:00
Deon George c5500020ae Fix for system registration, new systems couldnt be added. 2023-04-14 19:47:33 +10:00
Deon George 51e915b73d Fix for EMSI timezone and add MOH# 2023-02-12 13:30:07 +11:00
Deon George d949737608 Fix authentication for originating EMSI session with known systems 2023-02-11 23:06:13 +11:00
Deon George 04be81852a Save robot processed messages 2023-01-25 16:35:58 +11:00
Deon George 3dc18a3f1f Change default internal caching to off, and added test to make sure things are cached if on. More debugging with packet name for netmails 2023-01-25 16:26:10 +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 bc19f9aa82 Increase logging on the type of file if it isnt a mail packet 2023-01-24 22:03:17 +11:00
Deon George d9b575b38f Change our determination that a packet has been processed before deciding to delete it 2023-01-24 22:03:17 +11:00
Deon George dac880b689 Ignore case when checking if a file is a PKT file 2023-01-24 22:03:17 +11:00
Deon George 3392092131 Some comments for binkd 2023-01-11 14:36:40 +11:00
Deon George 724bc4c5af Dont abort on an SQL exception 2023-01-11 14:36:40 +11:00
Deon George 4016775b66 Improved display of bad packets 2023-01-11 14:36:40 +11:00
Deon George 109beb4f4f Enable processing messages coming from a domain with multiple zones 2023-01-02 23:31:31 +11:00
Deon George c1ab14f2e6 Fix echoarea display with the oldest message 2023-01-01 14:33:52 +11:00
Deon George d825f71a15 Skip messages that originate from a node in a zone we dont know. 2023-01-01 13:53:51 +11:00
Deon George 06f814395c More debugging to know more about failed echomail parsing because of no zone. 2023-01-01 13:35:56 +11:00
Deon George 6c97eb2d81 Fix for when TZUTC is gibberish, and use file hexdump in pkt debug 2023-01-01 12:02:28 +11:00
Deon George 0e7b93abd1 Fix to make sure we resend the EMSI_REQ banner 2022-12-31 15:13:17 +11:00
Deon George 91fc61e170 Fix nodelist import, when parsing regions 2022-12-19 23:34:42 +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 1656d3c35c Fix address matching during registration 2022-12-11 20:17:24 +11:00
Deon George f089f3bcdc Dont delete archive until all packets processed 2022-12-04 21:59:06 +11:00
Deon George 4d3d57fdcd Fix EMSI session undefined, other minor cosmetic code changes 2022-12-04 20:45:33 +11:00
Deon George 369f8e48fe Enabled email test command 2022-12-04 14:27:47 +11:00
Deon George 21236b6871 Command to list number of mail waiting for a system 2022-12-04 13:32:46 +11:00
Deon George 05528f1c33 More work on user linking to existing defined system 2022-12-04 13:30:38 +11:00
Deon George 14f28c5263 Fix packet parsing for unknown zones, or zones that are not default 2022-12-03 16:00:38 +11:00
Deon George a897852072 Fix binkp M_nul OPT parsing 2022-12-03 15:30:31 +11:00
Deon George 09fe65a8db EMSI Continue sending mail until no more mail to send 2022-12-03 01:25:44 +11:00
Deon George e78b5975b0 Reduce zmodem debugging 2022-12-03 01:25:44 +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 55a2a67b8d Auth is now controlled by routing 2022-11-26 06:54:24 +07:00
Deon George c034ce6cd4 Added FTN list, System View 2022-11-25 17:44:03 +07:00
Deon George 102a972fcb Rename address:merge to address:purge, included merging file/echo subscriptions, updated web subscription cannot add echos to deleted ftns 2022-11-20 17:52:49 +11: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 216bd1a2cd Sometimes guessExtension doesnt return bin for pkt's 2022-11-15 22:13:31 +11:00
Deon George 4e66990826 Fix processing packets when we loop without reading 2022-11-15 22:01:05 +11:00
Deon George 3ffb1c1fd6 Support for ZIP archives 2022-11-14 00:29:55 +11:00
Deon George 702a4e4f37 Attempt to catch DB errors and abort the transaction, so that the queue continues to run. 2022-11-13 15:17:22 +11:00
Deon George e7ebaa85cb Fix nodelist crc's that have 8 chars 2022-11-13 15:17:22 +11:00
Deon George b158bb5a7d Add domain to TIC processing, for nodelists that dont have a domain 2022-11-13 15:17:22 +11:00
Deon George 9f0fa242e6 When deleting an Address change active to FALSE 2022-11-13 15:17:22 +11:00
Deon George eab36c1603 Create TO ftn (for netmails), identify REPLYID, add file:list 2022-11-11 22:57:40 +11:00
Deon George 6284016400 Auto create FTN address for intransit netmail when the destination is not known. 2022-11-06 14:40:03 +11:00
Deon George 9a8ee1aa2b Fix packets with null values in the date, and exceptions not catching it 2022-11-05 19:17:37 +11:00
Deon George 584b988093 UTF8 decoding needs to be done after casting 2022-11-05 15:17:11 +11:00
Deon George 531654724a Enable specifying a domain for nodelist import, and throwing exceptions when errors occur 2022-11-05 15:17:11 +11:00
Deon George c7187dbb0e Fix casting on compressed attributes when value is NULL, reduce some BINKP debugging messages 2022-11-05 15:17:11 +11:00
Deon George 9721db185b Ensure Echomail is initialised correctly 2022-11-05 10:17:14 +11:00
Deon George b45e2c6dd8 Support processing nodelists from file repository and assume nodelists are zip fiels 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 c267573129 Update to Laravel 9 2022-10-27 20:05:51 +08: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 2495e4675c Command refactoring - no functional changes 2022-06-27 00:14:36 +10:00
Deon George 0fe65d6187 Change gethostbyname() with dns_get_record() 2022-03-25 21:50:58 +11:00
Deon George 8072f7c5a9 Work on registration of existing systems to users 2022-03-20 22:42:11 +11:00
Deon George 4ff29e7e43 Some fixes for registering hosts, enable jobs to go to postgres, initial setup fixes 2022-03-12 10:30:02 +11:00