Standardise handling of IED fields (net and ip addresses)
Correct writing to db (seq was assigned a new value which caused duplication in sccpsettings and apparent unsaved data)
Remove inherit button in device and standardise to inherit server settings. Show users what will be set.
Do not try to write SEP file if no line defined. Save settings and warn user via toast
Fix feedback to ajax by separately submitting data before return
Fix freepbx overwriting data and causing fail, by separating json into two blocks and only parsing the first
Fix return to tab on save (set location hash) when tabs changed in settings
Fix return to calling page on save when device updated
keepalive was on 2 pages, so the value was being written then overwritten
Improved handling of customise and restore javascript to ensure that if the option was subsequently unselected, the original value was retained
Move focus to Mac field and stay until a correct Mac address is entered, disabling Save buttons until correct
Motive: a device record with an empty Mac address requires manual removal.
Add choice of default line on add device
Partially fix buttoncount (will not work if default device is selected)
Correct database save logic for buttons - triggers should be OK but more verification needed
Fix various save issues where defaults not correctly set
Delete default buttons when deleting line to avoid orphans
Disable Inherit buttons in system defaults (should only be used for specific devices)
Add Device Vendor settings to Add Device (WIP - may need db change)
Change various names to be more readable
Enh: allow all model information to be edited.
Fix: edit/load loadinformationid
Fix: Modal Title -> Model
With help from @steve-lad
References: #91
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
Enh: allow all model information to be edited.
Fix: edit/load loadinformationid
Fix: Modal Title -> Model
With help from @steve-lad
References: #91
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
Check that have compatible version of chan-sccp for AMI and disable AMI if not found
Check returned values
Add new classes for response to reduce testing