Murtuza Zabuawala
8520871bc6
Monitor connection and transaction status in the query tool. Fixes #2475
2018-01-12 14:34:39 +00:00
Ashesh Vashi
c32eb6bd37
Fixed the warnings/errors reported by eslint for all the static
...
javascripts.
2018-01-12 13:00:14 +05:30
Dave Page
89821c0d19
Update copyright notices for 2018.
2018-01-05 10:42:50 +00:00
Murtuza Zabuawala
0810c681c3
Ensure the switch animation is consistent on the table dialogue and avoid displaying an error incorrectly. Fixes #2624
2018-01-03 15:32:44 +00:00
Murtuza Zabuawala
c15d814268
Clear the messages tab when running EXPLAIN/EXPLAIN ANALYZE. Fixes #2974
2018-01-03 15:19:56 +00:00
Murtuza Zabuawala
3fe655e944
Allow selection of validation error text. Fixes #2954
2017-12-18 10:03:39 +00:00
Murtuza Zabuawala
937984f2dc
Don't un-comment code with alt+. in the query tool. It's only supposed to respond to ctrl/cmd+. Fixes #2769
2017-12-13 15:58:00 +00:00
Harshal Dhumal
55254a649f
Re-hash the way that we handle rendering of special types such as arrays. Fixes #2782 . Fixes #2822 .
2017-12-13 11:53:27 +00:00
Murtuza Zabuawala
f5718b9d56
Misc fixes for the pgAgent module:
...
1) User was allowed to enter start date ahead of end date while scheduling a job. Fixes #2921
2) Datetime picker was not displaying in the grid (sub-node collection control). Fixes #1749
3) Fixed UI issue where validation error was not displaying properly for Datetime control.
2017-12-06 12:25:45 +09:00
Ashesh Vashi
d54c35d74f
Fixing the lint error messages in javascript using 'eslint --fix'
...
command.
2017-11-30 13:01:41 +05:30
Murtuza Zabuawala
362bd15c8e
Format JSON/JSONB nicely when displaying it in the grid editor pop-up. Fixes #2748
2017-11-28 14:21:31 +00:00
Khushboo Vashi
5bfa450a5f
Allow form validation messages to be close in case the eclipse anything on the form. Fixes #2859
2017-11-28 14:10:12 +00:00
Murtuza Zabuawala
f0db93cefd
Improve clarity of the boolean checkbox.
2017-11-22 16:28:08 +00:00
Murtuza Zabuawala
930dd8af1f
Some browsers don't properly support tri-state checkboxes, so create our own control to handle true/false/null. Fixes #2848
2017-11-21 17:22:25 +00:00
Murtuza Zabuawala
b284572afe
Allow connections to be coloured in the treeview and query tool. Fixes #1383 . Fixes #2802
2017-11-21 16:28:01 +00:00
Harshal Dhumal
9212699936
When selecting an SSL cert or key, update only the expected path in the UI, not all of them. Fixes #2760 . Fixes #2867
2017-11-21 15:59:44 +00:00
Murtuza Zabuawala
a85538a1fc
Remove the artificial limit of 4000 characters from text areas. Fixes #2877
2017-11-21 11:02:21 +00:00
Khushboo Vashi
0c566f132e
Allow configuration of CSV and clipboard formatting of query results. Fixes #2781
2017-11-20 13:50:47 +00:00
Murtuza Zabuawala
537f6f0ab1
Display long names appropriately in dialogue headers. Fixes #2278
2017-11-16 11:56:05 +00:00
Murtuza Zabuawala
be0e637718
Prevent error messages covering the last row in a grid. Fixes #2850
2017-11-07 21:07:30 -05:00
Alexander Lakhin
187ab22d90
Further missing translation fixes. Stats now:
...
1481 of 1831 messages (80%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po
1694 of 1831 messages (92%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po
1748 of 1831 messages (95%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
1750 of 1831 messages (95%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po
1436 of 1831 messages (78%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
2017-11-06 19:49:20 -05:00
Alexander Lakhin
f15f46592a
Tag some translations that were not, well, tagged. Current stats:
...
1481 of 1777 messages (83%) translated in pgadmin/translations/de/LC_MESSAGES/messages.po
1694 of 1777 messages (95%) translated in pgadmin/translations/ja/LC_MESSAGES/messages.po
1472 of 1777 messages (82%) translated in pgadmin/translations/pl/LC_MESSAGES/messages.po
1750 of 1777 messages (98%) translated in pgadmin/translations/ru/LC_MESSAGES/messages.po
1436 of 1777 messages (80%) translated in pgadmin/translations/zh/LC_MESSAGES/messages.po
2017-11-05 08:32:26 -05:00
Dave Page
b2186db562
Revert "Fix a number of cases where strings were not properly marked for translation."
...
This reverts commit 1f23838a4c
due to unintended side
effects it caused - specifically, expanding Databases on the treeview displayed
Servers again
2017-11-03 16:45:20 +00:00
Alexander Lakhin
1f23838a4c
Fix a number of cases where strings were not properly marked for translation.
2017-11-03 13:10:42 +00:00
Alexander Lakhin
9be1364d1a
Various string improvements and fixes.
2017-11-01 12:58:19 +00:00
Murtuza Zabuawala
0cb57848f8
Ensure auto-indent honours the spaces/tabs config setting. Fixes #2780
2017-10-16 15:37:03 +01:00
Neel Patel
56e1fd85f4
Ensure line numbers form CodeMirror don't appear on top of menus. Fixes #2738
2017-10-12 10:07:18 +01:00
Ashesh Vashi
0d754fc39f
Remove the reference of font-mfizz completely.
2017-09-29 11:26:45 +05:30
Ashesh Vashi
9c6c32e936
Resolved the logo issue.
...
For some unknown reason, font-mfizz was showing the slonik icon in
italic. Even after upgrading it to the latest version of font-mfizz, the
problem was not resolved.
So - instead of using the vector font, using the PostgreSQL SVG logo as
the application icon, and documentation link on dashboard now.
2017-09-29 11:07:26 +05:30
Surinder Kumar
bcce574e83
Using the correct path for the font-mfizz stylesheet.
...
Reported by: Neel Patel
2017-09-29 09:17:39 +05:30
Chethana Kumar
62c9376546
Improve icon alignment.
2017-09-22 14:29:34 +01:00
Murtuza Zabuawala
64159d11ce
Fix font on alertify dialogues
2017-09-20 11:42:16 +01:00
Dave Page
62d7a1044e
Remove unused import that was causing a hard error on Windows
2017-09-18 16:54:43 +01:00
Murtuza Zabuawala
5ebfd88f11
Correct alignment of the X button on dismissable alerts.
2017-09-18 11:57:44 +01:00
Murtuza Zabuawala
bc5a5a5b45
Fix error message regexp in the query tool that could fail in some cases. Fixes #2700
2017-09-18 11:55:04 +01:00
Surinder Kumar
026ef7b8b7
Support React v15.5 and later where the code fails to run because React's PropTypes is no more part of React Module.
2017-09-18 10:08:12 +01:00
Harshal Dhumal
30e7016077
Changed array representation and formatting for the data types in Query Tool and View Data. Fixes #2671
2017-09-18 12:07:15 +05:30
Murtuza Zabuawala
8150f93c06
Fix menu left-hand margin.
2017-09-15 14:45:02 +01:00
Atul Sharma
c3ea3b7bdf
Replace the "Roboto" font family with "Open Sans" for alertify dialogs.
2017-09-15 14:08:29 +01:00
Atul Sharma
788f7f3a69
Bundle fonts with pgAdmin so we have a standard set for all platforms.
...
Research by Shirley at Pivotal.
2017-09-13 16:01:14 +01:00
Ashesh Vashi
3bbd1a8a48
Remove icons from the menus to de-clutter the UI and make it more consistent with most OSs.
2017-09-11 09:51:26 +01:00
Murtuza Zabuawala
d5f60e1a47
Fix layout of password prompt dialogue. Fixes #2684
2017-09-07 16:27:02 +01:00
Surinder Kumar
c4393a7795
Fix Copy so it still works after query results have been copied. Fixes #2637
2017-08-31 14:50:39 +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
Murtuza Zabuawala
74db837417
Allow queries to be cancelled from the dashboard, and display additional info in the subnode control. Fixes #2597
2017-08-25 16:57:33 +01:00
Surinder Kumar
cb9a05a7e7
Datetimepicker will expand from bottom instead of Top, because of that user won't be able to select start and end time properly. Fixes #2656
2017-08-23 11:26:24 +05:30
Sarah McAlear
b585063a26
Refactor keyboard shortcut functions in the query tool. Fix some incorrect keycodes and update docs.
...
Initial work by Sarah & Violet @ Pivotal, with additional tweaks by Murtuza @ EDB.
2017-08-21 15:27:29 +01:00
Surinder Kumar
6d7b54eb62
Update datetime picker. Fixes #2654
2017-08-21 13:17:35 +01:00
Violet Cheng
d527769bf8
Extract the generate_url(..) function from node.js, and collection.js
2017-08-17 21:43:07 +05:30
Murtuza Zabuawala
e9b80dae9c
User can not add New Server through Quick links. Fixes #2634
2017-08-17 18:14:06 +05:30
Sarah McAlear
dee5186f65
Fixed alertify notification messages where checkmark box disconnected from frame. Fixes #2644
2017-08-17 17:54:12 +05:30
Khushboo Vashi
c4ca781ce2
Fixed some UX issue with the Import/Export tool.
...
- Couldn't click on the filename control once gets an error.
- Encoding is not in alphabetical order.
2017-08-09 16:52:43 +05:30
Hao Wang
5141debae7
UX improvements of the history in the query tool.
...
- Added copy button for query text.
- Historical queries are binned/grouped by day.
Patch By: Hao Wang, Sarah McAlear
2017-08-09 16:52:43 +05:30
Ashesh Vashi
845025db8f
Some cosmetic changes.
...
- Loading 'pgadmin' as 'sources/pgadmin', as found under the 'sources'
reference directory to be consistent with other files.
- Removed the 'pgadmin' reference from the base.html template.
- Renamed 'pgadmin.slickgrid.editors.js', and
'pgadmin.slickgrid.formatters.js' as 'editors.js', and 'formatters.js'
respectively, as they're already in the 'pgadmin/static/js/slickgrid'
directory.
- Removed the duplicate entry of 'translations' from the webpack.shim.js
2017-08-09 16:52:12 +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
Murtuza Zabuawala
6717aff8f5
Domain create dialog do not open and Font size issue in Security label control. Fixes #2616
2017-08-01 16:37: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
Surinder Kumar
6d5417709c
Moved the javascripts of different modules from 'templates' to 'static' directory.
...
Moving the javascripts for the following modules:
- About
- Browser nodes
- Dashboard
- FileManager
- Vendor/snap.svg
- Preferences
- Settings
- Backup
- Datagrid
- Debugger
- Sqleditor
- Grant Wizard
- Import & Export
- Maintenance
- Restore and
- User Management
2017-07-27 17:25:08 +05:30
Khushboo Vashi
d1e7254fbd
Handle control visibility properly in javascript strict mode.
2017-07-26 12:55:46 +01:00
Murtuza Zabuawala
1fa9648a21
Update keyboard shortcuts per discussion. Also, make the labels platform sensitive.
2017-07-26 12:50:42 +01:00
Murtuza Zabuawala
617e9dbb3a
Allow queries to be cancelled from the dashboards. Fixes #1812
2017-07-24 12:13:24 +01:00
Joao Pedro De Almeida Pereira
fe95b7670b
Ensure the appropriate entry is focussed when entering the history tab.
2017-07-24 11:46:06 +01:00
Harshal Dhumal
7182b59976
Ensure arrow keys work correctly when the pane is focused instead of the tab in the query tool history.
2017-07-21 13:33:59 +01:00
Atul Sharma
70418144cf
Add a field to the Server Dialogue allowing users to specify a subset of databases they'd like to see in the treeview. Fixes #1918
2017-07-21 12:44:57 +01:00
Sarah McAlear
86dc1e81f1
Move Query Tool keyboard shortcut code into a new module and add tests.
2017-07-20 22:22:25 +01:00
Matthew Kleiman
e29cd8d83d
Improve the history UI.
2017-07-20 20:50:37 +01:00
Matthew Kleiman
21bfcd83f4
Allow navigation of query history using the arrow keys. Fixes #2590
2017-07-20 20:47:40 +01:00
Harshal Dhumal
54882e061c
Don't attempt to render binary data in the query tool result grid. Fixes #2080 . Fixes #2074 .
2017-07-20 13:09:47 +01:00
Surinder Kumar
2eb151c2d9
More webpack cleanup - add comments liberally and rename lib.css to style.css
2017-07-20 12:52:15 +01:00
Dave Page
1e1a9f2cf4
Add controls and shortcuts for commenting/uncommenting code in the SQL Editor. Fixes #2456 .
...
Take the opportunity to tidy up the menus and add access keys to appropriate buttons.
2017-07-19 11:43:45 +01:00
Surinder Kumar
b90d368ee7
Resolve an issue where collection nodes sometimes wouldn't sort properly.
2017-07-18 16:31:05 +01:00
Surinder Kumar
659aeeb58e
Add a missing dependency.
2017-07-18 16:30:18 +01:00
Surinder Kumar
6396b8ce18
Add missing new files from the previous commit. Ooops.
2017-07-18 15:14:59 +01:00
Surinder Kumar
4a91bcde30
Webpack all the things! Fixes #2135
...
This significantly speeds up loading of the application; in an average of 3 tests, v1.6
loaded in 11.5s in the runtime on a Mac, whilst the webpacked version of the code
loaded in 5.53s.
2017-07-18 15:13:17 +01:00
Surinder Kumar
2bfe640a08
Fix alignment of Object > delete/drop & properties icons
2017-07-10 16:14:40 +01:00
Surinder Kumar
33e56272ca
Fix IE11 alert layout again.
2017-07-10 13:49:47 +01:00
Dave Page
2dfa622357
Fix history font on IE.
2017-07-10 10:25:27 +01:00
Murtuza Zabuawala
907c5fe198
Use the correct font for alerts on IE.
2017-07-10 10:07:23 +01:00
Joao Pedro De Almeida Pereira
d56f1d847c
Update dialogue error styling to match alerts
2017-07-10 09:36:10 +01:00
Murtuza Zabuawala
08e874a026
Fix alert animation on IE11
2017-07-07 16:50:47 +01:00
Harshal Dhumal
fc78202600
Fix clear history.
2017-07-07 15:51:06 +01:00
George Gelashvili
e5bedf088e
In subnodes without dropdowns, the rows had smaller height, making them appear unintentionally different than those with dropdowns. Make them the same.
2017-07-06 13:11:40 +01:00
Matthew Kleiman
e2cbaaef71
UI tweaks for the query history.
2017-07-06 13:08:29 +01:00
Murtuza Zabuawala
2bb01e2d1a
Fix alert layout when more than one are shown at once.
2017-07-05 12:04:48 +01:00
Murtuza Zabuawala
b211eb199c
Improve styling for alerts by highlighting the icon.
2017-07-04 12:03:32 +01:00
Harshal Dhumal
1977a5fcda
Fix clipboard handling with large datasets. Fixes #2489
2017-07-03 11:19:02 +01:00
Joao Pedro De Almeida Pereira
f2d2075d81
Update alertify alerts to use the styling defined in the styleguide (missed some files in the original commit).
2017-06-30 10:23:12 +01:00
Joao Pedro De Almeida Pereira
2a30a86e7d
Update alertify alerts to use the styling defined in the styleguide.
2017-06-30 10:21:05 +01:00
Joao Pedro De Almeida Pereira
ba3ab7b322
Add support for SCSS building in webpack.
2017-06-30 10:15:44 +01:00
Harshal Dhumal
2d65312910
Improve speed of Select All in the results grid. Fixes #2522
2017-06-30 09:54:31 +01:00
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
Joao Pedro De Almeida Pereira
7f55412059
Overhaul the query history tab to allow browsing of the history and full query text. Fixes #2282
...
Patch by Joao and the team at Pivotal.
2017-06-27 10:55:57 -04:00
Dave Page
e413186d23
Add stylesheet to override brace matching styles, missed from the feature commit.
2017-06-27 10:41:26 -04:00
Murtuza Zabuawala
1b49bb8b22
Add preferences to enable brace matching and brace closing in the SQL editors. Fixes #2513
2017-06-27 09:57:38 -04:00
Harshal Dhumal
c65158312d
Use on-demand loading for results in the query tool. Fixes #2137
...
With a 27420 row query, pgAdmin III runs the query in 5.873s on my laptop. pgAdmin 4 now takes ~1s.
2017-06-27 09:03:04 -04:00
Matthew Kleiman
9af29364c7
Fix cell selection window alignment for the updated SlickGrid.
2017-06-23 09:37:58 +01:00
Matthew Kleiman
94aa5487fb
Update Slickgrid to 2.3.7. As this version includes all the features we need, it can be moved out of the vendor directory and we'll use yarn to pull it in.
2017-06-23 09:35:56 +01:00
Khushboo Vashi
25282f3094
Additional preference fix.
2017-06-22 14:55:45 +01:00
Khushboo Vashi
67fd119de8
Maintain a client-side cache of preference values, populated using an async call. Fixes #2487
2017-06-21 17:09:59 +01:00
George Gelashvili
5cfa22cf23
Fix React to work with QtWebKit
...
We learned that the underlying issue was related to react-dom's SyntheticEvent.augmentClass function being undefined.
This seems to be caused by attempted property assignment after the SyntheticEvent had been replaced by a Proxy of itself. This works fine in Chromium et al, but QtWebKit doesn't deal with Proxy Event objects well.
Moving the augmentClass definition and assignment up above the Proxy stuff resolves the issue in a PR to React: https://github.com/facebook/react/pull/10011
2017-06-21 11:25:22 +01:00
George Gelashvili
a45b87d9b7
Vendorize React. This is required at this time because we need to modify it to work with QtWebKit.
...
The patch to do that has been submitted upstream; if accepted, we can un-vendorize again.
2017-06-21 11:20:02 +01:00
Shruti B Iyer
281b67952a
Consolidate selection colors in the drop down menu and browser tree to match the light blue agreed upon in the styleguide.
2017-06-21 11:11:49 +01:00
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
57d866f7b7
Use a more sensible name for Query Tool tabs. Fixes #2482
2017-06-13 11:34:24 +01:00
Shruti B Iyer
1208206bc0
Initial re-vamp of the History tab.
2017-06-13 09:50:41 +01:00
Shruti B Iyer
f1acad85db
Add a missing translation call.
2017-06-12 17:20:40 +01:00
Shruti B Iyer
3f4f8b9e77
Add linting support, and, well, lint.
2017-06-12 16:55:14 +01:00
Shruti B Iyer
659eb1c1e8
Bring React into the tree, and add linting and bundling framework for the JS etc.
2017-06-12 16:51:54 +01:00
Ashesh Vashi
fd3ddbeafb
Implementation of the client side 'url_for(...)' function.
...
Created a url_for function module to be used by different javascript
modules to use the same functionality of flask at client side.
A python module can expose the list of endpoints, used by its
javascripts, by overriding the 'get_exposed_url_endpoints(self)'
function.
In this patch, we have modified all the browser modules to use this
function. It will allow us to move the majority of the javascript
modules of browser nodes from templates directory to the static
directory.
TODO::
- Move these javascripts modules to the static directory.
- Use this function in all the applicable javascript modules.
e.g. tools, miscellaneous modules
2017-06-12 12:01:25 +05:30
Surinder Kumar
49976b1934
Fine tune result grid column sizing now we don't have checkboxes.
2017-06-09 09:24:20 +01:00
Sarah McAlear
ee4a847784
Use the correct font for the treeview.
2017-06-09 09:09:39 +01:00
Harshal Dhumal
aa400cbc12
Fix integer/numeric validation on various dialogues. Fixes #2421
2017-06-08 14:59:26 +01:00
Sarah McAlear
01bfa88309
Improvements to the Query Results grid:
...
- Improve the UI
- Allow copy/paste from sets of rows, columns or arbitrary blocks of cells
Patch by Matt, Shruti, Joao and Sarah @ Pivotal
Fixes #2476
2017-06-08 13:31:36 +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
George Gelashvili
8d8e7dab3c
Extract row staging into it's own module with tests.
2017-06-07 14:17:10 +01:00
Shruti B Iyer
0d05385585
Update the styling to use the set of grays defined in the WIP style guide.
2017-06-07 13:57:49 +01:00
Ashesh Vashi
ae80976689
Using the client-side translation using the client-side 'gettext'
...
implementation.
This is the first step towards 'Avoid creating the javascript modules
using Jinja templates'.
2017-06-07 15:53:05 +05:30
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
1f26953504
Cleanup handling of default/null values when data editting. FIxes #2400
2017-05-27 14:51:02 -04:00
Murtuza Zabuawala
aea0d93390
Hide menu options for creating objects, if the object type is set to hidden. Includes Jasmine tests. Fixes #2225
2017-05-12 12:10:46 +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
Khushboo Vashi
94b7fc483a
Fix sorting of sizes on the statistics views by sorting raw values and prettifying on the client side. Includes Jasmine tests for the prettyfying function. Fixes #2315
2017-05-08 11:29:13 +01:00
Jonas Thelemann
929a43c9fa
Prevent the top-left logo from changing colour when clicked.
2017-04-18 15:09:09 +01:00
Matthew Kleiman
d663d553c5
Allow column or row selection in the query tool. Fixes #2216
2017-04-18 13:28:45 +01:00
Murtuza Zabuawala
c35dbc7211
Proper alignment of dropdown menu labels
2017-04-14 15:53:25 +05:30
Akshay Joshi
cbee76eac8
Align labels with switches properly.
2017-04-12 13:28:07 +01:00
Murtuza Zabuawala
a2a2b8b888
Ensure the query tool displays but does not render HTML returned by the server in the results grid. Fixes #2330 .
2017-04-10 14:07:48 +01:00
Jonas Thelemann
65f21a8cd7
Replace all occurrences of "can not" with "cannot".
2017-04-05 13:38:14 +01:00
Sarah McAlear
1d27341e21
Fix translation extraction for new client side translations, and update catalogs.
2017-03-28 15:21:49 -04:00
Khushboo Vashi
8745417926
Fix ascending/descending sort order in backgrid while clicking on the headers. Fixes #2303
2017-03-28 09:19:24 -04:00
Dave Page
95f43d59b8
Revert "Ensure client-side translations are correctly extracted into the message templates."
...
This reverts commit 82bd97aed0
.
There are still issues extracting with these changes.
2017-03-27 13:53:40 -04:00
Sarah McAlear
82bd97aed0
Ensure client-side translations are correctly extracted into the message templates.
2017-03-27 13:24:47 -04:00
Khushboo Vashi
0eda6033df
Allow users to select UI language at login or from Preferences rather than unpredictable behaviour from browsers. Fixes #2190
2017-03-24 14:20:10 +00:00
Harshal Dhumal
720aefbe6f
Select2Cell: Check if cell is in multiselect mode before setting default selection of multiple values. Fixes #2283
2017-03-23 10:45:42 +00:00
Sarah McAlear
c9e04fec8d
Show tooltips for disabled buttons to help user learning. Fixes #2226
2017-03-20 10:33:35 +00:00
Atira Odhner
ae0d8e89eb
Fix the path to JS
2017-03-15 17:12:58 +00:00
Atira Odhner
172b41cba8
Refactor clipboard copying into a separate file for use outside the SQL Editor.
2017-03-15 17:11:11 +00:00
Atira Odhner
4445f9dd63
Add a mechanism for centralising JS translations, to avoid having to render many JS files with Jinja.
2017-03-15 17:10:22 +00:00
Murtuza Zabuawala
ff9d6cd3d5
Fix previous partial commit
2017-03-14 09:34:12 +00:00
Murtuza Zabuawala
cc4c557122
Move Bootstrap files into the distribution format.
2017-03-14 09:23:30 +00:00
Harshal Dhumal
502c827697
Fix numeric control validation in nested schemas. Fixes #2241
2017-03-09 15:23:18 +00:00
Murtuza Zabuawala
af499c0c9a
Show the correct indeterminate state when editing new boolean values. Fixes #2218
2017-03-06 10:30:58 +00:00
Murtuza Zabuawala
480e00fddf
Query tool efficiency.Convert the data as a 2D array instead of dict. Fixes #2036
...
Incremental back off when polling. Fixes #2038
Initial Patch By: Dave Page
2017-03-01 16:58:51 +05:30
Atira Odhner
0cd914f3f9
Improve visibility of syntax highlighting colours. Fixes #2215
2017-02-28 15:08:36 +00:00
Dave Page
3638d63330
Move pgadmin plugins for codemirror back out of the vendor area.
2017-02-27 13:18:28 +00:00
Sarah McAlear
a0a31e55ae
Move 3rd party client code into vendor/ directories for ease of maintenance.
2017-02-24 17:01:21 +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
Atira Odhner
1340c1c2ee
Make syntax highlighting more visible by making keywords and numbers bolder.
2017-02-13 10:05:54 +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
Murtuza Zabuawala
687a793383
Fix display of zeros in read-only grid editors. Fixes #2138
2017-02-01 13:48:46 +00:00
Surinder Kumar
30e546208f
Ensure dialogues cannot be moved under the navbar. Fixes #2047
2017-01-30 14:02:01 +00:00
Harshal Dhumal
415119d581
Properly remove any event listeners added by subnode control.
2017-01-20 13:24:37 +00:00
Murtuza Zabuawala
28621999f2
Improve display of columns of exclusion contraints and foreign keys in the properties lists. Fixes #2065
2017-01-17 10:25:26 +00:00
Khushboo Vashi
024b664c21
Improve the display of role membership on both the properties panel and role dialogue. Fixes #1730
2017-01-16 14:48:25 +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
Dave Page
5d0a0e57e7
Allow selection of message box contents for ease of error message copy/paste.
2017-01-08 15:27:58 +05:30
Murtuza Zabuawala
879a6bef53
Fix keyboard control of switches in the column grid. Fixes #1394
2017-01-08 15:27:58 +05:30
Dave Page
87d4937726
Minimise memory requirements for rendered cells and rows in SlickGrid. Fixes #2035
...
- The CSS class 'slick-row' has been renamed to 'sr'
- The CSS class 'slick-cell' has been renamed to 'sc'
- The SQL Editor included an unused 'normal_row' class on each row which has been removed as it was unreferenced in the code or CSS.
The intent of these changes is to minimise memory usage by the grid, by saving a few bytes per row/cell.
It's questionable how much difference this actually makes given that SlickGrid updates the document so it
only includes the visible rows on the fly, but every little helps.
2016-12-22 17:43:42 +00:00
Murtuza Zabuawala
43b9e53572
Fix word wrap in note control.
2016-12-21 13:17:11 +00:00
Dave Page
d3862eef3f
Fix some additional table styling inconsistencies.
2016-12-19 14:26:33 +00:00
Harshal Dhumal
2994c128f3
Fix inconsistent table styling. Fixes #2027
2016-12-19 09:21:49 +00:00
Murtuza Zabuawala
6fc8f040ff
Allow users to enable wrapping of code in SQL boxes. Fixes#2025
2016-12-16 17:07:41 +00:00
Khushboo Vashi
53ea991907
Properly size the SQL Editor gutter as the width of the line numbers increases. Fixes #1780
2016-12-16 13:04:16 +00:00
Dave Page
394381bf75
Add search/replace support to the Query Tool, including regexp matching. Fixes #1765
2016-11-24 15:38:39 +00:00
Dave Page
687f1f640f
Prevent users selecting elements of the UI that shouldn't be selectable. Fixes #1976
2016-11-18 10:55:00 +00:00
Khushboo Vashi
12d75e0a51
Styling improvements for password input fields in backgrid.
2016-11-15 09:55:32 +00:00
Surinder Kumar
19bd021696
Ensure select2 instances have a destroy property before calling destroy.
2016-10-21 16:16:10 +01:00
Dave Page
62a35f24e7
Fix layout of DateTimePicker control help message. Fixes #1864
2016-10-18 12:43:58 +01: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
e4d870cbe6
Ensure errorModel unset property properly in while adding a new server. Fixes #1786
2016-10-03 13:50:54 +01:00
Dave Page
6790f14c6c
Fix button label and colour
2016-09-26 16:10:00 +01:00
Surinder Kumar
3b4776ab5f
Improve network/server activity feedback for the user. Fixes #1751
2016-09-26 15:10:38 +01:00
Ashesh Vashi
e591c6b5c0
pgAgent misc fixes:
...
1. When an existing schedule updated, or a new schedule is added from a pgAgent job dialog, it was not able to generate the proper update SQL Query.
2. The SubNodeCollectionControl was not removing the grid, when it is being getting removed.
2016-09-26 13:43:13 +01:00
Dave Page
7f3ca548cd
Fix SQL box sizing.
2016-09-26 11:35:11 +01:00
Ashesh Vashi
b80cd43ae6
Misc changes
...
- Setting the CodeMirror height when panel is resized, which you had mentioned.
- Added a new CellEditor (DatetimePickerEditor) for datetime picker.
2016-09-26 10:04:49 +01:00
Ashesh Vashi
163ae4d53d
Misc fixes and additions for pgAgent support:
...
- Added DatetimepickerControl, MomentCell (using moment.js)
- Used the 'DatetimepickerControl' in Role (Also - resolved an issue, when unset the datetime for 'Valid Until'.)
- Added a 'Select All/Unselect All' adaptor for Select2 used by pgAgent nodes.
- Fixed an issue with SubNodeCollectionControl, which was not starting the modification session of the child model, when created default value for collection is not null/undefined. And, hence - validation on the child model was not working.
- Fixed a memory leak with SqlFieldControl, and SqlTabControl, which was not releasing the CodeMirror properly.
2016-09-22 15:27:59 +01:00
Dave Page
7a40171300
Handle nested JSON correctly in SlickGrid. Fixes #1713 . Fixes #1404
2016-09-21 13:43:27 +01:00
Dave Page
fcc81d32cc
Fix condition check for avoiding sorting of columns.
2016-09-14 12:33:54 +01:00
Murtuza Zabuawala
4ba8f4830b
Don't sort columns (tables, views, matviews, catalogs etc) on the treeview by name, but by ordinal. Fixes #1687
2016-09-14 11:13:50 +01:00
Murtuza Zabuawala
ffc58b74d2
Allow viewing of long data values in the grid. Fixes #1672
2016-09-12 12:39:40 +01:00
Murtuza Zabuawala
087332f32e
Fix the boolean editor, and warn the user if there are unsaved changed in the edit grid before refreshing.
2016-09-01 11:50:48 +01:00
Murtuza Zabuawala
c56e4667df
SlickGrid Integration in to query tool. Fixes #1618
2016-08-29 20:17:01 +05:30
Ashesh Vashi
b6f307256b
Sorting the data during tree data loading using the natural sort
...
algorithm.
This patch takes care of:
* Consistent behaviour during create, update operation on any node.
- It should return the node data during creating a new object, or
updating the existing one.
* Now that - we have consistent behaviour during these operations, we
can consistently move, update the tree item based the node data from
the server.
* Implemented the methods for each node to get the information about
that particular node only.
* Using the above changes to implement the 'refresh' operation on tree
node properly.
I must thank Surinder, and Harshal for helping me implement the 'node'
method, and also changed the behaviour of create & update methods to
return the node data for most of the nodes.
Fixes #1244
2016-08-29 20:06:58 +05:30
Surinder Kumar
2d75eac117
SqlFieldControl enhancements
2016-08-29 13:21:45 +05:30
Ashesh Vashi
f12d981a9d
Handling the bad/lost connection of a database server.
...
Made backend changes for:
* Taking care of the connection status in the psycopg2 driver. And, when
the connection is lost, it throws a exception with 503 http status
message, and connection lost information in it.
* Allowing the flask application to propagate the exceptions even in the
release mode.
* Utilising the existing password (while reconnection, if not
disconnected explicitly).
* Introduced a new ajax response message 'service_unavailable' (http
status code: 503), which suggests temporary service unavailable.
Client (front-end) changes:
* To handle the connection lost of a database server for different
operations by generating proper events, and handle them properly.
Removed the connection status check code from different nodes, so that
- it generates the proper exception, when accessing the non-alive
connection.
Fixes #1387
2016-08-29 12:01:35 +05:30
Akshay Joshi
e016869ad5
Trigger issues through right click. Fixes #1209
2016-08-24 12:10:54 +05:30
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
761b54ce69
Allow the user to configure tabs in the SQL editor. Fixes #1406
2016-08-19 11:40:19 +01:00
Khushboo Vashi
eca47efb03
Update MFizz font library. Fixes #1311
2016-08-19 11:17:42 +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
Akshay Joshi
2b1b60bc2b
Reduce main menu height a little. Fixes #1453
2016-08-18 16:51:22 +01:00
Surinder Kumar
1bcac0b67c
Fix more of the funky keyboard shortcuts.
2016-08-08 15:26:37 +01:00
Khushboo Vashi
8e099e29c3
Fix various escaping issues. Fixes #1527
2016-08-05 12:20:00 +01:00
Dave Page
4f90a5d4f4
Move button bar related classes together.
2016-08-03 13:38:12 +01:00
Harshal Dhumal
ec3b9bb15b
Allow to create the foreign table with inherits options. Fixes #1260
2016-08-02 09:38:56 +05:30