Akshay Joshi
ea82d92e41
Do not show success message, when there is an error saving the data in
...
the DataGrid.
Fixes #2907
2017-11-30 13:01:30 +05:30
Akshay Joshi
281b6c91b5
Using the correct type name (along with the internal name) while
...
generating the query for update/insert table data (Data grid).
Modified by Ashesh for array support.
Fixes #2830
2017-11-30 13:01:30 +05:30
Akshay Joshi
5a132a547f
Ensure using an alternate role to connect to a database doesn't cause an error when checking recovery state. Fixes #2742
2017-09-28 15:09:49 +01:00
Akshay Joshi
13665f68d8
Fix validation message styling on thegrant wizard. Fixes #2673
2017-09-20 11:34:01 +01:00
Akshay Joshi
fe757c384b
Filtered Rows dialog not opened from the context menu. Fixes #2699
2017-09-19 11:46:51 +05:30
Akshay Joshi
bdc08d94c4
Fix View Data option and column config for Foreign Tables. Fixes #2691
2017-09-18 14:32:17 +01:00
Akshay Joshi
47cf874460
1) Fixed error in alertify.pgNotifier when server connection is lost.
...
2) Change styling of alertify.pgNotifier as we did for success, error and info.
2017-08-31 18:02:03 +05:30
Akshay Joshi
fe6e4686a2
Unable to add/update variables for columns of a table. Fixes #2659
2017-08-23 17:11:30 +05:30
Akshay Joshi
e418cb8387
Changed the mapping of cell from 'numeric' to 'integer' for integer control as numeric cell has been removed from the code. Fixes #2631
2017-08-07 14:02:59 +05:30
Akshay Joshi
801a05891e
Set the database name to blank('') when job type is set to batch, while creating pgAgent job. Fixes #2620
2017-08-04 19:31:17 +05:30
Akshay Joshi
e506fa1dbe
Improved alertify notification logic. Remove AlertifyWrapper class and extend notification methods in alertify itself.
2017-07-31 18:59:44 +05:30
Akshay Joshi
a7f58e2b92
1) Added partition module in webpack config.
...
2) Fixed missing logic of partition from primary_key.js and unique_constraint.js as this two files are newly created for webpack.
3) Changed the node name from 'check_constraint' to 'check_constraints'. Also changed the same in test case url.
2017-07-31 18:25:04 +05:30
Akshay Joshi
4d4da67247
Fix regressions introduced by PG10's partitioning code. Fixes #2043 . Fixes #2324 .
2017-07-20 12:49:40 +01:00
Akshay Joshi
f06c3578f6
Fix drop/drop cascade for partitioned tables. Fixes #2550
2017-07-10 16:02:32 +01:00
Akshay Joshi
ed3cb7df41
Handle partitioned tables created "OF TYPE". Fixes #2545
2017-07-10 14:16:30 +01:00
Akshay Joshi
fae185ff66
Partitioned table does not present in grant wizard. Fixes #2543
2017-07-07 15:15:15 +05:30
Akshay Joshi
e793413d76
Fixed issue by adding extra check for 'relkind' column
2017-07-07 12:33:58 +05:30
Akshay Joshi
c2fb0394bf
Added support of Declarative Partitioning (Range, List) for PostgreSQL 10.
...
This allows the user to create partitioned table and it's partitions.
- Edit partitions, Create/Listing of constraints, rules, triggers under partitions. (Implemented by Harshal)
- Updating browser tree node when create/attach/detach partitions from table dialog.(Implemented by Ashesh)
2017-07-07 11:55:55 +05:30
Akshay Joshi
c98b64fd82
1) Edit cellEditing function, in some cases grid object is undefined.
...
2) Modify SubNodeCollectionControl, so that user can pass custom backgrid row.
3) Handling of visible parameter in SubNodeCollectionControl.
4) Customise title and delete message for Delete Cell.
5) Added Backgrid.Extension.Select2DepCell and moved Backgrid.Extension.StringDepCell from user management to backgrid.pgadmin.js.
2017-06-29 19:01:29 +05:30
Akshay Joshi
794b70daea
Fixed issue of opening file manager dialog from Query Tool.
2017-06-13 15:48:12 +05:30
Akshay Joshi
1f903ba231
Updated psycopg2 version for PostgreSQL 10 compatibility. Fixes #2377
2017-05-12 15:43:03 +05:30
Akshay Joshi
a449be784e
Initial support for PG 10.0, per #2214 (missed some files)
2017-04-24 13:56:01 +01:00
Akshay Joshi
59834fba31
Initial support for PG 10.0, per #2214
2017-04-24 13:55:29 +01:00
Akshay Joshi
0d566a6f3a
Changed switch label from True/False to Show/Hide for 'Package Functions' and 'Package Procedures' node in Preferences dialog.
2017-04-14 14:57:38 +05:30
Akshay Joshi
cbee76eac8
Align labels with switches properly.
2017-04-12 13:28:07 +01:00
Akshay Joshi
6a861f7a91
Add the config option ALLOW_SAVE_PASSWORD to allow admins to disable saving of passwords. Fixes #2232
2017-03-31 20:14:37 -04:00
Akshay Joshi
757500c478
Ensure preferences are properly saved the first time they're set.
2017-03-27 12:19:28 -04:00
Akshay Joshi
569ceb3906
Modify the web code to allow the Query Tool and Debugger to be opened in new tabs, per settings in Preferences. Fixes #1344
...
Note that this does *not* enable the runtime to use multiple windows at this stage. It's really only useful in Server mode.
2017-03-24 14:43:56 +00:00
Akshay Joshi
ae809c4506
Properly detect when files have changed in the query tool and set the dirty flag accordingly. Fixes #1807
...
Note that (like pgAdmin 3) we don't make any attempt to detect if all changes have been undone and completely reverted as that could be very expensive with large scripts.
2017-01-08 15:27:58 +05:30
Akshay Joshi
686237413c
Use more sensible column sizes for the data output in the query tool. Fixes #1789
...
Per Akshay:
I have tried to get the width of the content but we are sending complete data as collection to the SlickGrid. We will have to fetch the content of each column and figure out the maximum length for that column by iterating all the rows is too expensive. Apart from that to set the width in 'ch' we will have to do it using css. With current implementation we are setting the column option of the SlickGrid from javascript code.
I have fixed this issue by setting the width of the columns based on data type. I have set the width of boolean column to 60, all the numeric/integer columns to 80 and for all other data types it is 20% of the container width as 33% is too wide.
2016-12-12 10:13:53 +00:00
Akshay Joshi
b8d03d5dc2
Don't cast data when saving in the edit grid, so errors are seen and data doesn't get silently modified. Fixes #1994
2016-12-09 12:05:46 +00:00
Akshay Joshi
e160909423
Quote identifiers correctly in auto-complete. Fixes #1992
2016-12-05 13:15:03 +09:00
Akshay Joshi
7da3ece169
Ensure all changes to rows are stored in the data editor. Fixes #1919
2016-11-07 15:07:43 +00:00
Akshay Joshi
c2d9c0bb7c
Improve display of role options. Fixes #1729
2016-11-01 11:44:32 +02:00
Akshay Joshi
76fb831554
Fixed issue where some parameter like 'Volatility, LeakProof , Variables etc..' not visible in SQL definition for functions and trigger functions.
2016-10-20 19:07:51 +05:30
Akshay Joshi
2d39b5fb41
Identify the collation correctly when reverse engineering table SQL. Fixes #1847
2016-10-14 15:57:55 -07:00
Akshay Joshi
1b05464a04
Getting 'AttributeError' in pgadmin4/web/pgadmin/browser/server_groups/servers/__init__.py. Fixes #1464
2016-08-26 14:25:33 +05:30
Akshay Joshi
7b72448ec9
Internal sever error displayed if create New user mapping with public user. Fixes #1468
2016-08-26 11:23:15 +05:30
Akshay Joshi
e016869ad5
Trigger issues through right click. Fixes #1209
2016-08-24 12:10:54 +05:30
Akshay Joshi
86858b18f6
Fix validation of numeric preference min/max values. Fixes #1567
2016-08-19 11:00:05 +01:00
Akshay Joshi
7dffb020f1
Support CREATE LANGUAGE. Fixes #1252
2016-08-19 10:26:02 +01:00
Akshay Joshi
2b1b60bc2b
Reduce main menu height a little. Fixes #1453
2016-08-18 16:51:22 +01:00
Akshay Joshi
035066bd41
Fix query tool button/menu inconsistencies. Fixes #1461
2016-08-09 16:23:24 +01:00
Akshay Joshi
9dfc7bff35
Add missing collection node child counts. Fixes #1250
2016-08-09 12:12:05 +01:00
Akshay Joshi
e1cc3dded2
Allow customisable delete confirmation messages in backgrid.
2016-08-01 15:18:57 +01:00
Akshay Joshi
e803464ee0
Replace 'Add' buttons with '+'
2016-07-26 12:54:59 +01:00
Akshay Joshi
c04b729c1d
Set the minimum value to 50 and maximum value to 2000 for the items per page in the result grid
2016-06-20 16:23:49 +05:30
Akshay Joshi
f9393aee44
Allow a value of 0 rows per page to mean "no paging". Allow rows to be added on any page.
...
Fixes #1356
2016-06-16 09:57:44 +01:00
Akshay Joshi
967159664e
Fixes #1303 Query with Order by clause is not working in Query Tool
2016-06-03 14:40:57 +05:30
Akshay Joshi
0a354055a9
Adding support for autocomplete in the SQL Editor.
...
In Query editor, we can use the autocomplete feature by using keyword
combination - 'Ctrl + Space'.
2016-05-21 16:04:29 +05:30
Akshay Joshi
4dbe058832
Implementation of Table, Column, Index, Trigger, Constraints and Rule Node.
...
- Table, Column, Index and Trigger (Author:- Murtuza Zabuawala)
- Constraints Primary Key/Unique/Check/Foreign Key/Exclusion
with integration into Table node (Author:- Harshal Dhumal)
- Rule (Author:- Surinder Kumar)
- Vacuum Control (Initial patch by Surinder Kumar and further enhancement by Murtuza)
2016-05-20 17:15:52 +05:30
Akshay Joshi
3a9b331df6
Change the priority of Tools menu item
2016-05-19 13:53:49 +05:30
Akshay Joshi
7d5d6dad28
Remove testing code
2016-05-17 19:00:13 +05:30
Akshay Joshi
8312efe927
Fixed issue of getting/setting preferences options for 'Explain'
2016-05-17 14:38:44 +05:30
Akshay Joshi
216b6b16b5
Fixed issue change 'Auto Commit' option from preferences not reflacted properly on UI and also not set the class variable
2016-05-17 12:31:39 +05:30
Akshay Joshi
8e4e1640e7
Fixed cStringIO and StringIO module compatibility in python
2016-05-13 11:22:59 +05:30
Akshay Joshi
894002b06d
Fixed below review comments for QueryTool
...
- The button bar be moved out into an HTML template
- create.sql should perhaps be renamed to insert.sql
- The "Add Row" button only works if you're on the last page of the resultset.
- Use one wcDocker instead of two
- Added support of code folding
2016-05-06 18:09:04 +05:30
Akshay Joshi
7867adaa53
Added dependency of messages 'pgadmin.browser.messages' in backfrom.pgadmin.js
2016-05-06 17:55:50 +05:30
Akshay Joshi
c6acbcb5ad
Query tool/data editor initial version
2016-04-14 15:04:03 +01:00
Akshay Joshi
03d6fce53c
Add support for an affected row count property to the DB interface.
2016-04-12 17:02:54 +01:00
Akshay Joshi
5331075ab0
Improvise the psycopg2 wrapped driver for PostgreSQL to show formatted
...
message on demand.
Also - resolved an issue identifying the aborted transaction while using
the asychronous connection.
2016-04-04 12:29:43 +05:30
Akshay Joshi
218cc3ec0c
As 'show_system_objects' has been implemented, I have fixed an issue for dependencies/dependents.
...
With previous implementation each node will have to send the values of 'show_system_objects'
while calling get_dependencies/get_dependents function. Now I have changed the logic to use the
value directly into the base class functions.
2016-03-15 14:16:33 +00:00
Akshay Joshi
f08aa6a313
Always fetch column info from the server, even if there are no rows.
2016-03-08 15:59:53 +00:00
Akshay Joshi
e138ec53b6
Add support for asynchronous connections to the database server.
2016-03-02 13:29:15 +00:00
Akshay Joshi
b3ff96d2db
Add backgrid extensions for use in various tools: select-all, paginator and filter
2016-02-26 11:08:45 +00:00
Akshay Joshi
7ffbb8c039
Add support for viewing/editing procedural languages.
2016-02-23 10:07:14 +00:00
Akshay Joshi
c153032e3b
Add support for displaying dependency and dependents info.
2016-02-22 13:07:16 +00:00
Akshay Joshi
8186e45844
Adding Numeric control support for Backform.
...
This patch also includes an issue related to IntegerControl, which does
not emit any error message, when it has some issues.
In order to fix the issue, it will trigger 'pgadmin-session:invalid'
event, when the input value is not an valid integer.
2016-02-22 17:18:08 +05:30
Akshay Joshi
dafd2f3323
Add support for Resource Groups in EDB Advanced Server 9.4+.
2016-02-22 10:51:35 +00:00
Akshay Joshi
86115cff6c
Adding support to serialize the datetime to the JSON object properly.
2016-02-05 14:18:35 +05:30