@extends('layouts.app') @section('htmlheader_title') @if($o->exists) Update @else Add @endif System @endsection @php use App\Http\Controllers\DomainController as DC; @endphp @section('content') @if($o->exists)

{{ $o->name }}@if($o->setup)*@endif

@if($o->setup)* This Host@endif @endif @if($o->zcs->count())

This system is the ZC for the following zones: {!! $o->zcs->map(function($item) { return sprintf('%d@%s',$item->zone_id,$item->domain->name); })->join(', ') !!}

@endif
@if ($o->exists)

System

@include('system.form-system')

FidoNet addresses are constructed in the format zone:net/node.point@domain.

FidoNet system are also assigned some roles, and in some cases, those roles have a particular address format:

Role Address Format
Zone (optional) ZONE:0/0.0, where the net, node and point values are zero. Zones normally have 1 or more Regions and/or Hosts.

(Systems that do not configure other systems with a zone, assume that that other system is in the same zone as the system being configured.)
Region (optional) zone:REGION/0.0, where the zone indicates which zone the region is in. The node and point values are zero. Regions normally have 1 or more Hosts.

Fidonet software normally doesnt configure the region address per-se. It is used by the mailer to receive packets destined to it by routing, in transition to the final destination. The region number must be unique with a zone.
Host (mandatory) zone:HOST/0.0, where the zone indicates which zone the host is in. The node and point values are zero. The Host system is normally configured with an additional address, where the NET address is the same and the NODE number that is greater than zero. Hosts may may zero or more Hubs and 1 or more Nodes.

The host number must be unique within a zone, which implies that it cannot be the same as a region, if regions are used.
Hub (optional) zone:net/NODE.0, where the zone/net indicates which zone/net the hub is in. The system(s) in the nodelist below a Hub are fed from that hub from a routing perspective.

The node is unique within the net and point is zero.
Node (required) zone:net/NODE.0, where the zone/net indicates which zone/net the node is in.

The node is unique within the net and point is zero.
@if($o->addresses->count())

This system has the following addresses assigned to it:

@foreach ($o->addresses->sortBy(function($item) { return sprintf('%04x%04x%04x%04x%04x',$item->zone->zone_id,$item->region_id,$item->host_id,$item->node_id,$item->point_id); }) as $oo) @endforeach
Address Active Role
{{ $oo->ftn }} {{ $oo->active ? 'YES' : 'NO' }} {{ $oo->role_name }} @can('admin',$oo) {{-- @if (! $oo->role & (DC::NODE_ZC|DC::NODE_RC|DC::NODE_NC)) @endif --}} @endcan
@endif @can('admin',$o) @include('system.form-address') @else You'll need to ask an admin to assign addresses. @endcan
@if(! $o->setup)
@if ($o->sessions->count()) @foreach ($o->sessions->sortBy('zone_id') as $oo) @endforeach
  Passwords  
Zone Default Session Packet TIC Areafix  
{{ $oo->zone_id }}@{{ $oo->domain->name }} @if(($x=$oo->systems->where('pivot.default',TRUE))->count() && ($x->first()->id !== $o->id)) @else @endif {{ $oo->pivot->sespass }} {{ $oo->pivot->pktpass }} {{ $oo->pivot->ticpass }} {{ $oo->pivot->fixpass }} {{-- --}}
@else

No session details exist

@endif @include('system.form-session')

This system can subscribe to the following echoareas:

@include('system.form-echoarea')
@if(! $o->setup && ($x=\App\Models\Zone::active() ->whereIn('id',$o->zones->pluck('id')) ->whereNotIn('id',$o->sessions->pluck('id')) ->get())->count())

This host's mail is sent to:

@foreach($x as $zo) @foreach ($o->match($zo) as $oo) @endforeach @endforeach
Zone System
{{ $oo->ftn }} @if ($x=$oo->parent()) {{ $x->ftn4d }} @else No destination for mail. @endif
@endif

This host collects mail for the following systems:

@if($o->sessions->count()) @foreach ($o->sessions->sortBy('zone_id') as $zo) @foreach ($o->match($zo) as $oo) @endforeach @endforeach
Zone System
{{ $oo->ftn }} {!! (($x=$oo->children) && $x->count()) ? $x->pluck('ftn4d')->join('
') : 'None' !!}
@else

This host doesnt collect mail.

@endif
@endif @else @include('system.form-system') @endif
@include('widgets.modal_delete') @endsection @section('page-scripts') @append