Commit graph

110 commits

Author SHA1 Message Date
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
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 fb6e2d8782 Enable named group functionality 2022-01-29 13:38:12 +01:00
stevenA 2367203ece Resolve issue of softkeysets lost across installs 2022-01-28 11:19:50 +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 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 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 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 a8e3dbdd30
Update module.xml 2022-01-19 12:17:05 +01:00
stevenA e08ad858f5 Update module.xml 2022-01-19 10:06:24 +01:00
stevenA 4e17791fa1 Change wincharset selection method
Use utf-8 for java based phones
2022-01-17 10:43:50 +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
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 e25fab14ff Update module.xml 2022-01-13 11:42:29 +01:00
stevenA 8051c30987 Update module.xml 2022-01-13 10:28:40 +01:00
steve-lad 24cc8be3a7
Update module.xml 2022-01-11 15:40:47 +01:00
steve-lad 4f468517e7
Add PHP dependancy 2022-01-11 15:25:06 +01:00
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 82bd9cbaef Update module.xml
Update version
2022-01-10 11:33:42 +01:00
stevenA 8013474e75 Fix issue where selecting new device in rnav caused exception
Correct window.location redirect syntax
2022-01-09 13:05:35 +01:00
stevenA 048077fce8 Update SIP device Handling & Fix Issue#53
Fix Issue #53
Consolidate forms to facilitate maintenance, reduce code, and apply changes to SIP handling introduce for sccp
Delete form.addsdevice.php
Delete form.sbuttons.php
Delete sipconfigs class and move db functions to dbinterface class, and other function to helperfunctions
create new field type for SIP line
update 9951 buttons count in installer
simplify segregation of sip and sccp requests
2022-01-06 15:00:24 +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
steve-lad b39983c690
Update module.xml 2022-01-02 14:58:38 +01:00
stevenA b9ca187d30 Update module.xml
Update develop version
2022-01-01 13:50:29 +01:00
steve-lad 4833638c8e
Update module.xml 2022-01-01 12:48:15 +01:00
steve-lad ad698eb5c0
Update module.xml 2022-01-01 12:46:17 +01:00
stevenA 84b65309a3 Update Version 2021-12-31 15:32:44 +01:00
stevenA c473c62ada Fix issue #47 - Defaults toggling with repeated saves
Remove unused group from server.settings.php
Correct testing for use of system defaults
Correct application of system defaults
ToDo:Numeric values are not being saved, or do not revert to defaults when button clicked
2021-12-30 15:22:20 +01:00
stevenA 0bc2eed76b Fix dndFeature setting not saved
dndFeature setting was not saved
check for existence of chan-sccp flags
add helper to list chan-sccp flags
fix version compatibility check
update version to 14.3.0.19
2021-12-29 12:42:57 +01:00
stevenA 5586a896cb Update module.xml 2021-12-28 16:11:54 +01:00
steve-lad 00781216d9
Update module.xml 2021-12-28 11:08:33 +01:00
stevenA a395120fac Change version number in Sccp Info
Use module.xml to get version
2021-12-28 10:56:49 +01:00
steve-lad c2fb5f4492 modify details for automatic updates 2021-12-27 12:18:59 +01:00
steve-lad ef944e37c3 test for automatic updating 2021-12-27 11:55:03 +01:00
steve-lad a2217e6e37 Fix issue #39
Get masterFilesList at install direct from Provisioner. If not available, install a copy from the module
2021-12-27 11:09:42 +01:00
steve-lad 04738f0657 Version update
WIP - fix various vendor config settings.
2021-12-03 11:17:35 +01:00
steve-lad 0d2bfdbecd
Merge branch 'develop' into v14.2 2021-11-27 14:12:55 +01:00
steve-lad 48ace0574a Force installer to update sccpdevmodel
Ensure changes in sccpdevmodel are implimented. Update number of burttons on 894X
2021-10-16 15:32:53 +02:00
steve-lad 5bd1455e91 Update version 2021-10-14 09:13:43 +02:00
steve-lad 2dc613f063 Fix variable name
arr_data was mistyped
2021-09-21 10:35:10 +02:00
steve-lad 1bea598588 Increase length of netlang and devlang fields
Increased to 50 - 25 caused truncation of certain locales
2021-08-13 07:01:16 +02:00
steve-lad c209932eb5 Get all chan-sccp settings
Prior only included general section - now get from all sections

Get all settings fields even if empty or SccpClass will raise an exception
2021-08-10 09:48:53 +02:00
steve-lad a40c110efe Update Defaults and correct site defaults to comply with new enum values
Legacy values for site defaults in sccpsettings are now converted to be compliant with current enums, or reset to system defaults (cleared)
2021-08-08 14:30:48 +02:00
steve-lad 0b03d58c09 Remove debug code and update version 2021-08-08 09:57:36 +02:00
steve-lad 8dc1175b37 Update installer to add parent extensions to sccpline if they exist
Previously ignored sccp extensions in freepbx devices and so created 'orphans'. Now create rows for sccpline for devices that already exist as sccp extensions in devices.

Remove dbug code
2021-08-08 09:03:05 +02: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 f1cc0f1bf6 Remove IF EXISTS condition on rename
Know that the column exists so this is unnecessary and fails in MariaDb 5.5
2021-08-04 12:36:18 +02:00
steve-lad b133b2bc3a Change sccpdeviceconfig view create statement
Should not use ALGORITHM=MERGE when using GROUP BY
2021-08-04 10:55:26 +02:00
steve-lad 3ea36f5459 add keepalive 2021-07-30 14:39:15 +02:00