Aditya Toshniwal
d056a94f0c
popen() function strips the quotes from the arguments, so backup fails
...
for the schema name that needs quoting.
Code is changed to add escapers.
Fixes #4590
2019-10-10 17:58:32 +05:30
Aditya Toshniwal
f16498a8a7
Optimize Webpack to improve overall performance.
...
Changes include:
1) Remove underscore-string and sprintf-js packages as we were using only %s. Instead, added a function to do the same. Also changed gettext to behave like sprintf directly.
2) backgrid.sizeable.columns was not used anywhere, removed. @babel/polyfill is deprecated, replaced it with core-js.
3) Moved few css to make sure they get minified and bundled.
4) Added Flask-Compress to send static files as compressed gzip. This will reduce network traffic and improve initial load time for pgAdmin.
5) Split few JS files to make code reusable.
6) Lazy load few modules like leaflet, wkx is required only if geometry viewer is opened. snapsvg loaded only when explain plan is executed. This will improve sqleditor initial opening time.
Reviewed By: Khushboo Vashi
Fixes #4701
2019-10-10 12:05:28 +05:30
Ashesh Vashi
6e4923d762
Fixes # 4778 - Implement the query plan analyzer
...
Look 'n' Feel and implementation logic are inspired from
'http://explain.depsez.com '.
It now creates three tabs under the 'Explain' panel when executing a
query using the Explain Analyze/Explain button from the toolbar of the
Query tool.
Graphical
---------
-> Graphical Explain Plan
Analysis
--------
-> Table to show details of the explain plan analyse.
-> Each row represents the statistics per Explain Plan Node
-> It may contains columns like node information, exclusive timing
(time spent for this explain node excluding the child nodes),
inclusive timing, actual rows, plan rows,
rowsx (misestimation between planned vs actual rows), loop.
-> Background color of exclusive, inclusive, rows changes based on
their values.
i.e.
If Percentage of exclusive, and inclusive timings of total query time
is:
> 90 - Red Color
> 50 - Orange (Between Red & Yellow Color)
> 10 - Yellow color
If planner misestimation for the rows is
> 1000 times - Red Color
> 100 times - Orange (Between Red & Yellow Color)
> 10 times - Yellow Color
Also - if actual rows <= planned rows then it shows up arrow, else it
shows down arrow.
Statistics
----------
-> It contains a HTML table for the statistics per Node Type, and
a HTML table for the statistics per table.
Reviewed by: Akshay Joshi
2019-10-08 16:44:24 +05:30
Akshay Joshi
1e4fd552ac
Ensure backup a partition table should not backup the whole database.
...
For the partition table same argument '--table' is used with pg_dump.
Fixes #3386
2019-10-07 16:32:37 +05:30
Akshay Joshi
55c6fa0d93
Fix an error where 'false' string is displayed when we add a new parameter in the Parameters tab,
...
also clear the old value when the user changes the parameter name.
Corrected the implementation of BooleanCellFormatter.
Fixes #4753
2019-10-07 16:00:28 +05:30
Akshay Joshi
7489c372e5
The search path should not be quoted while setting as a parameter, if it is
...
quoted then that string considers to be a single schema.
Quoting not added for the 'search_path' parameter.
Fixes #4760 , #4780
2019-10-07 12:28:00 +05:30
Aditya Toshniwal
41ee58e79a
Highlighted the color of closing or opening parenthesis when user select them in CodeMirror. Fixes #4728
2019-10-04 13:55:00 +05:30
Akshay Joshi
bf2c001c87
Export job fails when deselecting all the columns.
...
Select2 parameter 'first_empty' should be set to false for the controls of type array.
If it is true then on deselecting/clearing all the values, an empty entry is still there.
Fixes #4751
2019-10-04 13:00:39 +05:30
Dave Page
8249e66419
Tidy up formatting and wording.
2019-09-27 10:51:18 +01:00
Aditya Toshniwal
6032692de0
Unable to open Query tool on Internet Explorer.
...
Remove extra comma in the function argument while starting the query tool.
Other browsers had no problems, but it is an issue on Internet explorer.
Fixes #4769
2019-09-27 14:32:52 +05:30
Akshay Joshi
8e974b80ca
Fix documentation issue single quote is not allowed in reStructuredText.
2019-09-27 13:45:09 +05:30
Aditya Toshniwal
faf8062830
pgAdmin4 unable to work behind Nginx reverse proxy running on a non-standard port.
...
Werkzeug middleware allows us to set the number of trusted ports and few other params
behind the proxy. By default values are set to zero.
Added 'X-Forwarded-*' configuration options and set the default value of the port to 1 to work with non-standard port.
Fixes #4768
2019-09-27 13:24:35 +05:30
Khushboo Vashi
56e00d74ad
There is no option to Copy data with headers from Query Tool/View Data.
...
Added drop-down 'Copy with headers' near to the copy button in Query Tool/View Data.
Fixes #3009
2019-09-27 12:14:39 +05:30
Akshay Joshi
051e5038b5
Fix issue where query history is not visible in the query history tab. Fixes #4777
2019-09-25 13:18:33 +05:30
Akshay Joshi
c54017eac5
Add Reverse Engineered and Modified SQL tests for Synonyms. Fixes #4472
2019-09-24 18:33:07 +05:30
Aditya Toshniwal
73dc130908
Fix issue where pgAdmin does not load completely if loaded in an iframe. Fixes #4756
2019-09-23 12:55:02 +05:30
Aditya Toshniwal
82aa2d1819
Ensure that pgAdmin should work behind reverse proxy if the inbuilt server is used as it is. Fixes #4755
2019-09-23 11:50:32 +05:30
Akshay Joshi
1bef98fdfa
Ensure that 'ENTER' key in the data filter should not run the query. Fixes #4199
2019-09-20 18:13:44 +05:30
Akshay Joshi
faa6236580
Add Reverse Engineered and Modified SQL tests for Unique Constraints. Fixes #4628
2019-09-20 12:12:01 +05:30
Murtuza Zabuawala
80b05973c6
Fix query history exception for Python 3.6. Fixes #4750 .
2019-09-16 19:09:22 +05:30
Akshay Joshi
426d9d5872
Fix SQL issue of length and precision when changing the data type of Column. Fixes #4698
2019-09-16 18:57:57 +05:30
Dave Page
110a51c5b2
Refactor Dockerfile to avoid needing to run supporting scripts (i.e. 'docker build .' will work) and minimise layers. Fixes #4752
2019-09-16 13:48:11 +01:00
Khushboo Vashi
aa668856f7
1) Add Reverse Engineered and Modified SQL tests for Primary Keys. Fixes #4624 .
...
2) Ensure Primary Key should be created with Index. Fixes #4742 .
2019-09-16 12:05:29 +05:30
Akshay Joshi
f5a6df4ddb
Fix issue where EXEC script doesn't write the complete script for Procedures. Fixes #4727
2019-09-13 16:58:25 +05:30
Akshay Joshi
da553eec9b
Ensure port and username should not be mandatory when a service is provided. Fixes #4642
2019-09-13 11:54:16 +05:30
Aditya Toshniwal
83170a0e94
Fix display of validation error message in SlickGrid cells. Fixes #4408
2019-09-12 20:27:44 -04:00
Akshay Joshi
6d8c53bffd
Fix query tool and view data issue with the Italian language. Fixes #4736
2019-09-12 17:20:35 +05:30
Akshay Joshi
7944e75695
Ensure sequence with negative value should be created. Fixes #4726
2019-09-12 14:18:30 +05:30
Dave Page
31653aef70
Remove quotes that shouldn't be there.
2019-09-11 16:00:53 -04:00
Akshay Joshi
6a931588aa
1) Add Reverse Engineered and Modified SQL tests for Foreign Keys. Fixes #4616
...
2) Fix issue where Validated switch option is inverted for the Foreign Key. Fixes #4412
2019-09-11 15:59:13 +05:30
Akshay Joshi
8e4e8b3e5a
1) Add Reverse Engineered and Modified SQL tests for Indexes. Fixes #4621
...
2) Fix modified SQL for Index when reset the value of Fill factor and Clustered?. Fixes #4702
3) Fix reversed engineered SQL for btree Index when provided sort order and NULLs. Fixes #4703
2019-09-06 14:10:46 +05:30
Aditya Toshniwal
1c2ba72f02
Add editor options for plain text mode and to disable block folding to
...
workaround rendering speed issues in CodeMirror with very large scripts.
Fixes #4631 .
Re-arrange editor options in the Preferences dialogue to tidy things up.
2019-09-04 15:46:08 +01:00
Akshay Joshi
5e54f20578
Add Reverse Engineered and Modified SQL tests for Foreign Tables. Fixes #4618 .
2019-09-04 18:33:07 +05:30
Akshay Joshi
4745ad56e9
1) Add Reverse Engineered and Modified SQL tests for Foreign Servers. Fixes #4617
...
2) Add Reverse Engineered and Modified SQL tests for User Mappings. Fixes #4627
2019-09-03 16:27:41 +05:30
Aditya Toshniwal
04357b7a55
Fix error while importing data to a table using Import/Export dialog and providing Not null columns option. Fixes #4461 .
2019-09-03 11:19:33 +05:30
Murtuza Zabuawala
eeeb350ed2
Add Modified SQL tests for Resource Group. Fixes #4690
2019-09-03 10:18:09 +05:30
Domenico Sgarbossa
60a6c501fb
Add an Italian translation.
2019-09-02 13:35:32 +01:00
Akshay Joshi
5ff3f40116
Add Reverse Engineered and Modified SQL tests for FTS Templates. Fixes #4619
2019-09-02 15:24:41 +05:30
Aditya Toshniwal
bc91a7c7b2
Increase cache control max age for static files to improve performance over longer run. Fixes #4681
2019-09-02 12:17:43 +05:30
Aditya Toshniwal
47f26cc377
Fix exception in query history for python 2.7. Fixes #4663
2019-08-30 09:07:03 +05:30
Akshay Joshi
e0c53e7d1d
Add Reverse Engineered SQL tests for Schemas. Fixes #4575
2019-08-29 18:32:08 +05:30
Shubham Agarwal
fc4bef56a0
Further code refactoring to stabilise the Feature Tests. Fixes #3936
2019-08-28 18:04:08 +05:30
Aditya Toshniwal
028473eb83
Fix an issue where oid column should not be pasted when copy/paste row is used on query output containing the oid column. Fixes #4381
2019-08-28 13:35:40 +05:30
Usman Muzaffar
ac298b03c0
1) Add Reverse Engineered SQL tests for Views. Fixes #4576
...
2) Ensure View should be created with special characters. Fixes #4486
2019-08-28 12:48:59 +05:30
Aditya Toshniwal
06ad6b8ba8
1) Ensure Boolean columns should be editable using keyboard keys. Fixes #3778
...
2) Ensure Boolean columns should be editable in View/Edit data and Query Tool. Fixes #4487
2019-08-28 11:09:30 +05:30
Aditya Toshniwal
dbbbb2e5ed
Fix query tool launch error if user name contain html characters. Fixes #4674
2019-08-28 10:46:28 +05:30
Aditya Toshniwal
53ab4d7e8d
Fix an error that could be seen when click on any system column of a table. Fixes #4577
2019-08-26 14:36:07 +05:30
Yosry Muhammad
f8f7d5ac6f
Ensure editable and read-only columns in Query Tool should be identified by icons and tooltips in the column header. Fixes #4667
2019-08-26 14:17:40 +05:30
Aditya Toshniwal
234efc3be7
Don't wait for the database connection before rendering the Query Tool UI, for improved UX. Fixes #4453
...
In addition, unescape HTML entities in database names in the Query Tool title bar. Fixes #4584
2019-08-23 12:14:20 +01:00
Dave Page
25f85fe123
Fix PGADMIN_SERVER_JSON_FILE environment variable support in the container. Fixes #4657
2019-08-23 09:53:24 +01:00
Aditya Toshniwal
3dadb8989b
Fix a debugger error when using Python 2.7. Fixes #4419
...
Also fixes a minor bug where a reload warning was unnecessarily given when closing the debugger.
2019-08-23 09:43:51 +01:00
Akshay Joshi
232fe286ee
Fix SQL tab issue for Views. It's a regression of compound triggers. Fixes #4650
2019-08-23 10:22:20 +05:30
Dave Page
6192c48ef9
Further tweaks for formatting.
2019-08-22 15:41:24 +01:00
Dave Page
92aabb215f
Improve formatting.
2019-08-22 15:34:04 +01:00
Dave Page
c76b30e353
Allow configuration options to be set from the environment in the container distribution. Fixes #4651
2019-08-22 15:24:04 +01:00
Dave Page
1795141aec
Minor doc styling tweaks.
2019-08-22 15:11:59 +01:00
Neel Patel
dc64ce331a
Fix length and precision enable/disable issue when changing the data type for Domain node. Fixes #4644 .
2019-08-21 16:27:23 +05:30
Akshay Joshi
094e5577e8
Add Reverse Engineered SQL tests for Rules. Fixes #4600
2019-08-21 16:06:05 +05:30
Akshay Joshi
41e2a674e3
Fix Truncate option deselect issue for compound triggers. Fixes #4643
2019-08-20 17:09:26 +05:30
Akshay Joshi
bdff046c57
1) Added ProjectSet icon for explain module. Fixes #2706
...
2) Added Gather Merge, Named Tuple Store Scan and Table Function Scan icon for explain module. Fixes #2828
2019-08-20 16:47:53 +05:30
Akshay Joshi
0d6f07a035
1) Ensure compound triggers should be displayed under Views. Fixes #4638 .
...
2) Ensure Truncate option should be available for Compound Triggers. Fixes #4641 .
2019-08-20 09:39:31 +05:30
Murtuza Zabuawala
3155380621
Fix issue where Deleting N number of rows makes first N number of rows disable. Fixes #3605
2019-08-19 12:12:28 +05:30
Akshay Joshi
24f9f65b1b
Ensure compound triggers for event should be updated properly. Fixes #4635
2019-08-17 15:58:50 +05:30
Murtuza Zabuawala
3f541200d9
Add Reverse Engineered SQL tests for Columns. Fixes #4546
2019-08-16 17:36:13 +05:30
Yosry Muhammad
687204771c
Add support in query history to show internal queries generated by pgAdmin during save data operations. Fixes #4612
2019-08-16 17:17:12 +05:30
Akshay Joshi
35bbee3023
Fix generation of reverse engineered SQL for Rules. Fixes #4586
2019-08-12 14:27:02 +05:30
Aditya Toshniwal
a850e7bd5a
Update the documentation for pgAgent to clarify Batch jobs won't run on remote servers. Fix minor css issue in docs.
2019-08-12 11:45:54 +05:30
Yosry Muhammad
b618dfe286
Fix double click issue to expand the contents of a cell if the resultset was not editable. Fixes #4585
2019-08-09 11:45:05 +05:30
Aditya Toshniwal
1281f5cd6c
Fix console error when changing kind(SQL/BATCH) for pgAgent job step. Fixes #4582
2019-08-08 18:43:38 +05:30
Akshay Joshi
350ffcce7c
1) Add support of Compound Triggers for EPAS 12+. Fixes #4144 .
...
2) Ensure enable trigger menu should be visible when trigger is disabled. Fixes #4578 .
2019-08-08 16:59:11 +05:30
Khushboo Vashi
c29275011a
Ensure the comment on a Primary Key constraint can be edited under the Table node. Fixes #4581
2019-08-08 09:52:10 +01:00
Akshay Joshi
7f53e13aa7
Fix generation of reverse engineered SQL for partition table, partitions were shown as a child of indexes. Fixes #4414
2019-08-07 17:49:13 +05:30
Dave Page
3a5464b278
Display the row count in the popup message when counting table rows, not just in the properties list. Fixes #4574
2019-08-07 11:17:57 +01:00
Aditya Toshniwal
9cdb3b40ab
Add Reverse Engineered SQL tests for Trigger Functions. Fixes #4554
...
Fix the reverse engineered SQL for trigger functions with the WINDOW option selected. Fixes #4565
2019-08-06 14:26:11 +01:00
Aditya Toshniwal
6800b1f723
Add an optimisation to the internal code responsible for searching for treeview nodes. Fixes #4570
...
Attached is a tiny but very effective patch to improve the speed of
finding a node using path (used internally).
If you right click or just click on a node, internally the node is
traversed using its path. But currently, it compares with the path of
all the open nodes to find a match.
So if you 1000+ tables and the tables node is open and if you click on
a view, the view path is compared with all the 1000+ tables (and with
any other open nodes above) before arriving to path. You're at bad luck
if you have more open servers above.
Code is changed to check if the path of node to be found starts with the
current node path. If it doesn't match, why bother the children's of
current node.
This change will not show much effect for small data, but it does matter
for large servers.
One more change is to remove unnecessary calls to find node and use the
data available with Main Menu -> Object to enable/disable node context
menu items.
2019-08-06 14:02:57 +01:00
Aditya Toshniwal
db7a2e3023
Add a --modules option to the RE-SQL test suite to allow testing of specific object types. Fixes #4560
2019-08-06 13:43:49 +01:00
Murtuza Zabuawala
ee8fec6d7f
Allow enhanced cookie protection to be disabled for compatibility with dynamically addressed hosting environments. Fixes #4566
2019-08-06 09:21:31 +01:00
Khushboo Vashi
f8afe2ef94
Add Reverse Engineered SQL tests for Exclusion Constraint. Fixes #4555
2019-08-05 16:25:55 +05:30
Aditya Toshniwal
b5c8c85c90
Ensure triggers should be updated properly for EPAS server. Fixes #4559
2019-08-05 12:49:33 +05:30
Aditya Toshniwal
99a8b70e00
Fix some errors thrown on the JS console when dragging text in the Query Tool. Fixes #4552
2019-08-02 11:28:57 +01:00
Yosry Muhammad
0cfd76c279
Fix load on demand in View/Edit data mode. Fixes #4536
2019-08-02 10:39:19 +01:00
Akshay Joshi
537c27a58e
Use the full tab space for CodeMirror instances on dialogues where appropriate. Fixes #4540
2019-08-02 10:25:21 +01:00
Aditya Toshniwal
aab5fadc01
Update wcDocker to allow the browser's context menu to be used except in tab strips and panel headers. Fixes #4229
...
Update wcDocker to prevent window state loading creating blank dialogues. Fixes #4489
2019-08-01 15:36:40 +01:00
Yosry Muhammad
97e39699ea
Ensure the Query Tool doesn't throw an error when viewing the contents of a table with no columns. Fixes #4492
2019-08-01 14:39:02 +01:00
Yosry Muhammad
76e658ee12
Ensure command tags are shown in the messages tab of the Query Tool. Fixes #4520
2019-08-01 14:29:38 +01:00
Yosry Muhammad
7b65507533
Ensure the query tool will work with older versions of psycopg2 than we officially support, albeit without updateable resultsets. Fixes #4520
2019-08-01 13:59:53 +01:00
Aditya Toshniwal
bcb1392a1a
Ensure type names are properly encoded in the results grid. Fixes #4401
2019-08-01 13:17:00 +01:00
Dave Page
9a8a28e4f9
Allow a banner to be displayed on the login and other related pages showing custom text. Fixes #4549
2019-08-01 11:39:40 +01:00
Yosry Muhammad
82d209946f
Added support for editing of result sets from tables with OIDs in query tool.
2019-07-29 12:26:53 +05:30
Akshay Joshi
2ef3080d0e
Add support for generated columns in Postgres 12+. Fixes #4334
...
Ensure columns can be created when they are IDENTITY fields with the CYCLE option enabled. Fixes #4496
Ensure purely numeric comments can be saved on new columns. Fixed #4497
2019-07-25 16:38:26 +01:00
Daniel Gustafsson
5b322d94e8
Fix generation of reverse engineered SQL for tables with Greenplum 5.x. Fixes #4179
2019-07-25 16:16:44 +01:00
Khushboo Vashi
adb5cd34bf
Add support for planner support functions in PostgreSQL 12+ functions. Fixes #4333
2019-07-25 16:09:37 +01:00
Murtuza Zabuawala
108af5c10b
Fix accessibility issue for Datetime cell in backgrid. Fixes #4508
2019-07-25 17:54:24 +05:30
Ganesh Jaybhay
136bb412a1
1) Fix accessibility issue for checkbox in IE11. Fixes #4490
...
2) Fix adjacent switch cell focus issue in backgrid for IE.
2019-07-25 17:23:56 +05:30
Khushboo Vashi
c019778a47
1) Fix an error while retrieving json data from the table. Fixes #4427
...
2) Fix an issue where Explain and Explain Analyze are not working, it's regression of #1760 . Fixes #4484
3) Fix an issue where Filter toolbar button is not working in view/edit data, it's regression of keyboard navigation. Fixes #4485
2019-07-22 18:42:48 +05:30
Akshay Joshi
5a0aae0c1c
Correct the issue number and sequence in release note.
2019-07-18 12:41:54 +05:30
Khushboo Vashi
8168f623c4
Add Reverse Engineered SQL tests for Constraints. Fixes #4475
2019-07-17 13:25:08 +01:00
Yosry Muhammad
710d520631
Add support for editing of resultsets in the Query Tool, if the data can be identified as updatable. Fixes #1760
...
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 #4428
"Error when updating connection string in pgagent Jobs.". Fixes #4448
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 #4469
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 #4470
2019-07-15 14:55:07 +01:00
Shubham Agarwal
809e0682bd
Add Reverse Engineered SQL tests for FTS Parsers. Fixes #4471
2019-07-15 12:02:44 +01:00
Murtuza Zabuawala
1831c9e70a
Use ROLE consistently when generating RE-SQL for roles, not USER. Fixes #4446
2019-07-15 11:31:27 +01:00
Murtuza Zabuawala
1dcf46cc5f
Add Reverse Engineered SQL tests for Types. Fixes #4468
2019-07-15 10:25:04 +01:00
Neel Patel
88ab6db976
Add Reverse Engineered SQL tests for Domains. Fixes #4463
2019-07-12 14:39:49 +01:00
Khushboo Vashi
79e6f4c008
Add Reverse Engineered SQL tests for Collations. Fixes #4464
...
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 #3996
2019-07-12 10:37:41 +01:00
Akshay Joshi
ed01274f7b
Fix an error that could be seen when editing column privileges. Fixes #4389
2019-07-12 10:16:18 +01:00
Murtuza Zabuawala
20a5899c7d
Fix some minor UI issues on IE11. Fixes #4462
...
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 #4460
2019-07-11 14:00:11 +01:00
Ganesh Jaybhay
4cbc1f2f59
Allow keyboard navigation of all controls on subnode grids. Partially fixes #3919
2019-07-11 10:14:01 +01:00
Navnath Gadakh
28585110dd
Add Reverse Engineered SQL tests for Packages. Fixes #4456
2019-07-11 09:23:13 +01:00
Akshay Joshi
cdf655f7db
Add Reverse Engineered SQL tests for Languages. Fixes #4452
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 #4454
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 #4453
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 #4450
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 #4442
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 #4441
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 #4393
2019-07-04 15:00:29 +01:00
Aditya Toshniwal
0aa18fd466
Ensure drag/drop from the treeview works as expected on Firefox. Fixes #4429
2019-07-04 14:49:09 +01:00
Aditya Toshniwal
15427334af
Set the mouse cursor appropriately based on the layout lock state. Fixes #4318
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 #4437
2019-07-04 17:34:47 +05:30
Murtuza Zabuawala
588e3814d1
Add RE-SQL tests for Roles and Resource Groups. Fixes #4415
2019-07-03 14:38:29 +01:00
Aditya Toshniwal
0340b8fb28
Add EXPLAIN options for SETTINGS and SUMMARY. Fixes #4335
...
Prevent flickering of large tooltips on the Graphical EXPLAIN canvas. Fixes #4224
EXPLAIN options should be Query Tool instance-specific. Fixes #4395
2019-07-03 13:57:56 +01:00
Aditya Toshniwal
b76e0bea83
Ensure the version comparision should be correct for windows installer. Fixes #4421
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 #4407
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 #4400
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 #4404
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 #4403
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 #4139
2019-06-27 10:30:05 -04:00
Aditya Toshniwal
c39d257bf6
Fix an XSS issue when username contains XSS vulnerable text. Fixes #4386
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 #4378
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 #4380
2019-06-20 13:37:36 +01:00
Dave Page
81752bb998
Remove additional "SETOF" included when generating CREATE scripts for trigger functions. Fixes #4362
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 #4036
...
Fix an XSS issue seen in View/Edit data mode if a column name includes HTML. Fixes #4367
2019-06-20 12:21:37 +01:00
Akshay Joshi
5c0ea0c012
Capitalize the word 'export' used in Import/Export module. Fixes #4345
2019-06-19 16:17:29 +05:30
Akshay Joshi
b36d5d153b
Ensure the debugger control buttons are only enabled once initialisation is complete. Fixes #4360
2019-06-18 14:46:28 +01:00
Akshay Joshi
9e65c971a3
Add a framework for testing reversed engineered SQL and CRUD API endpoints. Fixes #4202
2019-06-18 14:28:25 +01:00
Dave Page
71919a4ce9
Prevent the "Please login to access this page" message displaying multiple times. Fixes #4306
2019-06-17 14:12:36 +01:00
Aditya Toshniwal
402dfd07db
Change icons for table inheritance (icons by Chethana Kumar) Fixes #3174
...
Along with this, I have also fixed few other issues/icons found on the way:
1) Dependencies tab for inherited tables/foreign keys shows partial text (Fixes ##3994).
2) Dependencies tab for child partition table shows parent partition table as Function.
3) Dependencies tab for triggers shows trigger functions as plain functions.
4) Dependents tab for partitioned table shows the child partition tables as normal table instead for partitioned tables.
2019-06-17 10:36:30 +01:00
Akshay Joshi
bf548dda3f
Fix help links for backup globals and backup server. Fixes #4365
2019-06-17 13:27:21 +05:30
Aditya Toshniwal
3b69f92d70
Ensure strings are properly encoded in the Query History. Fixes #4349
2019-06-14 09:17:02 +01:00
Aditya Toshniwal
82bd94e696
Fix connection restoration issue when pgAdmin server is restarted and the page is refreshed. Fixes #4357
2019-06-14 11:50:01 +05:30
Murtuza Zabuawala
08b78fb6a1
Ensure we include the CSRF token when uploading files. Fixes #4350
2019-06-12 13:52:18 +01:00
Aditya Toshniwal
23364464c2
Ensure the correct label is used in panel headers when viewing filtered rows. Fixes #4228
2019-06-11 15:11:23 +01:00
Akshay Joshi
d774a0ff67
Fix issue where property dialog of column should open properly for EPAS v12. Fixes #4343
2019-06-11 17:48:01 +05:30
Aditya Toshniwal
5437a8adab
Fix an initialisation error when two functions with parameters are debugged in parallel. Fixes #4329
2019-06-10 14:58:07 +01:00
Dave Page
6d52f2b911
Initial support for PostgreSQL 12. Fixes #4283 . Fixes #4288 . Fixes #4290 .
2019-06-10 14:24:45 +01:00
Dave Page
2ca11c84e8
Ensure that the Return key can be used to submit the Master Password dialogue. Fixes #4310
...
Ensure that browser auto-fill doesn't cause Help pages to be opened unexpectedly. Fixes #4317
2019-06-10 14:03:56 +01:00
Aditya Toshniwal
f561c0cee6
Fix keyboard navigation in "inner" tabsets such as the Query Tool and Debugger. Fixes #4195
2019-06-10 11:10:49 +01:00
Aditya Toshniwal
7ff85903e4
Fix issue where reverse engineered SQL was failing for foreign tables, if it had = in the options. Fixes #4171
2019-06-10 12:15:12 +05:30
Aditya Toshniwal
8b9c50ee5c
Fix issue where new column should be created with Default value. Fixes #4235
2019-06-10 11:53:16 +05:30
Dave Page
e691885881
Clarify warnings about disabling the master password.
2019-06-05 15:32:47 +01:00
Dave Page
caf181d5e3
Clarify docs around configuration files and disabling the master password.
2019-06-05 15:20:38 +01:00
Aditya Toshniwal
d90136d93d
Prevent the geometry viewer grabbing key presses when not in focus under Firefox, IE and Edge. Fixes #4255
2019-06-05 12:00:09 +01:00
Aditya Toshniwal
a588c2994d
1) Fix issue where SSH tunnel connection using password is failing, it's regression of Master Password. Fixes #4320
...
2) Fix some more issues related to SSH Tunnel(By: Akshay Joshi)
2019-06-05 12:07:24 +05:30
Akshay Joshi
c16c593322
Update the release date in the release note.
2019-06-01 14:11:34 +05:30
Dave Page
2dd075161d
Allow the UI layout to be fully locked or to prevent docking changes. Fixes #2653
2019-05-31 11:51:30 -04:00
Akshay Joshi
26c7d76d4f
Fix the issue of accessing the SQL for Views and Materialized Views. Regression of pluralisation of folder names. Fixes #4308
2019-05-31 11:02:37 +05:30
Aditya Toshniwal
2185ea302d
Omit the geometry viewer in the Query Tool from layout saving. Fixes #4169
2019-05-30 15:15:37 -04:00
Murtuza Zabuawala
32defc91cc
Improve the performance of explain plan by embedding the images only when downloading it. Fixes #4307
2019-05-30 17:49:43 +05:30
Dave Page
37bde4aaf4
Credit reporter who provided test script.
2019-05-29 16:34:04 -04:00
Dave Page
1f76d207f2
Minor phrasing fix.
2019-05-29 16:32:35 -04:00
Dave Page
8eab534c95
Fix typo
2019-05-29 16:27:56 -04:00
Dave Page
0eb3008426
Tidy up keyboard shortcut docs.
2019-05-29 16:24:29 -04:00
Aditya Toshniwal
15252b0a26
Added Help button on all master password dialogs.
2019-05-29 13:07:50 +05:30
Aditya Toshniwal
dfa892d2a2
1. Added Master Password to increase the security of saved passwords. Fixes #4184
...
2. In server(web) mode, update all the saved server credentials when user password is changed. Fixes #3377
2019-05-28 12:00:18 +05:30
Khushboo Vashi
6f0eafb223
Fixed CSRF security vulnerability issue. per Alvin Lindstam. Fixes #4217
...
Initial patch by: Khushboo Vashi
Modified by: Ashesh Vashi and Murtuza Zabuawala
2019-05-28 10:59:51 +05:30
Akshay Joshi
90a45557b9
1. Fix syntax error when adding more than one column to the existing table. Fixes #4162
...
2. Fix syntax error when creating a table with a serial column. Fixes #4284
2019-05-27 13:09:11 +05:30
Dave Page
4d23bb24a5
Add a missing fix.
2019-05-24 09:36:33 +01:00
Aditya Toshniwal
361f7077fd
Update the UI logo. Artwork by Chethana Kumar. Fixes #4208
2019-05-23 16:39:10 +01:00
Aditya Toshniwal
ee37be56f9
Fix handling of JSON in the Query Tool with NULL elements. Fixes #4263
2019-05-23 08:53:29 +01:00
Dave Page
0ee50ac248
Clarify wording for the NO INHERIT option on constraints, per Michel Feinstein. Fixes #4275
2019-05-21 11:51:19 +01:00
Murtuza Zabuawala
155768a2d7
Prevent Backgrid Password cells from losing focus if the browser opens an autocomplete list. Fixes #4278
2019-05-20 13:34:47 +01:00
Dave Page
da8da7bb49
Relax the permission check on the directory containing the config database, as it may fail in some environments such as OpenShift. Fixes #4276
2019-05-20 09:46:02 +01:00
Murtuza Zabuawala
5786c17569
Fix navigation of switch cells in grids. Fixes #4269
2019-05-17 16:27:14 +01:00
Dave Page
941dea99f5
Fix typo.
2019-05-17 09:04:04 +01:00
Sander Eikelenboom
ab5f35da8d
Fixed error on displaying table properties of a table partitioned by list having a default partition. Fixes #4262
2019-05-15 18:36:16 +05:30
Aditya Toshniwal
db4bb22cc6
Ensure that element should get highlighted when they get focus on using Tab key. Fixes #4245
2019-05-15 17:42:07 +05:30
Aditya Toshniwal
2cd58efcdd
1) Fixed Tab key navigation for Maintenance dialog. Fixes #4227
...
2) Fix Tab key issue for Toggle switch controls and button on the dialog footer in Safari browser. Fixes #4244
2019-05-15 16:37:06 +05:30
Aditya Toshniwal
ed8d1cde00
Fix accessibility issue for menu navigation. Fixes #4194
2019-05-15 15:38:33 +05:30
Dave Page
4b421550d3
Stop using application/x-javascript as a mime type and use the RFC-compliant application/javascript instead. Fixes #4261
2019-05-15 09:44:57 +01:00
Dave Page
020d9bb018
Clarify when the container will load server definitions.
2019-05-14 09:27:47 +01:00
Murtuza Zabuawala
eb189844e7
Fixed console error when subnode control is used in panels. Fixes #4246
2019-05-10 11:24:15 +05:30
Aditya Toshniwal
036bd66638
Fix file browser path issue which occurs when client is on Windows and server is on Mac/Linux. Fixes #4164
2019-05-03 11:58:06 +05:30
Dave Page
f02f91cbf1
Ensure popper.js is installed when needed. Fixes #4219
2019-04-30 13:57:10 +01:00
Neel Patel
34b59da526
Properly assign dropdownParent in Select2 controls. Fixes #4218
2019-04-30 12:57:17 +01:00
Dave Page
e53c2b1a5d
Ensure the treeview shows all sequences except those used to implement IDENTITY columns (which can be edited as part of the column). Show all if Show System Objects is enabled. Fixes #4154
2019-04-26 12:36:56 +01:00
Akshay Joshi
9b5a6e2bb7
Prevent duplicate columns being included in reverse engineered SQL for tables. Fixes #4163
2019-04-24 11:35:20 +01:00
Khushboo Vashi
74af8976c9
Ensure that newly added row in backgrid should be visible.
2019-04-23 17:32:00 +05:30
Khushboo Vashi
ecded18333
Fix an issue where 'GRANT UPDATE' sql should be displayed for default sequence privileges. Fixes #4087
2019-04-22 12:24:47 +05:30
Khushboo Vashi
5452bff49e
Fixed 'Increment value cannot be empty' error for existing tables. Fixes #4160
2019-04-22 12:04:49 +05:30
Aditya Toshniwal
49b318c39e
Ensure that confirmation dialog should be popped up before reload of query tool or debugger
...
if it is opened in a new browser tab. Fixes #4101
2019-04-18 15:39:36 +05:30
Aditya Toshniwal
d96f453e7f
Fixed 'Location cannot be empty' error when open Tablespace properties. Fixes #4134
2019-04-18 12:31:35 +05:30
Khushboo Vashi
0b47d1dbf6
1) Fix an issue where Deleting N number of rows makes first N number of rows disable. Fixes #3605
...
2) Ensure that on clicking Delete button should not delete rows immediately from the database server,
it should be deleted when Save button will be clicked. Fixes #2392
2019-04-18 12:09:35 +05:30
Dave Page
d728ee7436
Ensure sanity of the permissions on the storage and session directories and the config database. Fixes #4182
2019-04-17 16:57:34 +01:00
Aditya Toshniwal
024cfd2fab
1) Ensure that JSON strings as comments should be added properly for all the objects. Fixes #3582
...
2) Fixed alignment issue of columns in definition section of Index node. Fixes #4121
2019-04-12 15:07:07 +05:30
Dave Page
ded446fe8a
Depend on psycopg2-binary in the Python wheel, rather than psycopg2. Fixes #4165
2019-04-11 10:08:44 +01:00
Khushboo Vashi
a9d964b5ca
1) Added support for Default Partition. Fixes #3938
...
2) Ensure that record should be add/edited for root partition table with primary keys. Fixes #4104
2019-04-11 13:25:24 +05:30
Akshay Joshi
9c3925e448
Ensure that parameters of procedures for EPAS server 10 and below should be set/reset properly. Fixes #4161
2019-04-10 13:22:52 +05:30
Murtuza Zabuawala
6016a5ee98
Fix an issue where the dropdown becomes misaligned/displaced. Fixes #4138
2019-04-09 12:09:25 +05:30
Akshay Joshi
490999f528
Updated release notes
2019-04-08 18:33:20 +05:30
Khushboo Vashi
c21ea3c342
Ensure that pgAdmin4 should work properly with psycopg2 v2.8. Fixes #4143
2019-04-08 17:49:50 +05:30
Murtuza Zabuawala
84ecffa4d9
Added recommended ESLinter checks. Fixes #4142
2019-04-05 13:07:43 +05:30
Dave Page
f706f7ed0c
Relabel the Save button on the datagrid text editor to avoid confusion with the actual Save button that updates the database. Fixes #4131
2019-04-02 17:20:43 +01:00
Akshay Joshi
d286bada5c
Fix custom autovacuum configuration for Materialized Views. Fixes #4110
2019-04-01 09:47:17 +01:00
Akshay Joshi
fe6e5e3c45
Correct the feature number in the release note.
2019-04-01 12:18:45 +05:30
Dave Page
be313bb17b
Missed a bug :-(
2019-03-29 14:35:43 +00:00
Aditya Toshniwal
7627e9c699
Display errors during CSV download from the Query Tool in the UI rather than putting them in the CSV file. Fixes #4085
...
Ensure the toolbar buttons are properly reset following a CSV download in the Query Tool. Fixes #4096
2019-03-29 14:31:33 +00:00
Khushboo Vashi
97919d091a
Add support for IDENTITY columns. Fixes #4030
2019-03-28 13:13:43 -04:00
Aditya Toshniwal
8aaacdf96e
Include inherited column comments and defaults in reverse engineered table SQL. Fixes #2627
...
Include comment SQL for inherited columns in reverse engineered table SQL. Fixes #4037
Include inherited columns in SELECT scripts. Fixes #4058
2019-03-28 08:36:41 -04:00
Aditya Toshniwal
fbc6aea497
Fix an issue where JSON data would not be rendered in the Query Tool. Fixes #4105
2019-03-28 08:12:09 -04:00
Aditya Toshniwal
6fb35f2649
Overhaul the layout saving code so it includes the Query Tool and Debugger, and stores the layout when change events are detected rather than (unreliably) on exit. Fixes #4084
2019-03-26 11:08:45 -04:00
Akshay Joshi
9c2ea3ca11
1) Ensure View/Materialized View node should be visible after updating any property. Fixes #4109
...
2) Updated the icon for Materialized View.
2019-03-26 14:12:47 +05:30
Dave Page
a5ebdafb82
Enlarge the grab handles for resizing dialogs etc. Fixes #4063
2019-03-25 07:50:55 -04:00
Akshay Joshi
212ca01506
Ensure sequences can be created with increment, start, minimum and maximum options set. Fixes #4100
2019-03-22 15:54:34 +00:00
Dave Page
ce073a2856
Fix SQL help for EPAS 10+, and refactor the URL generation code into a testable function. Fixes #4099
2019-03-22 14:09:24 +00:00
Dave Page
ae23f146d1
Use the user's full email address (not just the username part) as the basis for the storage directory name.. Fixes #3887
2019-03-22 09:36:13 +00:00
Dave Page
83bb07e01d
Improve the German translation for Backup Server, per H Re. Fixes #4090
2019-03-21 16:18:09 +00:00
Dave Page
89784413dd
Fix indent.
2019-03-21 14:05:40 +00:00
Dave Page
3f22503ad2
Tidy up table formatting in the docs. Thanks to Susan Douglas for the tips!
2019-03-21 11:38:34 +00:00
Aditya Toshniwal
61f11aa4fc
Update wcDocker to fix the issue where the Scratch Pad grows in size if the results panel is resized. Fixes #3968
2019-03-21 09:15:28 +00:00
Dave Page
bb1e908b54
Apply codestyle checks to all Python code.
2019-03-20 11:17:51 +00:00
Aditya Toshniwal
3db3740cf2
Fix handling of numeric arrays in View/Edit Data. Fixes #4062
2019-03-19 16:29:05 +00:00
Dave Page
7a271a34c6
Make the WHEN field a CodeMirror control on the Event Trigger dialogue. Fixes #4050
2019-03-15 10:35:47 +00:00
Dave Page
2e3475e06a
Fix the RE-SQL syntax for roles with a VALID UNTIL clause. Fixes #4081
2019-03-15 10:03:11 +00:00
Dave Page
69ec460b60
Fix naming inconsistency for the column and FTS parser modules. Fixes #1269
2019-03-14 16:52:42 +00:00
Dave Page
395d3cb545
Improve a couple of German translations. Fixes #3104
2019-03-14 16:36:02 +00:00
Dave Page
c548eac5ef
Append the file suffix to filenames when needed in the File Create dialogue. Fixes #4069
2019-03-14 15:48:21 +00:00
Khushboo Vashi
e4417229aa
Update all Python and JS dependencies. Fixes #4019
2019-03-14 15:11:16 +00:00
Dave Page
c7b29d35ae
Add an ePub doc build target (update to release notes). Fixes #4075
2019-03-13 16:23:27 +00:00
Dave Page
a9dad423f6
Fix the online help button on the resource group dialogue. Fixes #4052
2019-03-13 16:21:10 +00:00
Dave Page
cdc9ed678f
Enable the online help button on the index dialogue. Fixes #4053
2019-03-13 16:18:51 +00:00
Dave Page
870d373ced
Change the CodeMirror active line background colour to $color-danger-lighter so it doesn't conflict with the selection colour. Fixes #4073
2019-03-13 16:04:26 +00:00
Dave Page
ab9a3a57ad
Make the Query Tool history persistent across sessions. Fixes #4017
2019-03-13 13:37:34 +00:00
Dave Page
25b8a909b1
Update links in docs to https where possible, and fix a couple of broken/out of date ones.
2019-03-12 14:24:46 +00:00
Dave Page
2356988bdf
Ensure that Firefox prompts for a filename/location when downloading query results as a CSV file. Fixes #4071
2019-03-12 12:45:25 +00:00
Khushboo Vashi
eb1db50f85
Avoid 'bogus varno' message from Postgres when viewing the SQL for a table with triggers. Fixes #3995
2019-03-12 10:13:31 +00:00
Dave Page
8f1f04e5f3
Major doc cleanup:
...
- Reformat source so it's wrapped.
- Standardise markup.
- Center images.
- Restructure in various places to improve the indexing.
- Remove duplicated Query Tool toolbar descriptions.
- Ensure the structure works in both HTML and LaTeX.
2019-03-08 15:29:05 +00:00
Dave Page
f4ca208474
Fix the latexpdf doc build. Fixes #4060
...
Thanks to Jean-François for the assist:
https://groups.google.com/forum/#!topic/sphinx-users/ZlQ95_QikXo
2019-03-08 09:45:04 +00:00
Aditya Toshniwal
6aae9d6e20
Handle resultsets with zero columns correctly in the Query Tool. Fixes #4054
2019-03-07 15:22:45 +00:00
Dave Page
f8b9a86e95
Include the license in the docs, and ensure it gets updated each year.
2019-03-07 15:12:12 +00:00
Dave Page
47bce4eb23
Some more doc restructuring and cleanup.
2019-03-07 14:29:51 +00:00
Dave Page
64ee23a088
Some doc restructuring and cleanup.
2019-03-07 14:26:56 +00:00
Aditya Toshniwal
4b895941b3
Remove the large and unnecessary dependency on React and 87 other related libraries. Fixes #4018
2019-03-07 10:51:59 +00:00
Dave Page
f401def044
Add support for reverse proxied setups with Gunicorn, and document Gunicorn, uWSGI & NGINX configurations. Fixes #2001
2019-03-04 16:29:41 +00:00
Abhilasha Narendra
9d96d6123e
Update documentation screenshots as per new design. Fixes #3890
2019-03-04 13:06:04 +05:30
Murtuza Zabuawala
36ffdb93e8
Custom-encode forward slashes in URL parameters as Apache HTTPD doesn't allow them in some cases. Fixes #3998
2019-03-01 14:55:25 +00:00
Dave Page
13f52ad9ac
Update release notes.
2019-03-01 13:54:11 +00:00
Akshay Joshi
bbeb395beb
Ignore exceptions in the logger. Fixes #3933
2019-02-28 13:22:12 +00:00
Aditya Toshniwal
e6e7cf0f69
Fix support for bigint's in JSONB data. Fixes #3587
2019-02-27 13:39:47 +00:00
Aditya Toshniwal
9c5b9364b6
Support double-click on Query Tool result grid column resize handles to auto-size to the content. Fixes #4034
2019-02-26 13:44:16 +00:00
Dave Page
0694f59e70
Fix formatting
2019-02-25 12:51:50 +00:00
Dave Page
42aa4dcd22
Clarify pgAgent installation options.
2019-02-25 12:10:53 +00:00
Aditya Toshniwal
59446bb4b5
Ensure JSON data isn't modified in-flight by psycopg2 when using View/Edit data. Fixes #3600
2019-02-25 10:34:36 +00:00
Akshay Joshi
a5d39003b6
Handle display of roles with expiration set to infinity correctly. Fixes #3352
2019-02-25 10:24:11 +00:00
Dave Page
c45675e019
Ensure long queries don't cause errors when downloading CSV in the Query Tool. Fixes #4013
...
This was actually fixed by #3673 it would appear.
2019-02-22 16:29:45 +00:00
Dave Page
27d3990ba2
Allow editing of values in columns with the oid datatype which are not an actual row OID. Fixes #3418
2019-02-22 16:18:39 +00:00
Dave Page
d326ddd21a
Update release notes as the fix for #3583 appears to have resolved other issues. Fixes #4000
2019-02-22 15:44:14 +00:00
Dave Page
3ad606733a
Update doc colours to more closely match the new UI.
2019-02-22 15:22:50 +00:00
Akshay Joshi
38b034ec3c
Add Commit and Rollback buttons to the Query Tool. Fixes #2418
2019-02-22 14:28:05 +00:00
Dave Page
73b144c45c
Fix an issue where importing servers fails if a group already exists for a different user. Fixes #4022
2019-02-21 15:40:37 +00:00
Khushboo Vashi
98283c1213
Disable the editor and execute functions whilst queries are executing. Fixes #4021
2019-02-21 14:19:25 +00:00
Akshay Joshi
5be0d17df5
Don't exclude SELECT statements from transaction management in the Query Tool in case they call data-modifying functions. Fixes #3958
2019-02-21 14:05:10 +00:00
Dave Page
bacb57086c
Update CodeMirror to 5.43.0 to resolve issues with auto-indent. Fixes #3583
2019-02-21 10:57:44 +00:00
Dave Page
e5598038fa
Ensure size stats are prettified on the statistics tab when the UI language != English. Fixes #3096
2019-02-20 16:39:38 +00:00
Dave Page
a39f43788b
Include multiple versions of the PG utilties in containers. Fixes #3886
2019-02-20 15:17:16 +00:00
Khushboo Vashi
34045efb38
Modify the Download as CSV option to use the same connection as the Query Tool its running in so temporary tables etc. can be used. Fixes #3673
2019-02-20 11:49:45 +00:00
Aditya Toshniwal
292ac32db5
Fix editing of table data with a JSON primary key. Fixes #3912
2019-02-20 11:15:39 +00:00
Dave Page
255afe673a
Add a "scratch pad" to the Query Tool to hold text snippets whilst editing. Fixes #2233
2019-02-15 15:44:49 +00:00
Dave Page
c64373435b
Make the Query Tool tab titles more concise and useful. Fixes #3544
2019-02-15 15:09:49 +00:00
Khushboo Vashi
622b67684d
Optimise display of Dependencies and Dependents, and use on-demand loading of rows in batches of 100. Fixes #3959
2019-02-14 11:15:01 +00:00
Dave Page
122336eb63
Update release notes.
2019-02-14 09:19:36 +00:00
Khushboo Vashi
17694ab467
Automatically expand child nodes as well as the selected node on the treeview if there is only one. Fixes #3559
...
This also ensure the browser state is cleared if the save interval is set to -1.
2019-02-14 09:18:08 +00:00
Dave Page
438116c574
Update Alpine Linux version in the docker container. This also updates the PG utilities to v11. Fixes #3991
2019-02-13 17:18:14 +00:00
Akshay Joshi
944cc55df7
Prevent an error when closing the Sort/Filter dialogue with an empty filter string. Fixes #3970
2019-02-13 16:44:57 +00:00
Dave Page
6af8efb5b1
You can't change colours in Preferences. Fixes #2990
2019-02-13 11:07:47 +00:00
Akshay Joshi
1f43b05c2a
Fix alignment of checkbox to drop multiple schedules of pgAgent job. Fixes #3946
2019-02-13 14:55:52 +05:30
Akshay Joshi
10ee75bb1f
Fix alignment of Close and Maximize button of Grant Wizard. Fixes #3906
2019-02-13 13:13:07 +05:30
Akshay Joshi
0aa93ac3ba
Fix alignment of Connection type toggle switch of pgagent. Fixes #3974
2019-02-13 13:03:44 +05:30
Dave Page
f72dcc23ea
Allow X-FRAME-OPTIONS to be set in config.py. Default to SAMEORIGIN. Fixes #3439
...
DENY cannot be supported without breaking the debugger and query tool.
2019-02-12 16:17:14 +00:00
Dave Page
1fc66406f5
Don't embed docs and external sites in iframes, to allow the external sites to set X-FRAME-OPTIONS = DENY for security. Fxies #3985
2019-02-12 16:07:38 +00:00
Dave Page
e0e7d6f1f6
Install a script to start pgAdmin (pgadmin4) from the command line when installed from the Python wheel. Fixes #1825
2019-02-12 14:04:45 +00:00
Dave Page
7f3e5c95c6
Add a missing bug fix.
2019-02-11 15:45:13 +00:00
Akshay Joshi
399d490342
Fix context sub-menu alignment on Safari. Fixes #3873
2019-02-11 13:38:11 +00:00
Akshay Joshi
22d458b01e
Close connections gracefully when the user logs out of pgAdmin. Fixes #3942
2019-02-06 13:17:52 +00:00
Akshay Joshi
0cc37de404
Added release_notes_4_3 to the toctree for the documentation.
2019-02-06 17:03:56 +05:30
Akshay Joshi
8f4d1f14f2
1) Fix alignment of import/export toggle switch. Fixes #3963
...
2) Remove unnecessary options for toggle switch which are already the default options.
2019-02-06 16:49:36 +05:30
Navnath Gadakh
5fdc1ffb38
Exclude HTTPExceptions from the all_exception_handler as they should be returned as-is. Fixes #3961
2019-02-04 10:31:47 +00:00
Dave Page
9df89f9bd5
There are no new features in 4.1 or 4.2, just fixes and optimisations.
2019-02-04 10:10:53 +00:00
Aditya Toshniwal
aad7830d37
Dashboard graph optimization. Fixes #3941
2019-02-04 15:39:47 +05:30
Khushboo Vashi
dae8186c2a
Replace Bootstrap switch with Bootstrap4 toggle to improve the performance. Fixes #3051
2019-02-04 11:31:48 +05:30
Akshay Joshi
93234c86b7
Fix alignment of submenu for Internet Explorer. Fixes #3932
2019-02-01 17:55:38 +05:30
Cyril Jouve
b786c4c140
Replace the PyCrypto module with the cryptography module. Fixes #3272
2019-01-31 15:57:27 +01:00
Diego Augusto Molina
da3b3de397
Expose the bind address in the Docker container via PGADMIN_BIND_ADDRESS. Fixes #3955
2019-01-31 14:26:35 +01:00
Cyril Jouve
cbd8f8236a
Remove Python 2.6 code that's now obsolete. Fixes #3935
2019-01-31 13:47:56 +01:00
Khushboo Vashi
6244463ac1
Fixed Statistics panel hang issue for 1000+ tables. Fixes #3664
2019-01-31 14:47:29 +05:30
Khushboo Vashi
3b35aaa1d7
Fixed unable to drop multiple Rules and Foreign Tables from properties tab. Fixes #3899
2019-01-31 13:03:37 +05:30
Akshay Joshi
0bb4f005e5
Correct schema should be displayed in Materialized View dialog. Fixes #3916
2019-01-31 11:29:18 +05:30
Akshay Joshi
0e489df7b0
Fixed debugger issue for procedure inside package for EPAS servers. Fixes #3927
2019-01-30 14:48:58 +05:30
Aditya Toshniwal
ab094e8f16
Increase frames splitter mouse hover area to make it easier to resize. Fixes #3865
2019-01-30 14:26:36 +05:30
Akshay Joshi
fedbcd4045
Ensure that output of the query should be displayed even if Data Output window is detached from the Query Tool. Fixes #3697
2019-01-29 18:48:21 +05:30
Aditya Toshniwal
821496dc84
Fixed Query Tool Initialization Error. Fixes #3903
2019-01-29 11:45:31 +05:30
Murtuza Zabuawala
07f16f40cd
Ensure that grant wizard should list down functions for EPAS server running with no-redwood-compat mode. Fixes #3935
2019-01-28 12:47:27 +05:30
Murtuza Zabuawala
2d7eaa63c4
Fix alignment of help messages in properties panels. Fixes #3929
2019-01-24 16:39:55 +00:00
Murtuza Zabuawala
d9fc9fdc4d
Ensure object names in external process dialogues are properly escaped. Fixes #3872
2019-01-24 16:34:18 +00:00
Akshay Joshi
f316e0533e
1) Messages tab of query tool should be clear on subsequent execution of table/view using View/Edit Data. Fixes #3608
...
2) Clear drop-down menu should be disabled for View/Edit Data. Fixes #3609
2019-01-23 18:25:33 +05:30
Khushboo Vashi
406ada10f5
Fixed EXEC script for procedures. Fixes #3850
2019-01-23 14:44:24 +05:30
Aditya Toshniwal
fcfe0929d3
Ensure that browser should warn before close or refresh. Fixes #3849
2019-01-23 11:57:36 +05:30
Khushboo Vashi
c6bae69b6f
Proper SQL should be generated when create domain of type interval with precision. Fixes #3853
2019-01-22 17:53:36 +05:30
Harshal Dhumal
ea87d6da8f
Fixed keyboard navigation for Select2 and Privilege cell in Backgrid Fixes #3908
2019-01-22 16:35:57 +05:30
Harshal Dhumal
f731ab730b
Fixed keyboard navigation for dialog tabs. Fixes #3862
2019-01-22 16:28:32 +05:30
Akshay Joshi
3e7381414f
Drop-down should be closed when click on any other toolbar button. Fixes #3858
2019-01-22 16:05:02 +05:30
Aditya Toshniwal
6fc2e032f3
Fixed alignment of tree arrow icons for Internet Explorer. Fixes #3871
2019-01-21 17:40:05 +05:30
Khushboo Vashi
3ffeb4be45
Ensure that database restriction of server dialog should work with special characters. Fixes #3800
2019-01-21 17:24:46 +05:30
Aditya Toshniwal
a9794d8ab4
Ensure that file format combo box value should not retained when hidden files checkbox is toggled. Fixes #3840
2019-01-21 16:22:59 +05:30
Khushboo Vashi
aedb3997b0
Ensure that Backup/Restore button should work on single click. Fixes #3811
2019-01-21 15:27:55 +05:30
Akshay Joshi
c7cbe0ff4a
Data should be updated properly for FTS Configurations, FTS Dictionaries, FTS Parsers and FTS Templates. Fixes #3897
2019-01-21 14:36:39 +05:30
Aditya Toshniwal
27cdb835cb
Correct order of Save and Cancel button for json/jsonb editing. Fixes #3891
2019-01-18 18:14:50 +05:30
Akshay Joshi
69f6895224
Proper SQL should be generated when create function with return type as custom type argument. Fixes #3774
2019-01-18 15:11:35 +05:30
Akshay Joshi
a163edec7a
Inline edbspl trigger functions should not be visible in Grant Wizard. Fixes #3740
2019-01-17 18:37:36 +05:30
Akshay Joshi
c1aba3e055
1) Proper SQL should be generated when creating/changing column with custom type argument. Fixes #3838
...
2) Proper SQL should be generated when create procedure with custom type arguments. Fixes #3846
2019-01-17 13:13:15 +05:30
Aditya Toshniwal
6bbcaf6b27
Fixed SQL for when clause while creating Trigger. Fixes #3837
2019-01-16 14:46:34 +05:30
Aditya Toshniwal
dec43d98dc
Fixed execution time to show Hours part for long running queries in Query Tool. Fixes #3475
2019-01-16 12:57:52 +05:30
Aditya Toshniwal
d7b0508305
Fixed SQL for foreign table options. Fixes #3453
2019-01-16 12:34:16 +05:30
Aditya Toshniwal
2a359d9d77
Proper error should be thrown when server group is created with existing name. Fixes #3693
2019-01-15 18:38:01 +05:30
Aditya Toshniwal
7b0c81126c
Ensure long string should be wrap in alertify dialogs. Fixes #3695
2019-01-15 18:23:59 +05:30
Aditya Toshniwal
d4a2f1b8cd
Ensure that last row of table data should be visible and user will be able to add new row. Fixes #3866
2019-01-11 23:25:05 +05:30
Aditya Toshniwal
d641b47adb
Make the browser more robust in the face of multibyte characters in SQL_ASCII databases. Fixes #3877
2019-01-11 21:55:49 +05:30
Akshay Joshi
252e05ef29
Fix SQL generated for tables with inherited columns. Fixes #3505
2019-01-11 21:50:02 +05:30
Akshay Joshi
8fb340d23b
Fix ordering of VACUUM options which changed in PG11. Fixes #3836
...
While we're at it, fix the JSON handling in the maintenance/backup/restore routes.
2019-01-10 15:29:55 +05:30
Aditya Toshniwal
f7fa18f827
Ensure the context menu works after a server is renamed. Fixes #3575
2019-01-10 11:52:52 +05:30
Akshay Joshi
01b87d4834
Don't show system catalogs in the schemas property list unless show system objects is enabled. Fixes #3842
2019-01-10 11:41:09 +05:30
Aditya Toshniwal
868622912e
Fix help for the backup/restore dialogues. Fixes #3861
2019-01-10 11:20:42 +05:30
Aditya Toshniwal
3c7742f3b2
Fixed an issue while creating export job. Fixes #3856
2019-01-08 13:02:29 +05:30
Akshay Joshi
ea514115c3
Update the release note version in toctree
2019-01-07 16:34:25 +05:30
Akshay Joshi
561ee7556f
Update version for release
2019-01-07 16:14:58 +05:30
Khushboo Vashi
ce1c06d7f1
Ensure we display the relation name (and not the OID) in the locks table wherever possible. Fixes #3702
...
Note that at the server level we fetch the data from pg_locks in the maintenance database,
so it can not fetch the pg_class relation for tables in other databasess (relation::regclass).
2019-01-04 14:45:28 +00:00
Dave Page
fb02f8b1be
Update release notes.
2019-01-04 13:11:20 +00:00
Akshay Joshi
4e27bf989f
Display event trigger functions correctly on EPAS. Fixes #3549
2019-01-04 13:06:45 +00:00
Dave Page
7f40444087
Update WSGI instructions for Windows for Python 3. Fixes #3847 . Patch from Benjamin Hayes.
2019-01-04 09:54:24 +00:00
Aditya Toshniwal
1283c22bb9
Fix a webpack issue that could cause the Query Tool to fail to render. Fixes #3679
2019-01-03 14:43:45 +00:00
Akshay Joshi
c455dda3ce
Ensure auto complete should works for columns from a schema-qualified table. Fixes #3810
2019-01-03 18:59:57 +05:30
Akshay Joshi
3a130d68c5
Ensure auto complete should works when first identifier in the FROM clause needs quoting. Fixes #3809
2019-01-03 17:22:42 +05:30
Murtuza Zabuawala
e23d307c56
Update copyright notices for 2019
2019-01-02 15:54:12 +05:30
Akshay Joshi
41c028f944
Ensure that null values handled properly in CSV download. Fixes #3780
2019-01-01 15:15:36 +05:30
Khushboo Vashi
a000dc6f60
Further improvements to treeview restoration. Fixes #3559
2018-12-21 11:36:11 +00:00
Aditya Toshniwal
943fc25f60
Make the setup process more robust against aborted executions. Fixes #3830
2018-12-21 10:30:49 +00:00
Khushboo Vashi
d14fb85fff
Tweak the wording on the Grant Wizard. Fixes #3796
2018-12-20 10:17:00 +00:00
Murtuza Zabuawala
13dbfff11d
Ensure identifiers are properly displayed in the plan viewer. Fixes #3821
2018-12-20 10:09:11 +00:00
Akshay Joshi
7515e08578
Fix an issue when user define Cast from smallint->text is created. Fixes #3753
2018-12-19 18:02:04 +05:30
Akshay Joshi
c973c3387e
Include the WHERE clause on EXCLUDE constraints in RE-SQL. Fixes #3726
2018-12-18 13:37:04 +00:00
Dave Page
62bb3ca097
Correct bug number, per Khushboo.
2018-12-13 11:51:57 +00:00
Khushboo Vashi
e666b0fab0
Fix an issue that could cause the Query Tool to fail to render. Fixes #3433
2018-12-13 11:15:55 +00:00
Khushboo Vashi
dfbb2212c0
Prevent attempts to bulk-drop schema objects. Fixes #3797
2018-12-13 11:03:30 +00:00
Akshay Joshi
52fb8e197f
Increase the size of the resize handle of the edit grid text pop-out. Fixes #3083
...
Allow horizontal sizing of the edit grid text pop-out. Fixes #3805
2018-12-13 10:56:45 +00:00
Dave Page
d68eede3e6
Allow query plans to be downloaded as SVG files. Fixes #3589
2018-12-13 10:49:56 +00:00
Akshay Joshi
90b2d2e536
Update release notes.
2018-12-10 15:07:27 +05:30
Akshay Joshi
431516ad61
Ensure the browser toolbar buttons work in languages other than English. Fixes #3798
2018-12-06 09:25:15 +00:00
Dave Page
1141930178
Allow servers to be pre-loaded into container deployments. Fixes #3801
2018-12-05 17:16:46 +00:00
Dave Page
55402ec7d9
Run Postfix in the container build so passwords can be reset etc. Fixes #3599
2018-12-05 14:44:23 +00:00
Dave Page
739864c7d1
Update release notes.
2018-12-04 17:04:27 +00:00
Akshay Joshi
d801ed5008
Add titles to the code areas of the Query Tool and Debugger to ensure that panels can be re-docked within them. Fixes #3619
2018-11-29 15:47:48 +00:00
Akshay Joshi
bdf9f3404f
Fix handling of array types as inputs to the debugger. Fixes #3354
2018-11-27 11:18:47 +00:00
Dave Page
f0327f5219
Add the ability to import and export server definitions from a config database. Fixes #3772
2018-11-21 16:09:20 +00:00
Akshay Joshi
05e067035f
Prevent the debugger controls being pressed again before previous processing is complete. Fixes #3734
...
Note that this needs to be re-visited in the future, as the current fix is somewhat hacky.
2018-11-20 16:35:27 +00:00
Akshay Joshi
8b5abdfa8f
Fix changes to the NOT NULL and default value options in the Table Dialogue. Fixes #3742
2018-11-20 16:29:20 +00:00
Dave Page
782b7419f6
Fix toggle breakpoints buttons in the debugger. Fixes #3736
2018-11-20 16:22:56 +00:00
Dave Page
bbb8433af3
Don't double-list the connecting page in the index.
2018-11-19 13:55:18 +00:00
Akshay Joshi
ef68cae1f1
Properly report errors when debugging cannot be started. Fixes #3723
2018-11-15 15:18:12 -05:00
Akshay Joshi
9b0889842d
Fix dropping of multiple functions/procedures at once. Fixes #3746
2018-11-14 08:40:21 -05:00
Akshay Joshi
eae18f6f14
Ensure previous notices are not removed from the Messages tab in the Query Tool if an error occurs during query execution. Fixes #3016
2018-11-14 08:27:47 -05:00
Akshay Joshi
220fdf583e
Allow use of 0 (integer) and empty strings as parameters in the debugger. Fixes #3629
2018-11-02 16:44:09 +00:00
Khushboo Vashi
f17979141c
Add support for dropping multiple objects at once from the collection Properties panel. Fixes #1513
2018-10-31 10:30:37 +00:00
Akshay Joshi
3359a0de7a
Allow the selection order to be preserved in the Select2 control to fix column ordering in data Import/Export. Fixes #3029
2018-10-31 10:09:40 +00:00
Akshay Joshi
b58f288eec
Fixed fatal error while launching the pgAdmin4 3.5. Update the version of the Flask to 0.12.4 for release. Fixes #3730
2018-10-31 13:36:43 +05:30
Akshay Joshi
696fbfb8b9
Fix CREATE Script functionality for EDB-Wrapped functions. Fixes #3676
2018-10-29 11:54:11 +00:00
Akshay Joshi
0d5a6eeeff
Ensure that utility existence check should work for schema and
...
other child objects while taking Backup/Restore. Fixes #3722
2018-10-25 18:55:21 +05:30
Akshay Joshi
6bc6bc7f60
Ensure that Utilities(Backup/Restore/Maintenence/Import-Export) should not be started
...
if binary path is wrong and also added 'Stop Process' button to cancel the process.
2018-10-22 12:35:53 +05:30
Harshal Dhumal
822d384746
Purge connections from the cache on logout. Fixes #3703
2018-10-17 12:42:41 +01:00
Harshal Dhumal
ce31726af5
Fix connection garbage collector. Fixes #3700
2018-10-17 12:35:45 +01:00
Dave Page
494a8ac3fe
Release note update
2018-10-17 12:30:01 +01:00
Aditya Toshniwal
4a6426d3e7
Doc updates after renaming SQL Editor section of the Preference panel.
2018-10-11 09:10:02 +01:00
Aditya Toshniwal
0565f8dd78
Update to use Bootstrap 3 instead of Bootstrap 4. Fixes #3562
2018-10-10 12:43:26 +01:00
Akshay Joshi
7144db7f5a
Cleanup session files periodically. Fixes #3674
2018-10-09 11:34:13 +01:00
Aditya Toshniwal
26ad6d4c5d
Rename the 'SQL Editor' section of the Preferences to 'Query Tool' as it applies to the whole tool, not just the editor. Fixes #3660
2018-10-08 11:43:02 +01:00
Khushboo Vashi
528ea88dec
Save the treeview state periodically, and restore it automatically when reconnecting. Fixes #1253
2018-10-08 10:03:19 +01:00
Akshay Joshi
15fe26a710
Fix handling of backslashes in the edit grid. Fixes #3551
2018-09-25 10:34:33 -04:00
Akshay Joshi
6c2c18106f
Swap the Schema and Schemas icons and Catalog and Catalogs icons that had been used the wrong way around.
2018-09-24 14:11:23 -04:00
Aditya Toshniwal
1b20831338
Ensure changes to Query Tool settings from the Preferences dialogue are applied before executing queries. Fixes #3657
2018-09-19 16:50:11 +01:00
Akshay Joshi
6a46e43567
Ensure the runtime can startup properly if there are wide characters in the logfile path on Windows. Fixes #3464
2018-09-18 15:08:31 +01:00
Akshay Joshi
0ec3224212
Fix logic around validation and highlighting of Sort/Filter in the Query Tool. Fixes #3607
2018-09-14 14:18:43 +01:00
Aditya Toshniwal
38ddea038a
Fix support for the CLOB datatype in EPAS. Fixes #3596
2018-09-13 13:45:06 +01:00
Akshay Joshi
4010dc80a9
Ensure auto-complete works for objects in schemas other than public and pg_catalog. Fixes #3630
2018-09-11 12:56:14 +01:00
Akshay Joshi
532cbe216a
Add shortcuts for View Data and the Query tool to the Browser header bar. Fixes #3564
2018-09-10 15:16:13 +01:00
Aditya Toshniwal
8f88443e15
Doc updates for optional data point markers and mouse-over tooltips to display values on graphs. Fixes #3514
2018-09-06 14:54:25 +01:00
Aditya Toshniwal
a74b9c96c1
Add optional data point markers and mouse-over tooltips to display values on graphs. Fixes #3514
...
Ensure queries are no longer executed when dashboards are closed. Fixes #3576
2018-09-05 17:25:11 +01:00
Dave Page
fa1cf7b7a3
Include the 3.4 release notes in the toctree.
2018-09-04 11:47:20 +01:00
Aditya Toshniwal
82c9cca683
Move all CSS into SCSS files for consistency and ease of colour maintenance etc. Fixes #2927
2018-09-04 11:24:51 +01:00
Akshay Joshi
09c388ecee
Correct the documentation of View/Edit data. Fixes #3604
2018-08-31 19:02:26 +05:30
Xuri Gong
89e283fbc2
Add a geometry viewer that can render PostGIS data on a blank canvas or various map sources. Fixes #1407
2018-08-30 13:59:44 +01:00
Aditya Toshniwal
283a69a21a
Fix auto scrolling issue in debugger on step in and step out. Fixes #3554 .
2018-08-29 18:20:45 +05:30
Harshal Dhumal
208ee4da8c
Fixed debugger execution issues:
...
1. Allow debugging of EPAS package procedures/functions with INOUT params.
2. Add support for indirect debugging for EPAS package procedures/functions.
3. Allow debugging with NULL param values.
4. Remove saved debug arguments.
Fixes #3191
2018-08-29 17:44:37 +05:30
Maxim Zakharov
b7ad95907a
When building the Windows installer, copy system Python packages before installing dependencies to ensure we don't end up with older versions than intended. Fixes #3579
2018-08-29 11:33:25 +01:00
Murtuza Zabuawala
9c8cf26784
Ensure that refresh button on dashboard should refresh the table. Fixes #3525
2018-08-29 11:24:45 +05:30
Akshay Joshi
dd3c7c94e6
Ensure external table node should be visible only for GPDB. Fixes #3548
2018-08-27 19:11:25 +05:30
Akshay Joshi
7a3f3046df
Merge pgcli code with version 1.10.3, which is used for auto complete feature.
2018-08-27 15:00:56 +05:30
Aditya Toshniwal
25679fd542
Ensure sort/filter dialog should display proper message after losing database connection. Fixes #3561
2018-08-22 16:38:31 +05:30
Murtuza Zabuawala
0f17b4f738
Ensure 'select all' and 'unselect all' working properly for pgAgent schedule. Fixes #3313 .
2018-08-22 15:13:40 +05:30
Akshay Joshi
0ab1305ddf
1. Added new backup/restore options for PostgreSQL 11. Fixes #3503
...
2. Ensure backup should work with '--data-only' and '--schema-only' for any format. Fixes #3347
3. Added supported "Dump Options" for "pg_dumpall" which was not there since pgAdmin 3.
4. Fixed issue where "--clean" should not clubbed with "--data-only" while taking backup.
5. Fixed "--oids" should not clubbed with "--inserts" or "--column-inserts" while taking backup.
2018-08-22 12:17:50 +05:30
Harshal Dhumal
013ad7446f
Make the session thread safe.
...
As sessions in pgAdmin4 are filesystem based session, they need locking
for avoiding the access from multiple threads, specially running as an
WSGI application.
Fixes #3547
2018-08-22 11:58:27 +05:30
Usman Muzaffar
70c95fcdd5
Stabilise feature tests for continuous running on CI systems. Fixes #3136 .
2018-08-21 17:39:36 +05:30
Aditya Toshniwal
57660d131f
1) Fix sort/filter dialog editing issue. Fixes #3558 .
...
2) Fix sort/filter dialog issue where it incorrectly requires ASC/DESC. Fixes #3325 .
2018-08-21 13:05:40 +05:30
Joao De Almeida Pereira
46d4bf027d
Ensure sql for Role should be visible in SQL panel for GPDB. Fixes #3578
2018-08-17 14:50:16 +05:30
Akshay Joshi
008359ad3a
Ensure that refreshing a node also updates the Property list. Fixes #3461
2018-08-13 13:47:07 +01:00
Akshay Joshi
7b2c1bb9f8
Handle connection errors properly in the query tool. Fixes #3528
2018-08-10 13:51:32 +01:00
Isaias Sanchez
2eac2f43ac
Add a Spanish translation. Fixes #3553
2018-08-08 17:17:26 +01:00
Akshay Joshi
7117ce6a22
Fix keyboard shortcuts layout in the preferences panel. Fixes #3407
2018-08-07 14:41:50 +01:00
Akshay Joshi
7479467a54
Update version and message catalog for release.
2018-08-06 16:15:11 +05:30
Akshay Joshi
c8c5f83dfe
Add support to save and clear SSH Tunnel password. Fixes #3511
2018-08-06 15:56:46 +05:30
Akshay Joshi
52fc0846cd
pgAdmin4 should work with python 3.7, Fixes #3458
2018-08-06 15:35:03 +05:30
Aditya Toshniwal
cb8a288f85
Added version number for URL's to ensure that files are only cached on a per-version basis. Fixes #2136 .
2018-08-06 15:21:10 +05:30
Akshay Joshi
a17aa212f0
COST statement should not be automatically duplicated after creating trigger function. Fixes #3526
2018-08-06 11:54:25 +05:30
Akshay Joshi
e9e8b0b433
1. Change the string from 'Reset server password" to "Clear Saved Password" and move this sub menu from File to Object menu.
...
2. Move the "Change Password..." menu from 'File' to 'Object' menu.
RM #3074
2018-08-03 16:41:01 +05:30
Akshay Joshi
8f45e6fe68
View Data->Filtered Rows dialog should be displayed. Fixes #3527
2018-08-02 18:15:58 +05:30
Khushboo Vashi
0cb25bde63
Add support for primary key, foreign key, unique key, indexes and triggers on partitioned tables for PG/EPAS 11. Fixes #3412
2018-07-27 17:31:21 +05:30
Akshay Joshi
0138dee989
Add support for reset saved password. Fixes #3074
2018-07-27 14:36:42 +05:30
Aditya Toshniwal
f7e43d5e50
Realtime preference handling for the Dashboards and Debugger. Fixes #3294
2018-07-24 16:31:44 +01:00
Dave Page
ae814d76d3
Update release notes.
2018-07-23 16:19:19 +01:00
Akshay Joshi
213cb440d0
Add support for SCRAM password changes (requires psycopg2 >= 2.8). Fixes #2214
2018-07-23 15:03:44 +01:00
Aditya Toshniwal
c353135a3a
Add support for INCLUDE columns on indexes and index constraints with PG 11+. Fixes #3462
2018-07-19 13:13:37 +01:00
Dave Page
a86604160a
Allow the user to specify a fixed port number in the runtime to aid cookie whitelisting etc. Fixes #3506
2018-07-19 12:54:53 +01:00
Dave Page
2ce41e77f2
Add a menu option to the runtime to copy the appserver URL to the clipboard. Fixes #3510
2018-07-19 11:32:40 +01:00
Akshay Joshi
051ce6afeb
Ensure the SSH tunnel port number is honoured. Fixes #3471
2018-07-19 10:52:16 +01:00
Akshay Joshi
ce768c7f8a
Support SSH tunneling with keys that don't have a passphrase. Fixes #3468
2018-07-18 14:15:05 +01:00
Akshay Joshi
ba8f745f70
Exclude system columns in Import/Export. Fixes #3448
2018-07-17 13:01:40 +01:00
Khushboo Vashi
8869fd6eb3
Fix a number of debugger execution issues. Fixes #3191
...
1. EPAS packages' function/procedure does not honour INOUT arguments, it converts INOUT to OUT.
2. Packages' functions and procedures are not getting listed in their respected nodes in some scenarios like procedure having INOUT argument and function with void return type
3. The Reverse engineering SQL is not correct for Packages' functions/procedures
4. In case of INOUT argument, debugger asks for mendatory input which should not.
5. Re-executing a procedure whilst direct debugging doesn't work.
2018-07-17 12:51:24 +01:00
Akshay Joshi
39b41d7b24
Various procedure/function related fixes for EPAS/PG 11. Fixes #3446
...
- Fix the RM #3446 "plpgsql keyword should displayed in SQL pane for EPAS-11".
- Procedures for EPAS 11 always created as 'edbspl', even though language is sql or plpgsql.
- Not able to create Function/Procedure/Trigger function if the language is "C" for all supported database server.
- Function creation for EPAS 9.6 and above when set "Window?" flag to "Yes".
- Disable Volatility, Strict, Parallel, Estimated cost and Leak prof while creating procedures in EPAS 11 when language is not 'edbspl'.
- Rename "default" folder to "11_plus" inside "pg" directory for procedures, as procedures are supported from PG11 onwards.
- Creating/Deleting parameter in Procedure for PG 11.
- Drop procedures with arguments for PG/EPAS 11.
pg_proc table has added default value 'v' for Volatility, 100 for Cost and 'u' for Parallel for any language. All the three are not supported for Procedures in PG/EPAS 11 (excluding 'edbspl' language for EPAS). Fixed the issue where it is visible in properties panel if we create procedure using language 'plpgsql' or 'sql'.
2018-07-17 12:43:46 +01:00
Akshay Joshi
765a88addf
Support running on systems without a system tray. Fixes #3316
2018-07-17 12:10:35 +01:00
Akshay Joshi
2b20b387e2
Add support for Trigger and JIT stats in the graphical query plan viewer. Fixes #3397
2018-07-06 13:13:14 +01:00