23 Commits

Author SHA1 Message Date
FusionPBX
bd57047931 Update exec.php 2018-02-21 00:21:49 -07:00
jebsolutions
d8b42e424e 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
01964bb5ab Command: Remove blank option from handler select element. 2016-06-13 16:58:52 -06:00
markjcrane
ea0c3e9220 Make the advanced -> command execute page more compact. 2016-04-14 14:50:06 -06:00
reliberate
dfacd41817 Command: Disable Find/Replace control, not compatible with Bootstrap. 2016-04-07 15:20:06 -06:00
reliberate
2ca72bd99d 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
a3ab81d53b Command: Correct layout & styles. 2016-03-27 02:54:29 -06:00
reliberate
74006543ef Editor: Fix Clip Library folder nesting, misc adjustments to Clip and File lists. 2016-03-21 16:01:44 -06:00
reliberate
a9e3717e75 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
de75f58e62 Command: Enable PHP syntax highlighting without opening/closing tags. 2016-03-17 17:33:33 -06:00
reliberate
4883356509 Command: Fix bug with Ctrl+Enter to Execute. 2016-03-17 15:57:44 -06:00
reliberate
680d6f1802 Command: Integrate new editor, include Clip Library. 2016-03-17 15:50:18 -06:00
Nate Jones
91fe322c00 Visual adjustments. 2015-02-15 11:57:14 +00:00
Nate Jones
2b0396063a Code cleanup. 2015-02-15 08:46:20 +00:00
Nate Jones
256e424b3e Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Mark Crane
03220c9754 Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Nate Jones
b323d8e8d7 Textarea class updates 2014-02-26 06:14:00 +00:00
Mark Crane
6da2c3734c 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
ffffea0710 Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
Mark Crane
a6e289ed5d Change includes/checkauth.php to resources/check_auth.php. 2013-07-06 05:50:55 +00:00
Mark Crane
d3b3448c3d Move the references to edit_area from includes/edit_area to resources/edit_area. 2013-06-09 04:42:20 +00:00
James Rose
0f623f8256 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