Commit Graph

594 Commits

Author SHA1 Message Date
f279d85b08 More complete rework of packet parsing and packet generation with 29710c 2024-05-19 23:28:45 +10:00
46f52dd56d Only auth AKAs in the same domain as us 2024-05-18 12:26:00 +10:00
59ec5f5a0c Update on security, user to edit their own system 2024-05-18 08:27:17 +10:00
29710c37c2 Complete rework of packet parsing and packet generation 2024-05-17 22:10:54 +10:00
0457b3df25 Resorting methods, no functional changes 2024-05-13 18:55:39 +10:00
731fdb0a44 When decompressing compressed messages, dont barf if we try to decompress the same attribute twice 2024-05-13 17:50:24 +10:00
6216ada5e5 Fix recording of netmails, when they contain taglines and origin lines 2024-05-13 17:50:24 +10:00
f912e81ee6 Change where processed packets are placed, if fido.packet_keep is true
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 54s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m54s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-12 21:56:46 +10:00
4fe5dc6ad0 Fix for session being reported negative 2024-05-12 21:56:46 +10:00
556b95c7c1 Fix when dispatching packets, and our address object has many relations already loaded, causing memory exhaustion due to recursion 2024-05-12 21:56:46 +10:00
14c505c15b Must not cache the mail waiting queries, otherwise mail/files will be resent in a query loop
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 41s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m42s
Create Docker Image / Final Docker Image Manifest (push) Successful in 12s
2024-05-12 14:56:18 +10:00
3ad20f969b Put back laravel-eloquent-query-cache and remove Caching from previous commit
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m41s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-11 09:10:00 +10:00
4d13199848 Some interface SQL performance improvements 2024-05-11 08:18:57 +10:00
cd2efbd1d4 Added downstream(), and fixed failing tests in RoutingTest
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 42s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m48s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-10 21:33:02 +10:00
edee0643ec Reorder functions, no functional changes 2024-05-09 21:31:50 +10:00
23159d19d5 Rework address roles, making Address::role optional, rework determining uplink/downlinks/parent/children 2024-05-09 21:22:30 +10:00
2765a27db8 Performance fix for address_merge, when there are a log of echomails to move to the new address
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 38s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m39s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-06 08:23:07 +10:00
c8ef7d065b Fix address_add validation, missing scoped to zone. Change to use shortform of $request->post() in address_add()
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m43s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-05 23:17:29 +10:00
b17fe1d2ee It seems session time is now returning a float, cast it to an int
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 34s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m40s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-05 17:41:47 +10:00
5389739920 Enable setting autohold and address validation in web UI
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 41s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m47s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-05-05 00:10:55 +10:00
92f964f572 Remove static cache from our_address in favour of Cache::class keyed off setup:system_id 2024-04-26 20:31:02 +10:00
9abfd88e3d Fix for AreaSecurity when presented security is null 2024-04-26 20:31:02 +10:00
e9895aee45 Added Echoarea::addresses_active() to find addresses that are connected to the area, and active 2024-04-26 20:31:02 +10:00
79b180f453 Upgrade to Laravel 11, begining of enabling network join functionality, removed QueryCacheable 2024-04-26 20:31:02 +10:00
6e376100a5 Fix System registration form presentation and validation processing
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 37s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m42s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-26 12:23:55 +10:00
f42fe97902 Add user policy to manage user security
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 34s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m40s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-25 16:08:09 +10:00
6a41536d57 Enable user reseting password
Some checks failed
Create Docker Image / Build Docker Image (x86_64) (push) Failing after 24s
Create Docker Image / Build Docker Image (arm64) (push) Failing after 54s
Create Docker Image / Final Docker Image Manifest (push) Has been skipped
2024-04-25 15:45:05 +10:00
527cc1d4ab Added passkey for logins 2024-04-25 15:45:05 +10:00
ceffc7ff14 Removed unnessary controller functions that just call a view, HTML/CSS consistency updates 2024-04-25 15:44:52 +10:00
001618d719 Move zone:check to debug namespace, add address:check command
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 35s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m37s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-21 22:10:12 +10:00
bba6f93fbc Code improvement to our_address(), reducing arguments 2024-04-21 21:40:55 +10:00
1c270025cf Move determination of system packet to System::class 2024-04-21 20:40:19 +10:00
3f5668292f More optimisations for users dashboard
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 36s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m34s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-21 00:28:50 +10:00
7b225d8fc0 Attempt to catch dns query failures
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 36s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m37s
Create Docker Image / Final Docker Image Manifest (push) Successful in 11s
2024-04-16 22:01:09 +09:30
ff7ab68a54 Added filefix rescan 2024-04-16 22:00:41 +09:30
a2ff2df9f3 Move security evaluations for File/Echoareas back to model 2024-04-16 21:28:35 +09:30
42cc50512f Fix topmenu dropdown rendering, Recognise POINTs in Address Type 2024-04-14 16:52:47 +10:00
bb42f418e0 Revert part of 9299697, so that our (lowest) address is selected, especially in the case for msgid creation
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m34s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-14 11:03:17 +10:00
ae0bd09a47 Add Debug command Packet:Address
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 34s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m35s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-14 10:43:07 +10:00
9299697ec1 Fix a caching pollution issue when using static
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m35s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-14 10:23:21 +10:00
bac41969a5 Optimise queries for rendering the users dashboard page
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 32s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m37s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s
2024-04-14 00:47:08 +10:00
d6e23b9a90 Optimise queries for rendering the about page
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 33s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m38s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s
2024-04-13 22:41:58 +10:00
2edc41b11e Support merging addresses when both src/dst addresses are in the seenby 2024-04-13 20:54:05 +10:00
03ca4c10b1 Only add items to the queue when the queue is empty 2024-04-12 21:22:27 +10:00
1e08c2f6f7 Move Domain_Controller::NUMBER_MAX to Address::ADDRESS_FIELD_MAX 2024-04-12 15:29:11 +10:00
cb09016539 Partially revert #9cf0f1e so that we create jobs by Address ID, not System ID 2024-01-10 16:58:35 +11:00
c1a1797778 If user information is not provided in a system update (for example when users update), then dont zap system_users 2023-12-20 17:18:10 +11:00
9376c6de11 We should check for subscription before checking for permissions 2023-12-20 11:20:48 +11:00
713615d8d5 Revert changes to CompressedString::class, messages were going out base64 encoded and compressed 2023-12-19 16:51:15 +11:00
01107cd3dc Added AnsiLove for rendering messages with ANSI sequences 2023-12-19 15:16:10 +11:00
c9d04b64ac Enabled NetmailPolicy, users can see netmail if they are in the seen-by, a ZC or admin 2023-12-19 12:55:27 +11:00
90206f2bb5 Enable admin setting user for a system 2023-12-19 12:55:27 +11:00
ac2ee7df0c Fix for netmail notifications, fftn_id wasnt being set correctly 2023-12-19 09:13:16 +11:00
24f6af3d3b Disabling our routine to set a default on an address, it needs to be improved 2023-12-19 08:54:26 +11:00
9c8e546765 Increase some logging for binkp sessions 2023-12-18 22:44:55 +11:00
13e51724c0 Further enhancement with #9063a2a - to ensure our message addressing and content picks the right address 2023-12-18 20:43:21 +11:00
1ded66990c Enable ZC to see netmail in their zone, and point owners to see their own netmail 2023-12-18 20:43:21 +11:00
fd07fb2be7 Include children in netmail for a host 2023-12-18 20:43:21 +11:00
e1c9fa12aa When rethrowing an exception, only include the message 2023-12-18 20:43:21 +11:00
7b9ab388d8 Optimise our use of items waiting and queries used. We are now using a single consistent query for each resource. 2023-12-18 20:43:21 +11:00
7af67de2a8 Fix scenario when creating a new BBS during user registration 'Attempt to read property exists on null' 2023-12-18 20:43:21 +11:00
27c050dc38 When we have multiple addresses, add we want a specific address, return the lowest role, or if strict mode enable, return the lowest role that is higher than the target 2023-12-18 20:43:21 +11:00
301fc33d2f HubStats was not limiting the scope to the date, now that the scopeUncollected..() methods dont limit by date (changed in #5a74386) 2023-12-18 20:43:21 +11:00
5d88a5e10e our_address() now takes a domain name - missed it for hub stats 2023-12-18 20:43:21 +11:00
aae551aacf Simplify packet processing. Re-enable pkt processing tests. 2023-12-18 20:43:21 +11:00
f6a6c13ca2 NCs should be /0 not /x 2023-12-18 20:43:21 +11:00
b9bc413b05 Fix for finding the TIC origin, it doesnt have a parent 2023-12-18 20:43:21 +11:00
caa6e629f4 Change Address::parent(),Address::children(), improved CI testing 2023-12-18 20:43:21 +11:00
541f612446 Improve our parent/children identification with points, fix our testing that was failing with NULLs and asserted out. Added zone:check so that's its easier to identify parent for FTNs 2023-12-11 18:31:38 +11:00
247cf614f3 Fix log note for PING netmails 2023-12-11 08:48:30 +11:00
ab5476d373 Remove deprecated Protocol:setClient() 2023-12-10 20:44:15 +11:00
0526500ff0 Integrate Mailer::class into System_Log::class, removed Zmodem Server/Client 2023-12-10 20:41:37 +11:00
8fc0336314 Fix for bugs implemented in #e56eca, where the message was including the 3 NULLs at the end and our header is near the end of a buffer read 2023-12-09 13:56:45 +11:00
5a74386f5a Optimisations to uncollected Items, which fix mail:send, which was only being triggered for mail unsent from yesterday 2023-12-08 15:16:49 +11:00
e56ecaa999 Fix for processing packets, where our EOM or EOP is split across buffer reads 2023-12-07 20:19:48 +11:00
fa2e74eaca Changes to timew() and wtime() to leverage last 2 bits for 4 year timestamp, making msgid checking valid according to FTSC. Added a test suite for timew()/wtime(). 2023-12-07 12:07:11 +11:00
1890b66dc7 Implemented Dynamic Items for data to be sent to polled systems based on data in db, like stats/nodelists 2023-12-03 18:51:46 +11:00
8f3d77b04d Implemented CLI areafix:rescan 2023-12-01 18:14:51 +11:00
049b2c7204 Change BINKP so that we send more packets in the same session, when we have more than msgs_pkt to send 2023-12-01 18:14:07 +11:00
5b7ec1a629 Add missing const to parent() and children() relations 2023-12-01 17:25:01 +11:00
535a082edd Enable overriding the DNS NS hostname 2023-11-28 19:57:47 +11:00
9cf0f1e2f4 Changed AddressPoll unique ID to be system_id, setup for memcached for all micrsoservices 2023-11-27 16:00:02 +11:00
27a3e3e24e Use ObjectIssetFix Trait instead of defining __isset() directly 2023-11-27 15:56:28 +11:00
8590bb8acc Fix the rendering of SEENBY/PATH lines in packets, which should have each new line prefixed with host 2023-11-27 09:00:32 +11:00
1ac3583479 Implemented system heartbeat, to poll systems regularly that we havent heard from 2023-11-26 14:59:05 +11:00
6e7e09ab50 Minor changes to mail:send and job:list rendering 2023-11-26 11:32:21 +11:00
2b2482ba71 Rework crash polling, using optimised scope queries 2023-11-25 21:52:05 +11:00
b5e5decfdf Processing packets on the command line can be archives as well 2023-11-25 09:48:37 +11:00
6abf10ab0b TIC and PKT passwords are case insensitive, so convert them to uppercase when we are using them 2023-11-25 09:47:58 +11:00
4070a060c3 Use created_at not datetime on status, since datetime may be wrong by the sender 2023-11-25 09:29:08 +11:00
a13497df5f Update domain::public() to only show public domains to admins, update status to be consistent with domain::public() 2023-11-25 00:10:21 +11:00
82cee02fa8 Dont included deleted_at items for the status 2023-11-24 23:39:38 +11:00
e337a29003 Determine unsent netmails by their flags, not sent_at for the status 2023-11-24 23:39:38 +11:00
eab35d4c18 On the status page, dont show inactive addresses, zones or domains 2023-11-24 23:39:38 +11:00
4c91ed54c0 First work on a status page showing nodes with uncollected mail 2023-11-24 23:39:38 +11:00
bed5bf8acc Binkp control frames can be NULL terminated. 2023-11-24 13:15:22 +11:00
0800c48928 Use regex for received file evaluation. Fixes recording received packet names 2023-11-23 23:17:13 +11:00
19338edcb6 Optimise the queries used to display packet contents and show DBID if msgid is not available 2023-11-23 21:55:39 +11:00
b3dfca5b89 Optimise BINKP msg processing by using ltrim instead of skip_blanks. Should also address taurus mailers that add a NULL to the end of ADR messages 2023-11-23 19:11:14 +11:00
76dc90ceb3 Fixes to TIC processing that uses the Address::ftn_regex 2023-11-23 13:17:02 +11:00