Commit Graph

7961 Commits

Author SHA1 Message Date
FusionPBX e49e2f01ce
Remove redundant code
Handled in the constructor
2024-10-23 10:54:52 -06:00
frytimo 56f3135f21
Update template to match new boolean in settings (#7166) 2024-10-22 20:04:27 -06:00
Antonio Fernandez 2f30694ead
Fix Avaya BLF issue on reSUBSCRIBE (#7164)
* Fix Avaya BLF issue on reSUBSCRIBE

* fix an accidental modification
2024-10-22 19:01:50 -06:00
frytimo 557de4b744
Update settings using real boolean (#7165)
* update settings using real boolean
2024-10-22 18:55:19 -06:00
FusionPBX 56c59289d4
Update boolean settings
Settings of type boolean need to be set as boolean.
2024-10-22 18:15:35 -06:00
frytimo 949d407604
change include to require once (#7157)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-10-09 09:19:08 -06:00
Antonio Fernandez 71b8767d21
Added support for Snom C620 DECT conference phone (#7155)
* Added support for Snom C620 DECT conference phone

* added base firmware option

* added base ds

* added speakerphone firmware
2024-10-08 09:45:03 -06:00
fusionate b498af4cf4
Theme - Fixed Menu: Add new user menu to menu bar. 2024-10-07 14:36:55 -06:00
FusionPBX 8ce9643901
Removed for better backwards compatibility 2024-10-02 11:35:54 -06:00
fusionate ae15319487
Body Header User Image and Menu, Domain Selector, Contact Attachment improvements. 2024-09-28 16:37:36 -06:00
fusionate b9ebdf673e
Side Menu - Body Header: Show User's assigned primary Contact Attachment image, if exists. 2024-09-27 17:14:42 -06:00
frytimo 28ddb69fe1
add existing multicast options from default settings to yealink t46s (#7146)
Comparing the t46s to the t54w, there were a lot of missing settings beyond the original multicast options that were missing. The two templates have been reconciled with differences and any missing options already available to the t46s that were defined in the t54w have been added.
2024-09-27 07:55:04 -06:00
FusionPBX f914922383
Update Grandstream templates
- grandstream_timezone updated to use grandstream_time_zone
- disable wifi settings with an IF statement
- other miscellaneous changes
2024-09-19 12:39:26 -06:00
FusionPBX 493ea83cc3
Add icon and icons 2024-09-16 14:33:49 -06:00
FusionPBX 540efc355f
Move the get_memory_details functions 2024-09-14 21:38:14 -06:00
FusionPBX e86ec20547
Update background_video
- Uses type array
- Use the first item in the array
2024-09-10 04:03:44 -06:00
fusionate 8e410a4b19
Theme - Side Menu: Better position submenu icons. 2024-09-09 18:47:42 -06:00
fusionate 6295dbe4fb
Theme - Side Menu: Fix sub menu icons. 2024-09-09 17:02:45 -06:00
fusionate d67bb02736
Theme - Side Menu: Scrub side menu pin. 2024-09-09 14:13:27 -06:00
fusionate 8f36cd3218
Theme - Side Menu: More adjustments. 2024-09-09 14:11:32 -06:00
fusionate 0d9400de54
Theme - Side Menu: More updates. 2024-09-09 13:51:23 -06:00
fusionate b8689d8f57
Theme - Side Menu: More updates. 2024-09-09 13:22:44 -06:00
fusionate 259ac1212d
Theme - Side Menu: More adjustments. 2024-09-09 12:36:16 -06:00
fusionate f4fbb34e5f
Theme - Side Menu: More adjustments. 2024-09-09 12:29:49 -06:00
fusionate 6059c1e7d1
Theme - Side Menu: Adjustments. 2024-09-09 10:53:12 -06:00
FusionPBX 3b19f4a464
function permisison_exists remove operator
It was added by a contributor who hasn't used it anywhere in the project. For this reason its being removed.
2024-09-09 09:31:54 -06:00
frytimo 2085c950ee
Use isset in permission exists for improved efficiency(#7126)
Using isset on the key name of the array allows it to use a hash table lookup to improve the lookup times for a permission. The permission name is not set if it does not exist for the current user.
2024-09-09 09:14:45 -06:00
fusionate d311dc14e9
Theme: Adjustment to make mobile side menu better. 2024-09-06 17:10:27 -06:00
fusionate 21be3354b1
Theme: Fix issue in last commit. 2024-09-04 20:00:49 -06:00
fusionate 65b957c2f7
Theme: Fix sub menu indicator icons, and date/time picker icons after Font Awesome upgrade. 2024-09-04 19:31:09 -06:00
fusionate 2eab5c623e
Side Menu: Explicitly set content container width when side_menu_pin enabled to avoid issues with browser caching the css. 2024-09-04 13:49:44 -06:00
FusionPBX 86a4df04cf
Regenerate session every 15 minutes 2024-09-04 12:37:06 -06:00
FusionPBX ffd0545a22
Update session regenerate 2024-09-02 22:48:02 -06:00
MarBifrost 906b3edf03
Corrections in Georgian translation (#7113) 2024-08-31 10:02:51 -06:00
NorwayFun 56704d419f
Localizaton: Finishing remaining files for Georgian (#7112) 2024-08-29 04:20:23 -06:00
Mihir Gajjar 273a45bbb6
Yealink Wifi Settings variables (#7094)
* Update y000000000067.cfg

Update the Yealink T42S template to add variables for Wifi settings.

* Update y000000000065.cfg

Update the Yealink T48S template to add variables for Wifi settings.

* Update y000000000066.cfg

Update the Yealink T46S template to add variables for Wifi settings.

* Update y000000000068.cfg

Update the Yealink T41S template to add variables for Wifi settings.

* Update y000000000069.cfg

Update the Yealink T27g template to add variables for Wifi settings.

* Update y000000000046.cfg

Update the Yealink T29G template to add variables for Wifi settings.

* Update y000000000028.cfg

Update the Yealink T46G template to add variables for Wifi settings.

* Update y000000000035.cfg

Update the Yealink T48G template to add variables for Wifi settings.
2024-08-29 03:41:09 -06:00
FusionPBX 029fbefeba
Update app_languages.php 2024-08-29 01:59:47 -06:00
FusionPBX d76c4893da
Update resources/app_languages.php
Add missing translations
2024-08-28 23:39:44 -06:00
NorwayFun aabc2f33a8
Localization: Add full support for Georgian language (#7110)
* Translating apps to Georgian

* Translating apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating more apps to Georgian

* Translating theme to Georgian

* Translating core to Georgian

* Translating core to Georgian

* Translating core to Georgian by Marie

* Translating core to Georgian

* Translating resources to Georgian by Marie

* Translating core to Georgian

* fix app_languages.php
2024-08-28 09:59:02 -06:00
FusionPBX 979917468c
Use uuidgen on FreeBSD 2024-08-26 20:33:05 -06:00
frytimo 2cbb4dbc31
remove instances where a pointer is used in a foreach loop for value (#7108) 2024-08-22 12:41:10 -06:00
wouam31200 e502f2d9d1
Add yealink auto provision settings (#7091)
* Update {$mac}.cfg
2024-08-19 09:48:36 -06:00
frytimo d7035fecaa
exit for loop when matching token for slight performance increase (#7092)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-08-15 14:10:08 -06:00
FusionPBX 257fa78fc6
sip_transport is stored in the datbase in lower case 2024-08-14 01:51:42 -06:00
fusionate 5416a4dd69
Minor adjustment to comments in previous commit. 2024-08-12 16:33:52 -06:00
fusionate 0e3a861cf5
Dashboard - Edit, Menu Item - Edit: Integrate icon search. 2024-08-12 16:25:21 -06:00
fusionate 4b23913555
Update Font Awesome to v6.6.x, adjust some icon references. 2024-08-09 18:14:52 -06:00
frytimo 56ca4ee695
Remove files not used in project (#7086) 2024-08-07 14:23:30 -06:00
FusionPBX ba3ab5a8c9
Use parent_name as its more intuitive
Also replace $this->name with $this->app_name
2024-08-06 17:07:16 -06:00
FusionPBX c960575796
Update database.php 2024-08-06 11:28:32 -06:00
FusionPBX 46bbb31391
Update database.php
- preset empty values for variables and arrays
- use $table_name instead of $this->name
2024-08-06 02:52:55 -06:00
FusionPBX 1c22b49d5a
Pass the database object to the settings object 2024-08-06 02:40:50 -06:00
FusionPBX 032a24cb28
Update domains.php 2024-08-05 15:52:51 -06:00
FusionPBX 00c803f53e
Use the database more efficiently 2024-08-05 12:16:36 -06:00
FusionPBX e24edd47f0
Use database::new() 2024-08-05 09:58:14 -06:00
FusionPBX a84c69a1dc
Use the database object efficiently 2024-08-05 09:53:11 -06:00
FusionPBX 14f2d9df85
Add title logout and account settings 2024-08-02 13:58:27 -06:00
FusionPBX 0c157bd7ce
Update header.php
Fix indentation and create a new database object only if it is not defined.
2024-08-02 11:35:05 -06:00
Mendel 82129ff8ed
Update {$mac}.cfg (#7081)
changed the sip server port to work with the t34w
2024-08-02 09:39:39 -06:00
FusionPBX b3f31af5a8
If data is global then domain_uuid set to null
This means transaction is global. If there is a domain_uuid use the domain ID from the data.
2024-08-01 18:02:15 -06:00
Antonio Fernandez 9ace83cad1
adding function to be used in app/messages (#7073) 2024-07-26 13:49:06 -06:00
Antonio Fernandez 841cc6527e
Groundwire added vendor (#7065)
* Added Groundwire vendor
2024-07-24 07:21:12 -06:00
Antonio Fernandez 3285483665
changes to wallpaper settings for Avaya J-Series (#7063) 2024-07-23 15:17:26 -06:00
jrmcclean 12a862217f
Update require.php (#6860)
Added an option to check Windows ProgramData
2024-07-23 08:14:55 -06:00
jrmcclean b20df9c33a
Update config.php (#6865)
Added an option for Windows ProgramData
2024-07-23 08:11:58 -06:00
frytimo f80347504a
enable foreground mode for services (#7061)
Authored-by: Tim Fry <tim@fusionpbx.com>
2024-07-23 07:40:49 -06:00
Anthony 2b3381f95c
Added translations to resources/app_languages.php (#7062) 2024-07-23 07:38:33 -06:00
FusionPBX f40319ba91
Add dashboard content text align 2024-07-20 23:37:32 -06:00
Anthony b451ad44fe
Added translations to resources/app_languages.php (#7058) 2024-07-19 17:29:22 -06:00
FusionPBX f45b6f4033
Add dashboard window size
- Add window width and height
2024-07-19 17:03:21 -06:00
Antonio Fernandez dcf1f9d17c
Update database.php (#7053)
Fix for table_exists method on mysql
2024-07-18 12:10:05 -06:00
FusionPBX fa672d21af
Add grandstream_transfer_mode_via_vpk 2024-07-11 17:37:55 -06:00
Antonio Fernandez cd79bf0a2e
added a better template setting for directory (#7041) 2024-07-11 14:25:16 -06:00
Antonio Fernandez a295de67c1
added avaya J139 plus other changes to avaya (#7049)
* added avaya J139 plus other changes to avaya

* fixed a few avaya settings

* added wallpaper descriptions
2024-07-10 17:34:26 -06:00
Antonio Fernandez da7a748a8a
added notes about avaya firmware (#7040) 2024-07-08 14:43:41 -06:00
Antonio Fernandez adbb9f9fd8
fix for Avaya buttons (#7038) 2024-07-05 20:01:30 -06:00
FusionPBX e08943ebc2
Wrap isset grandstream_wifi_enabled
Add a condition around the wifi settings. This allows manually setting up the wifi settings on the phone without the device provisioning. If someone wants to use the provisioning config for wifi then set grandstream_wifi_enabled value to true.
2024-07-05 18:02:59 -06:00
Antonio Fernandez 9ec26f0244
Enhanced Avaya J-Series support (#7036)
* Updates to Avaya J-Series support

* small J189 fixes
2024-07-05 17:07:45 -06:00
FusionPBX 56aea7c66d
Domain settings array override default settings
Domain setting array types override the default settings set as type
2024-07-04 18:05:37 -06:00
FusionPBX 54e7b85142
Update functions.php 2024-06-28 13:10:15 -06:00
frytimo a863faaae2
fix the user_uuid missing from transaction tables (#7026)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-06-27 11:26:16 -06:00
FusionPBX eb4104bd9a
Update footer.php
Use sys_get_temp_dir() to get the temp directory
2024-06-25 19:53:47 -06:00
FusionPBX 3215f50826
Update domains.php 2024-06-22 19:31:38 -06:00
frytimo fcd64fcce6
Remove session from provisioning (#7014)
* use single database object, use settings class

* add common domain functions

* use settings class
2024-06-22 19:28:04 -06:00
frytimo 4eb9892256
update templates with checking for codec to be set to 'true' (#7015)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-06-21 14:34:52 -06:00
Antonio Fernandez 17c385a15c
added some blocked status msgs (#7011) 2024-06-18 15:53:48 -06:00
Antonio Fernandez 1b9c746f00
added snom_ui_theme variable to snom templates (#7010)
* added snom_ui_theme variable to snom templates

* made the Dark theme default just like Snom docs
2024-06-18 09:33:06 -06:00
FusionPBX 02db089d8f
New setting background_video 2024-06-18 09:32:19 -06:00
Antonio Fernandez ac876402b3
add function to return the config object used to create the database object (#6998) (#7006)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-06-13 14:53:30 -06:00
fusionate 30c8fe9a51
Dashboard - Widgets: Add Content widget, enhance Icon widget. 2024-06-13 10:48:24 -06:00
frytimo 5fda9b2dda
allow auto_loader to search in traits directories (#7005)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-06-11 10:17:02 -06:00
frytimo f0a80426eb
add function to return the config object used to create the database object (#6998)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-06-08 09:57:33 -06:00
Antonio Fernandez cfc1cd4325
status message fix for emergency numbers (#7000) 2024-06-05 16:36:58 -06:00
Antonio Fernandez cca0c80780
Converted name to first/last name in snom (#6997) 2024-06-05 08:35:42 -06:00
Antonio Fernandez fbe10bbe04
added emergency numbers default settings for Snom (#6996) 2024-06-04 11:26:13 -06:00
Alex f6e6750efc
Dashboard - Minor changes (#6993) 2024-06-03 11:40:05 -06:00
frytimo 642c0acb79
introduce new service framework (#6990) 2024-05-31 12:40:46 -06:00
frytimo 30b38e7d86
Add methods to handle device and add documentation (#6989) 2024-05-31 11:19:03 -06:00
Antonio Fernandez ef7877f7e7
Adding snom_answer_after_policy default setting (#6988) 2024-05-29 15:12:01 -06:00
Antonio Fernandez 0ae13e26c5
C520 directory changes to template (#6982)
* added directory to Snom C520

* uri change

* minor changes to the template

* added number_type in xml to fix directory
2024-05-29 11:25:10 -06:00
frytimo a7f4dd0340
update grandstream template to use NTP provisioning variable (#6983) 2024-05-27 13:10:05 -06:00
FusionPBX a2aa5ea67f
Add class parsedown.php 2024-05-25 13:23:38 -06:00
FusionPBX 0e3eae29ab
Add a new Yealink T34W template 2024-05-24 13:03:22 -06:00
FusionPBX b07c34d262
Complete the T44W template 2024-05-24 12:44:16 -06:00
FusionPBX 05c0b4cc96
Add Yealink template for the T44W 2024-05-24 12:28:53 -06:00
Antonio Fernandez 4c78076227
Adding Snom C520 template (#6980)
* Adding Snom C520 template

* fix
2024-05-21 23:21:22 -06:00
fusionate 67b1f245b3
Resources - Languages: Add missing translations. 2024-05-21 15:16:01 -06:00
fusionate 1f8542b9cc
Call Recordings: Option to manually submit audio to AI for transcription, if enabled. 2024-05-21 14:59:23 -06:00
Alex b35b447344
Update Chartjs and Sortablejs (#6978)
* minor bug fix

* fix spacing of legend

* remove extra line break

* minor bug fix

* Update dashboard_edit.php

* Update chart.min.js

* Update sortable.min.js
2024-05-16 09:27:00 -06:00
fusionate 2d3dca985d
Upgrade - CLI (Manual & Menu): Mitigate PHP 8.x warnings, minor adjustments. 2024-05-13 14:19:34 -06:00
fusionate 0a419a7698
Voicemail - Edit: Mitigate PHP 8.x warnings. 2024-05-13 11:39:19 -06:00
Mihir Gajjar 69524a5162
Updated Snom D735 Template (#6867)
Snom D735 has a known issue where the lights on the phone won't illuminate when in use. It still functions correctly but without any lights. I talked with Snom support and they provided me with the string that needs to be changed in the template.

This issue started from Snom firmware version 10.1.127.10

Release Notes - https://service.snom.com/display/wiki/10.1.127.10+Release
2024-05-13 11:11:19 -06:00
FusionPBX 85e439fdbf
Prevent a warning by using isset 2024-05-02 14:05:30 -06:00
FusionPBX d9c92c00e9
Update database.php add comments 2024-05-02 06:40:30 -06:00
FusionPBX 38d6f35d78
Define class parameters 2024-04-27 19:45:31 -06:00
FusionPBX 0c08780ca2
Update database.php 2024-04-27 19:29:50 -06:00
frytimo 0b8edef82c
Config class rewrite (#6965)
* Use a singleton pattern in the database class to re-use the database object inside the permission_exists function.
2024-04-27 19:22:20 -06:00
frytimo aeee90d56e
update auto_loader to use magic dir constant (#6963) 2024-04-26 13:49:56 -06:00
FusionPBX 0667f76c05
Add label-link and label-icon 2024-04-24 19:37:40 -06:00
frytimo 41eb7ac8d3
Fix empty line printing on console (#6956)
* fix empty line printing on console
2024-04-23 08:53:14 -06:00
frytimo 33ff85ee75
Commad line upgrade enhancements (#6955)
* Add new English language phrases for cli upgrade menu

* include a software name as a const for cli upgrade menu

* add it repos in app folder, internationalizations, and descriptions

* bug fix when response_source_update is empty change back to origin dir

* change original 'menu' to 'menus'. Allow calling menu from upgrade.php

* Update upgrade_menu.php
2024-04-22 17:15:09 -06:00
FusionPBX bd2f0b7442
Require domain_uuid and user_uuid 2024-04-22 08:48:58 -06:00
FusionPBX 375c7d228b
Update require.php 2024-04-20 22:59:45 -06:00
FusionPBX 278f1d7453
Update permissions.php 2024-04-20 21:59:04 -06:00
FusionPBX 955a840ad6
Update permissions.php
If the $_SESSION['permissions'] isset then use it to prevent round trips to the database.
2024-04-20 20:54:06 -06:00
FusionPBX f3250db199
Update groups.php
Remove redundant database instances. 
$database new database;

Remove redundant app_name and app_uuid
2024-04-20 20:26:43 -06:00
FusionPBX 675ac2d433
Prevents an error when groups session is not set 2024-04-20 17:06:05 -06:00
FusionPBX c87e40301b
Add a user class to store user details 2024-04-20 17:04:22 -06:00
FusionPBX 09719c7f36
Update authentication, groups and permissions classes 2024-04-20 16:51:53 -06:00
FusionPBX 2a1e36ca02
Add apps as a class variable
- Use self:$apps
- Replace $_SESSION['apps']
2024-04-19 11:07:30 -06:00
FusionPBX 768937b624
Update database.php
- Allow sending $params into the constructor.
- Add paramaters: domain_uuid and user_uuid
- Replace $user_uuid and the session variable with $this->user_uuid
- Use the SESSION as an alternative to the parameter
2024-04-19 09:48:05 -06:00
Antonio Fernandez 0646bcb93e
Avaya J-Series phone support added (#6948)
* Added support for Avaya J-Series phones

* moved a file

* minor change to remove an invalid parameter
2024-04-15 09:26:02 -06:00
FusionPBX d6bef277d8
Update header.php 2024-04-13 14:42:32 -06:00
FusionPBX 2e7ebaf1c4
Moved ringbacks to app/switch/resources/classes
Moved resources/classes/ringbacks.php to app/switch/resources/classes/ringbacks.php
2024-04-02 09:26:08 -06:00
FusionPBX 463aa5213f
Add object property streams. 2024-04-02 09:24:25 -06:00
frytimo e47b2e3710
Fix $x was not initialized on first iteration of for loop (#6936) 2024-04-02 09:09:36 -06:00
denisent 883c32d932
Add grandstream gdms acs url default setting (#6934)
* add grandstream gdms acs url default setting

* add grandstream gdms acs url default setting

* add grandstream gdms acs url default setting
2024-03-30 13:52:50 -06:00
wouam31200 2c6b36e356
Add features.enhanced_dss_keys.enable = {$yealink_enhanced_dss_keys} (#6910)
* Add features.enhanced_dss_keys.enable = {$yealink_enhanced_dss_keys}
2024-03-28 22:15:30 -06:00
frytimo 758cb2ec60
set to compare instead of assignment in the message error checking (#6933) 2024-03-28 22:07:04 -06:00
frytimo ff55a36980
after doing a database restore, the permission may not yet exist (#6930) 2024-03-28 08:59:30 -06:00
frytimo a9886a8ba9
Add str_starts_with and str_ends_with to PHP versions older than 8 (#6832)
* Add str_starts_with and str_ends_with to PHP versions older than 8

* Update functions.php
2024-03-26 16:42:44 -06:00
FusionPBX 4fd7fd385b
Add label-translate 2024-03-23 14:16:23 -06:00
FusionPBX 67c39ad4a2
Prevent a conflict with the settings object
- Changed from settings to settings_array.
- Prevents a conflict with the settings object.
2024-03-23 13:53:58 -06:00
Antonio Fernandez 6ec11d32a9
Update {$mac}.xml (#6920) 2024-03-22 21:50:51 -06:00
Antonio Fernandez fe8503c063
Update {$mac}.xml (#6921) 2024-03-22 21:50:36 -06:00
Antonio Fernandez ff2434aca4
Update {$mac}.xml (#6922) 2024-03-22 21:50:19 -06:00
Antonio Fernandez 316a9f7273
Update {$mac}.xml (#6923) 2024-03-22 21:50:06 -06:00
FusionPBX 63d215192d
Use an array in auto_loader
- Added a search for interfaces
- Updated the indentation
2024-03-21 10:33:05 -06:00
chansizzle b9555b191c
Create snom PA1 plus (#6914)
PA1plus is the product replacement for PA1
2024-03-18 08:33:19 -06:00
Antonio Fernandez 8abfa880fd
added new Snom D8XX series phones (#6916) 2024-03-18 08:32:16 -06:00