fusionpbx/resources
Nate a591c87776 Database Class Support for "...ies" Table Names (#4321)
Currently, the permission checks within the class try to singularize the table name, then check for permissions based on the result.  This PR modifies the private singular() function to support table names that end in "...ies", where an _add or _edit permission likely uses a 'y' instead.  An example would be where inserting records into v_event_categories, the class should probably look for an "event_category_add" permission, instead of "event_categorie_add".  Likewise for update queries.  

This proposed change isn't foolproof, obviously. In the case of inserting or updating records in a table named v_pies, it would fail to suffice.  You're welcome to integrate a better solution, if one exists.
2019-06-30 15:11:15 -06:00
..
ace Edit: Added Find/Replace and Go To (Line) features in toolbar, rename Ace application folder. 2016-02-24 14:44:32 -07:00
bootstrap BugFix-Bootstrap Remove map file 2016-06-27 16:47:07 +01:00
captcha Delete img.php 2019-04-24 19:43:26 -06:00
classes Database Class Support for "...ies" Table Names (#4321) 2019-06-30 15:11:15 -06:00
edit_area WhitespaceClean-resources/edit_area 2016-03-11 13:29:29 +00:00
fonts dos2unix (#2682) 2017-06-12 22:09:36 -07:00
fpdf Update fpdf.php 2018-12-10 12:34:26 -07:00
fpdi \r\n --> \n 2016-04-25 20:30:23 -05:00
functions Add resources/functions/password.php from https://github.com/ircmaxell/password_compat. This will provide compatibility for the functions available in 5.5. This library requires PHP >= 5.3.7. PHP prior to 5.3.7 contains a security issue with its BCRYPT. 2013-09-01 06:05:59 +00:00
install Update index.lua 2019-06-28 13:12:04 -06:00
javascript Move includes/javascript to resources/javascript. 2013-06-09 04:54:33 +00:00
jquery Revert "Revert "Revert "search selects""" 2016-03-24 22:25:18 -06:00
momentjs Added (Really!): Moment.js - used by jQuery DateTimePicker plugin. 2016-03-25 16:52:07 -06:00
phpmailer Rolling back PHPMailer from version 5.2.14 to 5.2.2. The latest version had a problem with smtp authentication set to false it still tried to authenticate. 2016-03-15 02:58:23 -06:00
pop3 WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
qr_code Delete .phpqrcode.php.swp 2018-08-30 01:34:38 -06:00
tcpdf Fax Server: Misc enhancements, including multilingual and customizable cover page generation, fax resolution selection, etc. More to come. 2014-09-03 02:41:11 +00:00
templates Update {$mac}.cfg (#4061) 2019-06-29 13:40:11 -06:00
app_languages.php Update app_languages.php (#4252) 2019-06-03 16:23:33 -06:00
calendar_lw_layers.js WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
calendar_lw_menu.js WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
calendar_popcalendar.js WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
check_auth.php Update check_auth.php 2019-02-09 07:54:09 -07:00
cmd.php Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
countries.php \r\n --> \n 2016-04-25 20:30:23 -05:00
download.php Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
email_address_validator.php WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
footer.php Update footer.php 2016-12-13 08:47:22 -07:00
functions.php Update functions.php 2019-06-27 10:16:43 -06:00
header.php Additional work to improve the install, template and the menu. 2016-03-26 12:22:15 -06:00
licenses.php Update licenses.php 2019-04-08 22:20:51 -06:00
login.php Password Reset: Add email message to Email Templates. 2019-03-13 23:30:39 -06:00
paging.php Update paging.php 2018-06-03 17:06:55 -06:00
pdo.php Add support for PostgreSQL TLS (#4262) 2019-06-05 21:10:58 -06:00
pdo_vm.php WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00
persist_form.php Update persist_form.php 2018-06-29 20:02:00 -06:00
persist_form_var.php Update persist_form_var.php 2018-06-29 19:59:19 -06:00
php.php Update php.php 2017-04-25 00:09:53 -06:00
require.php BugFix - GUI install (#2779) 2017-08-02 10:45:35 -06:00
root.php Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
secure_download.php Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
switch.php gives save_var_xml() more tolerance (#4299) 2019-06-20 03:35:41 -06:00
uuid.php Create uuid.php 2017-01-05 04:15:47 -07:00
wysiwyg.php WhitespaceClean-resources/others 2016-03-11 13:57:01 +00:00