Murtuza Zabuawala
573abbe6ef
Allow users to select a data type with the keyboard only when creating a column in the subnode grid. Sanitise the list of fields shown.
2016-07-15 10:12:23 +01:00
Murtuza Zabuawala
fdcb9d2a57
Fix an issue in procedure node where users were not able to create a new procedure when they provide arguments. Fixes #1416
2016-07-13 14:57:08 +01:00
Murtuza Zabuawala
f79ca32e45
Allow selection of 'PUBLIC' as a role in privileges. Fixes #1416
2016-07-13 14:51:25 +01:00
Murtuza Zabuawala
ae692d2416
Display comments on languages. Fixes #1412
2016-07-13 14:45:34 +01:00
Surinder Kumar
f58c4df85d
Fix incomplete reverse engineered SQL for databases. Fixes #1420
2016-07-13 12:42:01 +01:00
Harshal Dhumal
4077de2187
Fix Select2 issues. Fixes #1418 . Fixes #1434
...
1. Select2 control fixed for multi-select mode.
2. Index constrains (primary and unique key) fixed column listing issue.
3. Table node "inherited from" (Select2 control) was not showing table name with public schema
2016-07-05 12:58:48 +01:00
Dave Page
d4c3b1bcff
Fix trigger function help link. Fixes #1410
2016-07-02 17:24:21 +01:00
Dave Page
7b3b7736d9
Resolve loading panel does not hide in Mac runtime. Fixes #1425
2016-07-01 10:20:43 +01:00
Dave Page
685b2f4ab7
Correct label
2016-06-30 14:05:10 +01:00
Dave Page
c4504f1dc2
Localise the loading message.
2016-06-29 20:48:09 +01:00
Dave Page
d795f37fe5
Prefix the version number with 'v' in the Loading message.
2016-06-29 20:47:11 +01:00
Murtuza Zabuawala
8246fc56e8
Offer the various serial pseudo-types as column type options. Fixes #1393
2016-06-29 19:50:43 +01:00
Surinder Kumar
53434030c1
Consistent busy indication. Fixes #1242
2016-06-29 12:16:02 +01:00
Harshal Dhumal
9396cb03d5
Fix intermittent CodeMirror rendering issue. Fixes #1399
2016-06-29 11:19:04 +01:00
Surinder Kumar
5d0c160fb8
Show a loading indicator until things are ready to rock. Fixes #1400
2016-06-29 10:46:48 +01:00
Dave Page
1222681888
Revert "Display busy indicators in a much more consistent way. Fixes #1242 "
...
This reverts commit 7fbefa507b
which seems to be
missing things.
2016-06-29 10:32:20 +01:00
Dave Page
7fbefa507b
Display busy indicators in a much more consistent way. Fixes #1242
2016-06-27 17:09:37 +01:00
Murtuza Zabuawala
4bb849c58c
Allow toggling of the Primary Key option in the un-expanded column grid when defining a table. Fixes #1235
2016-06-24 14:05:59 +01:00
Surinder Kumar
a7e1e25cf4
Add a title bar to the treeview browser, as this is the only (currently) supported way to fix docking issues with our code in wcDocker. Fixes #1184
...
Original patch by Surinder. Simplified and re-styled by me.
2016-06-24 10:12:57 +01:00
Murtuza Zabuawala
e4ef927da3
Fix tablespace statistics. Fixes #1196
2016-06-23 13:06:05 +01:00
Murtuza Zabuawala
8b0e65dc57
Allow default ACLs to be specified when creating schemas. Fixes #1108 .
2016-06-23 13:03:18 +01:00
Dave Page
5928f70a1d
Fix default ACL queries which were using invalid values for defaclobjtype.
2016-06-23 13:02:30 +01:00
Dave Page
4983eb2f1c
Fix SQL formatting. Fixes #1234
2016-06-23 12:14:23 +01:00
Murtuza Zabuawala
e5ee592470
Don't offer an option to drop the current maintenance database. Fixes #1382
2016-06-23 11:37:32 +01:00
Ashesh Vashi
b78b3904cd
Use PUBLIC (in caps) whenever used as a keyword. Fixes #1138
2016-06-23 09:15:09 +05:30
Dave Page
7d0fe669ca
Code tidy.
2016-06-21 14:21:06 +01:00
Dave Page
3026b470e9
Optimise Python imports.
2016-06-21 14:12:14 +01:00
Sanket Mehta
03d348f7c2
Fix SELECT Script option for functions. Fixes #1191
2016-06-21 13:29:55 +01:00
Murtuza Zabuawala
3210975568
Fix creation of exclusion constraints. Fixes #1301
2016-06-21 12:01:39 +01:00
Surinder Kumar
3f25e9331f
Remove Query tool from object menu. It is already shown under tools menu, so no need to show under object menu.
2016-06-20 14:17:10 +01:00
Khushboo Vashi
40b075389f
Add missing foreign table column options.
...
Fixes #1351
2016-06-20 13:45:37 +01:00
Murtuza Zabuawala
1a84c35628
Fix an issue where the save button was not getting enable when user revoke ADMIN option from Role privileges.
...
Issue: validation callback was missing in the control model.
Fixes #1302
2016-06-20 13:20:51 +01:00
Murtuza Zabuawala
01801e4acb
Fix date validation while creating new role.
...
Fixes #1370
2016-06-20 10:11:42 +01:00
Murtuza Zabuawala
ac37d60c03
Fix the issue in Materialized view where user was not able to create Materialized view with PPAS 9.5 due to incorrect template path.
...
Fixes #1379
2016-06-20 10:03:38 +01:00
Ashesh Vashi
3350eaceab
Use the same layout mechanism used as in the panel using elementary
...
layout support in different dialogs. Fixes #1358 .
2016-06-20 12:46:33 +05:30
Dave Page
3bcc5a4bd3
Further string improvements.
2016-06-17 14:51:01 +01:00
Dave Page
69d8f01d01
String improvements.
2016-06-17 14:35:16 +01:00
Murtuza Zabuawala
014eb2a5c2
Don't allow creation of edbspl trigger functions (they should be created as part of the trigger). Fixes #1212 .
2016-06-17 13:46:42 +01:00
Murtuza Zabuawala
d4e5d9c4f4
Add "Move objects..” functionality in tablespace node. Fixes #1286
2016-06-15 13:21:01 +01:00
Dave Page
0717b40543
Wording improvements.
2016-06-15 12:42:21 +01:00
Harshal Dhumal
fc40197d39
Fix handling of errors when using "Connect Now?" for new servers. Fixes #1313 .
...
Also fixes #1363 - display the server group properly in server properties.
2016-06-15 12:36:56 +01:00
Murtuza Zabuawala
71ec9ef914
Add stats on Sequences/Functions/Trigger functions collection nodes. Fixes #1299
2016-06-15 11:53:58 +01:00
Harshal Dhumal
6b95d6ac75
Added connect now option in server create dialog. Fixes #1313
2016-06-14 17:23:25 +01:00
Harshal Dhumal
b0b21fd46c
Avoid showing multiple 'Reset Layout' options under file menu. Fixes #1348
...
Also restructured code related to reset layout functionality.
2016-06-14 15:01:15 +01:00
Murtuza Zabuawala
62c1369938
Add "Move objects..” functionality to tablespace node. Fixes #1286
...
Additionally I have removed pre_9.1 sql's & align SQL line indentation as well.
2016-06-14 14:53:48 +01:00
Murtuza Zabuawala
fe1c86cbbe
Fix SSL mode selection. Fixes #1144
2016-06-14 12:26:07 +01:00
Murtuza Zabuawala
1f9d0ffc54
Fix comment removal for various nodes. Fixes #1331
2016-06-13 16:22:50 +01:00
Dave Page
970d3aafbf
Help buttons for various dialogues.
2016-06-13 16:17:36 +01:00
Surinder Kumar
c331b514a9
Auto-close the date picker when selecting a role expiry date. Fixes #1327
2016-06-10 17:13:06 +01:00
Murtuza Zabuawala
d9804ae2a2
Add a menu option to reset the layout. Fixes #1248
2016-06-10 16:55:58 +01:00
Murtuza Zabuawala
fcd33162a9
Fix role valid until date handling. Fixes #1107
2016-06-10 16:12:51 +01:00
Sanket Mehta
d5a91c969c
Ensure the properties dialogues create objects in a single transaction/statement. Fixes #1107
2016-06-10 16:07:24 +01:00
Surinder Kumar
47d7e24bb9
Add a Help button to the bottom left of the Wizard framework
2016-06-08 14:08:12 +01:00
Surinder Kumar
802840fd7f
Fix various cosmetic issues with preference dialog
...
1. Foreign keys listed twice
The label for Exclusion constraint was set to 'Foreign keys'. fixed it.
2. Trigger function, Unique constraint, Primary key should be in title case
3. if user click outside of Preferences window it disappear (it should not disappear)
set preference alertify dialog option closableByDimmer to false.
4. Columns node settings listed twice
Override the register_preferences method in Columns CatalogObjectColumnsModule class
because there are two types of columns node, catalogs columns and tables columns.
so the settings for table columns should also work for catalog columns. Thats why we are not showing preference option for catalogs column node.
Ashesh fixed this issue.
2016-06-08 13:29:49 +01:00
Surinder Kumar
8eb0742076
Add the Query Tool to the context menu, and improve prioritisation. Fixes #1256
2016-06-08 13:18:59 +01:00
Murtuza Zabuawala
d7f5e95b2b
Fix unwanted space indentation issue in Database node.
2016-06-08 12:56:56 +01:00
Murtuza Zabuawala
4ace8bb5b6
Statistics support remaining object types that support them.
2016-06-07 13:16:12 +01:00
Murtuza Zabuawala
20a22731e0
Fix incorrect condition checking for privileges.
2016-06-07 12:37:02 +01:00
Harshal Dhumal
f3fae9d238
Fix email validation and mouse pointer over the Users option.
2016-06-07 09:24:44 +01:00
Harshal Dhumal
7f1e57c2a6
Remove the header controls of subnode control properly, when removing it
...
from the VariableControl, and the customized TokenControl in the
fts_configuration javascript module during clean up process.
2016-06-06 18:53:19 +05:30
Murtuza Zabuawala
9ed2530b1f
Fixes #1110 - Proper validation for the security labels.
2016-06-06 18:07:13 +05:30
Harshal Dhumal
e3ab4501d5
User management.
2016-06-06 13:34:08 +01:00
Murtuza Zabuawala
6dbfb7db7e
Fixes #1273 - Resolved an issue setting privileges on the SHELL type.
2016-06-03 15:58:10 +05:30
Murtuza Zabuawala
c14ff8e15e
Fixes #1300 - Honour show system object in the table dialog, and do not
...
show catalog schema tables.
2016-06-03 15:45:13 +05:30
Murtuza Zabuawala
6036c431b0
Fixes #1283 , #1287 - Do not show null description in the create mode,
...
corrected the index expression on table node.
Reported by Thom Brown.
2016-06-03 15:41:24 +05:30
Murtuza Zabuawala
8b54b59f2b
Fixes #1285 - Update the comments (description) over the tablespace
...
properly.
2016-06-03 15:36:47 +05:30
Murtuza Zabuawala
9436542074
Fixes #1223 - Do not allow to drop user from non-super user.
...
Also - fixed some javascript variable scope issue in the 'delete_obj'
function of nodes.
2016-06-03 15:32:33 +05:30
Harshal Dhumal
ab9f63d960
Fixes# 1210 - Send the columns SQL with proper mime type.
2016-06-03 15:24:39 +05:30
Murtuza Zabuawala
40ab0b7c88
Fixes #1298 - ACL for the SEQUENCE node were not parsed properly.
2016-06-03 15:23:14 +05:30
Ashesh Vashi
af1e70ba4f
Load the collection node sorted on order by 'label'.
2016-06-03 06:49:20 +05:30
Ashesh Vashi
8313bc9b8a
Do proper validation of the server node.
2016-06-03 06:29:23 +05:30
Ashesh Vashi
57f3cbfa3b
Select parent node when deleting/dropping the last children.
2016-06-03 06:06:40 +05:30
Ashesh Vashi
05a3d509bc
Fixes #1104 - Load the first level node properly, whenever we add first
...
node under it, and select that node.
This fixes the problem of adding first server.
2016-06-03 05:57:58 +05:30
Susan Douglas
e47671edaa
Table dialog and backup tool docs
2016-06-02 14:05:46 +01:00
Murtuza Zabuawala
1f25e90fa4
Fixes #1276 - Resolved an issue - 'TypeError: c is undefined on removing
...
member type from Type=composite'.
2016-06-02 15:31:07 +05:30
Ashesh Vashi
e18b135f6f
Rename the 'Auto Vacuum' tab to 'Parameter' as it represents 'Storage
...
Parameters'.
2016-06-02 15:28:32 +05:30
Surinder Kumar
2610eaefbe
Fixes# 1290 - Use qtLiteral with parameterized values.
...
When not using qtLiteral, it was result into an error - "unknown
error displayed when modify comments which may special characters on
Materialized view".
2016-06-02 15:08:24 +05:30
Murtuza Zabuawala
bf042d46a2
Check valid DOMElement existance before accessing it while updating the
...
menu updation.
2016-06-02 15:01:16 +05:30
Murtuza Zabuawala
60208b7ae5
Fixes an issue rendering the dashboard, when data object is missing.
...
Also, fixed an issue checking the existence of the data object before
accessing it in schema javascript module.
2016-06-02 14:58:14 +05:30
Ashesh Vashi
486da5e12c
Fixed issue only coming in the runtime.
...
* Do not need to translate an empty string. (that results into the
translation header inclusion in the javacript module).
* String.prototype.StartsWith is not an well received function, it has
not been available in the QWebkit for linux.
2016-06-02 13:15:26 +05:30
Murtuza Zabuawala
4482bbb1ba
Fixed a typo in Type node javascript module.
2016-05-31 23:29:50 +05:30
Khushboo Vashi
b4d195aafe
Fixes #1278 - Load the foreign server node javascript module when
...
databases (not when servers) are being loaded.
2016-05-31 23:26:55 +05:30
Murtuza Zabuawala
afcb62cfd6
Fixes #1262 - Do not allow to delete the default server group.
2016-05-31 13:48:07 +05:30
Surinder Kumar
4aaa58352c
Support for the 'Refresh CONCURRENTLY' is applicable only on the
...
database server >= 9.4.
2016-05-30 17:01:04 +05:30
Murtuza Zabuawala
70cca42d61
Fixes #1147 - 65536 is valid port for PostgreSQL.
2016-05-29 16:04:10 +05:30
Murtuza Zabuawala
f4cb7d8f9c
Fixes #1231 , #1237
...
* 'Of type' can't be used with 'Like'.
* 'Of type' usage conflicts with adding columns.
2016-05-29 16:02:08 +05:30
Surinder Kumar
6cb83f08d6
Load nodes under the schema at database level.
...
The following node module script will be loaded, when first database
node object is added in the browser tree.
* Domains
* Foreign tables
* FTS Configuration
* FTS Dictionary, and
* Functions
Icons for these modules needs to be shown in the dependents list.
2016-05-29 15:33:35 +05:30
Murtuza Zabuawala
c96f28b66f
Fixes #1123 - Options other than 'Create' are not available in the
...
procedure node.
This patch also includes other fixes related 'procedure' node as below:
* Generate correct statement for dropping procedure.
* Fetch the missing schema name for the EXEC script.
* Removed the 'DROP CASCADE' menu options, as it is not supported by
procedure.
2016-05-29 15:28:17 +05:30
Ashesh Vashi
7e51a8fd56
Improvement in the security tab for each of the nodes.
...
* Hide the security tab for the objects under the catalog schema.
Patched by Surinder Kumar, vastly improved by me.
* Make the securtiy label across all the nodes, using the same backbone
model across the nodes, and make changes in the backend code for the
same.
2016-05-29 15:19:36 +05:30
Murtuza Zabuawala
100f075510
Fixes #1142 - Update the comments in edit mode for the function,
...
procedure, trigger function nod objects.
2016-05-28 19:47:12 +05:30
Murtuza Zabuawala
fd0d740acc
Fixes #1143 - Update the comments in edit mode for the foreign data
...
wrapper, and foreign table objects.
2016-05-28 19:45:12 +05:30
Sanket Mehta
2fb1e96e2f
Fixes #1113 - Casts should be in alphabetical order.
2016-05-28 18:57:26 +05:30
Susan Douglas
b482ba6ce9
Additional documentation pages for dialogs.
2016-05-27 17:13:36 +01:00
Dave Page
b85fa58344
Additional docs from Susan.
2016-05-26 15:29:33 +01:00
Dave Page
7aea8f8536
s/domain-constraints/domain_constraints for consistency.
2016-05-26 15:27:06 +01:00
Surinder Kumar
6f2c8cfb31
Fixing couple issues with some of the nodes.
...
* Added 'catalog' as parent type for the domain, procedure nodes.
* Proper initialization of the FTS Configuration, FTS Parser, FTS
Dictionary, FTS Template Nodes.
* Proper Indentation in collection.js
2016-05-26 11:19:17 +05:30
Murtuza Zabuawala
db79f3ff3d
Fixes #1150 - Disconnecting a database action should followed by
...
updating the menu state according to its current state.
2016-05-25 17:44:39 +05:30
Surinder Kumar
4741992ad7
[Grant Wizard] Added support for Materialized View in the Grant Wizard.
...
Also - done proper view clean up when the wizard is cancelled.
2016-05-25 17:41:02 +05:30
Murtuza Zabuawala
b1aa956af8
Fixes #1118 - Handle null, or empty string for the comments in Jinja2
...
template for Sequence Node.
2016-05-25 17:37:06 +05:30
Ashesh Vashi
cf0f692d00
Dialog default sizing.
2016-05-25 11:18:05 +01:00
Ashesh Vashi
798ff03818
Role can update the catalog is not support from PG >= 9.5.
...
We will set rolcatupdate same as rolsuper from the properties query for
PG >= 9.5
2016-05-25 13:46:42 +05:30
Ashesh Vashi
748497916e
Honour the node type (if provided) in the menu item, and disable it on
...
any other nodes.
2016-05-25 01:15:10 +05:30
Ashesh Vashi
d20db0f43e
Defined SwitchDepsCell in the schema javascript module, because - it
...
will be loaded before every other javascript module requires this Cell.
2016-05-25 01:01:02 +05:30
Surinder Kumar
05dde57651
Fixes #1207 - Unable to comments on materialized view with Postgres Plus
...
Advanced Server.
Made changes in the query templates for create, view-id, and update to
make it work properly with it.
2016-05-25 00:48:41 +05:30
Surinder Kumar
c0ab396fad
Fixes #1213 - Dropping the materialized view using an non-super user
...
results into an error - "list index out of range".
Using correct variable name while accessing parameter from an
dictionary.
2016-05-25 00:45:38 +05:30
Murtuza Zabuawala
c81977d441
Fixes #1136 - do not to allow create a server group with same name.
2016-05-25 00:00:28 +05:30
Murtuza Zabuawala
42a3b784ba
Fixes #1135 - resolved an issue dropping a role with special characters.
2016-05-24 23:56:26 +05:30
Surinder Kumar
3b3cf7502b
Added support for the CREATE script for View and Materialized View, and
...
SELECT & INSERT support for the Materialized View Node.
2016-05-24 23:53:19 +05:30
Murtuza Zabuawala
af84ba5a4f
Fixed all the review comments from Dave.
...
* Moved the Columns, and Constraint to its repective tabs.
* Ensure all the labels only have a capital letter on the first word
(except for keywords or acronyms).
* Resolve the typo in string - 'System table'.
* Error messages on fields should not be shown unless the field loses
focus and has an error.
* "General" section should have a limited subset of information.
* Variables grids should not be on the Security tab.
* Fixes the field labels that imply a question.
* Privileges controls on the Properties lists should be in a "Security"
group.
Apart from review comments improved few other areas too:
* Used in-place DepsCell functionality for columns in both index, and
type node.
* Improved the error handling in constraint nodes.
* Added create, alert SQL Help for nodes associated with the table node.
2016-05-24 23:29:55 +05:30
Murtuza Zabuawala
aa1c283514
Added Insert/Delete/Update script functionality for foreign table objects
2016-05-24 12:41:00 +05:30
Ashesh Vashi
98fa93413d
Initialize the msg to None as we may not have msg available, when
...
current version, and latest released version is matching.
2016-05-24 11:49:40 +05:30
Neel Patel
aff0d417bb
Fixed the issue related to set proper height, width of the div of a frame in
...
wcFrame. This is only happens only in the Firefox browser.
This was regression of the commit-id:
9a832086c5
.
2016-05-23 13:22:40 +05:30
Dave Page
1724787f2a
www.pgadmin.org now supports https.
2016-05-21 13:54:22 -04:00
Ashesh Vashi
2c6ca7d82c
Changed the Select2Control to work more consistently.
2016-05-21 15:41:38 +05:30
Ashesh Vashi
b2b6d443b5
Do not validate the model unnecessarily (when closing).
...
Clear the cache of a node, whenever an object has been removed of that
kind, it will allow us to fetch the latest list.
2016-05-21 15:36:41 +05:30
Murtuza Zabuawala
d2eaa8b3dd
Adding support for the trigger functions node.
2016-05-21 15:09:44 +05:30
Murtuza Zabuawala
077075c765
Renaming the label of the browser left node after editing the properties
...
properly.
2016-05-21 15:06:14 +05:30
Ashesh Vashi
875e251359
Allow to specify the height & width from the javascript modules of an
...
individual node.
2016-05-21 14:18:26 +05:30
Dave Page
238da58732
Helpfile refactoring.
2016-05-20 16:39:35 -04:00
Surinder Kumar
ecde42cbed
Implementation of View & Materialized View
2016-05-20 17:43:30 +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
Sanket Mehta
6895da9cbc
Added support for FTS configuration node
2016-05-19 21:04:07 +05:30
Neel Patel
9a832086c5
Fixed an issue - not displaying query tool & debugger from the runtime.
...
In order to resolve the issue, set the height, width of the area (div)
under the wcFrame. wcIFrame consider the height, and width of this
container to determine the height, width & position of the iframe.
2016-05-19 15:55:13 +05:30
Akshay Joshi
3a9b331df6
Change the priority of Tools menu item
2016-05-19 13:53:49 +05:30
Dave Page
1606f1d8e8
Link online help to dialogs
2016-05-16 22:35:27 -04:00
Surinder Kumar
2c7a45814c
Resolved an issue about missing 'canDrop' function check for the browser
...
tree nodes.
Each individual node is responsible for introducing the 'canDrop'
function/flag to decide whether the 'Delete/Drop' context menu should be
enabled/disabled.
In commit-id: 26aa5607ad
, 'obj.canDrop'
was set to true in the 'pgBrowser.Node' in delete callback, just to make
the server-group droppable, which is wrong, as all the nodes are
getting affected because of this change in a wrong way.
To fix the issue, added the 'canDrop' function in the server-group node.
Apart from them, also added restriction for not allowing to delete the
default server-group.
Also, handled the same restriction at the server end.
2016-05-16 23:09:11 +05:30
Ashesh Vashi
8a7a8eb9aa
Check for valid object existence before checking its session changed
...
flag in the data model.
Thanks Murtuza, and Harshal for reporting it.
2016-05-16 18:29:32 +05:30
Khushboo Vashi
d1e2b902dc
Add support for foreign server
2016-05-16 01:42:09 +05:30
Murtuza Zabuawala
5ca63fba48
Initial version for generationg the CREATE/SELECT/EXEC scripts for the
...
selected node.
2016-05-16 00:25:34 +05:30
Murtuza Zabuawala
8ca760ee2b
Addd support for taking backup for the server.
...
Tweaked by Ashesh Vashi to integrate the backgroud process, and also
with some improvements as stated below:
* Resolved an issue loading existing preference.
* Improved the background process observer/executor for supporting
detalied view.
* Added the utility path preferences in the ServerType class.
2016-05-15 16:04:39 +05:30
Ashesh Vashi
491bd3605b
Fixed an issue creating extensions 'postgis_topology', and
...
'postgis_tiger_geocoder'.
Current implementation changes the schema name, whenever we chance the
name, which is wrong. We should have not change the schema for this
event.
Thanks Fahar Abbas for reporting.
2016-05-14 15:42:25 +05:30
Neel Patel
4dc7f84761
Added functionality to Pause/Resume replay of WAL on the database
...
server.
Tweaked a little bit by Ashesh.
2016-05-14 01:41:20 +05:30
Surinder Kumar
cc91a538e0
Fixed the canDrop function of the node menus does not get called during
...
enable/disable menu checks.
Tweaked a little bit by Ashesh.
2016-05-14 01:10:20 +05:30
Ashesh Vashi
b22d73ec46
Improvise the pgsql driver to keep the utility names used for different
...
operation like backup, restore, etc within it.
Also:
* improvised the color combination of the background process logger.
* Removed an unnecessary print statement from the
get_storage_directory(..) function, also return None if STORAGE_DIR
is set to None.
2016-05-14 00:48:20 +05:30
Surinder Kumar
938ea21f40
Fixed following issues:
...
1) Grant wizard close issue.
2) Moved grant wizard specific css from wizard.css to grant_wizard.css
3) removed 'ajs_content' css from wizard.css causing padding issue in alertify dialog
2016-05-13 15:04:36 +05:30
Murtuza Zabuawala
174363c9a7
Fixed typo for acl in tablespace node
2016-05-13 13:43:35 +05:30
Harshal Dhumal
4816f5ed12
Change server password feature
2016-05-13 13:21:20 +05:30
Ashesh Vashi
f682f06c94
Adding a background process executor, and observer.
...
We will be using the external utilities like pg_dump, pg_dumpall,
pg_restore in background. pgAdmin 4 can be run as a CGI script, hence -
it is not good idea to run those utility in a controlled environment.
The process executor will run them in background, and we will execute
the process executor in detached mode.
Now that - the process executor runs in detached mode, we need an
observer, which will look at the status of the processes. It also reads
output, and error logs on demand.
Thanks - Surinder for helping in some of the UI changes.
2016-05-13 08:49:51 +05:30
Harshal Dhumal
180630ce0e
Fixed variable scope issue in server.js
2016-05-10 18:16:08 +05:30
Murtuza Zabuawala
83b6a04763
Added input validation and title of the prompt for 'Named Restore point' functionality
2016-05-10 16:04:47 +05:30
Harshal Dhumal
585daddce2
Destroy the existing Select2 object before rerendering the control.
2016-05-12 16:14:06 +05:30
Ashesh Vashi
d768faf2ea
Do not validate the attributes on saving, because - sometimes it results
...
into an error, and does not call the callback - 'success/fail'
internally.
And, that will not close the property dialog in those cases.
Reported by Harshal Dhumal.
2016-05-12 15:51:21 +05:30
Murtuza Zabuawala
40a9490382
Check for the connection status before executing the statement for
...
checking the 'server in recovery' information.
Thanks Khushboo for reporting the issue.
2016-05-12 13:23:24 +05:30
Murtuza Zabuawala
23f0cf07ca
Allow creation of named restore points.
2016-05-11 16:13:14 +01:00
Surinder Kumar
01e83f1807
Adding missing dependency 'underscore.string' in the 'menu.js'.
2016-05-11 12:11:06 +05:30
Murtuza Zabuawala
ce043fbe07
Python 3 compatibility fix - iteritems() is deprecated.
2016-05-10 17:01:11 +01:00
Ashesh Vashi
9cae686c65
Allow the modules to define the i18n messages, and other messages
...
required by its javascript module.
This will allow us to load the javascript modules as a static file, and
not as a Jinja2 template. This will increase the load time, as it will
decrease number of templates to be processed during loading those
javascripts.
2016-05-10 16:07:48 +05:30
Neel Patel
8cfca280d4
Fixed issue 'Reload Configuration' option is also enabled on database node while it should only be enabled on server node
2016-05-09 23:22:35 +05:30
Sanket Mehta
817bdd0108
Fixed typos in FTS DICTIONARY node
2016-05-10 12:53:39 +05:30
Khushboo Vashi
7a400bacf3
Do not send the incomplete definition of a node object to the server
...
instead show proper message.
Tweaked by Ashesh for adding the proper message
2016-05-10 12:34:24 +05:30