Commit Graph

  • cd40a07ac3 Resolved a typo in the backform.pgadmin.js, while extending the Backform.Control.prototype.render(..) function. Ashesh Vashi 2016-01-04 19:27:51 +0530
  • ec7e98e6a7 Allow a node to have two types of parents, modified the code to handle such situation. This has been modified specifically for the children under the schema, and catalog nodes. Ashesh Vashi 2016-01-04 17:52:30 +0530
  • 84843f8c37 Pass the tree item object to the menu objects, which could be used by the disabled function to make it enable/disable based on the current selected item. Ashesh Vashi 2016-01-04 17:22:01 +0530
  • b309b1ffb8 [Python 3 compability] decode function used in 'needsQuoting' function is not available on Python 3. Murtuza Zabuawala 2016-01-04 17:08:48 +0530
  • eed1590a51 Do not close the privilege cell editor, when clicked one of its own children. Harshal Dhumal 2016-01-04 16:59:22 +0530
  • 9d9f17c163 Clear the status-bar on the 'on-status-clear' event of the model Harshal Dhumal 2016-01-04 16:54:06 +0530
  • 7358549524 Allow to specify the number of arguments in the qtTypeIdent to make it work with schema specified object name. Ashesh Vashi 2016-01-04 13:41:57 +0530
  • 6057259bdc Create the status-bar in the properties dialog, and it will listen for on-status event from the model. Harshal Dhumal 2016-01-04 13:34:45 +0530
  • 1ba5d79978 Allow to specify the number of arguments in the qtIdent to make it work with schema specified object name. This will also works with EntepriseDB's package too. Ashesh Vashi 2016-01-04 13:13:27 +0530
  • 613be3b6fe Resolved a typo introduced in the previous commit. Ashesh Vashi 2016-01-04 12:58:29 +0530
  • aedf970748 Allow to use the url with/without the node id in the node ajax options control, also - allow to specify the filter function in the nodes-by-id, and nodes-by-name control. Ashesh Vashi 2016-01-04 12:43:24 +0530
  • f451bd0a83 Set options fetched from the server as it is only when transform function is not provided. Surinder Kumar 2016-01-04 12:19:00 +0530
  • 49373df02d Resolved issues regarding the rows, and column description not return by the given query in the execute_dict and execute_2darray function in the psycopg2 driver. Ashesh Vashi 2016-01-04 12:11:44 +0530
  • 109b367fc3 Allow to specify the options as a function, which returns array in form of (label, value) tuple in the SelectControl. Ashesh Vashi 2016-01-04 11:34:40 +0530
  • 574105ce5e Resolved an issue related to logging the error message. Murtuza Zabuawala 2016-01-04 11:17:23 +0530
  • cf802cb23f Resolved an issue in the node control related using existing cached data Murtuza Zabuawala 2016-01-04 11:12:03 +0530
  • ef3f54378c Introduced an ajax response 'not_implemented' with HTTP status code 501. Ashesh Vashi 2016-01-02 14:55:10 +0530
  • 2aeae06882 Added support for qtIdent, qtTypeIdent, qtLiteral for quoting the inputs. Ashesh Vashi 2016-01-02 14:54:01 +0530
  • eb83d57c5a Introduced new controls to show the list of a node type (by name and id) as properties of other node. Resolved a typo in privileges control. Removed duplicate lines in backform.pgadmin.js Ashesh Vashi 2015-12-28 01:00:20 +0530
  • d56ddb9fa4 Adding the SQL tab for the nodes, with 'hasSQL' property set to true, in create/edit mode. It will fetch the modified sql using the 'msql' url specific to that node. Murtuza Zabuawala 2015-12-26 16:15:12 +0530
  • 402e89e535 Keep all the information in the tree node data in the getTreeNodeHierarchy(..) function, and make changes to make the generate_url function to work with it. Ashesh Vashi 2015-12-26 14:22:19 +0530
  • 15daf44e19 Moving children function within the PGChildNodeView itself, instead of putting it in separate class PGChildNode, because - it has not been used anywhere else. Ashesh Vashi 2015-12-26 11:29:08 +0530
  • d55b02aeab Resolved a typo in collection.js, which leads to not adding the properties of a node in backgrid list with mode parameter. Ashesh Vashi 2015-12-23 18:11:27 +0530
  • c51ecc69e4 Resolved few intialization issue with Node model data, moved the privileges functionality out of the backform.pgadmin.js to make it more modular. Now - privileges will expect the privileges data in following format: <name_of_the_property> : [{ "privileges": [{ "privilege_type": <privilege_type>, "privilege": true, "with_grant": false }, ... ], "grantee": <grantee>, "grantor": <grantor> }, ... ] Ashesh Vashi 2015-12-23 12:10:20 +0530
  • bf5170bc89 Changed the server properties a little bit to in-corporate suggestions from Dave. Also - remove unwanted round cornor from the menu item. Ashesh Vashi 2015-12-22 10:50:30 +0530
  • 5f890dadc9 Remove any unwanted white-spaces while renderting any template in template code Murtuza Zabuawala 2015-12-22 10:43:24 +0530
  • 1391003e03 Added the backgrid cell for bootstrap switch for representing the boolean properties. Ashesh Vashi 2015-12-17 19:18:42 +0530
  • cd34ee6dd7 Switch Control was not honouring the user's options for bootstrap switch Ashesh Vashi 2015-12-17 18:41:36 +0530
  • 0273c29283 Introduction of the privilege support for database object (Patch: Murtuza Zabuawala), and Unique column control for backform (Harshal Dhumal). Ashesh Vashi 2015-12-17 18:30:39 +0530
  • ca0b1f20df Fixed the issue while parsing, and assigning the data properly in the Node. Ashesh Vashi 2015-12-17 16:13:36 +0530
  • c796eee2a7 Do not show the properties in property windows, when they're not applicable. i.e. not supported by that version. Ashesh Vashi 2015-12-16 16:02:12 +0530
  • 54d4cdcd51 Fixed few issues with the backform custom controls. - Fixed the server backend version check for any schema object. - Fixed the switch control, it was not enable to toggle the values properly. - Fixed the editableCell to work properly in the collection properties. Ashesh Vashi 2015-12-16 13:43:04 +0530
  • 2f1eac1243 Removed the undo manager from the node implementation, as it is causing some issue, which rendering some code, which requires detailed attention. Ashesh Vashi 2015-12-16 13:37:49 +0530
  • d891a9d4d7 Log the executing SQL stataments and error propertly from the psycopg2 driver Ashesh Vashi 2015-12-16 13:34:12 +0530
  • 8611e29c60 Pass on the browser tree events by generating node specific 'browser-node' events. Added a test event in test.js Ashesh Vashi 2015-12-16 13:27:08 +0530
  • c3b517cb91 Using bootstrap-swtich for creating a custom backform control for boolean values. (Modified quite a lot by Ashesh, before committing). Murtuza Zabuawala 2015-12-04 15:49:08 +0530
  • a04ef2de43 Fixed an issue related taking input as raw_input on Python 2. Murtuza Zabuawala 2015-12-04 15:37:04 +0530
  • 57d6c3b406 Do validation before enabling the Save button. Ashesh Vashi 2015-12-04 15:33:16 +0530
  • 537df154fe Fixing few issues with context menu icon missing. Introduced a new ajax function to return the HTTP Status code 410 (GONE). Changed the location of the javascript from each modules, it loads. Ashesh Vashi 2015-12-04 14:47:18 +0530
  • b36e264fd3 Load collection.js along with the node.js from browser.js Ashesh Vashi 2015-11-28 20:19:29 +0530
  • 6d46dfbfba Added new url rules for each node by change NodeView class: - Renamed the URL 'nodes' to 'children', because - we'll return the children for the current node. - Using the URL 'nodes' to fetch all nodes of its type, when not specified the node-id, otherwise regenerate that node info using the node-id (it will be used by the refresh function). Ashesh Vashi 2015-11-23 13:25:37 +0530
  • 9bc9025075 Issues resolved related to connection management and collection nodes: Ashesh Vashi 2015-11-20 14:55:47 +0530
  • e52fd0d349 Resolved an issue related Python 3.x compability regarding setting property name was same as variable. Murtuza Zabuawala 2015-11-20 11:33:50 +0530
  • d753374977 Resolved a typo in the version check condition during schema generation. Also, resolved an issue related showing the correct server variant in properties dialog, it is a regression introduced by the patch server version check. Ashesh Vashi 2015-11-20 10:45:30 +0530
  • 5ff09223a2 Allow to generate events from the nodes, whenever some any events. Ashesh Vashi 2015-11-19 23:41:58 +0530
  • 77834ccdda Changed the logic to identify the PostgreSQL server variant, when we connect to the database server. Also, added modified the way, we do check the node is supported by the server. Ashesh Vashi 2015-11-19 23:15:48 +0530
  • 3323543b5a Resolved few issues in connection creation in the psycopg2 (pgAdmin driver) Khushboo Vashi 2015-11-19 14:42:32 +0530
  • 80314a9aa3 Allow to connect any of the database using its OID using the connection manager, once the connection to the maintenance database has been made, because - we will have did (i.e. Database OID) most of the time for the any node, and not its name as identifier. Ashesh Vashi 2015-11-17 19:14:05 +0530
  • cc3a262de0 Adding pgadmin4.log, and runtime/.qmake.stash to .gitignore, so that - it does not show up in git status. Ashesh Vashi 2015-11-17 18:21:58 +0530
  • 9e67000e7b Removed debug code added in the commit: ed8600ef89 Ashesh Vashi 2015-11-17 12:05:00 +0530
  • 3077da0062 Resolved an issue when refreshing any browser node Ashesh Vashi 2015-11-17 11:54:32 +0530
  • ed8600ef89 Adding support for collection browser node. Khushboo Vashi 2015-11-17 11:51:09 +0530
  • 52b86b6fb4 Added NoneType exception handling in settings & server modules while returning json response. Murtuza Zabuawala 2015-11-13 16:59:16 +0000
  • fe10994fb9 Update requirements files. Murtuza Zabuawala 2015-11-13 16:57:22 +0000
  • 64d74d0819 Login Issue fixed, As encryption/decryption returns output in bytes datatype it fails to authenticate in python3. Murtuza Zabuawala 2015-11-13 16:54:49 +0000
  • 209ee78b25 First round of Python 3 compatibility fixes. Murtuza Zabuawala 2015-11-06 10:23:19 +0000
  • da6043e7a5 Include PIP requirements files for both Python 2 and Python 3. Murtuza Zabuawala 2015-11-03 14:12:20 +0000
  • cbab08aaaf Do not set focus to the properties container, when selected any node. Ashesh Vashi 2015-11-03 12:36:32 +0530
  • a1170c4c82 Do not allow to edit data from the properties dialog Khushboo Vashi 2015-11-03 11:31:35 +0530
  • 45596dffa0 Resolved few undo action on UI tabs - tabs were not getting activated during undo-redo action. Also, resolved the focus losing issue, which closing the subnode editor using undo action. Ashesh Vashi 2015-10-30 13:07:09 +0530
  • 30c560f33b Added undo action on some of the UI changes too. i.e. Switch between the tabs, opening/closing the subnode in edit mode. Ashesh Vashi 2015-10-30 02:02:40 +0530
  • 6c62d9eecd sleep api used in pgAdmin4.cpp doesn't seem cross-platform(used from POSIX specific C header). Either need to be replaced by C++11 equivalent or Qt one. QThread::sleep seem appropriate to me. Prasad Somwanshi 2015-10-29 11:24:07 +0100
  • c1db54b2c2 Allow to save only the partial model changes, undo-redo operation within the edit/create dialog/panel using the backbone.undo.js. Ashesh Vashi 2015-10-28 22:51:27 +0530
  • c1503ade47 Introducing the infrastructure for colleciton of the subnodes listing, creation, and editing within the properties panel infrastructure. Khushboo Vashi 2015-10-28 22:36:09 +0530
  • c53b57a013 Resolved couple of small bugs introduced during database server connection management implementation. Ashesh Vashi 2015-10-28 22:34:23 +0530
  • a0cfddffdf Adding maximum session idle time in the config.py file Ashesh Vashi 2015-10-22 11:49:53 +0530
  • 7f8ebb01d8 Update document for the develpers as per current implementation Ashesh Vashi 2015-10-20 13:00:05 +0530
  • e27e39a8f3 Added support for the infrastructure for on demand access/create the server connection. Ashesh Vashi 2015-10-20 12:33:18 +0530
  • b52d72f176 Do flush the changes done after creating the require tables. Because - it causes an issue performing DDL operations without sending DML to the database, flush(..) does the job for us, it sends those operations to the database without committing it. Ashesh Vashi 2015-09-22 11:16:43 +0530
  • 4e5e0c125f Resolved an issue related enabling the menus for the selected node Ashesh Vashi 2015-09-21 10:15:41 +0530
  • 798398dba5 Fixed few bugs and changed the node create/edit view to use the dialog (tabbed) UI. Ashesh Vashi 2015-08-11 19:19:27 +0530
  • b0b964dd55 Adding the module.js route for each in the NodeView class. Ashesh Vashi 2015-07-30 16:17:13 +0530
  • 7d9224ba8b Changed the disabled control looks different from the eneabled. Changed the width of fieldset-content. Ashesh Vashi 2015-07-23 18:31:56 +0530
  • b4e20d9119 Updated alertify.js to 1.4.1 Khushboo Vashi 2015-07-23 18:12:06 +0530
  • ffa65f2bfb Using disconnected server icon from pgAdmin III Ashesh Vashi 2015-07-22 22:44:54 +0530
  • 146e901327 Show the disabled control in view only mode of properties Ashesh Vashi 2015-07-22 22:27:32 +0530
  • 86479453b3 Check for current schema version on startup and update the schema (if required). Ashesh Vashi 2015-07-22 22:12:39 +0530
  • 500271a2ed Showing the dockable pane looked like a dialog. Ashesh Vashi 2015-07-22 17:56:17 +0530
  • 8a8c8bbae4 Try to make the look and feel of the UI same as it was earlier for consitency. Ashesh Vashi 2015-07-22 09:46:11 +0530
  • 9d372a4555 Updated wcDocker to the latest version Ashesh Vashi 2015-07-20 16:06:17 +0530
  • 59e87183a1 Resolved a bug introduced in last commit Ashesh Vashi 2015-07-17 11:22:14 +0530
  • dee3185bae Resolved a bug with the menu enable/disble logic. Also, do not generate list disabled menu in the context menu Ashesh Vashi 2015-07-17 10:06:04 +0530
  • 605f9aba32 Removed the readonly mode from the properties panel for any object. Changed UI as per feedback from Dave Ashesh Vashi 2015-07-14 13:15:59 +0530
  • 6ef2384e7f Allow to make change the behaviour of backform control based on other attribute value. Ashesh Vashi 2015-07-14 09:29:44 +0530
  • 544284ba89 Correcting the path of the minifized version of javascripts, when set config.DEBUG to False (Reported by Khushboo Vashi) Ashesh Vashi 2015-07-01 11:59:12 +0530
  • 768306f0cc Updated libraries used in pgAdmin IV Ashesh Vashi 2015-06-30 12:39:02 +0530
  • aa150030eb Introduced a mechanism to load required javascripts at runtime (lazy loading) using the require.js. This allows us to load the javascript required for any node, only when it was loaded in the browser tree. Also, introduced the mechanism to show/edit/create of any node in a tab panel (wcDocker.Panel). Ashesh Vashi 2015-06-30 11:21:55 +0530
  • 35d01bea3e Introduced a class - NodeView to achieve REST API required by the PostgreSQL node(s). Ashesh Vashi 2015-06-29 13:41:56 +0530
  • b626eec0fd Inherited the test, about & help module from PgAdminModule class to load them automatically by PgAdmin. Ronan Dunklau 2015-06-29 13:24:05 +0530
  • eb6580b43a Introduced a PgAdmin class inherited from the Flask, which looks for submodules inherited from the PgAdminModule instead of regular Blueprint. This allows us to load the module automatically from the under the pgadmin directory, and will work to extend the pgAdmin extension module. Ronan Dunklau 2015-06-29 12:28:41 +0530
  • 9e0b011ec8 Fixed the letter case of the javascript file names. Also, JSON data should be returned to the client using an application/json MIME-TYPE using flask's jsonify function. Ronan Dunklau 2015-06-29 12:12:27 +0530
  • 751f8383fa Handle standard menu items defined by Nodes in the browser. Dave Page 2015-03-13 10:35:12 +0000
  • af7dcd49b4 Prevent treeview items from wrapping. Dave Page 2015-03-11 15:39:54 +0000
  • e451ad5ddc Make the SQL Pane "just another tab". This allows the user to position it as required, and by default makes the UI less cluttered. Dave Page 2015-03-10 14:31:49 +0000
  • fe834d1ed2 Re-organise node structure and loading to make things somewhat more simple. This also adds the ability to display servers on the treeview. Dave Page 2015-03-10 13:09:11 +0000
  • 7f68d6fced Update the setup script and config database to handle versioning. Dave Page 2015-03-09 15:06:10 +0000
  • f040efb473 Make the jQuery-contextMenu control globally available as it's used by wcDocker. Dave Page 2015-03-09 13:14:20 +0000
  • c9b0273a14 Fix iFrame panels on Firefox. Dave Page 2015-03-09 09:57:51 +0000
  • dd78a2650c Use the minimised version of the wcDockerSkeleton theme. Dave Page 2015-03-09 09:46:52 +0000
  • caff78053b Update to use the new skeleton CSS from wcDocker, and restore a default layout if the saved one fails for any reason. Dave Page 2015-03-05 11:13:15 +0000