steve-lad
310256dc5d
Update Sccp Driver class
...
During initial import to chan sccp, the wrong version of this class was used, and the SCCP Tab was not shown when adding or editing extensions.
Also comment out GUI hooks as not currently used, and can present issues because of FreePBX caching.
2021-06-19 15:15:26 +02:00
steve-lad
d6cfa86978
Control MAC address entry
...
Warning and refocus if not conform to indicated requirements
2021-06-18 16:50:15 +02:00
steve-lad
510b4259ac
Optimise handlerSubmit and activate TZ
...
Simplify process
Reenable TZ offset test on save
2021-06-18 13:13:38 +02:00
steve-lad
de3c58178b
Remove Inherit processing
...
Remove functionality added to hide inherit in default configs - Inherit has been removed from sccpgeneral.xml
2021-06-18 12:10:26 +02:00
steve-lad
57bc13f782
Modify default values
...
Change sccpgeneral to remove inherit - now inherit default values automatically
Add default values to form groups
Revert changes informShow
Update getTableDefaults to better manage underscores with chan-sccp
Change Defaults in Install
2021-06-18 11:58:00 +02:00
steve-lad
f36c224f87
Move most Ajax Submit functions into handleSubmit
...
Improves readability and simplifies variables
2021-06-17 19:23:40 +02:00
steve-lad
efdf2d0469
Added sccpline fields
...
WIP Still have issue with def_modify in installer
2021-06-17 18:39:32 +02:00
steve-lad
afe3382aed
Move handleSubmit to AjaxHelper
2021-06-17 15:54:04 +02:00
steve-lad
82772eed71
Bugfix Incorrect object for execute
...
Change object for execute in SaveButtons
2021-06-17 15:12:50 +02:00
steve-lad
5df918a04b
Save Defaults to Db Defaults
...
Initial changes. Need to update other tables and fields
Minor bugfix in dbinterface
Correct XML version
2021-06-17 15:10:31 +02:00
steve-lad
416cedc425
Create new function to get device defaults
...
Add new function in helperFunctions and use
2021-06-17 10:18:07 +02:00
steve-lad
a146cd2354
Set defaults for Add Device
...
Get default values from db for add new device
Tidy up AjaxHelper get phone grid removing unnecessary tests and using clearer variable names
Correct typos in sccpgeneral
2021-06-17 09:40:24 +02:00
steve-lad
b420f35ad2
WIP Fix formshow prefix logic for IS
...
Currently only fixed for IS
FormShow was adding the prefix to the full child name, making a useless result.
Need to remove form_prefix from childname to return to db values
2021-06-16 16:58:04 +02:00
steve-lad
815b7dbd2a
Update Vendor defaults from db
...
Use db default values instead of xml as these are dynamic.
2021-06-16 13:21:44 +02:00
steve-lad
790b5f7949
Add vendorconfig data to Edit Device
...
Translate DB fields to formshow fields
These field translations need to be simplified
2021-06-16 12:42:07 +02:00
steve-lad
b2ee6ad853
Correct NOT NULL fields
...
Ensure all enums are NOT NULL
Correct variable name to lowercase
2021-06-16 10:27:28 +02:00
steve-lad
922ae3eaf7
Update fields so that ignored by chan-sccp
...
To avoid unnecessary changes to chan-sccp, these fields are prefixed with an underscore and should be ignored.
They are used to create the SEPXXXX file
2021-06-16 10:13:29 +02:00
steve-lad
218e1c66ee
Clean Installer
...
Remove unused functions
Remove unused cases
Remove duplicate code
2021-06-16 09:28:47 +02:00
steve-lad
4c40809071
Update installer for new db version
...
Define new sccpdevice fields
Remove obsolete code
Remove duplicate code
2021-06-16 09:22:43 +02:00
steve-lad
5e5cf3ffda
Remove unused cases in Save Device
...
These Fields do not exist in sccpdevice
2021-06-16 07:52:58 +02:00
steve-lad
5e7bdbe40b
Revert Settings Changes
...
Move changes to new version 14.2
2021-06-16 07:05:40 +02:00
steve-lad
8c4b0ce240
Disable Inherit in default system button settings
...
Disable Inherit buttons in system defaults (should only be used for specific devices)
Add Device Vendor settings to Add Device (WIP - may need db change)
Change various names to be more readable
2021-06-15 17:56:37 +02:00
steve-lad
92ef25bc62
Change Version
2021-06-15 09:41:39 +02:00
steve-lad
2b49bbc373
Change Stable Branch Link
2021-06-15 09:27:07 +02:00
steve-lad
fb8f4ec00e
Bug Fix - Default line not added on Device Create
...
Default line was only set after Device edit and save, not after Device creation.
2021-06-15 08:56:19 +02:00
steve-lad
61818026ff
Update module.xml
...
Update version after bug fix
2021-06-14 16:24:04 +02:00
steve-lad
d2e9ac3184
Bug Fix
...
Wrong response class in MessageClass
2021-06-14 16:17:18 +02:00
steve-lad
5ea2c83115
Correct Device Reset page reload
...
Stay on page with page reset
Correct output
Switch from modal to Toast
2021-06-14 16:00:03 +02:00
steve-lad
707371cb92
Fix update button labels
...
Convert modal responses to Toast
Correct reload parameters to stay on page and redraw table
Correct output text
2021-06-14 15:19:45 +02:00
steve-lad
d7bc3e500b
Replace more modals with Toast
2021-06-14 14:24:11 +02:00
steve-lad
79f59de92e
Update module.xml
...
Update change log
Increment version
2021-06-14 12:27:57 +02:00
steve-lad
1751e9dd9c
Remove old comments
...
Remove old commented text and update comments
2021-06-14 12:21:18 +02:00
steve-lad
9ac0d59c66
Leave table deletion to FreePBX
...
FreePBX and Director remove all tables that it has installed. If they do not exist, uninstaller gives errors
2021-06-14 12:18:40 +02:00
steve-lad
09db30fe9f
Update Uninstaller
...
Create Backup of SCCP tables
Remove all tables
Remove views and keys
2021-06-14 11:47:09 +02:00
steve-lad
808e676972
Clean up model display
...
Improve message and add newline
2021-06-14 10:43:21 +02:00
steve-lad
e6c5dd63a0
Replace Save and Continue modal
...
Use Toast
2021-06-14 10:31:23 +02:00
steve-lad
89fe90d2ca
Replace modal on save config
...
Remove modal with close waiting on user input and replace with Toast
2021-06-14 10:23:23 +02:00
steve-lad
be2b21f8cf
Update extconfigs.class.php
...
Fix missing .
2021-06-14 07:45:09 +02:00
steve-lad
f159ab72f6
Clean up defaults
...
Set new base defaults to 433
Remove obsolete conf files to enhance maintainability
2021-06-13 16:55:26 +02:00
steve-lad
0e82da2492
Merge branch 'develop' of https://github.com/chan-sccp/sccp_manager into develop
2021-06-13 16:43:38 +02:00
steve-lad
7107dbe86b
Fix issue with not saving all settings
...
An erroneous break instead of continue was truncating sccpsettings
Simplify logic by avoiding create then delete for settings where data was empty
2021-06-13 16:43:31 +02:00
steve-lad
6260f79b86
Update Version
2021-06-13 15:46:06 +02:00
steve-lad
3d1b8015c5
Merge pull request #18 from chan-sccp/Fix-Issue-#14
...
Fix issue #14
2021-06-13 15:43:48 +02:00
steve-lad
007330159e
Disable TZ selection
...
TZ is a FreePBX property and should be only changed there.
Now only display for info with help
Ensure that at each initiation, we load the system value
2021-06-13 15:39:43 +02:00
steve-lad
3fee812cc6
Get TZ Offset from timezone
...
Remove unnecessary methods
2021-06-13 13:12:37 +02:00
steve-lad
bbd811e578
New TZ and Cisco Code Algorithm
...
Simplify getting cisco_code and DST settings
2021-06-13 11:06:26 +02:00
steve-lad
3b5fb64589
Merge pull request #17 from chan-sccp/Fix-Issue-#15
...
Partial Revert of 212c437
2021-06-13 09:10:55 +02:00
steve-lad
f20146b7ef
Partial Revert of 212c437
...
If outbound caller id is not set by user, do not set here (no default value).
$label is not declared in this class and so causes exception when called from Quick Create Extension
Only redirect when called from SCCP Phone add extension or from Extensions add extension
2021-06-13 09:09:55 +02:00
steve-lad
67c43fea6c
Merge pull request #16 from chan-sccp/Fix-Issue-#12
...
Change DB Spec for compatibility with older MariaDB
2021-06-13 08:28:33 +02:00
steve-lad
7aaee83d4a
Change DB Spec for compatibility with older MariaDB
...
Older versions of MariaDB, which are included in some distros, reject a VARCHAR that is a key and can be NULL longer than 190 (Director default is 255)
Change for backward compatibility
2021-06-13 08:27:14 +02:00