Commit Graph

813 Commits

Author SHA1 Message Date
frytimo ba1dc820eb
suppress access on null php notice in new is_connected method (#7228) 2025-01-23 13:44:36 -07:00
frytimo 5ef71889fe
add is_connected method to database (#7226) 2025-01-23 11:52:44 -07:00
FusionPBX 5815699489
Add more debug details and return false 2025-01-22 20:36:29 -07:00
FusionPBX 5d4d7a0fd6
Enhance message array debug details 2025-01-22 20:08:59 -07:00
FusionPBX 9dbc493844
Replace exit; with return false; 2025-01-22 19:27:58 -07:00
FusionPBX 8b7bd29456
Fix temporary permissions 2024-11-29 14:06:08 -07:00
FusionPBX 1b675c1b56
Method new allow null
Needed to support temporary permissions
2024-11-29 14:03:49 -07:00
FusionPBX 80c2b9bab2
Fix permission handling
- Required when not using a $_SESSION
- Singleton permssion method named new
2024-11-27 13:33:00 -07:00
FusionPBX bbc7dea2f1
Return an empty array if there are no groups 2024-11-20 13:53:51 -07:00
FusionPBX dcde377064
Replace the empty function with isset
Don't use empty when value can be 0
2024-10-27 11:09:06 -06:00
FusionPBX 1ef51535fb
Fix the use of the settings object 2024-10-25 12:47:56 -06:00
frytimo ae2679e97c
update template to match new boolean in settings (#7168)
* update template to match new boolean in settings

* Update email.php
2024-10-23 12:14:54 -06:00
FusionPBX d91c7b4fe9
Update boolean settings
Settings of type boolean need to be set as boolean.
2024-10-23 12:00:01 -06:00
FusionPBX b1c24b3843
Removed for better backwards PHP compatibility 2024-10-02 11:37:10 -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
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 a84c69a1dc
Use the database object efficiently 2024-08-05 09:53:11 -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
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
Antonio Fernandez dcf1f9d17c
Update database.php (#7053)
Fix for table_exists method on mysql
2024-07-18 12:10:05 -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
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 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 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
frytimo 642c0acb79
introduce new service framework (#6990) 2024-05-31 12:40:46 -06:00