Oxidized improvements (#12773)

* Oxidized API cleanup
Import more settings to the UI
use lnms config:set

* validate os and type exist

* map settings WIP

* oops

* editing working.  Needed to add new property to pass update state to child

* implement deleting and handle text overflow a little better.

* Update app/Models/Device.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* Update app/Models/Device.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>

* revert change

* fix style

* add return

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
This commit is contained in:
Tony Murray
2021-05-11 08:08:59 -05:00
committed by GitHub
parent 3d62be5003
commit 2d752925b0
20 changed files with 14051 additions and 112 deletions

View File

@@ -62,9 +62,12 @@ return [
'in_array' => 'The :attribute field does not exist in :other.',
'integer' => 'The :attribute must be an integer.',
'ip' => 'The :attribute must be a valid IP address.',
'ip_or_hostname' => 'The :attribute must a valid IP address/network or hostname.',
'ipv4' => 'The :attribute must be a valid IPv4 address.',
'ipv6' => 'The :attribute must be a valid IPv6 address.',
'is_regex' => 'The :attribute is not a valid regular expression',
'json' => 'The :attribute must be a valid JSON string.',
'keys_in' => 'The :attribute contains invalid keys: :extra. Valid keys: :values',
'lt' => [
'numeric' => 'The :attribute must be less than :value.',
'file' => 'The :attribute must be less than :value kilobytes.',