Commit Graph

263 Commits

Author SHA1 Message Date
FusionPBX cdcfcfd520
Include additional functions 2022-03-22 00:15:35 -06:00
Luis Daniel Lucio Quiroz 8b3f7752a7
Fixes the blank password issue (#6322) 2022-03-09 15:11:30 -07:00
FusionPBX 85778bd3ec
Adjust smtp_secure to work better when not using TLS. 2022-02-28 13:43:04 -07:00
agree 81bf5f496c
[email validation] improve validation to conform the RFC (#6232)
The current validation regex didn't conform with RFC 5322 PHP `filter_var` does.
More information can be found https://en.wikipedia.org/wiki/Email_address#Local_part
2022-02-19 11:38:00 -07:00
FusionPBX 158391c5ec
SMTPAuth change from string to boolean true or false.
- Build the SMPTOptions array in a more flexible way
- And add an SMPT pption to set the crypto_method
2022-01-31 12:27:44 -07:00
FusionPBX fc35482f74
Improve mailer error handling for the send_email function. 2021-10-27 09:43:24 -06:00
FusionPBX d51a940d0f
If the cidr is empty then return false. 2021-10-11 01:37:53 -06:00
FusionPBX d682dcc717
Update the format_string function 2021-10-08 16:38:48 -06:00
FusionPBX 24094d221b
Add user_exists function
Pulled from 4.4 pull request that was accepted. 4.5.
2021-06-21 16:43:22 -06:00
FusionPBX 4b775e5769
Change type to mime_type. 2021-06-11 13:25:33 -06:00
FusionPBX 398610cf25
Add comments and mime types to the attachments for the send_email function. 2021-06-10 19:37:47 -06:00
agree cf4f8d1e36 Add ability to set default accountcodes 2021-05-05 21:28:47 -04:00
FusionPBX e19c1d2b01
Use a try catch block in the send_email function. 2021-04-12 12:45:59 -06:00
demonspork efd27fbe90 fix send_email function for multi-part addresses
The send_email function wasn't successfully parsing ; or , separated email address lists. I simplified it's processing.

While I was at it I removed the "valid email" check from email_test.php because that step is already being done in the send_email function that is called and it safely returns the appropriate error. I would have had to rewrite that function to handle the multiple email lists otherwise.
2021-03-19 19:15:32 -05:00
FusionPBX 14549d972e
Remove deprecated pg_escape_string 2021-01-12 22:11:20 -07:00
FusionPBX 8d46b4f299
add alternative array_key_first for older verisons of PHP 2021-01-04 18:31:44 -07:00
fusionate 1f5283e53d Functions - persistent_form_values: Update to support greater flexibility. 2020-12-30 19:36:52 -07:00
fusionate 60a3a09828 Functions - th_order_by: Order column asc on first click. 2020-11-18 16:23:40 -07:00
agree f055e0700b
Fix order by on outbound routes 2020-11-12 16:14:08 -05:00
Nate d5bc65111a Call Block: Partial support for Country Code. 2020-10-27 11:21:12 -06:00
agree b8451c1a84
Escape quotes on mkdir (#5463)
* Escape quotes on mkdir

* use better function for argument escaping
2020-09-18 08:01:05 -06:00
jrmcclean e70261932c
Update functions.php (#5366)
Updated the Windows UUID function. The current code PHP_OS === 'Windows'  is limited to non servers.  New code factors in Server and non servers.
2020-07-29 12:02:03 -06:00
FusionPBX 30e3b90228
Update the uuid function 2020-06-26 21:57:32 -06:00
FusionPBX aa9c7c1277
Removed the ellipsis function which is not used in anywhere in the FusionPBX project. 2020-06-19 17:55:46 -06:00
agree 0ce0f597f6
Update functions.php (#5302) 2020-06-16 20:35:51 -06:00
Nate 2648ef2672 Functions: Increase TLD character length on email address validation. 2020-04-18 16:47:46 -06:00
Nate 1528f61b87 Users - List: Fix sort by column heading. 2020-04-13 14:00:57 -06:00
Nate 5baad31c97 Upgrade - Add suggestive step numbering. 2020-04-11 15:53:38 -06:00
Nate 780450919e Functions: Update to view_array() function. 2020-03-28 21:06:41 -06:00
Nate 043708d183 Users - Add/Edit: Persistent form values upon submission failure. 2020-03-27 18:09:04 -06:00
FusionPBX 898a5dc603 Update functions.php 2020-03-26 11:57:51 -06:00
FusionPBX caeb5f99be Update functions.php 2020-03-25 17:25:58 -06:00
FusionPBX 52f4626452 Update functions.php 2020-03-25 16:31:38 -06:00
FusionPBX 756ec5d360 Backwards compatability for PHP 5. However please upgrade to PHP 7 2020-03-25 12:23:42 -06:00
FusionPBX 1f277f38e3 Update functions.php 2020-03-25 10:13:41 -06:00
FusionPBX 03b8cb3c20 Update functions.php 2020-03-24 13:03:19 -06:00
FusionPBX 0a25442548 Update functions.php 2020-03-24 11:50:17 -06:00
FusionPBX 692897efbf Update functions.php 2020-03-24 11:35:22 -06:00
FusionPBX 317ad755a3 Update functions.php 2020-03-24 09:29:48 -06:00
FusionPBX d6c2819532 Update the uuid() function. 2020-03-24 00:26:07 -06:00
Nate 29be1da5d2 Template & Functions: Add keyboard shortcut for Copy action. 2020-03-06 10:38:00 -07:00
Nate de1df1f0b1 Functions: Mitigate IE warning with update to agent string detection in http_user_agent() function. 2020-03-05 16:36:06 -07:00
Nate 513fddffab Functions: Add [space] to key_press() function. 2020-03-04 18:04:44 -07:00
FusionPBX f064339b8b Update functions.php 2020-02-19 16:51:39 -07:00
FusionPBX a08adce533 Update functions.php 2020-01-31 21:20:21 -07:00
chansizzle bdd5a01e2a Update functions.php (#5137) 2020-01-30 19:20:15 -07:00
FusionPBX 01b081fa7f Update functions.php 2020-01-23 19:33:35 -07:00
Nate 0ec2a7b20e Update functions.php 2020-01-11 19:00:52 -07:00
Nate 0c0c4c5f36 Variables/Modules: Replace url encoding in select box options. 2019-12-31 07:19:51 -07:00
Nate d71939ea5c Functions: Adjust view_array(). 2019-12-18 15:02:58 -07:00
chansizzle 264a7b220c Update functions.php (#4958) 2019-12-17 19:59:03 -07:00
Nate 07d6fe37a1 Functions: th_order_by mods. App Languages: Misc mods. 2019-12-12 16:35:39 -07:00
Nate 64107422a0 Functions: Fix th_order_by function for multilingual headings. 2019-12-12 14:38:07 -07:00
FusionPBX 071380cbe7 Update functions.php 2019-12-11 13:48:44 -07:00
FusionPBX c8f324f626 Update functions.php 2019-11-15 11:55:41 -07:00
FusionPBX 3687896a90 Update functions.php 2019-11-15 11:49:21 -07:00
FusionPBX 9b5f5bc10d Update functions.php 2019-11-07 22:58:49 -07:00
Nate 7af2fbf3c8 Update database_transactions.php. Functions: order_by() adjustment. 2019-11-05 08:25:41 -07:00
FusionPBX cd8bbe0629 Update functions.php 2019-10-24 10:28:04 -06:00
FusionPBX 81fa8cad81 Update functions.php 2019-10-15 13:53:36 -06:00
FusionPBX 7113d5203a Update functions.php 2019-10-15 13:48:22 -06:00
FusionPBX beafec16dd Update functions.php 2019-10-15 13:37:10 -06:00
FusionPBX d478f94bd2 Update functions.php 2019-09-26 09:11:43 -06:00
Nate 81bf68cf68 Fix Call Recordings single delete. 2019-09-19 12:31:36 -06:00
chansizzle ad06af0924 Update functions.php (#4607)
removing potential for "Warning: sizeof(): Parameter must be an array or an object that implements Countable"
2019-09-13 14:29:31 -06:00
Nate d6b2e883f4 Update functions.php 2019-09-09 06:06:53 -06:00
FusionPBX e4bfeed4ae Update functions.php 2019-08-29 10:58:58 -06:00
Nate 04c2f7a132 Misc: Database class integration. 2019-08-28 17:53:34 -06:00
FusionPBX 63484cbd71 Update functions.php 2019-08-22 11:08:29 -06:00
FusionPBX 164acb2d8e Update functions.php 2019-08-22 10:55:32 -06:00
Nate 733ba98dc6 Update to Bootstrap v4.3.1, jQuery 3.4.1. Adjustments to support updates. 2019-08-20 18:15:50 -06:00
FusionPBX 2588eb1f83 Update functions.php 2019-08-14 12:07:19 -06:00
FusionPBX f94948bbad Update functions.php 2019-08-14 12:02:18 -06:00
Nate 7f3c605a56 Modification to order_by() function. 2019-08-13 11:01:57 -06:00
FusionPBX 414581be27 Update functions.php 2019-08-10 14:43:20 -06:00
Nate 92f1bcdc4c Add ability to set default column in order_by() function. 2019-08-02 21:11:30 -06:00
FusionPBX e2cb93a27b Update functions.php 2019-07-25 10:14:25 -06:00
Nate cf4bc6a64e Database class integration. 2019-07-19 15:05:18 -06:00
Nate fad7c24b90 limit_offset() function refinement 2019-07-01 20:52:54 -06:00
Nate 492d03a5b9 Allow underscore in order_by() function. 2019-07-01 20:37:34 -06:00
Nate d075a083cf Database class integration. Create order_by() and limit_offset() functions. 2019-07-01 17:30:03 -06:00
FusionPBX 7918358124 Update functions.php 2019-06-27 10:16:43 -06:00
Nate 91414a830e Functions: Update send_email function to support attachments 2019-06-01 12:07:58 -06:00
FusionPBX 8dadf79b7e Minor version update 4.5.6 2019-05-30 02:03:56 -06:00
FusionPBX 41e8567043 Update functions.php 2019-04-30 23:59:45 -06:00
FusionPBX 863b7c6bdf Update functions.php 2019-04-29 09:39:58 -06:00
FusionPBX 8be6ce91ab Update functions.php 2019-04-17 15:10:37 -06:00
FusionPBX e75fc601e7 Update functions.php 2019-04-01 20:35:58 -06:00
Nate a35f618ec2 Password Reset: Add email message to Email Templates. 2019-03-13 23:30:39 -06:00
Nate d799d42e1f Modify en/decryption functions to be openssl-based - mcrypt_* functions are now deprecated as of PHP 7.1.0 2019-02-28 18:22:34 -07:00
Nate 36b32599f1 Restore Login Reset Password functionality, adjust default SMTP debug level. 2019-02-28 17:32:27 -07:00
FusionPBX 780adea69c Update functions.php 2019-02-09 08:28:37 -07:00
FusionPBX 3ad1fb1f64 Update functions.php 2019-02-09 08:15:33 -07:00
Nate 04b02d5fa5 Fix Port and integrate Hostname Setting on send_email() function. Add Test button to Emails app to test outbound SMTP Settings. 2019-01-23 14:40:10 -07:00
Nate 4d0e1c1ec5 Remove mobile detection class, use modified user_agent function instead. 2018-12-27 09:12:24 -07:00
FusionPBX c7af59eccf Update functions.php 2018-12-22 02:21:20 -07:00
FusionPBX 8c72e0a2e5 Update functions.php 2018-12-22 01:50:32 -07:00
FusionPBX 85a5af6edb Update functions.php 2018-12-22 01:47:07 -07:00
FusionPBX bc5b4aac87 Update functions.php 2018-12-22 00:51:58 -07:00
Nate 463a94f537 Add mobile device detection to project. Improved Messages app when used on a mobile device. 2018-12-21 23:29:20 -07:00