Commit graph

800 commits

Author SHA1 Message Date
stevenA b212b85b71 Use BMO object in formCreate 2022-01-27 12:36:31 +01:00
stevenA 34ec5dc91a Fix Issue #32
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.
2022-01-27 12:00:28 +01:00
stevenA fb7a7da60a Update SoftKey Set Management
Prior versions relied on preestablished default  softkeyset which was no longer correct, and data from sccp.conf.

Data returned from chan-sccp was mishandled, and only returned a keyset name.

Now process data from AMI and show actual data in use by chan-sccp
2022-01-21 16:12:01 +01:00
stevenA a58d397866 fix reversions after rebase 2022-01-21 08:24:37 +01:00
stevenA 16ee04699b Upgrade Phone Types View
Fix Enable/Disable buttons in Phone Types - now contextual on page
Reformulate sub views (enabled or disabled not all)
Change page Layout and formatting
Fix response feedback
Tidy up html
Fix issue with running validate
2022-01-21 08:16:12 +01:00
stevenA 7caf060e4a Update Phone Types when new device found via hotline
Enable the device in Phone Types to avoid unnecessary fw/templates not found warnings
2022-01-21 08:12:11 +01:00
stevenA b646f4c31f Update install.php
Set default of hotline_enabled to no
2022-01-21 08:12:11 +01:00
stevenA 968210795f Update ajaxHelper.php 2022-01-21 08:12:10 +01:00
stevenA 485ce3fe3a Add FW and Template availability to sccpdevmodel
Rename menu items
Add new fields to sccpdevmodel to show existence of firmware and template files, thereby reducing load times.
2022-01-21 08:11:14 +01:00
stevenA e9a3bf34df Continued Optimisations and Cleaning
Optimise return values from AMI to avoid reformatting
Simplify validate logic
Optimise treatment of ami raw message
Optimise return values from getDb_model_info and clean up method name
Optimize add device moving functions outside of loop
Define unique names for script methods between SIP and SCCP as in same page
2022-01-21 08:11:08 +01:00
stevenA 4fb0ec58b1 Update ajaxHelper.php
Change selection of phonecodepage depending on phone type (java/non-java)
2022-01-21 08:07:58 +01:00
stevenA 2229eef432 Optimise Hint processing
Remove hint processing from __Construct and place in getbuttons, only place where used
Return hint information in correct format from ami, to avoid second formatting
Optimise db calls for hints to speed loading of add/edit device.
2022-01-21 08:05:35 +01:00
stevenA ce383089b8 Revert "Update Response.class.php"
This reverts commit 99c6b8a9b5a84fef0338952c5ff90455b22cd2e9.
2022-01-21 08:04:30 +01:00
stevenA 7b60b20170 Fix installer coding error 2022-01-21 08:04:30 +01:00
stevenA 6b5cd413d7 Update Response.class.php
Change to only modify certain returned fields from convertTable
Need to validate changes for softkeysets as now only return sets and not mode
2022-01-21 08:04:29 +01:00
stevenA 8961ebd5de Optimise aminterface, and calls to it
Only get activeDevices once in doConfigPageInits
Delete redundant functions in Aminterface class
Optimise json handling
2022-01-21 08:04:29 +01:00
stevenA 519c9a1f3b Optimise aminterface class
Remove duplicate functions
Remove legacy tests from _Construct
Optimise JSON handling (eliminate duplicate parsing of rawMessage)
Optimise Message class _Construct - high load so minimise unnecessary calls
2022-01-21 08:04:29 +01:00
stevenA 9138272a46 Remove debug code 2022-01-21 08:04:15 +01:00
stevenA aba1c9595f Fix update settings page on save 2022-01-21 08:01:35 +01:00
stevenA c680ab5bb0 Use doConfigPageInit BMO method
Increase compliance with BMO. Decreases calls and improves responsiveness
2022-01-21 07:58:07 +01:00
stevenA af1725e025 Continued BMO optimisations
Tidy up ajaxHelper
Set correct return values from ajaxHandler
Use BMO __get to minimise construct calls
Implement Module.xml depends
2022-01-21 07:54:51 +01:00
stevenA fbac438a45 Fix update settings page on save 2022-01-21 07:51:36 +01:00
stevenA 9576a17087 Use doConfigPageInit BMO method
Increase compliance with BMO. Decreases calls and improves responsiveness
2022-01-21 07:50:44 +01:00
stevenA 67428fb3be Clean up dbinterface class
Change db search criteria for sip / sccp to improve performance
Use Toast for Save and continue success message
Improve db write performance by simplifying formatting
2022-01-21 07:45:19 +01:00
stevenA b7654a8c75 Remove debug code 2022-01-21 07:45:19 +01:00
stevenA 427d970070 Fix update settings page on save 2022-01-21 07:45:18 +01:00
stevenA c9839eadc5 Use doConfigPageInit BMO method
Increase compliance with BMO. Decreases calls and improves responsiveness
2022-01-21 07:45:18 +01:00
stevenA 7e50dbf2d2 Continued BMO optimisations
Tidy up ajaxHelper
Set correct return values from ajaxHandler
Use BMO __get to minimise construct calls
Implement Module.xml depends
2022-01-21 07:45:10 +01:00
stevenA a3eb87610c Fix update settings page on save 2022-01-21 07:42:34 +01:00
stevenA ea6b7b3783 Use doConfigPageInit BMO method
Increase compliance with BMO. Decreases calls and improves responsiveness
2022-01-21 07:42:22 +01:00
stevenA bd84870c6b Close Issue #29
Added warning and additional info for Hotline.
2022-01-19 14:41:43 +01:00
stevenA 60777bf3e3 Fix saving of custom soft keysets
Red border if invalid set name
Clean up modal indenting
Define valid chars
Only initialise general section at each save (previously initialised all clearing soft key sets)
2022-01-19 13:46:47 +01:00
steve-lad 1c5fa400ae
Update sccpManagerUpdater.json 2022-01-19 12:22:08 +01:00
steve-lad a8e3dbdd30
Update module.xml 2022-01-19 12:17:05 +01:00
stevenA 381fe184bd Fix Issue #59
Correct error in update mode selection
Save all buttons, rather than to last empty - buttons do not need to be allocated sequentially
Remove on duplicate case - add should always be new as either device is new, or have deleted device data before.
2022-01-19 12:07:41 +01:00
stevenA e08ad858f5 Update module.xml 2022-01-19 10:06:24 +01:00
stevenA ddd10f3ca9 Update rewrite.rules
Add case for dialplan.xml
2022-01-19 09:55:14 +01:00
stevenA d7ad8397da Update ajaxHelper.php 2022-01-19 08:36:57 +01:00
stevenA 4e17791fa1 Change wincharset selection method
Use utf-8 for java based phones
2022-01-17 10:43:50 +01:00
steve-lad 5796297bae
Update sccpManagerUpdater.json 2022-01-16 16:34:52 +01:00
stevenA 546de5add1 Modify installer db calls to remove IF EXISTS
IF EXISTS is not correct in MariaDb v5, used in all FreePbx Packages.
2022-01-16 16:04:41 +01:00
steve-lad b1769e6378
Update sccpManagerUpdater.json 2022-01-15 10:55:44 +01:00
stevenA 360ceea6cd Upgrade Installer
Installer was dropping new 14.3 columns data as these columns did not exist in module.xml schema.
Modify schema to include all columns, including legacy columns, and then move data prior to modifying schema.
2022-01-15 10:48:36 +01:00
stevenA 0dec44161f Update module.xml 2022-01-13 13:09:05 +01:00
stevenA 6808154c3a Update xmlinterface.class.php
Return binary vendor config values when necessary
2022-01-13 13:08:34 +01:00
stevenA e25fab14ff Update module.xml 2022-01-13 11:42:29 +01:00
stevenA e088deee12 Update xmlinterface.class.php
Fix langcode selection
2022-01-13 11:34:12 +01:00
stevenA 8051c30987 Update module.xml 2022-01-13 10:28:40 +01:00
stevenA 5c4848442a Update rewrite.rules
Optional rules were not commented out causing phones to look in tftproot/firmware/firmware
2022-01-13 10:24:26 +01:00
steve-lad 24cc8be3a7
Update module.xml 2022-01-11 15:40:47 +01:00