Commit graph

71 commits

Author SHA1 Message Date
steve-lad 96cf1ca87c Revert to stable version
Revert to stable version
2021-06-05 08:24:47 +02:00
steve-lad f6bdd27335 Use Traits to simplify Sccp_Manager.class
Move helper functions to trait
Move Ajax to trait (WIP - next step to create subclass to simplify initialisation)
Rename Directories to eliminate punctuation
Add new directory for traits
2021-06-02 14:55:39 +02:00
steve-lad 12c8f30464
Fix Issue with SQL syntax reported by kc2vrj
Correct quotation and simplify logic to avoid complex SQL statements.

Bind strings

Confirmed fix of issue reported by kc2vrj.
2021-05-24 13:55:36 +02:00
Diederik de Groot 0011581fc0
Merge branch 'PR108' into extension_mobility_rebased_on_develop 2021-05-24 13:46:19 +02:00
steve-lad d451b36363 Fix Issue with SQL syntax reported by kc2vrj
Correct quotation and simplify logic to avoid complex SQL statements.

Bind strings

Confirmed fix of issue reported by kc2vrj.
2021-04-29 16:44:33 +02:00
steve-lad 8fb29b93fd
Update dbinterface.class.php
Correct syntax
2021-04-02 15:29:36 +02:00
steve-lad ef4fc4fe12
Fix Sccp Button Save
Correct PDO statements and implimentation concept
2021-04-02 15:29:36 +02:00
steve-lad 9f5459f7c5
Update dbinterface.class.php
Check that labels exist before binding or an exception will occur
2021-04-02 15:29:36 +02:00
steve-lad 594367cbd4
Update dbinterface.class.php
Bug fix
2021-04-02 15:29:36 +02:00
steve-lad 31ac0746ba
Bug fixes
Correct SQL statement
Correct Message Handler
Correct Message interpreter
2021-04-02 15:29:36 +02:00
steve-lad 36192599f1
Migrate from global db object
As per FreePBX BMO, no longer use global db object
2021-04-02 15:29:34 +02:00
steve-lad f4f11157e1
Fix exception if sccpsettings table does not exist
Before the installer can create sccpsettings, FreePBX instantiates an SCCP_Manager object which requires sccpsettings.
Catch the exception and create the table
2021-04-02 15:29:17 +02:00
steve-lad d3ae6536d1
Update dbinterface.class.php 2021-04-02 15:29:17 +02:00
steve-lad dac622c745
Final version
Standardise some calls and add notes
2021-04-02 15:29:15 +02:00
steve-lad 09beeb449e
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-04-02 15:28:55 +02:00
steve-lad 5892afc653
Update Transactions and fix errors
Reduce quoting level, and fix errors introduced by prior commits
2021-04-02 15:28:54 +02:00
steve-lad 4a3f21dc5d
Further clean ups and annotations
Document changes
2021-04-02 15:28:35 +02:00
steve-lad cfcbe23816
Switch to PDO model
Switch to PDO model and correct transactions
2021-04-02 15:28:06 +02:00
steve-lad fd8c5f9f96
Cleaning up
Simplify structure and fix errors
2021-04-02 15:27:28 +02:00
steve-lad a1c020c772
Switch to PDO model
Switch to PDO model and correct transactions
2021-04-02 15:27:27 +02:00
steve-lad 91c2d233d4
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-04-02 15:25:32 +02:00
steve-lad 3fbccb982f
Update Transactions and fix errors
Reduce quoting level, and fix errors introduced by prior commits
2021-04-02 15:25:32 +02:00
steve-lad 7f047f7c10
Further clean ups and annotations
Document changes
2021-04-02 15:25:31 +02:00
steve-lad bda7518932
Cleaning up
Simplify structure and fix errors
2021-04-02 15:25:31 +02:00
steve-lad 95405190cc
Switch to PDO model
Switch to PDO model and correct transactions
2021-04-02 15:25:31 +02:00
steve-lad 9d29d11a08
Apply PR 101 2021-04-02 15:23:55 +02:00
PhantomVl 3bf8857759
-- Bug Fix Delete Empty Key 2021-04-02 15:23:53 +02:00
PhantomVl a3c240b63f
-- Bug fix issues/74 2021-04-02 15:23:52 +02:00
PhantomVl 14cb629f61
-- Added new features for the future (now disabled)
-- Changed time zone settings
-- Changed the list of supported codecs
-- Added the ability to specify the DNS name as the server interface
-- Bug Fix
-- Add Vendor Config Options
2021-04-02 15:23:51 +02:00
Diederik de Groot 1afe5c5438
Fix Spelling Sccp_manager.class.php
Switch to using camelCase for functions in Sccp_manager.class.php
Remove old TODO comments
Remove comments that don't add information

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:23:51 +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 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 597bed3bce
- Create Cisco phone service for user mobility. 2021-04-02 15:20:55 +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
steve-lad 42717424a2 Update dbinterface.class.php
Correct syntax
2021-03-31 13:38:03 +02:00
steve-lad b79498dcb5 Fix Sccp Button Save
Correct PDO statements and implimentation concept
2021-03-29 16:22:15 +02:00
steve-lad e3116d39cb Update dbinterface.class.php
Check that labels exist before binding or an exception will occur
2021-03-24 08:59:13 +01:00
steve-lad 118ff43ec4 Update dbinterface.class.php
Bug fix
2021-03-18 07:12:59 +01:00
steve-lad fe6ff74608 Bug fixes
Correct SQL statement
Correct Message Handler
Correct Message interpreter
2021-03-17 09:48:20 +01:00
steve-lad fdf6c2ae83 Merge branch 'Fix-dbinterface-class' into Issue-106 2021-03-13 15:50:17 +01:00
steve-lad da9517a335 Apply PR 101 2021-03-13 15:10:24 +01:00
steve-lad 7030ec2bb5 Migrate from global db object
As per FreePBX BMO, no longer use global db object
2021-03-13 14:58:30 +01:00
steve-lad cc8eb549d0 Fix exception if sccpsettings table does not exist
Before the installer can create sccpsettings, FreePBX instantiates an SCCP_Manager object which requires sccpsettings.
Catch the exception and create the table
2021-03-13 11:21:12 +01:00
steve-lad 3362f5a7cf Update dbinterface.class.php 2021-02-11 15:01:57 +01:00
steve-lad 6bfa311281 Final version
Standardise some calls and add notes
2021-02-11 12:46:37 +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