Commit graph

69 commits

Author SHA1 Message Date
stevenA 3ce99c94d8 Fix reversion - not returning to correct page after save
Settings and device save require different r=treatment on reload after save
2022-01-10 14:00:07 +01:00
stevenA 34d6e976f2 Fix minor issues when saving settings
Page was not reloading correctly
Devices were not restarting (returning too soon)
2022-01-10 11:31:26 +01:00
stevenA 1f73ade196 Fix Issue #54
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
2022-01-04 14:41:43 +01:00
stevenA 378d3b2ff7 Fix Issue #49 and improve handling of edit defaults
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
2022-01-01 12:44:02 +01:00
stevenA 89b1a1cd3f Fix defaults for string settings
Hack to fix bindaddr / externip
2021-12-31 15:31:56 +01:00
stevenA 8953484e1f Fix reset of defaults for text fields
Still need to address bindaddress:port and externalIP: Name
2021-12-31 15:01:02 +01:00
stevenA 8268bbf81a Fix restore defaults for radio buttons
Fix restore defaults for radio buttons
2021-12-31 12:45:12 +01:00
steve-lad 0f352eeb59 Fix addition of new device when not in db
Partial fix for issue#29

Populate available fields
Optimise code
2021-08-07 11:03:33 +02:00
steve-lad d432ff7a05 Ensure that addons cannot be added in edit on devices that do not have addons 2021-07-30 07:27:31 +02:00
steve-lad f2d15ebd5e Correct del extension to remove all associated buttons 2021-07-29 16:28:05 +02:00
steve-lad 1f910c7e97 Force entry of correct mac address before save is enabled
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.
2021-07-29 15:40:23 +02:00
steve-lad d43570b471 Enable addition of sidecars to an existing device 2021-07-29 13:50:31 +02:00
steve-lad b753482898 Correct defaults after db schema change 2021-07-29 08:43:40 +02:00
steve-lad 4e9dcb09f3 Fix return link if default button changed 2021-07-25 16:03:02 +02:00
steve-lad 26f750296a Fix various issues with buttons
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
2021-07-25 13:42:42 +02:00
steve-lad 4151b4fdae Restructure languages and locales management
Base off of provision file structure
Store netlang and devlang
Stop usage of extconfig ->sccplang
2021-07-23 12:14:46 +02:00
steve-lad b3b3858965 standardise get ext file modal and add via include
Create standard modal for insertion via include in firmcreate class and adserver view
2021-07-19 08:04:12 +02:00
steve-lad d7fd77dfe8 Get locales from provisioner
Add progress bar and xhr handler
2021-07-18 11:30:19 +02:00
steve-lad a4f8fa4600 Impliment retrieving firmware from Provision_sccp
WIP - need to handle exceptions etc
2021-07-14 17:16:27 +02:00
steve-lad ef77bce159 Add retrieve device files 2021-07-14 13:10:15 +02:00
steve-lad dd9888e55e (re)Align Defaults and Default values with chan-sccp
Ensure all defaults use same vales as chan-sccp (partial revert of earlier changes)
Initialise UsingSysDefaults
Clarify html
2021-07-03 16:29:31 +02:00
steve-lad 7dc4438ad8 Enable/Disable buttons when setting chan-sccp defaults
First version - Needs simplifying!
2021-07-03 12:10:44 +02:00
steve-lad 93fe6d45e1 Extend defaults to all pages
Change enum in installer to correspond to chan-sccp
2021-07-02 12:27:06 +02:00
steve-lad 927186151e Update checkbox defaults logic 2021-07-02 08:29:15 +02:00
steve-lad dcd9c75886 WIP Partial fix for setting default radio buttons 2021-07-01 10:11:02 +02:00
steve-lad 3b91ad2188 Update JS
Default settings for customise are chan-sccp settings
Include QOS page group
Change help text
2021-06-30 14:27:39 +02:00
steve-lad 01b5e9e868 Use Dynamic Checkbox 2021-06-30 13:43:52 +02:00
steve-lad b7766fcf64 First test of new interface to manage defaults hierarchy
WIP
Need to better manage display of system defaults when customising
Need to override XML defaults
2021-06-29 16:41:53 +02:00
steve-lad d6cfa86978 Control MAC address entry
Warning and refocus if not conform to indicated requirements
2021-06-18 16:50:15 +02:00
steve-lad 8c4b0ce240 Disable Inherit in default system button settings
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
2021-06-15 17:56:37 +02:00
steve-lad 5ea2c83115 Correct Device Reset page reload
Stay on page with page reset
Correct output
Switch from modal to Toast
2021-06-14 16:00:03 +02:00
steve-lad 707371cb92 Fix update button labels
Convert modal responses to Toast
Correct reload parameters to stay on page and redraw table
Correct output text
2021-06-14 15:19:45 +02:00
steve-lad d7bc3e500b Replace more modals with Toast 2021-06-14 14:24:11 +02:00
steve-lad e6c5dd63a0 Replace Save and Continue modal
Use Toast
2021-06-14 10:31:23 +02:00
steve-lad 89fe90d2ca Replace modal on save config
Remove modal with close waiting on user input and replace with Toast
2021-06-14 10:23:23 +02:00
steve-lad 7f96c121fa Update module category in updater.json
Update module category in updater.json - this is used in Module Admin
Remove unused JS
2021-06-08 15:23:43 +02:00
Diederik de Groot 51dad690ef Fix: Default models should have at least 1 button if number is currently no known
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>
2021-05-30 15:03:38 +02:00
steve-lad 4ce789cd3e Fix reversion errors
When rebasing, errors were introduced. This commit reverses those errors. It may also revert some commits
2021-05-29 15:50:04 +02:00
Diederik de Groot 9e95071bad
Fix: Default models should have at least 1 button if number is currently no known
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>
2021-04-02 15:30:03 +02:00
steve-lad 7f047f7c10
Further clean ups and annotations
Document changes
2021-04-02 15:25:31 +02:00
steve-lad 673f6d45e0
Tighten Ami controls
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
2021-04-02 15:23:54 +02:00
Diederik de Groot de0a07562f
Ran: .......................................... 42 / 42 (100%)
No fixable errors were found

Time: 10.05 secs; Memory: 41.75MB
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:23:44 +02:00
PhantomVl c0990954e5
- Bug Fix Sip 2021-04-02 15:23:05 +02:00
PhantomVl 320da7b86f
- Bug Fix. Create addons information 2021-04-02 15:23:05 +02:00
PhantomVl bbe4b72fe7
- Button assignment form adjustment 2021-04-02 15:23:05 +02:00
PhantomVl 8121a69607
- New style of information message 2021-04-02 15:23:04 +02:00
PhantomVl 49aa1f0ecc
- Fix SCCP
- Fix SIP
2021-04-02 15:23:04 +02:00
PhantomVl de7633ace7
- ADD SIP TFTP
- Activate Dial Template
2021-04-02 15:23:04 +02:00
PhantomVl 2031587f29
- Add Buton "Update Buton Labels". If you replace User nams, this functon Regenerate device labels 2021-04-02 15:22:29 +02:00
PhantomVl 713d588d98
Initial add of feature mobility user table:
- Add extra user fields and sccp_config entries
 - Create new buttonconfig table
2021-04-02 15:15:58 +02:00