Commit Graph

545 Commits

Author SHA1 Message Date
Yosry Muhammad
710d520631 Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes
When a query is run in the Query Tool, check if the source of the columns
can be identified as being from a single table, and that we have all
columns that make up the primary key. If so, consider the resultset to
be editable and allow the user to edit data and add/remove rows in the
grid. Changes to data are saved using SAVEPOINTs as part of any
transaction that's in progress, and rolled back if there are integrity
violations, without otherwise affecting the ongoing transaction.

Implemented by Yosry Muhammad as a Google Summer of Code project.
2019-07-17 11:45:20 +01:00
Akshay Joshi
ab87035658 pgAgent fixes:
"malformed array literal error when updating pgagent job". Fixes 
"Error when updating connection string in pgagent Jobs.". Fixes 
When user create a schedule using Create->Schedule dialog browser tree is not showing newly created node.
Properties tab showing same properties for all the created schedule.
Added validation in "pga_jobstep.js", throws error on browser when we modify step from the pgagent dialog and select the same node.
2019-07-15 15:54:57 +01:00
Aditya Toshniwal
d3ef1137d9 Add Reverse Engineered SQL tests for Sequences. Fixes 2019-07-15 14:56:22 +01:00
Aditya Toshniwal
0b82a4ad92 Fix sequence reverse engineered SQL generation with quoted names on PG/EPAS 10+. Fixes 2019-07-15 14:55:07 +01:00
Shubham Agarwal
809e0682bd Add Reverse Engineered SQL tests for FTS Parsers. Fixes 2019-07-15 12:02:44 +01:00
Murtuza Zabuawala
1831c9e70a Use ROLE consistently when generating RE-SQL for roles, not USER. Fixes 2019-07-15 11:31:27 +01:00
Murtuza Zabuawala
1dcf46cc5f Add Reverse Engineered SQL tests for Types. Fixes 2019-07-15 10:25:04 +01:00
Neel Patel
88ab6db976 Add Reverse Engineered SQL tests for Domains. Fixes 2019-07-12 14:39:49 +01:00
Khushboo Vashi
79e6f4c008 Add Reverse Engineered SQL tests for Collations. Fixes
This also adds the ability to test the msql output in ALTER steps.
2019-07-12 14:37:00 +01:00
Akshay Joshi
29fd83dc6c Fix dropping of pgAgent schedules through the Job properties. Fixes 2019-07-12 10:37:41 +01:00
Akshay Joshi
ed01274f7b Fix an error that could be seen when editing column privileges. Fixes 2019-07-12 10:16:18 +01:00
Murtuza Zabuawala
20a5899c7d Fix some minor UI issues on IE11. Fixes
Includes some Jasmine test case fixes from Ganesh.
2019-07-12 10:06:30 +01:00
Nagesh Dhope
379b92729a Add Reverse Engineered SQL tests for FTS Dictionaries. Fixes 2019-07-11 14:00:11 +01:00
Ganesh Jaybhay
4cbc1f2f59 Allow keyboard navigation of all controls on subnode grids. Partially fixes 2019-07-11 10:14:01 +01:00
Navnath Gadakh
28585110dd Add Reverse Engineered SQL tests for Packages. Fixes 2019-07-11 09:23:13 +01:00
Akshay Joshi
cdf655f7db Add Reverse Engineered SQL tests for Languages. Fixes 2019-07-11 09:20:01 +01:00
Dave Page
49503dc73d Add documentation on using Traefik with pgAdmin mounted under a subdirectory, and tidy up the reverse proxying docs a little. 2019-07-10 12:03:37 +01:00
Ganesh Jaybhay
f7d6966d60 Add Reverse Engineered SQL tests for FTS Configurations. Fixes 2019-07-09 17:02:55 +01:00
Dave Page
bf0d53bc2c Add an example Traefik configuration. 2019-07-09 14:14:46 +01:00
Dave Page
2a56e47c5c Fix typo 2019-07-09 14:11:38 +01:00
Nagesh Dhope
84b712a008 Add RE-SQL tests for Extensions. Fixes 2019-07-09 13:23:26 +01:00
Akshay Joshi
a17687e27c Fix reverse engineered sql for Foreign Data Wrapper created on EPAS server in redwood mode. Fixes 2019-07-09 12:21:13 +05:30
Dave Page
08e6d54184 Add an example of reverse proxying from HTTPS to HTTP using Nginx. 2019-07-08 17:12:31 +01:00
Dave Page
07089785be Add examples of reverse proxying with nginx. 2019-07-08 16:38:11 +01:00
Akshay Joshi
8c39b10d9c Ensure browser should not be started by Selenium when feature tests are excluded from a test run. Fixes 2019-07-08 17:38:06 +05:30
Dave Page
e4bf52f355 Don't distinguish between issue types in their URL text. 2019-07-05 11:38:12 +01:00
Aditya Toshniwal
ba32c98241 Add Reverse Engineered SQL tests for FDWs. Fixes 2019-07-05 11:24:54 +01:00
Dave Page
6a2ba22f75 Fxi a couple of colors in the doc theme per Aditya. 2019-07-05 09:32:19 +01:00
Akshay Joshi
776884860e Ensure parameter values are quoted when needed when editing roles. Fixes 2019-07-04 15:00:29 +01:00
Aditya Toshniwal
0aa18fd466 Ensure drag/drop from the treeview works as expected on Firefox. Fixes 2019-07-04 14:49:09 +01:00
Aditya Toshniwal
15427334af Set the mouse cursor appropriately based on the layout lock state. Fixes 2019-07-04 14:33:05 +01:00
Dave Page
3487b3360e Use our own doc theme. 2019-07-04 14:10:01 +01:00
Akshay Joshi
fabb644230 Update the version number in release note. 2019-07-04 18:09:31 +05:30
Akshay Joshi
bf1f9a4b07 Fix table icon issue when updating any existing field. Fixes 2019-07-04 17:34:47 +05:30
Murtuza Zabuawala
588e3814d1 Add RE-SQL tests for Roles and Resource Groups. Fixes 2019-07-03 14:38:29 +01:00
Aditya Toshniwal
0340b8fb28 Add EXPLAIN options for SETTINGS and SUMMARY. Fixes
Prevent flickering of large tooltips on the Graphical EXPLAIN canvas. Fixes 
EXPLAIN options should be Query Tool instance-specific. Fixes 
2019-07-03 13:57:56 +01:00
Aditya Toshniwal
b76e0bea83 Ensure the version comparision should be correct for windows installer. Fixes 2019-07-02 14:58:18 +05:30
Akshay Joshi
d6c6b4a15a update the release date and message catalogs 2019-06-28 09:38:20 -04:00
Dave Page
64d31b9d3f Fix a quoting issue that caused a blank UI to be displayed when running in French. Fixes 2019-06-28 08:54:58 -04:00
Andrew Coleman
d397959f6a Allow the path to /pgadmin4/servers.json to be overridden in the container distribution. Fixes 2019-06-27 10:56:37 -04:00
Aditya Toshniwal
da8cf14047 Prevent an error that may occur when editing data with an integer primary key. Fixes 2019-06-27 10:43:25 -04:00
Aditya Toshniwal
2451db8797 Ensure the browser close confirmation is only shown when closing a Query Tool which is running in a separate browser tab. Fixes 2019-06-27 10:37:50 -04:00
Aditya Toshniwal
173b812b93 Allow some objects to be dragged/dropped into the Query Tool to insert their signature into the query text. Fixes 2019-06-27 10:30:05 -04:00
Aditya Toshniwal
c39d257bf6 Fix an XSS issue when username contains XSS vulnerable text. Fixes 2019-06-24 16:06:03 +05:30
Aditya Toshniwal
ebb5e3fe65 Ensure Python escaping matched JS escaping and fix a minor XSS issue in the Query Tool that required superuser access to trigger. Fixes 2019-06-21 09:53:57 +01:00
Khushboo Vashi
c07e52b9de Ensure that both columns and partitions can be edited at the same time in the table dialog. Fixes 2019-06-20 13:37:36 +01:00
Dave Page
81752bb998 Remove additional "SETOF" included when generating CREATE scripts for trigger functions. Fixes 2019-06-20 13:18:30 +01:00
Aditya Toshniwal
6e8ebbd375 Allow editing of data where a primary key column includes a % sign in the value. Fixes
Fix an XSS issue seen in View/Edit data mode if a column name includes HTML. Fixes 
2019-06-20 12:21:37 +01:00
Akshay Joshi
5c0ea0c012 Capitalize the word 'export' used in Import/Export module. Fixes 2019-06-19 16:17:29 +05:30
Akshay Joshi
b36d5d153b Ensure the debugger control buttons are only enabled once initialisation is complete. Fixes 2019-06-18 14:46:28 +01:00