Commit graph

814 commits

Author SHA1 Message Date
stevenA 9b69d1321a Update Sccp.class.php.v433 2022-02-01 10:42:17 +01:00
stevenA bc7360c6ee Update Sccp.class.php.v433
This function can also be called via FreePbx extensions with an array of ids for deletion. Handle as such
2022-02-01 10:27:52 +01:00
stevenA 35c1b7c708 Fix Issue #65
Do not delete immediately from sccpbuttonconfig when requested by FreePbx, but cache and execute in destructor if no add follows in same instance
2022-02-01 10:09:57 +01:00
Diederik de Groot 824c861775 Fixing multi case switch
(I did check if php had support for the array based case, and i think i did find a link to it. But maybe i misread).
2022-01-31 15:17:54 +01:00
Diederik de Groot 7d9a562c5a Merge branch 'develop' into dkgroot-phonecodepage-ajax 2022-01-31 15:13:45 +01:00
Diederik de Groot cf544b514c Update cisco_language array 2022-01-31 15:12:42 +01:00
stevenA cc6421d3a0 Fix issue #63.
Some device settings were being reset by Doctrine. Ensure that these settings are restored after Doctrine has finished.

Clarify some settings

Remove legacy code which could potentially reset settings
2022-01-31 15:09:17 +01:00
stevenA 98ed27cf8f Update sccpgeneral.xml.v433
Move some fields to advance
Rename some fields to improve user understanding
2022-01-29 14:40:01 +01:00
stevenA fb6e2d8782 Enable named group functionality 2022-01-29 13:38:12 +01:00
stevenA 845ccc2278 Update Sccp_manager.class.php 2022-01-28 11:32:57 +01:00
stevenA 2367203ece Resolve issue of softkeysets lost across installs 2022-01-28 11:19:50 +01:00
stevenA b6485313fd Fix issue where values with spaces are truncated
value needs to be quoted
2022-01-28 09:50:40 +01:00
stevenA 87f90be7b0 Update ajaxHelper.php
Remove debug code
Remove extraneous testing when saving permit / deny as now handled in helper functions
2022-01-28 09:02:02 +01:00
stevenA 24b2dd128c Modify updating sccpsettings in _construct
Remove duplicates from sccpdevmodel array
Improve feedback from module reload
Change update sccpdevmodel process in install
2022-01-27 16:47:56 +01:00
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