Dave Page
6abc4c239a
Improve docs on patch creation
2017-05-26 16:55:20 -04:00
Murtuza Zabuawala
8aabee352c
Import the ordereddict module for Python 2.6
2017-05-26 12:34:05 -04:00
Murtuza Zabuawala
2c9af4784e
Allow creation of ENUM types with no members. Fixes #2426
2017-05-26 12:21:23 -04:00
Murtuza Zabuawala
dba64e77f1
Order columns in multi-column pkeys correctly. Fixes #2417
2017-05-26 11:04:32 -04:00
Murtuza Zabuawala
45d423c0ce
Ensure the last placeholder is included when generating UPDATE scripts for tables. Fixes #2436
2017-05-26 10:59:09 -04:00
Murtuza Zabuawala
a45bb905f5
Pass the database ID to the query tool when using the Script options. Fixes #2435
2017-05-26 10:57:31 -04:00
Khushboo Vashi
3216eca4a8
Add feature tests to ensure that data types are properly rendered in the query tool.
2017-05-26 10:46:58 -04:00
Dave Page
2f097cd016
Fix typo in freshly added check.
2017-05-25 17:10:41 -04:00
Murtuza Zabuawala
e9da157cc7
Add numerous missing checks to ensure objects really exist when we think they do. Fixes #2427
2017-05-25 16:28:04 -04:00
Dave Page
04ce72a6ae
Fix RE-SQL for rules which got the table name wrong in the header and DROP statement. Fixes #2422
2017-05-19 12:21:29 +01:00
Murtuza Zabuawala
eb18320950
Improve error handling in cases where the user tries to rename or create a server group that would duplicate an existing group. Fixes #2414
2017-05-17 15:57:38 +01:00
Dave Page
17de7db70b
Fix server stats display for EPAS 9.2, where inet needs casting to text for concatenation. Fixes #1831
2017-05-17 15:53:13 +01:00
Murtuza Zabuawala
a3226b1eb5
Reverse engineer SQL for table-returning functions correctly. Fixes #1851
2017-05-17 15:49:56 +01:00
Murtuza Zabuawala
655d5888a6
Various FTS dictionary cleanups. Fixes #1126
2017-05-17 14:13:05 +01:00
Surinder Kumar
1db81da020
Fix JS error when selecting a single grid cell.
2017-05-16 08:44:29 +01:00
Dave Page
4817b37742
Include backports.csv as a python dependency in the wheel.
2017-05-15 16:42:40 +01:00
Dave Page
be42b67f79
Ensure all required directories are created before we start logging.
2017-05-15 15:59:47 +01:00
Surinder Kumar
d7d4bf475b
Various improvements to the NULL/DEFAULT handling in the data editor. Fixes #2399
2017-05-15 15:04:16 +01:00
Dave Page
aa554eb767
Ensure that there's an __init__.py file present in the backports module directory on Windows
2017-05-15 15:03:15 +01:00
Dave Page
001e0ce1cf
Mac build fixes:
...
- Rebuild Python packages from scratch so we know what libraries they use
- Ensure the backports Python module has an __init__.py file.
2017-05-15 14:38:52 +01:00
Murtuza Zabuawala
1cb2a62fa8
Ensure object names are properly escaped for external process management. Fixes #2405
2017-05-15 13:01:12 +01:00
Dave Page
f0e78309cb
Bump version in preparation for release.
2017-05-15 12:25:28 +01:00
Neel Patel
07b06348ab
While building runtime with QtWebEngine, we found 2 compilation errors which were introduced in a previous commit in runtime:
...
We set "setNetworkAccessManager" in WebEnginePage which was only required for Webkit so removed that statement.
"triggerAction" on WebPage is only required for Qt > 5 with WebKit only. Not required for WebEngine so added that condition.
2017-05-15 11:29:14 +01:00
Murtuza Zabuawala
2ad14b379e
Validate table presence in SQL and Properties route handles. Fixes #2395
2017-05-15 10:15:09 +01:00
Joao Pedro De Almeida Pereira
3bf17d9df4
1) Splits the SQL query used to retrieve the Dependents, Dependencies, and Roles SQL file into multiple versioned files.
...
2) Add Unit Tests for each file.
3) Add ORDER BY into Copy Selection Feature test to ensure the results are retrieved always in the same order
4) Renamed the Scenario of the xss_checks_pgadmin_debugger_test and skip it for versions less than 9.1
5) Deleted unused __init__.py files.
2017-05-15 10:40:46 +05:30
Surinder Kumar
0e7efc0cf8
Track disabled rows properly in the edit grid.
2017-05-12 16:42:06 +01:00
Murtuza Zabuawala
aea0d93390
Hide menu options for creating objects, if the object type is set to hidden. Includes Jasmine tests. Fixes #2225
2017-05-12 12:10:46 +01:00
Dave Page
dd318e679d
Minor colour tweaks for highlighted rows in the data editor. These are likely to be changed again when we overhaul and standardise the colouring, but at least now they're using colours from the style guide.
2017-05-12 11:29:46 +01:00
Akshay Joshi
1f903ba231
Updated psycopg2 version for PostgreSQL 10 compatibility. Fixes #2377
2017-05-12 15:43:03 +05:30
Surinder Kumar
4f9628ed43
Improve handling of nulls and default values in the data editor. Fixes #2257
2017-05-12 10:53:57 +01:00
Murtuza Zabuawala
05787fdba9
Properly handle non-ASCII column names in CSV. Fixes #2314
2017-05-12 10:38:23 +01:00
Murtuza Zabuawala
94cbd70370
Don't change the trigger icon back to "enabled" when the trigger is updated when it's disabled. Fixes #2271
2017-05-10 09:48:21 +01:00
Murtuza Zabuawala
9452e0699e
Allow creation of tables with pure numeric names. Fixes #2284
2017-05-10 09:40:32 +01:00
Neel Patel
3ed00d3be7
1) Fixed compilation issue with QT4.
...
2) Make trigger action 'RequestClose' backword compatible with annulen webkit.
2017-05-10 13:34:39 +05:30
Andrei Antonov
cbf2de6c27
HTML escape the label, when setting the collection node count along
...
with the label of the tree-nodes.
2017-05-10 13:26:18 +05:30
Magnus Hagander
29217946c3
Relax version dependency on psycopg2
...
Right now psycopg2 is required to be exactly version 2.6.2, which makes it mostly impossible to install pgadmin4 without having the postgresql C development packages installed (since you need to rebuild psycopg2 from source to make that work, given that few platforms ship *exactly* that version).
2017-05-09 12:32:20 +01:00
Murtuza Zabuawala
13f4432bbd
Support loading files with Unicode BOMs. Fixes #2369
2017-05-09 12:06:49 +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
63d42745ef
Fix various issues in CSV file download feature:
...
1) To handle non-ascii filenames which we set from table name. Fixes #2314
2) To handle non-ascii query data. Fixes #2253
3) To dump JSON type columns properly in csv. Fixes #2360
2017-05-08 13:36:11 +01:00
Harshal Dhumal
a80f760933
Only reconnect to databases that were previously connected. Fixes #2292
2017-05-08 12:36:51 +01:00
Khushboo Vashi
94b7fc483a
Fix sorting of sizes on the statistics views by sorting raw values and prettifying on the client side. Includes Jasmine tests for the prettyfying function. Fixes #2315
2017-05-08 11:29:13 +01:00
Navnath Gadakh
c32bf7780e
Windows compatibility fixes for the test suite.
2017-05-08 09:25:05 +01:00
Murtuza Zabuawala
155348d712
Fix the Backup module where it was not working if user changes its preference language other than english. Fixes #2354
2017-05-04 16:06:10 +01:00
Murtuza Zabuawala
95f763463f
Fix an issue in NodeAjaxControl caching with cache-node field and add cache-node field in Trigger & Event trigger node so that whenever the user creates new Trigger Function we get new data from server in NodeAjaxControl. . Fixes #2242
2017-05-04 16:02:28 +01:00
Surinder Kumar
93df5e3e54
Ensure errors thrown when deleting rows in the query tool in edit mode are shown properly. Fixes #2356
2017-05-02 12:20:30 +01:00
Sarah McAlear
4acecfa59a
Use a different server name for unit vs. feature tests to avoid some observed conflicts.
2017-05-02 12:00:30 +01:00
Murtuza Zabuawala
6790bfd0c0
Fixed handling of default parameters ordering in functions. Fixes #2350
2017-04-25 18:40:44 +05:30
Murtuza Zabuawala
1ce1f216ca
Fixed handling of nested privileges. Fixes #2335
2017-04-25 12:39:46 +05:30
Murtuza Zabuawala
38c8a4fb60
Fix handling of bigint[] type. Fixes #2272
2017-04-25 12:24:02 +05:30
Murtuza Zabuawala
928c0d3de8
startsWith() function of java script is not supported in IE, instead use startsWith() function of underscore string. Fixes #2347
2017-04-25 12:00:15 +05:30