Commit Graph

23 Commits

Author SHA1 Message Date
FusionPBX 56e54f84c6 Update exec.php 2018-02-21 00:21:49 -07:00
jebsolutions 30aa8871a3 minor fix: show shell exec errors. Nicer hide/show. (#2275)
test #1:
enter an invalid command for the shell.  e.g. "asdf" then click execute.

expected result:
You get some type of result about invalid command.

Actual result: nothing shows up.  You have no idea if your command worked or not.

fixed result: When doing an exec include errors in the response: 2>&1

Test #2:
Enter something invalid in the switch command.  e.g. "asdf".  Click Execute.  Change to SQL.  Enter something valid e.g. "select * from v_users;"  Click execute.

Expected result:
You see the SQL output right below your "select * from v_users;" input text box.

Actual result:
Because the output from the previous switch/php/shell is not hidden the SQL output is pushed down off the screen.  Unless the user scrolls down they will not see the result and think their SQL command didn't actually work.

Fixed results:
When you do switch/phps/shell show the Response section.
When you do sql hide the response section.

This way only the relevant response/sql_response is shown to avoid confusion/screen clutter.
2016-12-30 12:06:53 -07:00
reliberate a36db08adf Command: Remove blank option from handler select element. 2016-06-13 16:58:52 -06:00
markjcrane 29ef9d4b6d Make the advanced -> command execute page more compact. 2016-04-14 14:50:06 -06:00
reliberate 3da09fc000 Command: Disable Find/Replace control, not compatible with Bootstrap. 2016-04-07 15:20:06 -06:00
reliberate 9cfedbf2e9 Function: Created key_press function to dynamically generate key detection javascript.
Voicemail: Ctrl+A checks all checkboxes, pressing Delete deletes the checked Voicemails.
Editor: Integrated key_press function.
Command: Integrated key_press function.
2016-03-31 17:11:37 -06:00
reliberate eb7f66e42e Command: Correct layout & styles. 2016-03-27 02:54:29 -06:00
reliberate 66bcb6e836 Editor: Fix Clip Library folder nesting, misc adjustments to Clip and File lists. 2016-03-21 16:01:44 -06:00
reliberate 409afa0bed SQL Query: Removed.
Command: Integrate SQL Query functionality within Command app.
(Note: Permission and Menu modifications - please Restore Defaults)
2016-03-18 23:18:00 -06:00
reliberate 6797e7cb7e Command: Enable PHP syntax highlighting without opening/closing tags. 2016-03-17 17:33:33 -06:00
reliberate fed93fb2db Command: Fix bug with Ctrl+Enter to Execute. 2016-03-17 15:57:44 -06:00
reliberate e1d192b501 Command: Integrate new editor, include Clip Library. 2016-03-17 15:50:18 -06:00
Nate Jones ded7cb3266 Visual adjustments. 2015-02-15 11:57:14 +00:00
Nate Jones d96f016ea5 Code cleanup. 2015-02-15 08:46:20 +00:00
Nate Jones 996e89c396 Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Mark Crane c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Nate Jones 95b5a1a061 Textarea class updates 2014-02-26 06:14:00 +00:00
Mark Crane e9aa47069c Update the references for header.php and footer.php files to point the resources directory. 2013-07-06 06:29:50 +00:00
Mark Crane c44d39dcf9 Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
Mark Crane 6a70d8db41 Change includes/checkauth.php to resources/check_auth.php. 2013-07-06 05:50:55 +00:00
Mark Crane 0fab683720 Move the references to edit_area from includes/edit_area to resources/edit_area. 2013-06-09 04:42:20 +00:00
James Rose 9513d643bd app->exec, added preliminary support for translations. 2012-11-24 21:40:43 +00:00
Mark Crane 82e19a2060 Remove v_ from the filename on the app -> commands page. 2012-10-23 22:20:57 +00:00