Commit graph

384 commits

Author SHA1 Message Date
steve-lad 4620df53c4 Change Function names 2021-06-02 15:30:21 +02:00
steve-lad 6df032c137 Remove unused methods 2021-06-02 15:21:53 +02:00
steve-lad 2f487d1a32 Create BMO Trait
Move BMO code to separate trait
2021-06-02 15:10:12 +02:00
steve-lad 4ee26a9871 Name Changes 2021-06-02 15:03:38 +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 91986cb674 Merge branch 'develop' into RetireOldInterface 2021-06-02 10:35:42 +02:00
steve-lad c9e52cc0c5 Update README.md 2021-06-02 10:32:46 +02:00
steve-lad bd80580933 Update README.md 2021-06-02 10:29:35 +02:00
steve-lad 975dd84853
Update README.md 2021-06-02 10:22:18 +02:00
steve-lad 32e465d635
Update README.md 2021-06-02 10:19:09 +02:00
steve-lad 538e4eeb0c
Update README.md 2021-06-02 10:17:08 +02:00
steve-lad 42b41d8bd0 Update README
Add required PHP classes
Delete Russian version as not maintained
2021-06-02 08:26:46 +02:00
steve-lad 80cc601da4 Update Installer - WIP
Add database definitions in module.xml
Catch exception if PHP Zip not installed
2021-06-02 08:17:35 +02:00
Diederik de Groot 9ef59f0df4
Add updateurl to module.xml 2021-06-01 18:51:29 +02:00
steve-lad 09a5daa593 Clean up install.php
Remove obsolete/non-applicable code
2021-05-31 18:45:48 +02:00
steve-lad 67c02aabf1 Return RevisionNum
Return RevisionNum - omitted in previous commit
2021-05-31 16:16:52 +02:00
steve-lad d0fd1f2cdb Remove incompatible files
Simplify compatibility checking. This version is only compatible with chan-sccp 433 or greater.
2021-05-31 16:11:07 +02:00
steve-lad 2eab67a117 Bug fix
Missing closing bracket
2021-05-31 12:57:16 +02:00
steve-lad 97c02f125f Add error message for chan-sccp compatibility
Ad error message in install if chan-sccp version is too low
Minor formatting
2021-05-31 12:52:56 +02:00
steve-lad ee0fda775e Retire Old Interface
Use exclusively AMI interface
Delete oldinterface
Delete srvinterface and move aminterface to Sccp_manager.inc
All calls now pass directly to aminterface
2021-05-31 12:33:35 +02:00
steve-lad a065884a8b Merge branch 'develop' of https://github.com/chan-sccp/sccp_manager into develop 2021-05-31 10:00:14 +02:00
steve-lad ac71164055 Update install.php
Clean up formatting and remove unnecessary quotations
2021-05-31 10:00:06 +02:00
dkgroot 524e15b2c4 Update version number 2021-05-30 14:37:49 +00:00
steve-lad d846af6913
Merge pull request #6 from chan-sccp/UpdateDeviceEdit
Update device edit as per 9e95071
2021-05-30 16:02:11 +02:00
steve-lad b138c3ac81 Enable edit of phones as per 9e95071
Reintegrate edit of phones as per original patch by @dkgroot
Corrections in HTML
Simplify Installer mods
2021-05-30 16:01:02 +02:00
Diederik de Groot 51dad690ef Fix: Default models should have at least 1 button if number is currently no known
Enh: allow all model information to be edited.
Fix: edit/load loadinformationid
Fix: Modal Title -> Model

With help from @steve-lad

References: #91

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-05-30 15:03:38 +02:00
steve-lad 85e4bce407 Simplify tests
Use Isset instaed of empty twice
2021-05-30 14:27:45 +02:00
steve-lad 7cf12356c1 Update Sccp.class.php.v433
Correct indentation
Rewrite SQL Replace statement to simplify
2021-05-30 13:22:46 +02:00
steve-lad 9c4c94cba7 ReIndent Sccp.class.v433 2021-05-30 12:50:48 +02:00
steve-lad a77aa65f74
Merge pull request #5 from chan-sccp/ParseOutboundCID
parse outboundcid content into cid_num and cid_name sccpline fields
2021-05-30 11:49:17 +02:00
Diederik de Groot 212c43782b parse outboundcid content into cid_num and cid_name sccpline fields
If outboundcid contains '"name" <num>' the content needs to be split to cid_name and cid_num.
If not the content should be a number and should be copied to cid_num only, in that case we fill cid_name with the value of $label

Fixes: #72

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-05-30 11:47:47 +02:00
steve-lad 16104a0589
Merge pull request #4 from chan-sccp/MoveDisallowBox
Move disallow box
2021-05-30 11:35:41 +02:00
steve-lad f8a3c8c81d Reapply patch wriiten by DKGroot
Move the disallow box to the top of the codec page
Correct english
2021-05-30 11:34:35 +02:00
Diederik de Groot fa7fa4772f Move the disallow box to the top of the form, the order is important.
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-05-30 11:29:49 +02:00
steve-lad 4ce789cd3e Fix reversion errors
When rebasing, errors were introduced. This commit reverses those errors. It may also revert some commits
2021-05-29 15:50:04 +02:00
steve-lad ad1184af43 Merge branch 'develop' of https://github.com/chan-sccp/sccp_manager into develop 2021-05-24 16:24:25 +02:00
steve-lad 3859be72be
Merge pull request #3 from chan-sccp/issueswiki
Update README.md
2021-05-24 16:20:20 +02:00
Diederik de Groot 2bd2e814d7
Fix image link 2021-05-24 16:17:00 +02:00
Diederik de Groot d3e44c955b
Update module.xml and PhantomVl references 2021-05-24 16:15:28 +02:00
steve-lad b4301ebd14 Update README.md
Remove reference to extension_mobility
2021-05-24 16:02:50 +02:00
Diederik de Groot 8bdd6beee8
Couple of small changes 2021-05-24 15:55:24 +02:00
steve-lad cd30a20cf6 Update README.md
Reflect move of sccp_manager to chan-sccp, updating links and readme.
2021-05-24 15:14:55 +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
Diederik de Groot 9e95071bad
Fix: Default models should have at least 1 button if number is currently no known
Enh: allow all model information to be edited.
Fix: edit/load loadinformationid
Fix: Modal Title -> Model

With help from @steve-lad

References: #91

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:30:03 +02:00
Diederik de Groot 07be691c16
parse outboundcid content into cid_num and cid_name sccpline fields
If outboundcid contains '"name" <num>' the content needs to be split to cid_name and cid_num.
If not the content should be a number and should be copied to cid_num only, in that case we fill cid_name with the value of $label

Fixes: #72

Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:30:03 +02:00
Diederik de Groot 1ef1fe1e31
Move the disallow box to the top of the form, the order is important.
Signed-off-by: Diederik de Groot <dkgroot@talon.nl>
2021-04-02 15:30:02 +02:00
steve-lad 7f93f0179b
Remove PHP % incompatible code 2021-04-02 15:29:36 +02:00
steve-lad 8fb29b93fd
Update dbinterface.class.php
Correct syntax
2021-04-02 15:29:36 +02:00