Murtuza Zabuawala
145983d544
Add miissing braces to reverse engineered SQL header block for Functions. Fixes #2246
2017-03-17 12:48:58 +00:00
Murtuza Zabuawala
461086c17d
Fix View Data filter options. Fixes #2265
2017-03-17 12:45:59 +00:00
Murtuza Zabuawala
e9702752d9
Fix hadling of DATERANGE[] type. Fixes #2258
2017-03-17 12:40:08 +00:00
Murtuza Zabuawala
ff9d6cd3d5
Fix previous partial commit
2017-03-14 09:34:12 +00:00
Murtuza Zabuawala
cc4c557122
Move Bootstrap files into the distribution format.
2017-03-14 09:23:30 +00:00
Murtuza Zabuawala
bc63652811
Fix the issue where Import/Export was failing in linux runtime. Fixes #2166
...
Issue:
Changes done by Ashesh in pgAdmin4.py file for setting up PYTHONHOME variable to sys.prefix was applicable only for windows only.
Additionally I have also added exception handling for file provided by user for Backup/Restore/Import/Export.
2017-03-09 09:54:55 +00:00
Murtuza Zabuawala
533833cb02
Cleanup some ugly code formatting.
2017-03-09 09:27:41 +00:00
Murtuza Zabuawala
6d6a3753ee
Fix the path to the busy indicator for the treeview which changed when the aciTree module was moved.
2017-03-06 10:36:07 +00:00
Murtuza Zabuawala
da186ea77b
Ensure servers are deleted when their parent group is deleted. Fixes #2212
2017-03-06 10:35:27 +00:00
Murtuza Zabuawala
af499c0c9a
Show the correct indeterminate state when editing new boolean values. Fixes #2218
2017-03-06 10:30:58 +00:00
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
Murtuza Zabuawala
6d438fec5e
Ignore Visual Studio code editor files.
2017-03-01 10:03:19 +00:00
Murtuza Zabuawala
e2e000a371
Remove a debug message.
2017-02-28 14:44:58 +00:00
Murtuza Zabuawala
89137f57b2
Display un-sized varlen column types correctly in the query tool. Fixes #2151
2017-02-21 13:12:50 +00:00
Murtuza Zabuawala
9ad1316990
Various encoding fixes. Fixes #2160
2017-02-16 11:00:40 +00:00
Murtuza Zabuawala
6887920295
Ensure FTS parsers and templates are removed prior to creating them when testing.
2017-02-09 12:05:55 +00:00
Murtuza Zabuawala
c34fdaf37d
Fix the issue with Jinja conditions in Foreign Data Wrappers, Foreign Servers, User Mapping.
...
I also did some re-formatting & re-factoring to code to remove all the duplicate code.
2017-02-09 12:05:09 +00:00
Murtuza Zabuawala
a914ea088c
Python 2.6 compatibility fixes.
2017-02-08 16:28:04 +00:00
Murtuza Zabuawala
ec93077040
Compatibility fixes for newer versions of Jinja2 (e.g. 2.9.5+). Fixes #2156
2017-02-06 12:53:16 +00:00
Murtuza Zabuawala
c96da34c28
Fix handling of "char" columns. Fixes #2152
2017-02-06 10:59:03 +00:00
Murtuza Zabuawala
4d8683e13a
Fix display of graphical query plans for UPDATE/DELETE queries. Fixes #2133
2017-02-06 10:43:31 +00:00
Murtuza Zabuawala
3ea8a7b211
Fix column addition regression test.
2017-02-06 09:46:34 +00:00
Murtuza Zabuawala
bf8c3c4180
Handle sized time/timestamp columns correctly. Fixes #2076
2017-02-03 14:51:58 +01:00
Murtuza Zabuawala
687a793383
Fix display of zeros in read-only grid editors. Fixes #2138
2017-02-01 13:48:46 +00:00
Murtuza Zabuawala
2d442da9ff
Properly handle setting comments and other options on databases with allowconn = False. Fixes #2024
2017-02-01 10:23:45 +00:00
Murtuza Zabuawala
0da8d1fe4c
Another Python 3 fix.
2017-01-31 12:12:22 +00:00
Murtuza Zabuawala
2e5771e164
Python 3 fix for the template loader test.
2017-01-31 10:02:20 +00:00
Murtuza Zabuawala
e8f0cf6d94
Resolve various trigger issues. Fixes #2015
...
- Allow changing of row/statement flag
- When user update any of the parameter - trigger gets disappear from browser tree. To make it visible user has to do refresh.
- Edit Mode - 'Row level' trigger was not allowed to edit for "inline edb-spl" trigger function, even though "Row Trigger" is enabled.
- SQL was not generated properly when user change 'Row Trigger', Fires and events.
- Edit Mode - Fires and Events should be allowed to edit for "inline edb-spl" function mentioned with Code in description.
- Edit Mode - For trigger, if user edit parameters like Fires, Events, Code, Row trigger etc. then new OID is getting generated so we should fetch and return new OID in response rather then old trigger OID.
2017-01-30 13:05:15 +00:00
Murtuza Zabuawala
29a6f2e124
Fix Reset Statistics operation for which the popup messages weren't displaying correctly. Fixes #2091
2017-01-24 10:19:33 +00:00
Murtuza Zabuawala
6557433061
Fix display of enum GUCs on users/databases etc. Fixes #2067
2017-01-17 10:45:01 +00:00
Murtuza Zabuawala
28621999f2
Improve display of columns of exclusion contraints and foreign keys in the properties lists. Fixes #2065
2017-01-17 10:25:26 +00:00
Murtuza Zabuawala
e431eb9d8e
Handle comments on databases with datallowconn=False correctly. Fixes #2024
2017-01-16 15:42:25 +00:00
Murtuza Zabuawala
4c19f93b3b
Use the correct OID for retrieving properties of freshly created exclusion constraints. Fixes #1896
2017-01-09 15:05:22 +05:30
Murtuza Zabuawala
bdf9761472
Improve consistency of dialogue controls offered. Fixes #1364
2017-01-08 16:05:34 +05:30
Murtuza Zabuawala
879a6bef53
Fix keyboard control of switches in the column grid. Fixes #1394
2017-01-08 15:27:58 +05:30
Murtuza Zabuawala
43b9e53572
Fix word wrap in note control.
2016-12-21 13:17:11 +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
Murtuza Zabuawala
1431dfcb01
Show index columns in the correct order in RE-SQL. Fixes #1842
2016-12-16 11:59:37 +00:00
Murtuza Zabuawala
66b9e22d01
Handle the template property on databases appropriately. Fixes #1800
2016-11-25 10:11:40 +00:00
Murtuza Zabuawala
b7c819e912
Render column headers at the correct width in the query tool under Firefox. Fixes #1680
2016-11-18 14:24:16 +00:00
Murtuza Zabuawala
6e5126d571
Add newly created triggers to the treeview. Fixes #1747
2016-11-18 13:58:35 +00:00
Murtuza Zabuawala
6e68e7501a
Display messages and notices received in the query tool. Fixes #1953
2016-11-18 13:53:57 +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
Murtuza Zabuawala
f405cdf383
Ensure trigger function names are schema qualified in trigger RE-SQL. Fixes #1949
2016-11-11 13:46:06 +00:00
Murtuza Zabuawala
36c909b1f9
Generate mSQL for new schemas correctly. Fixes #1937
2016-11-09 15:13:17 +00:00
Murtuza Zabuawala
c345adaa52
Properly format arguments passed by triggers to functions. Fixes #1912
2016-11-09 15:00:35 +00:00
Murtuza Zabuawala
a3622a380a
Fix display of exclusion contraint dependencies. Partially fixes #1892 - requires icon display fix.
2016-11-01 11:35:09 +02:00
Murtuza Zabuawala
ca57323ad1
Properly schema qualify domains when reverse engineering SQL. Fixes #1865
2016-10-28 16:45:06 +01:00
Murtuza Zabuawala
67e5dfa5a7
Fix refreshing of Unique constraints. Fixes #1893
2016-10-28 16:40:27 +01:00
Murtuza Zabuawala
8c48be3b0c
Properly quote role names when specifying function ownership. Fixes #1899
2016-10-28 16:18:31 +01:00
Murtuza Zabuawala
e6d018c44f
Ensure we handle external processes that fail to start. Fixes #1679
2016-10-21 15:35:06 +01:00
Murtuza Zabuawala
d29ccea299
Don't allow setting of security labels on edbspl stored procedures (by correctly checking the node type). Fixes #1576
2016-10-21 12:37:47 +01:00
Murtuza Zabuawala
b9571df4de
Don't append new objects to the wrong parent, if the correct one isn't loaded. Fixes #1838
2016-10-18 12:37:44 +01:00
Murtuza Zabuawala
c931d715ac
Fix refresh of Synonyms. Fixes #1611
2016-10-07 12:08:19 +01:00
Murtuza Zabuawala
bde3dd845b
Fix SSL setup. Fixes #1817
2016-10-05 13:05:10 +01:00
Murtuza Zabuawala
a0a6428e86
Ensure compatibility with newer sqlparse modules. Fixes #1725
2016-09-26 13:49:54 +01:00
Murtuza Zabuawala
5c855234f8
Ensure we go back to the login page after logging out, when installed at a virtual root. Fixes #1691
2016-09-23 13:10:48 +01:00
Murtuza Zabuawala
f18c455411
Don't offer CREATE Script options on servers or server groups. Fixes #1578
2016-09-23 10:06:50 +01:00
Murtuza Zabuawala
a113b43a1f
Add Packages as a synonym target type. Fixes #1611
2016-09-22 14:56:00 +01:00
Murtuza Zabuawala
f48f806657
Fix stats on PG 9.6. Fixes #1719
2016-09-22 14:17:47 +01:00
Murtuza Zabuawala
9a56fb552c
Ensure the favicon can be found. Fixes #1692
2016-09-22 13:07:07 +01:00
Murtuza Zabuawala
f991354f9a
Handle composite type return values properly in the debugger. Fixes #1662
2016-09-20 11:27:51 +01:00
Murtuza Zabuawala
881d2a60a4
Fix an exception that could occur when the browser pings the server following a restart. Fixes #1707
2016-09-19 15:57:52 +01:00
Murtuza Zabuawala
2440f89a71
Fix an issue where the edit icon vanished and the default tab wasn't shown when advanced-editing a column in the table dialogue. Fixes #1704
2016-09-19 15:37:04 +01:00
Murtuza Zabuawala
82d63804c1
Resolve a refresh issue when updating packages. Fixes #1625
2016-09-19 09:41:13 +01:00
Murtuza Zabuawala
fc5ce22de9
Allow creation of objects in schemas with special chars in the name. Fixes #1598
...
This was caused through generation of SQL based on HTML-escaped labels, not the raw versions.
2016-09-16 17:02:57 +01:00
Murtuza Zabuawala
c044af9585
Bulk delete rows in SlickGrid. Fixes #1696
2016-09-16 16:46:58 +01:00
Murtuza Zabuawala
c5f04d03c6
Fix an issue where several default privileges cause error on database. Fixes #1670
2016-09-16 16:06:29 +01:00
Murtuza Zabuawala
3807ba047b
Don't have the query tool try to load arrow_right_spearmint.png. Fixes #1693
2016-09-14 16:12:49 +01:00
Murtuza Zabuawala
db7b8a8fa5
Don't disable the save button when executing a query in the query tool. Fixes #1695
2016-09-14 11:22:54 +01:00
Murtuza Zabuawala
4ba8f4830b
Don't sort columns (tables, views, matviews, catalogs etc) on the treeview by name, but by ordinal. Fixes #1687
2016-09-14 11:13:50 +01:00
Murtuza Zabuawala
751327eacc
Ensure View Data on a table with zero columns doesn't throw an error. Fixes #1677
2016-09-14 10:43:08 +01:00
Murtuza Zabuawala
046f6dd442
Fix creation of DO INSTEAD rules. Fixes #1681
2016-09-14 10:39:16 +01:00
Murtuza Zabuawala
a67c4fc1dc
Fix a typo in the error handling in the browser that caused some errors to be reported to the console only.
2016-09-14 10:33:41 +01:00
Murtuza Zabuawala
071b609a44
Fix error when refreshing table node. Fixes #1686
2016-09-14 10:30:02 +01:00
Murtuza Zabuawala
ffc58b74d2
Allow viewing of long data values in the grid. Fixes #1672
2016-09-12 12:39:40 +01:00
Murtuza Zabuawala
42e19d2169
Fix error highlighting, broken in d6391c7e9b. Fixes #1676
2016-09-09 14:45:03 +01:00
Murtuza Zabuawala
982c291a31
Confirm loss of changes with the user before clearing the query or history, or opening a new file in the Query Tool. Fixes #1666
2016-09-08 09:12:48 +01:00
Murtuza Zabuawala
35d3c396de
Fix SQL generation for functions that return SETOF ... Fixes #1631
2016-09-07 14:53:22 +01:00
Murtuza Zabuawala
679ad6fca8
Support range types in the query tool. Fixes #1658
2016-09-06 14:26:43 +01:00
Murtuza Zabuawala
1b75679ec4
Python 2.6 fixes. Fixes #1636 . Fixes #1659
2016-09-06 14:07:30 +01:00
Murtuza Zabuawala
8b61aa49d0
Warn the user about unsaved changes to SQL or data before closing the query tool. Fixes #1661
2016-09-05 17:18:43 +01:00
Murtuza Zabuawala
15df12c924
Highlight invalid rows when saving data in the edit grid. Fixes #1637
2016-09-02 16:05:00 +01:00
Murtuza Zabuawala
f3f7413701
Use ISO formatted dates when setting rolvaluntil. Fixes #1153
2016-09-02 15:24:34 +01:00
Murtuza Zabuawala
087332f32e
Fix the boolean editor, and warn the user if there are unsaved changed in the edit grid before refreshing.
2016-09-01 11:50:48 +01:00
Murtuza Zabuawala
c56e4667df
SlickGrid Integration in to query tool. Fixes #1618
2016-08-29 20:17:01 +05:30
Murtuza Zabuawala
689ef8d8d1
Fixes issues specific to SYNONYMS
...
- On droping a synonyms - the query should be modified in SQL pane.
- A proper message should be given on trying to drop an already dropped
synonyms.
- Handle the synonyms with special characters.
Fixes #1607 , #1608 , #1609
2016-08-29 20:25:18 +05:30
Murtuza Zabuawala
5a78dd7ad3
Implemented Synonym node for EPAS
2016-08-26 13:01:57 +05:30
Murtuza Zabuawala
05473a7a35
domain node: id and pid is not being generated. Fixes #1586
2016-08-25 14:07:04 +05:30
Murtuza Zabuawala
8d7b840e7e
Fix startup navigation message.
2016-08-23 12:41:41 +01:00
Murtuza Zabuawala
013ff1090e
Ensure PG/EPAS configuration warnings are shown appropriate for the server type. Fixes #1563
2016-08-18 17:18:20 +01:00
Murtuza Zabuawala
d6391c7e9b
Properly display messages from the server in the query tool. Fixes #1523
2016-08-18 17:08:40 +01:00
Murtuza Zabuawala
8e0a61f556
Fixed typo in security labels macro Fixes #1457
2016-08-18 18:03:30 +05:30
Murtuza Zabuawala
9ec05d6bb1
Fix an issue where system level catalog are also displayed in PPAS server under relation of create new table like option. Fixes #1530
2016-08-16 16:29:50 +01:00
Murtuza Zabuawala
c336e8a743
Fix an issue in foreign tables node where it was displaying catalog tables in inherits options causing internal server error. Fixes RM#1520
2016-08-16 15:44:44 +01:00
Murtuza Zabuawala
8c433fbfce
Fix display of numerics in the query tool. Fixes #1463
2016-08-04 11:31:24 +01:00
Murtuza Zabuawala
01252a13cf
Further misc quoting/encoding related fixes.
2016-08-01 15:23:06 +01:00
Murtuza Zabuawala
b6e8d195dc
Security label providers are an optional parameter. Fixes #1478 .
2016-07-27 15:01:16 +01:00
Murtuza Zabuawala
06e881570a
Fix numerous encoding issues. Fixes #1307 . Fixes #1479
2016-07-26 15:05:14 +01:00