Commit graph

721 commits

Author SHA1 Message Date
steve-lad d5290f18cf 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-03-12 14:03:50 +01:00
steve-lad 2b07718c30 Correct Field and add new event classes
add 2 new event classes for SCCPShowDevice

correct translator in ShowSCCPDevice_Response
2021-02-28 13:33:41 +01:00
steve-lad 6e2101d4fd Tidy up exception handling
Simplify handling of AMI lists and trap exceptions
2021-02-27 10:00:26 +01:00
steve-lad c6c2134e03 Bug Fixes and optimisations as a result of issue 106
Fix bugs in Response Class causing exceptions
Update extconfigs class to correctly check database connectors and improve feedback
Move some constructors to start of class for lisibility
Tidy up Response class with Typing to eliminate unnecessary tests
2021-02-24 15:22:04 +01:00
steve-lad 3362f5a7cf Update dbinterface.class.php 2021-02-11 15:01:57 +01:00
steve-lad 80923f5ce1 Remove dbugs 2021-02-11 12:52:08 +01:00
steve-lad 6bfa311281 Final version
Standardise some calls and add notes
2021-02-11 12:46:37 +01:00
steve-lad 63e5be2cce Merge branch 'Fix-dbinterface-class' of https://github.com/steve-lad/sccp_manager into Fix-dbinterface-class 2021-02-11 12:41:05 +01:00
steve-lad 73ea3023eb Use bindParam on db executes
Use bind param to have stricter typing

Fix bug in Sccp-Manager where key and keyword were not the same
2021-02-09 12:48:22 +01:00
steve-lad 7d7b8cdd05 Update Transactions and fix errors
Reduce quoting level, and fix errors introduced by prior commits
2021-02-09 12:48:22 +01:00
steve-lad 124f7052eb Further clean ups and annotations
Document changes
2021-02-09 12:48:22 +01:00
steve-lad 22a4eb6e9e Cleaning up
Simplify structure and fix errors
2021-02-09 12:45:37 +01:00
steve-lad 5e5633ed7b Switch to PDO model
Switch to PDO model and correct transactions
2021-02-09 12:45:37 +01:00
steve-lad 7993eec487 Test for chan_sccp_b version compatibility
SoftKeySets fails with chan_sccp-b prior to revision number 11048.

Check the version with the installer, and subsequently to ensure do not get exception.
2021-02-09 12:45:36 +01:00
steve-lad b3d31b669a Fix assignment sccp_compatible
Sccpvalues key and keyword must be same or causes hidden DB warnings because of duplicate primary keys after write / read / write
2021-02-09 12:43:26 +01:00
steve-lad 175346c2c1 Use bindParam on db executes
Use bind param to have stricter typing

Fix bug in Sccp-Manager where key and keyword were not the same
2021-02-09 12:31:06 +01:00
steve-lad 89d4e45f5e Update Transactions and fix errors
Reduce quoting level, and fix errors introduced by prior commits
2021-02-08 17:41:19 +01:00
steve-lad 6664ab97af Further clean ups and annotations
Document changes
2021-02-08 15:27:35 +01:00
steve-lad 1972e53eef Merge branch 'Fix-dbinterface-class' of https://github.com/steve-lad/sccp_manager into Fix-dbinterface-class 2021-02-08 10:24:02 +01:00
steve-lad 22e1939ace Cleaning up
Simplify structure and fix errors
2021-02-07 16:09:35 +01:00
steve-lad c104b0e8fe Switch to PDO model
Switch to PDO model and correct transactions
2021-02-07 15:02:45 +01:00
steve-lad c1fb9370bd Test for chan_sccp_b version compatibility
SoftKeySets fails with chan_sccp-b prior to revision number 11048.

Check the version with the installer, and subsequently to ensure do not get exception.
2021-02-07 14:48:49 +01:00
steve-lad 14199fca2e Switch to PDO model
Switch to PDO model and correct transactions
2021-02-06 17:26:37 +01:00
Phantom 2f854e7273
Merge pull request #93 from andreadiotta/fix_chan-sccp_version_detect
Fixed recognition of chan-sccp release version 4.3.3
2021-02-05 12:15:14 +03:00
Phantom 2c28342286
Merge pull request #98 from steve-lad/Fix-SoftKeys
Fix soft keys
2021-02-05 12:14:07 +03:00
Phantom c0cf0b15d7
Merge pull request #97 from steve-lad/Update-AMI-getRealTimeStatus
Update ami get real time status
2021-02-05 12:10:59 +03:00
Phantom e31b4bf993
Merge pull request #95 from steve-lad/Improve-Page-Performance
Improve page performance
2021-02-05 12:09:55 +03:00
Phantom 30ba68d03e
Merge pull request #99 from steve-lad/Fix-Installer
Installer failed to update db version
2021-02-04 14:29:59 +03:00
steve-lad d26fbd719d Installer failed to update db version
Error in sytax at 745, and in exception handler at 747

Tidied up messages

Standardised Exception handler trap

Atom deleted whitespaces
2021-02-02 10:15:18 +01:00
steve-lad 26d9554c05 Updated GenericResponse
Updated generic response handler for table case
2021-01-28 11:54:27 +01:00
steve-lad c929649909 Update AMI Response
Bring branch up to level of previous Pull which can now be deleted
2021-01-28 11:18:48 +01:00
steve-lad 48041fc62c Cleaned up messages
Improved message readability. Atom removed extraneous white spaces and lines
2021-01-28 10:25:02 +01:00
steve-lad d5c8cc9ab2 Match to previous commit
Add missing comments
2021-01-28 10:00:10 +01:00
steve-lad 80fbf7b1b4 Remove extraneous calls
Duplicate calls from page.settings removed
2021-01-28 08:11:21 +01:00
Andrea Diotallevi 64e4c3d86b Fixed recognition of chan-sccp release version 4.3.3 2021-01-17 15:33:00 +01:00
PhantomVl 4eb816985e -- Bug Fix NTP Config 2020-11-17 09:34:11 +03:00
PhantomVl 5cf3f7f324 Fixes: #88
-- Bug Fix SRST Config
-- A template was added for 7975
2020-11-16 22:58:44 +03:00
PhantomVl adc46b84c2 -- Bug Fix SRST Config 2020-11-16 22:43:21 +03:00
PhantomVl 4c49a036f8 -- Bug Fix Delete Empty Key 2020-11-16 10:33:18 +03:00
PhantomVl 21a5472f4a Fixes: #77
Fixes: #82
Fixes: #85
Fixes: #87
--- Bugfix sip protocol
Special thanks for help Diederik de Groot
2020-11-15 18:37:51 +03:00
PhantomVl ab6b45350e --- Add support for setting "setvar=xxx=xxx" entries
--- Writing sccp.conf also check/create sccp_custom.conf #87
--- Fix the getCodec function. #85
--- Switching around the general deny/permit order. #82
--- Thank Josh2893 for the templet #77
Special thanks for help Diederik de Groot
2020-11-11 15:16:41 +03:00
PhantomVl 932aae5cfd -- Bug fix @BossLX 2020-05-05 16:08:49 +03:00
PhantomVl 52a3c91f7a -- Bug fix @BossLX 2020-05-05 15:16:23 +03:00
PhantomVl 9bb381c13a -- Bug fix @BossLX 2020-05-05 12:50:01 +03:00
PhantomVl dc94cf6d33 -- Bug fix issues/74 2020-05-04 16:29:45 +03:00
PhantomVl a1686b86e6 -- Bug fix Thanks for the help @BossLX
-- Bug fix issues/73
2020-05-04 12:39:13 +03:00
PhantomVl f23f8a511c -- Bug fix Thanks for the help @BossLX 2020-05-04 12:13:01 +03:00
PhantomVl c12cfad751 -- Bug fix 2020-04-30 14:15:24 +03:00
PhantomVl e8e49a357d -- Bug fix
-- DB add field 'videomode'
2020-04-22 14:01:26 +03:00
PhantomVl 5be35cc0ae -- Bug fix
-- DB add field 'videomode'
2020-04-21 22:51:43 +03:00