Commit Graph

828 Commits

Author SHA1 Message Date
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
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
frytimo
62039c300a fix menu php warning when restoring default menu (#7219) 2025-01-17 13:39:17 -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
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
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
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
e49e2f01ce Remove redundant code
Handled in the constructor
2024-10-23 10:54:52 -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
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
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
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
frytimo
2cbb4dbc31 remove instances where a pointer is used in a foreach loop for value (#7108) 2024-08-22 12:41:10 -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
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