Arun Kollan
22841f8664
Cleanup styling of wcDocker tab control buttons.
2016-04-07 13:40:16 +01:00
Murtuza Zabuawala
ca277bc8b6
Type support
2016-04-07 12:27:33 +01:00
Murtuza Zabuawala
3914f5095a
Fix sub-node error display.
2016-04-07 11:51:16 +01:00
Ashesh Vashi
1ba0814377
Added support for 'array' type in the schema of Node model to treat as
...
an object, and handle it well in the toJSON(..) with session
transformation.
2016-04-06 15:05:39 +05:30
Dave Page
01d6b46838
Minor adjustment to the menu font sizing.
2016-04-05 17:10:12 +01:00
Dave Page
34ef5790ba
Revert style change introduced in commit f7e4e8bea0
as it's removing padding from all grids.
2016-04-05 16:45:38 +01:00
Khushboo Vashi
2add0155a3
Add support for domains.
2016-04-05 16:32:36 +01:00
Surinder Kumar
d1eb3fd9d5
Utility functions for trigger and rule nodes, centralised because they're also utilised by the view node.
2016-04-05 16:19:55 +01:00
Khushboo Vashi
5ed7015ebc
Add support for functions and procedures.
2016-04-05 16:14:10 +01:00
Ashesh Vashi
40165f2d1e
Honour the 'show_system_object' flag when generating the list of schema nodes.
2016-04-05 16:37:54 +05:30
Neel Patel
e585ddbdaf
Improvise the PostgreSQL driver to fetch the status message.
...
At the moment, we will only allow to fetch status messages from the
asynchronous connection only, later - we may implement to fetch the
status message from the normal connection too.
2016-04-05 13:29:20 +05:30
Murtuza Zabuawala
f7e4e8bea0
Use separate editor for Select2Cell.
...
This allows us to use the Backgrid key navigation as expected.
This has also resulted into an issue - related unresponsive scrollbar
issue in the SubNodeControl.
2016-04-04 15:36:31 +05:30
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
Harshal Dhumal
43d532321b
Allow to close the create/edit dialog after successful 'save'
...
operation.
Some of the nodes do not return id as result, when they were created.
Modified the logic to allow to open the parent node in such conditions.
2016-04-01 15:34:29 +05:30
Khushboo Vashi
35a1390251
Resolved few issues in the collection controls. UniqueCollectionControl
...
was not honouring the change events after execution of the function -
'render' more than one time. Change the label of the Add button to make
it consistent with the Unique Collection Control.
2016-04-01 15:26:15 +05:30
Murtuza Zabuawala
1a5eb0c417
Updated the template for the NodeAjaxOptionsControl, which was not honouring
...
the disabled attribute due to missing quotes around values.
2016-04-01 15:17:31 +05:30
Ashesh Vashi
0654bae816
Adding the font used by jQuery-contextmenu (v2.1.0)
2016-04-01 11:57:55 +05:30
Ashesh Vashi
d70535385b
Upgraded the jQuery-contextMenu to v2.1.0 (latest stable version) in
...
order to fix the issue rendering the context menu for longer text.
Needs to do some modification in the existing pgAdmin4 CSS theme to make
it looks like/near the existing look and feel.
2016-03-30 19:08:27 +05:30
Ashesh Vashi
067c269fc8
Convert the value in proper format, as we may only get string values
...
for integer and numeric type.
2016-03-24 14:29:49 +05:30
Ashesh Vashi
242d5f47f6
Loading the jquery.aciSortable.min.js javascript, as when we destroy
...
the jquery-aciTree from preferences dialog, it throws an exception,
which uses functions from this javascript.
2016-03-24 14:23:44 +05:30
Ashesh Vashi
7bce6dd903
The changed value of a multiline/text control was not saved in the
...
configuration database due to unable to identify the change properly.
Thanks Dave for reporting.
This also includes a support to use a 'text' type of preference, and
show help string next to the control.
2016-03-24 13:00:15 +05:30
Ashesh Vashi
a28df1e0a2
Allow to show help string in each of the contorl.
2016-03-24 13:00:15 +05:30
Dave Page
2a2374329e
String improvements.
2016-03-23 16:03:22 +00:00
Dave Page
72f6353561
String improvements.
2016-03-23 16:00:26 +00:00
Dave Page
1ac16cbc0f
We have defaults for switch display now, so no need to set the options explicitly.
2016-03-23 11:53:07 +00:00
Dave Page
258c7f3589
Don't display packages as schemas.
2016-03-23 11:52:11 +00:00
Murtuza Zabuawala
0e044e1216
Fixed the refresh issue when a server gets disconnected.
2016-03-23 16:52:21 +05:30
Dave Page
a6e96c5576
Set appropriate default values for the boolean switch control.
2016-03-23 10:24:19 +00:00
Harshal Dhumal
219f208317
Evaluate the disabled option in SwitchControl.
...
Also - for consistency reason use the same evaluation logic in each of
the control.
2016-03-23 12:51:29 +05:30
Murtuza Zabuawala
12a0cb1ba1
[Python 3] Fixed the issue loading the value for the session key from the sqlite.
2016-03-23 12:40:11 +05:30
Harshal Dhumal
709311b77c
Fix issues with multiple subnode forms being open at once when adding rows to a grid.
2016-03-22 17:04:46 +00:00
Harshal Dhumal
ddd4768937
Backform control for selecting multiple columns.
...
Usage:
{
id: 'columns', label: '{{ _('Columns') }}',
type: 'collection', group: '{{ _('Definition') }}', editable:true,
canDelete: true, canAdd: true, control: Backform.MultiColumnSelectControl,
deps: ['index'], node: 'column',
model: pgBrowser.Node.Model.extend({
keys: ['column'],
defaults: {
column: undefined
}
})
}
Note: When using this control model should have column attribute. And node property should be column.
2016-03-22 16:52:34 +00:00
Surinder Kumar
03349f4af6
Update the backform control to support sql-fields.
...
Following are the enhancements:
1. Added border to control which was missing earlier.
2. Allows user to provide height to sql-field control by specifying extraClasses field in model schema.
3. Defined new classes for sql-field control height in overrides.css
4. Added scrollbar to the control.
Usage:
{
id: 'definition', label:'{{ _("Definition") }}', cell: 'string',
type: 'text', mode: ['create', 'edit'], group: 'Definition',
control: Backform.SqlFieldControl, extraClasses:['custom_height_css_class']
}
2016-03-22 16:36:54 +00:00
Ashesh Vashi
b3c625f135
Graceful server reconnections.
2016-03-22 15:35:11 +00:00
Ashesh Vashi
3c366fafe7
Server side session management support.
2016-03-22 15:05:43 +00:00
Harshal Dhumal
8189b39b1e
Configuration options for switch control from different places should be merged together and not overridden.
2016-03-22 14:28:13 +00:00
Arun Kollan
06c0cf607d
Make tabsets look consistent, and square off the properties sections a little.
2016-03-22 13:31:48 +00:00
Khushboo Vashi
8ca134871f
Update the Browser Tree Node Icon after editing.
2016-03-22 13:14:38 +00:00
Ashesh Vashi
87f9834951
Allow to create sub-menu/menu-group by specify the same category in
...
multiple menu-items (not just the 'create' menu-group).
Moved all the main menu/context menu generation implementation in the
'menu' javascript menu.
In this implementation, if more than one menu-items specify same type
of categories, they will be created withing that group, otherwise - it
will be created separately (unless 'single' property of that category is
set to true).
We can also provide icon, priority, separator(s) above/below it for the
individual sub-menu too using pgAdmin.Browser.add_menu_category
function(...).
2016-03-21 23:56:08 +05:30
Ashesh Vashi
79d6d50dcc
The minimal refresh functionality, which will not unload the whole
...
tree, when 'refresh' on any node was selected.
2016-03-21 22:44:59 +05:30
Ashesh Vashi
b056ba7bb7
Speed up the expansion/collapsing of nodes.
...
[as per Thom Brown <thom@linux.com>]
Also, we will not like to wait for 500 microsecond before initialing the
tree items, load them asap.
2016-03-21 22:44:59 +05:30
Murtuza Zabuawala
530f58e66b
Add support for inline fieldsets.
2016-03-18 16:54:43 +00:00
Khushboo Vashi
8a99282e07
Add support for domain dependencies/dependents.
2016-03-18 15:20:41 +00:00
Murtuza Zabuawala
3432481f9a
Properly name the dbo and sys catalogs in PPAS.
2016-03-18 15:16:18 +00:00
Ashesh Vashi
84c5c29b92
Resolved an issue using wrong variable name for backbone-model, while
...
triggering events.
Thanks Khushboo Vashi for reporting.
2016-03-18 17:29:52 +05:30
Ashesh Vashi
4c9bbff28b
Renaming a server, when it was connected, should not lose the existing
...
connections.
Thanks Neel for reporting the issue.
Also, resolved an issue related fetching properties of all the servers.
2016-03-18 17:12:40 +05:30
Ashesh Vashi
9dabd5bf3b
Resolved an issue related to not able to select grantee in the
...
privileges control.
It was a regression introduced in the commit -
'4adea4dc2596fb495c4df8129745b87c35b062a6'.
2016-03-18 16:53:38 +05:30
Ashesh Vashi
611c9c4ae7
Disable the menu to create database and tablespace, if:
...
* Database server is not connected.
* Do not have adequate permission to create.
2016-03-18 10:31:57 +05:30
Ashesh Vashi
09bdf1fab7
On Python 2, use urllib2 instead of urllib, which allows us to specify timeout
...
parameter.
2016-03-18 10:08:51 +05:30
Ashesh Vashi
328428ab22
Adding a timeout of 5 seconds (while fetching the latest pgAdmin version), it
...
stucks at rendering the main page (browser.html) in the broken network.
2016-03-18 09:58:00 +05:30