Commit Graph

7961 Commits

Author SHA1 Message Date
frytimo dc0f146485
fix php warning in menu class (#7256)
initialize variable before use
2025-02-15 10:43:03 -07:00
FusionPBX c4aa9e9b02
Update the cache after loading classes array 2025-02-13 15:05:27 -07:00
frytimo 0931197137
build array in auto_loader constructor (#7158)
* Build an array in the auto_loader constructor

* Update auto_loader.php

* Update auto_loader.php

* minor adjustment to name and comment and remove trailing closing tag

* use best practices for the loader method
Allowing the loader method:
- Should Never Be Called Manually
- Prevents External Modification
- Hides Implementation Details

* cache array in the temp folder and load if available

* re-organize functions within the class

* add cache recreation for auto_loader in upgrade_menu

* add cache recreation for auto_loader in upgrade_menu

* Update app_languages.php
2025-02-13 14:48:40 -07:00
fusionate 5b1697fc17
Menu - Fixed: Change to submenu item links to hopefully resolve random submenu closure on click bug. 2025-02-11 18:02:16 -07:00
FusionPBX 9b0292f3d2
Fix the destination login alternate path 2025-02-05 18:09:08 -07:00
frytimo d6f9b25283
format schema class (#7145)
- format schema class using autoformat
2025-01-28 17:05:00 -07:00
FusionPBX b8b796316e
Add method column_exists to the database class 2025-01-28 15:35:02 -07:00
FusionPBX a4f83539ba
Update login.php 2025-01-28 12:54:09 -07:00
Mendel 43612a5049
multiple changes to the and for the yealink t58W,and images for yealinks in general. (#7223)
* multiple changes to the and for the yealink t58W

Added the variable for Bluetooth so that it won't be disabled every time the phone is provisioned.
Added what is needed for the wallpaper and firmware.
2025-01-25 19:32:25 -07:00
Norman King a87bdc997e
Add wp8x6 provisioning template. (#7224)
* added 8x6 template

* Add files via upload

* 8x6 phonebook

* Update {$mac}.xml

* Deleted wp8x6/${mac}.xml

* added TR69 variable

* added tr69 url and interval

* Update {$mac}.xml

changed asc variable

* added gs variables to wp8x6

* removed hard code settings

* remove additionall hard code settings

* wifi, ringtone, and dhcp settings

* bluetooth

---------

Co-authored-by: unknown <rweiler93@gmail.com>
2025-01-25 19:24:47 -07:00
frytimo da1da92d01
fix missing variable in default template (#7222)
When 'dev' or 'all' error level is set in the config.conf file, the menu will fail to expand or contract. This commit adds the missing variable causing a PHP warning responsible for the behavior.
2025-01-24 16:05:37 -07:00
frytimo f6adc9bdd0
suppress access on null php notice in new is_connected method (#7227) 2025-01-23 12:38:03 -07:00
frytimo 95faf83337
add is_connected method to database (#7225) 2025-01-23 11:42:19 -07:00
FusionPBX 18bce0437d
Add more debug details and return false 2025-01-22 20:35:53 -07:00
FusionPBX 7e4f82f840
Enhance message array debug details 2025-01-22 20:07:02 -07:00
FusionPBX 8ea79e56e7
Replace exit; with return false; 2025-01-22 19:26:25 -07:00
fusionate e58a55df97
Password Reset: Adjustment to re-enable password match indication. 2025-01-20 09:10:04 -07:00
frytimo 62039c300a
fix menu php warning when restoring default menu (#7219) 2025-01-17 13:39:17 -07:00
frytimo 50125527de
fix php warning for ini set (#7217)
The ini setting can only be modified when the session has not already started. This moves the ini_set function call inside the if block
2025-01-17 12:48:49 -07:00
simplecoder732 5b9e82480d
Add Algo 8103 and 8196 provision templates (#7213)
* Add Algo 8103 and 8196 provision templates

* Added admin password setting to algo 8103 & 8196 templates. Also checked for existence of algo_timezone setting or set to New York time
2025-01-17 08:24:28 -07:00
FusionPBX 3f186d90cc
Fix the forget password feature 2025-01-16 21:49:56 -07:00
fusionate 93309e17f9
Side Menu: Improved behavior for Expanded and Hidden states when clicking on the content body. 2025-01-15 13:56:02 -07:00
FusionPBX 106fc33459
Remove the pdo.php include
The pdo.php file was replaced by the database class
2025-01-08 12:14:38 -07:00
FusionPBX 75e7e9b71b Add multi-cast settings to all yealinks 2025-01-07 20:50:57 +00:00
FusionPBX 43d57fce14
Change the agent.contact size from 255 to 1024 2025-01-03 16:53:23 -07:00
shing6326 fb719cf331
Add grandstream wp826 template (#7201) 2024-12-21 14:37:50 -07:00
FusionPBX 7e5ac499ef
Update {$mac}.xml 2024-12-11 22:08:07 -07:00
FusionPBX a9b2076fbe
Update the cisco 192 template 2024-12-11 22:00:18 -07:00
Alex 02aacd2c40
Fix menu_side_brand_image_contracted not showing (#7195) 2024-12-10 16:51:36 -07:00
Alex f0bc1cfe33
Update contacts path (#7192)
* Update contacts path

* Update menu.php

* Update contact_edit.php

* Update contact_relation_edit.php

* Update config.php

* Update authentication.php

* Update database.php

* Update totp.php

* Update email.php
2024-12-06 11:55:41 -07:00
FusionPBX cd8d5302ac
Fix temporary permissions 2024-11-29 13:57:01 -07:00
FusionPBX 4db95658c3
Method new allow null
Needed to support temporary permissions
2024-11-29 13:50:14 -07:00
FusionPBX 77ec211020
Update functions.php
Remove closing PHP tag
2024-11-29 13:45:40 -07:00
frytimo 91dcc94e82
Fix typo in filename (#7180) 2024-11-27 14:24:03 -07:00
FusionPBX 8563df387f
Start the session in the header.php 2024-11-27 09:26:10 -07:00
FusionPBX 790d1ff137
Use the permissions::new method 2024-11-27 00:14:18 -07:00
FusionPBX 3a14a19800
Create a singleton method called new 2024-11-27 00:11:58 -07:00
FusionPBX 6e1d52e6b8
Update permissions.php 2024-11-26 22:49:23 -07:00
FusionPBX 5d7a124a79
Fix permissions when not using a session 2024-11-26 21:48:08 -07:00
frytimo b7afc086ec
Update the menu class (#7181)
* fix php warnings in the menu class

* remove an unreachable statement

* update the menu_horizontal function to use settings

* use a single text object

* update menu_side_state to use the default value of contracted

* remove unused variable

* use variables for menu_side_state

* remove unused variable

* remove whitespace

* remove unused variable

* check for user UUID and domain UUID passed to the constructor

* update docs
2024-11-25 10:34:16 -07:00
FusionPBX 2a41ccfebd
Return an empty array if there are no groups 2024-11-20 13:52:58 -07:00
ijaron 06a6646acb
Updated gxv3240/phonebook.xml (#7153)
Creates groups based on contact type. groups contacts with more then number into one contact.
Sets FirstName to contact_organization if there is no given or family name but contact_organization is set

Labels work, home, and mobile numbers with all others set as other

Sets Primary to line with phone_primary set (will set Primary for each if multiple lines have phone_primary set even though phone  will likely only use one of the tags)
2024-11-09 18:45:30 -07:00
ijaron 8f8caaede7
Update dp750/phonebook.xml (#7151)
Fixes phonebook.xml to work with current contacts.
Sets contact_organization to FirstName if  contact_name_given and contact_name_family are not set but contact_organization is

sets Phone type for home and mobile, sets all others to work

Loads category == "extensions" as well
2024-11-09 18:42:19 -07:00
ijaron 40f78c3c28
Update dp750/mac.xml (#7152)
* Update dp750/mac.xml

Use $grandstream_ring_timeout for Ring time rather then hardcode
Use $grandstream_dial_plan for every account rather then only first
set Station name to DP750-{$mac}
Add option for Automatic Reboot (Firmware 1.0.17.1+)
Allow $grandstream_stun_server and use stun if $grandstream_nat_traversal == 1
$grandstream_accept_sip_from_proxy_only to set Disable Direct IP Call
Turn off 3CX Auto Provision
Use $grandstream_automatic_provisioning and convert to values used in DP750 vs other grandstream heardware
Allow $grandstream_automatic_provisioning_minutes $grandstream_automatic_provisioning_hour $grandstream_automatic_provisioning_day

use $grandstream_phonebook_download_interval rather then just disabling
2024-11-09 18:40:36 -07:00
FusionPBX 6b3251ea67
Use yealink_trust_certificates directly
Value should be 0 or 1
2024-11-04 10:09:24 -07:00
fusionate 37ff548fa8
Side / Fixed Menu: Image placeholder tool tip. 2024-10-31 11:49:31 -06:00
fusionate b766ad7f27
Side / Fixed Menu: Image placeholder for User Menu in Body Header / menu bar. 2024-10-31 11:37:17 -06:00
FusionPBX c81e6482a8
Replace the empty function with isset
Don't use empty when value can be 0
2024-10-27 11:08:37 -06:00
FusionPBX 6e1ef36821
Correct the use of the settings class 2024-10-25 12:44:05 -06:00
FusionPBX adf3ac9aab
Use boolean in the if statement 2024-10-23 13:56:09 -06:00
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