Surinder Kumar
03657df82a
Ensure babel-polyfill is loaded in older qWebKits. Fixes #2593
2017-07-21 16:15:03 +01:00
Surinder Kumar
4a91bcde30
Webpack all the things! Fixes #2135
...
This significantly speeds up loading of the application; in an average of 3 tests, v1.6
loaded in 11.5s in the runtime on a Mac, whilst the webpacked version of the code
loaded in 5.53s.
2017-07-18 15:13:17 +01:00
Dave Page
ec739b3392
Revert "Open query tool and debugger windows in new tabs by default."
...
This reverts commit 1a6fe946ce
.
This is going to break the regression tests, so reverting it for now.
2017-07-07 17:06:12 +01:00
Dave Page
1a6fe946ce
Open query tool and debugger windows in new tabs by default.
2017-07-07 16:53:45 +01:00
Murtuza Zabuawala
5c7dcaba81
Allow debugging of functions in packages. Fixes #1948
2017-07-03 16:30:12 +01:00
Khushboo Vashi
070a9c077e
Allow breakpoints to be set on triggers on views. Fixes #2528
2017-07-03 16:15:42 +01:00
Murtuza Zabuawala
2d5e55964a
Improve the debugger's default page layout, and prevent attempts to continue debugging after the user has stopped. Fixes #2512 , Fixes #2511
2017-07-03 15:14:45 +01:00
Joao Pedro De Almeida Pereira
2a30a86e7d
Update alertify alerts to use the styling defined in the styleguide.
2017-06-30 10:21:05 +01:00
Khushboo Vashi
501120701e
Allow the dashboard panel to be closed. Fixes #2506
2017-06-30 10:11:34 +01:00
Murtuza Zabuawala
a9fa093d4b
Allow non-superusers to debug their own functions and prevent them from setting global breakpoints. Fixes #2162
...
Based on a patch from Kit Yam Tse
2017-06-27 16:58:07 -04:00
Dave Page
96412b3219
Revert "Allow the user to close the dashboard panel. Fixes #2506 "
...
This reverts commit a87ee6d059
.
2017-06-27 10:35:43 -04:00
Murtuza Zabuawala
1b49bb8b22
Add preferences to enable brace matching and brace closing in the SQL editors. Fixes #2513
2017-06-27 09:57:38 -04:00
Khushboo Vashi
a87ee6d059
Allow the user to close the dashboard panel. Fixes #2506
2017-06-27 09:21:24 -04:00
Surinder Kumar
af43ccfc07
Teach dialogues about Escape to cancel, Enter to Save/OK, and F1 for help. Fixes #1535
2017-06-12 16:43:29 +01:00
Shruti B Iyer
0d05385585
Update the styling to use the set of grays defined in the WIP style guide.
2017-06-07 13:57:49 +01:00
Ashesh Vashi
ae80976689
Using the client-side translation using the client-side 'gettext'
...
implementation.
This is the first step towards 'Avoid creating the javascript modules
using Jinja templates'.
2017-06-07 15:53:05 +05:30
Murtuza Zabuawala
7e9f82bc17
Prevent attempts to debug procedures with variadic arguments. Fixes #1466
2017-06-06 12:58:52 +01:00
Neel Patel
d0e9c82fea
Fixes #2328
...
1) Fixed issue of opening Query Tool and Debugger in new Tab with QT 5.8 and annulen webkit
2) Moved unload event of window from javascript files to html.
3) Change alertify messages for debugger.
4) Closed all connections created by debugger. Previously only one connection has been closed.
2017-05-09 13:03:44 +05:30
Murtuza Zabuawala
a2a2b8b888
Ensure the query tool displays but does not render HTML returned by the server in the results grid. Fixes #2330 .
2017-04-10 14:07:48 +01:00
Jonas Thelemann
37120bf199
(De)Capitalized strings to fit the common/usual format, corrected spelling, removed unnecessary characters.
2017-04-05 13:50:49 +01:00
Jonas Thelemann
65f21a8cd7
Replace all occurrences of "can not" with "cannot".
2017-04-05 13:38:14 +01:00
Dave Page
6152d73f13
Fix some code inspection complaints
2017-03-25 22:04:52 -04:00
Akshay Joshi
569ceb3906
Modify the web code to allow the Query Tool and Debugger to be opened in new tabs, per settings in Preferences. Fixes #1344
...
Note that this does *not* enable the runtime to use multiple windows at this stage. It's really only useful in Server mode.
2017-03-24 14:43:56 +00:00
Murtuza Zabuawala
d4e88217eb
Added timeout in _wait_timeout function in our psycopg2 module.
...
Fixes debugger module, Added common function to covert 2d array data to dict for BackGrid.
2017-03-24 14:01:59 +05:30
Murtuza Zabuawala
480e00fddf
Query tool efficiency.Convert the data as a 2D array instead of dict. Fixes #2036
...
Incremental back off when polling. Fixes #2038
Initial Patch By: Dave Page
2017-03-01 16:58:51 +05:30
Dave Page
3638d63330
Move pgadmin plugins for codemirror back out of the vendor area.
2017-02-27 13:18:28 +00:00
Sarah McAlear
a0a31e55ae
Move 3rd party client code into vendor/ directories for ease of maintenance.
2017-02-24 17:01:21 +00:00
George Gelashvili
19be3529f8
Create a template loader for SQL templates.
...
This will automatically find the correct version of a template for the server version, and allows us to remove templates that were previously duplicated for different server versions.
Patch by George & Tira at Pivotal. Review by me and Murtuza from EDB.
Discussion: https://www.postgresql.org/message-id/flat/CAHowoHaU9_pkCt%2B1g8dpY3hsXXZmsJZiJH-3-_Hd%2BC1MxiGhtA%40mail.gmail.com#CAHowoHaU9_pkCt+1g8dpY3hsXXZmsJZiJH-3-_Hd+C1MxiGhtA@mail.gmail.com
2017-01-30 11:25:03 +00:00
Neel Patel
d87345ef52
Ensure breakpoints are cleared properly when clearing all of them. Fixes #1745
2017-01-08 19:05:13 +05:30
Neel Patel
a33ee2ae32
Improve detection of the pldbgapi extension and functions before allowing debugging. Fixes #2026
2017-01-08 15:27:58 +05:30
Dave Page
f221194bcc
Update copyright notices for 2017.
2017-01-04 13:33:32 +00:00
Murtuza Zabuawala
6fc8f040ff
Allow users to enable wrapping of code in SQL boxes. Fixes#2025
2016-12-16 17:07:41 +00:00
Dave Page
687f1f640f
Prevent users selecting elements of the UI that shouldn't be selectable. Fixes #1976
2016-11-18 10:55:00 +00:00
Murtuza Zabuawala
00d2ab0338
Cast OIDs to oid not int, otherwise we lose half the range which results in objects not being accessible. Fixes #1951
2016-11-11 14:36:41 +00:00
Murtuza Zabuawala
6f30cabdbb
Resolve various debugger quirks. Fixes #1227
...
- Prevent the user from executing multiple options at once, resulting in "Execute cannot be used while an asynchronous query is underway********** Error ****" messages
- Stop polling when debugging is complete.
- Don't show the busy cursory when debugging is complete.
- Display info messages properly, and reset them between executions.
2016-11-11 14:25:11 +00:00
Neel Patel
4e86345c28
Allow debugging of functions and procedures in packages on EPAS. Fixes #1577
2016-10-07 12:46:34 +01:00
Surinder Kumar
3b4776ab5f
Improve network/server activity feedback for the user. Fixes #1751
2016-09-26 15:10:38 +01:00
Murtuza Zabuawala
f991354f9a
Handle composite type return values properly in the debugger. Fixes #1662
2016-09-20 11:27:51 +01:00
Neel Patel
2c6f6609bc
Debugger listener starting error displayed if user try to debug plpgsql cs_fmt_browser_version function that contains parameters. Fixes #1238
2016-08-29 13:47:15 +05:30
Neel Patel
f5249f2e18
Set break point option should present in pgAdmin4 for trigger. Fixes #1226
2016-08-29 13:43:43 +05:30
Surinder Kumar
761b54ce69
Allow the user to configure tabs in the SQL editor. Fixes #1406
2016-08-19 11:40:19 +01:00
Neel Patel
48a50ce20b
Give more useful error messages when unable to debug functions. Fixes #1224
2016-08-17 15:23:10 +01:00
Surinder Kumar
1bcac0b67c
Fix more of the funky keyboard shortcuts.
2016-08-08 15:26:37 +01:00
Murtuza Zabuawala
06e881570a
Fix numerous encoding issues. Fixes #1307 . Fixes #1479
2016-07-26 15:05:14 +01:00
Dave Page
60659975ed
Stop using deprecated imports.
2016-07-22 16:25:23 +01:00
Harshal Dhumal
c7d25c33f2
Make the Parameter grid use a workflow consistent with other grids. Fixes #1241
...
1. Altered variable control to make its UI consistent with privileges and Security labels.
2. Changed datamodel.js to handle duplicate rows at datamodel level and not UI/Control level. (See variable control for example)
2016-07-18 11:50:42 +01:00
Surinder Kumar
47e849dee0
The spinner icon is not visible while executing query or running debugger in Runtime environment specific to Ubuntu. This issue is related to RM#1186
...
To make it work, we need to explicitly set -webkit-animation property to 'none' for classes "sql-editor-busy-icon.fa-pulse" and ".debugger-container fa-pulse".
'fa-pulse' class is responsible to spin the busy icon, but setting its -webkit-animation property to none will not spin icon but icon and message will be shown.
2016-07-13 12:32:05 +01:00
Surinder Kumar
53434030c1
Consistent busy indication. Fixes #1242
2016-06-29 12:16:02 +01:00
Dave Page
1222681888
Revert "Display busy indicators in a much more consistent way. Fixes #1242 "
...
This reverts commit 7fbefa507b
which seems to be
missing things.
2016-06-29 10:32:20 +01:00
Dave Page
7fbefa507b
Display busy indicators in a much more consistent way. Fixes #1242
2016-06-27 17:09:37 +01:00