Surinder Kumar
2a87585665
Fix script options which were inadvertently broken in the query tool tab naming patch.
2017-06-15 12:19:47 +01:00
Surinder Kumar
fdc9eed514
Ensure text editors render in an appropriate place on the results grid. Fixes #2477
2017-06-14 12:18:27 +01:00
Surinder Kumar
2b4a8ed89c
Un-break the feature tests. Fixes from Surinder and myself.
2017-06-14 09:59:11 +01:00
Surinder Kumar
57d866f7b7
Use a more sensible name for Query Tool tabs. Fixes #2482
2017-06-13 11:34:24 +01:00
Surinder Kumar
af43ccfc07
Teach dialogues about Escape to cancel, Enter to Save/OK, and F1 for help. Fixes #1535
2017-06-12 16:43:29 +01:00
Surinder Kumar
49976b1934
Fine tune result grid column sizing now we don't have checkboxes.
2017-06-09 09:24:20 +01:00
Surinder Kumar
73c6f1ca3b
A little leanup of the styling of the edit grid
2017-06-08 17:06:34 +01:00
Surinder Kumar
c9b717ed68
Set focus on the first enabled field when a dialogue is opened. Fixes #1533
2017-06-08 14:37:31 +01:00
Surinder Kumar
2fddf750e6
Retain column sizing in the query tool results grid when the same query is re-run multiple times in a row. Fixes #1971
2017-06-08 12:41:56 +01:00
Surinder Kumar
88737248ab
Fix a couple of missing greys.
2017-06-07 16:31:47 +01:00
Surinder Kumar
63c093248d
Allow users to remove default values from columns properly. Fixes #2461
2017-06-07 14:33:28 +01:00
Surinder Kumar
beda7ebbf2
Add feature tests for the View Data tool.
2017-06-06 12:54:20 +01:00
Surinder Kumar
b82e001478
Ensure that boolean checkboxes cycle values in the correct order. Fixes #2448
2017-06-06 11:29:18 +01:00
Surinder Kumar
456096092d
Avoid re-rendering the edit grid for every row that is pasted.
2017-05-30 16:22:11 +01:00
Surinder Kumar
1f26953504
Cleanup handling of default/null values when data editting. FIxes #2400
2017-05-27 14:51:02 -04:00
Surinder Kumar
1db81da020
Fix JS error when selecting a single grid cell.
2017-05-16 08:44:29 +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
Surinder Kumar
0e7efc0cf8
Track disabled rows properly in the edit grid.
2017-05-12 16:42:06 +01:00
Surinder Kumar
4f9628ed43
Improve handling of nulls and default values in the data editor. Fixes #2257
2017-05-12 10:53:57 +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
Surinder Kumar
9bbc05051c
Remove some unused events.
2017-04-12 15:46:31 +01:00
Surinder Kumar
aee1492d0d
Correct some EDB Postgres Advanced Server branding.
2017-03-21 10:12:26 +00:00
Surinder Kumar
40ff651ef3
Fix display of boolean nulls in the query tool. Fixes #2205
2017-02-24 13:47:37 +00:00
Surinder Kumar
88cae263b2
Fix display of long integers and decimals. Fixes #2039 . Fixes #2119 . Fixes #2154
2017-02-24 13:39:40 +00:00
Surinder Kumar
c0f2aab001
Ensure we never sort columns on the treeview. Fixes #2185
2017-02-24 13:02:13 +00:00
Surinder Kumar
833629d438
Fix exclusion constraint reverse engineered SQL. Fixes #2115
2017-02-16 10:54:21 +00:00
Surinder Kumar
cbaad81f00
Correct node labels in Preferences for EDB functions and procedures. Fixes #2126
2017-02-16 10:47:28 +00:00
Surinder Kumar
4566877188
Handle NULL booleans in the data editor. Fixes #1790
2017-02-05 11:06:48 +01:00
Surinder Kumar
54ba1fbe59
Support setting text fields to empty strings or NULL in the data editor grid. Fixes #1790
2017-02-04 14:10:30 +01:00
Surinder Kumar
30e546208f
Ensure dialogues cannot be moved under the navbar. Fixes #2047
2017-01-30 14:02:01 +00:00
Surinder Kumar
e01cf748ea
Enable/disable NULLs and ASC/DESC options for index columns and exclusion constraints appropriately. Fixes #2061 . Fixes #1840 .
2017-01-25 13:21:39 +00:00
Surinder Kumar
86f6857cb7
Fix sorting of numerics in the statistics grids. Fixes #1938
2017-01-09 15:55:38 +05:30
Surinder Kumar
e400693126
Add BigNumberJS library for upcoming large number related fixes.
2017-01-09 09:07:21 +05:30
Surinder Kumar
b14f8239d2
Fix a SQL error when reverse-engineering ROLE SQL on EPAS servers. Fixes #1830
2017-01-09 08:14:34 +05:30
Surinder Kumar
d05534ad6c
Prevent attempts to access what may be an empty list. Fixes #1832
2017-01-09 07:56:02 +05:30
Surinder Kumar
6e14bef801
Show icons for unique and exclusion constraints in the dependency/dependents panels. Fixes #2033
2017-01-08 15:27:58 +05:30
Surinder Kumar
e3c8cb2706
Prevent attempts to create server groups with no name. Fixes #2012
2017-01-08 15:27:58 +05:30
Surinder Kumar
07e1c61eea
Allow setting of effective_io_concurrency on tablespaces in 9.6+. Fixes #2000
2017-01-08 15:27:58 +05:30
Surinder Kumar
a64824a851
Fix various encoding issues with multibyte paths and filenames.
...
Fixes #1986 . Fixes #1940 .
2016-12-05 13:10:56 +09:00
Surinder Kumar
19bd021696
Ensure select2 instances have a destroy property before calling destroy.
2016-10-21 16:16:10 +01:00
Surinder Kumar
23a0fc2f22
Fix refreshing of FTS Dictionaries. Fixes #1837
2016-10-21 16:07:45 +01:00
Surinder Kumar
8e9108e0f3
Allow package bodies to be dropped. Fixes #1867
2016-10-21 15:24:11 +01:00
Surinder Kumar
da3a37ab19
Handle non-ascii responses from the server when connecting. Fixes #1822
2016-10-21 14:32:25 +01:00
Surinder Kumar
1e66119ef5
Ensure the File Manager honours the file type while traversing the directories. Fixes #1858
...
When a File Manager is closed by clicking cancel button. Its dom element not destroyed.. So on traversing into directories, when it tries to get currently selected file type, it looks into the dom element but it gets dom of previous dialogs not of currently dialog.
Now whenever an instance of File Manager is closed. its dom elements are also destroyed.
2016-10-21 14:26:12 +01:00
Surinder Kumar
406dab069d
Show security labels in the reverse engineered SQL for domains. Fixes #1574
2016-10-21 12:49:50 +01:00
Surinder Kumar
d806a9ce9e
Fix the file manager when used under Python 3. Fixes #1872
...
Issues fixed:
1) In Python 3, parameter "cmp" is removed from sorted method. So File Manager won't open.
As we are sorting data on JS side using Natural sort, so on server side sorting is not required.
2) Improvement in Exception handling.
2016-10-21 12:43:02 +01:00
Surinder Kumar
48ee8490f0
Add new indexes to the correct parent on the treeview. Fixes #1880
2016-10-21 12:12:37 +01:00
Surinder Kumar
06039320b9
Don't specify ASC/DESC options for index types that don't support them. Fixes #1840
2016-10-21 12:08:41 +01:00
Surinder Kumar
9155c2111f
Ensure the grant wizard works with objects with special characters in the name. Fixes #1599
2016-10-21 11:58:46 +01:00
Surinder Kumar
df09f02e80
List files/folders alphabetically, and don't excessively truncate their names. Fixes #1792
2016-10-18 11:39:12 +01:00
Surinder Kumar
11e486f96d
Fix unsafe schema lookups for types. Fixes #1728
2016-10-18 11:32:43 +01:00
Surinder Kumar
dd6a69d845
Handle reverse engineering of synonyms with / in the name. Fixes #1622
2016-10-14 16:01:55 -07:00
Surinder Kumar
c7520cf86d
Allow refreshing of synonym nodes. Fixes #1845
2016-10-14 15:50:20 -07:00
Surinder Kumar
17bd379cb6
Properly quote names when renaming FTS dictionaries and templates. Fixes #1857
2016-10-14 12:23:10 -07:00
Surinder Kumar
7f507f294e
While clicking on Select2 control, it tries to destroy the control and thus it doesn't get this object sometimes and throws error.
...
It should attempt to destroy the select2 object only if this object is not undefined.
2016-10-14 12:20:29 -07:00
Surinder Kumar
0df968f679
Resolve issue with properties refreshing. Fixes #1728
...
1) If we create/update a node with non-default schema, It should return selected schema id in return response. but default schema id is returned every time due to which it throws error in properties panel.
Fixed in Domains, Collation, Types, Views & Table node.
2) Incorrect parent id of object node is returned from nodes method due to which wrong parent id is passed while updating object and
thus node didn't get refreshed.
Fixed in FTS Configuration, FTS Parser nodes.
2016-10-14 12:19:00 -07:00
Surinder Kumar
3963272523
Don't show Upload File icon unless it is in capabilities list [Storage Manager]. Fixes #1739
...
Issue:
When clicked on upload icon while saving a file prompt user to leave page. It is because the icon is a button and its type is set to submit which makes it to prompt, instead it should be 'button'
Storage Manager's menu items depends on capabilities list set by the module using it. If capabilities doesn't have 'upload' in it, It won't work. Upload button is bound to click event only when it is in capabilities.
Solution:
As upload button is being added only when it is in capabilities, so upload button html is removed from html file. It will not shown on UI untill it is in capabilities list.
2016-10-07 12:31:38 +01:00
Surinder Kumar
e4d870cbe6
Ensure errorModel unset property properly in while adding a new server. Fixes #1786
2016-10-03 13:50:54 +01:00
Surinder Kumar
3b4776ab5f
Improve network/server activity feedback for the user. Fixes #1751
2016-09-26 15:10:38 +01:00
Surinder Kumar
0ae719dae0
Do not try to set in_recovery, is_replay_paused properties in the server
...
object, when data is not available.
2016-09-26 19:16:06 +05:30
Surinder Kumar
28ce31a022
Save error details when executing to CSV, if no data is returned. This ensures the user gets some feedback rather than nothing at all. Fixes #1592
2016-09-20 11:57:51 +01:00
Surinder Kumar
febb1b80b1
Ensure items are properly added to the treeview when their parent has no pre-existing children. Fixes #1627
2016-09-20 11:18:07 +01:00
Surinder Kumar
cc0cb83277
Resolve a syntax error when updating packages with no body. Fixes #1588
2016-09-19 15:33:19 +01:00
Surinder Kumar
92bc312d2d
Fix updating of matview definitions. Fixes #1595
2016-09-16 15:41:07 +01:00
Surinder Kumar
165b93a968
Fix a syntax error when creating a trigger function on PPAS 9.5+. Fixes #1600
2016-09-16 11:12:41 +01:00
Surinder Kumar
1ce5b38f4a
Fix an issue when changing the length of a column in the table dialogue. Fixes #1669
2016-09-16 11:09:13 +01:00
Surinder Kumar
016de5dc88
Fix scrolling in the query tool editor. Fixes #1579
2016-09-15 10:15:00 +01:00
Surinder Kumar
3035ae13df
Fix CMD+V (Paste) in the Mac runtime. Finally fixes #1478
2016-09-14 11:17:34 +01:00
Surinder Kumar
2ee631d6fc
Remove blank lines in the formatting of SELECT scripts for functions. Fixes #1690
2016-09-14 11:08:10 +01:00
Surinder Kumar
f2469d113c
Fix function signature generation for reverse engineered SQL. Fixes #1674
...
1) In SQL pane, the signature in comments had arguments with name and type, Now it will show arguments with type only.
2) There is no indent+newline between arguments (there isn't even a space). - Fixed
3) The default value for the last argument is omitted. - Fixed
Last argument is omitted because the value for the last argument we got from table is empty.
Now we form function signature in the get_definition.sql using 'pg_catalog.pg_get_function_arguments' method.
Above changes will reflect in Functions, Procedures & Trigger function Nodes.
2016-09-14 10:59:11 +01:00
Surinder Kumar
f2ed6fa4dd
Fix function signature generation. Fixes #1683
2016-09-12 15:20:46 +01:00
Surinder Kumar
28b7a033bc
Prevent creation of packages and rules in catalogs. Fixes #1682
2016-09-12 11:37:25 +01:00
Surinder Kumar
7cfcf14312
Move the declaration of a variable into the correct scope.
2016-09-09 14:50:51 +01:00
Surinder Kumar
f13de8b86b
Ensure the query tool editor has focus when the tab is selected or when first shown so the user can immediately type/execute. Fixes #1581
2016-09-07 16:20:47 +01:00
Surinder Kumar
da21cabb1e
Fix typo in connection handler.
2016-09-07 14:01:56 +01:00
Surinder Kumar
3dace5ff22
Fix file navigator to properly show drives in Windows. Fixes #1665
2016-09-05 17:07:07 +01:00
Surinder Kumar
2d75eac117
SqlFieldControl enhancements
2016-08-29 13:21:45 +05:30
Surinder Kumar
fe54a124da
Don't offer to create resource groups on disconnected servers. Fixes #1569
2016-08-22 12:21:33 +01:00
Surinder Kumar
4c2020cdc7
Allow the use of the tab key to select options in combo boxes. Fixes #1251
2016-08-22 12:18:38 +01:00
Surinder Kumar
5690dfda16
Allow template databases to be used when creating new databases. Fixes #1570
2016-08-19 16:35:42 +01:00
Surinder Kumar
761b54ce69
Allow the user to configure tabs in the SQL editor. Fixes #1406
2016-08-19 11:40:19 +01:00
Surinder Kumar
d5b0cd29d8
Display full text from backgrid cells that overflow in a tooltip. Fixes #1442
2016-08-19 10:54:13 +01:00
Surinder Kumar
67f481ab11
Prevent creation of FTS objects in catalogs. Fixes #1122
2016-08-16 12:49:19 +01:00
Surinder Kumar
6d839a2924
Prevent a query being executed whilst one is already in progress. Fixes #1532
2016-08-16 12:10:16 +01:00
Surinder Kumar
1bcac0b67c
Fix more of the funky keyboard shortcuts.
2016-08-08 15:26:37 +01:00
Surinder Kumar
5900848842
Sequence related validation/fixes. Fixes #1119
...
1) Add proper validation checks for fields.
2) Fixed wrong sql generation due to incorrect conditions in template.
2016-08-08 12:47:20 +01:00
Surinder Kumar
7cf4ac2474
Fix RE-SQL for Trigger Functions which was missing an 'AS'. Fixes #1524
2016-08-08 12:17:54 +01:00
Surinder Kumar
a43f053a10
Fix file upload in File Manager in pgAdmin4 Runtime. Fixes #1397
2016-08-04 16:34:30 +01:00
Surinder Kumar
42f8745aba
Fix error running VACUUM FULL FREEZE ANALYZE VERBOSE. Fixes #1519
2016-08-04 12:13:34 +01:00
Surinder Kumar
9c4eed70b4
Use the same keyboard shortcuts in the query tool as pgAdmin 3. Refs #1478
...
Per discussion on the mailing list, the shortcuts override the browser defaults (where there are any), but only when the query tool has focus.
2016-08-01 15:10:52 +01:00
Surinder Kumar
91559c622b
Fixes for function, procedure and trigger reverse SQL. Fixes #1293 . Fixes #1294
...
1. RM#1293 - SQL pane is not displaying GRANT queries in functions node
2. RM#1294 - Comments are not visible in sql pane for trigger functions and functions
Explanation:
Previously we we using 'get_defintion.sql' template to generate SQL for SQL pane for functions, procedure & trigger functions node.
but GRANT statements and COMMENTS changes were missing. In order to fix that, now we have used both 'create.sql' and 'get_definition.sql' templates to generate full SQL query for SQL pane.
2016-07-22 16:38:21 +01:00
Surinder Kumar
1a129cf30e
File management dialogue enhancements:
...
- Double click on file/folder icon or name will navigate to the folder/file.
- Selected file/folder can be renamed by Rename button only. Double click rename is removed.
- Filename text box will not hide on smaller screen. Setting minimum width of File Browser fixed it.
- Path at top will only show directory name, not the file name and it is greyed out
2016-07-15 10:50:25 +01:00
Surinder Kumar
efb254c966
Ensure newly created database can be dropped.
2016-07-15 10:14:11 +01:00
Surinder Kumar
f58c4df85d
Fix incomplete reverse engineered SQL for databases. Fixes #1420
2016-07-13 12:42:01 +01:00
Surinder Kumar
9ad0bd1026
Fix clear query option which was opening a query tool in new window in Mac Runtime
2016-07-13 12:35:22 +01:00
Surinder Kumar
47e849dee0
The spinner icon is not visible while executing query or running debugger in Runtime environment specific to Ubuntu. This issue is related to RM#1186
...
To make it work, we need to explicitly set -webkit-animation property to 'none' for classes "sql-editor-busy-icon.fa-pulse" and ".debugger-container fa-pulse".
'fa-pulse' class is responsible to spin the busy icon, but setting its -webkit-animation property to none will not spin icon but icon and message will be shown.
2016-07-13 12:32:05 +01:00
Surinder Kumar
52d1af63a5
Scroll to the new row when adding one in the query tool. Fixes #1435
2016-07-07 12:35:44 +01:00
Surinder Kumar
6c6660e576
Resolve "Move to last page" warning shown unnecessarily issue. Fixes #1422
2016-07-05 12:20:40 +01:00
Surinder Kumar
1bd27b847b
Grey the SQL panel in edit data mode. Fixes #1423
...
Introduced a new class 'cm_disabled' with css property background-color to '#EEEEE'
Query tool in edit mode, add the class 'cm_disabled' to set background color to dark and set the cursor property to 'nocursor' to disable editor.
Increased the query tool title padding to fix the issue of whitespace below the title.
2016-07-05 12:11:36 +01:00
Surinder Kumar
53434030c1
Consistent busy indication. Fixes #1242
2016-06-29 12:16:02 +01:00