Ashesh Vashi
430be1c4cb
Increase the width, and show the pointer cursor of the button under the
...
sortable backgrid header
2019-01-30 11:55:35 +05:30
Ashesh Vashi
0e8f804279
Show the help string separate block in the calendar control to align the
...
input, and calendar button properly in case of help string is present.
2019-01-30 11:42:38 +05:30
Ashesh Vashi
1858596253
Override the font-family defined by bootstrap
2019-01-30 10:21:36 +05:30
Murtuza Zabuawala
2d7eaa63c4
Fix alignment of help messages in properties panels. Fixes #3929
2019-01-24 16:39:55 +00:00
Harshal Dhumal
42c7ae372f
Fixed dialog tab navigation for Backup and Restore dialog. Fixes regression of #3862
2019-01-24 17:15:12 +05:30
Akshay Joshi
f316e0533e
1) Messages tab of query tool should be clear on subsequent execution of table/view using View/Edit Data. Fixes #3608
...
2) Clear drop-down menu should be disabled for View/Edit Data. Fixes #3609
2019-01-23 18:25:33 +05:30
Harshal Dhumal
ea87d6da8f
Fixed keyboard navigation for Select2 and Privilege cell in Backgrid Fixes #3908
2019-01-22 16:35:57 +05:30
Harshal Dhumal
f731ab730b
Fixed keyboard navigation for dialog tabs. Fixes #3862
2019-01-22 16:28:32 +05:30
Ganesh Jaybhay
a0d2c45361
1. Proper alignment of help message with date time control.
...
2. Added help-block class for helpMessageClassName.
2019-01-22 11:22:32 +05:30
Aditya Toshniwal
6fc2e032f3
Fixed alignment of tree arrow icons for Internet Explorer. Fixes #3871
2019-01-21 17:40:05 +05:30
Khushboo Vashi
3ffeb4be45
Ensure that database restriction of server dialog should work with special characters. Fixes #3800
2019-01-21 17:24:46 +05:30
Khushboo Vashi
aedb3997b0
Ensure that Backup/Restore button should work on single click. Fixes #3811
2019-01-21 15:27:55 +05:30
Aditya Toshniwal
27cdb835cb
Correct order of Save and Cancel button for json/jsonb editing. Fixes #3891
2019-01-18 18:14:50 +05:30
Aditya Toshniwal
06ae799d02
Handle text wrapping in alertify dialog only when it is required. Regression of #3695
2019-01-18 17:54:49 +05:30
Aditya Toshniwal
48660508ce
Fixed controls alignment responsiveness to docker size change.
2019-01-17 18:20:12 +05:30
Aditya Toshniwal
f779378e8a
Add right border on selected tree item.
2019-01-17 13:27:07 +05:30
Aditya Toshniwal
6bbcaf6b27
Fixed SQL for when clause while creating Trigger. Fixes #3837
2019-01-16 14:46:34 +05:30
Aditya Toshniwal
dec43d98dc
Fixed execution time to show Hours part for long running queries in Query Tool. Fixes #3475
2019-01-16 12:57:52 +05:30
Aditya Toshniwal
7ac4e2a9d9
Fixed following issues:
...
- Process watcher made fixed width with header changes, time details rounded to 2 decimals
- Query history will show "No query history" if no query fired. Query editor default size increased.
- Fixed a bug where New folder create button not working when in List mode and No files/folder present.
- Other minor improvements.
2019-01-16 11:55:08 +05:30
Aditya Toshniwal
7b0c81126c
Ensure long string should be wrap in alertify dialogs. Fixes #3695
2019-01-15 18:23:59 +05:30
Ashesh Vashi
6735c30292
Define some of the variables in _default.variables.scss with '!default'
...
suffix to allow override them while defining another theme.
2019-01-15 13:01:16 +05:30
Ashesh Vashi
1f082a0488
Fixed a typo in the wizard.js, which was not allowing to show the
...
maximize button in the Grant Wizard.
Also - change the CSS to set the top to '0' of the ajs-content (alertify
content container) for the frameless dialogs.
2019-01-15 12:59:13 +05:30
Aditya Toshniwal
d4a2f1b8cd
Ensure that last row of table data should be visible and user will be able to add new row. Fixes #3866
2019-01-11 23:25:05 +05:30
Aditya Toshniwal
f7fa18f827
Ensure the context menu works after a server is renamed. Fixes #3575
2019-01-10 11:52:52 +05:30
Aditya Toshniwal
d361e604c1
Further style tweaks.
2019-01-07 16:03:54 +05:30
Aditya Toshniwal
e9ba2e036a
Further style tweaks.
2019-01-07 14:24:44 +05:30
Dave Page
598f69b63d
Improve wording.
2019-01-03 15:24:47 +00:00
Aditya Toshniwal
7d765fea04
Further styling fixes.
2019-01-03 14:50:24 +00:00
Murtuza Zabuawala
e23d307c56
Update copyright notices for 2019
2019-01-02 15:54:12 +05:30
Aditya Toshniwal
86ecf9c84e
Fixed following:
...
- Base font size changed from 0.815rem to 0.875rem, for navbar from 0.875rem to 0.925rem.
- Dialog sizes made consistent throughout the application. Now there are 3 size options for width and height each - sm, md, lg. Combination of any of these to be used hereafter
- Alignment fix for controls of Node properties dialogs which includes showing text and label in one line without dialog size change, checkbox alignment, switch control alignment at places and other minor improvements in other dialogs
- Error message design change in dialogs validation
- SQL Editor data grid editor popup design changes which were missed
- Design change for dashboard server activity grid
- Login page language dropdown color fix
- Properties accordion collapse design fix
- Help, Info icon fixed across all dialogs which were not working if clicked exactly on the text
- Added missing icon with buttons at few places
- Shadow behind the dialogs is increased to make it look clearly separated and depth.
- Control Alignment fix in maintenance dialog
- Min height of alertify dialogs set for better UX
- File dialog design fix when no files found
- Grant wizard fixes - Scroll bar visibility on first page, use full space for SQL generated on the last page
- Browser toolbar buttons changed to sync with SQL editor toolbar buttons
- Rounded corners for docker floating dialog (no properties)
- Renaming file in file dialog should show original file name
- SQL data grid text edit popup buttons behaviour was swapped. This is fixed.
- Import/Export dialog changes as per new design.
2019-01-02 15:07:59 +05:30
Ashesh Vashi
5799ac14ba
Improvement in the look and feel of the whole application
...
Changed the SCSS/CSS for the below third party libraries to adopt the
new look 'n' feel:
- wcDocker
- Alertify dialogs, and notifications
- AciTree
- Bootstrap Navbar
- Bootstrap Tabs
- Bootstrap Drop-Down menu
- Backgrid
- Select2
Adopated the new the look 'n' feel for the dialogs, wizard, properties,
tab panels, tabs, fieldset, subnode control, spinner control, HTML
table, and other form controls.
- Font is changed to Roboto
- Using SCSS variables to define the look 'n' feel
- Designer background images for the Login, and Forget password pages in
'web' mode
- Improved the look 'n' feel for the key selection in the preferences
dialog
- Table classes consistency changes across the application
- File Open and Save dialog list view changes
Author(s): Aditya Toshniwal & Khushboo Vashi
2018-12-21 17:14:55 +05:30
Khushboo Vashi
a000dc6f60
Further improvements to treeview restoration. Fixes #3559
2018-12-21 11:36:11 +00:00
Murtuza Zabuawala
ed01dbd0ef
Ensure the dashboard tabs are styles correctly. Fixes #3824
2018-12-20 09:53:35 +00:00
Aditya Toshniwal
0100997aab
Hide Radio buttons that should not be shown on the maintenance dialogue.
2018-12-04 11:00:58 +00:00
Akshay Joshi
bdf9f3404f
Fix handling of array types as inputs to the debugger. Fixes #3354
2018-11-27 11:18:47 +00:00
Murtuza Zabuawala
c79ac2f8d2
Fix some minor CSS issues.
2018-11-27 10:57:30 +00:00
Aditya Toshniwal
95cda78bdb
Remove some CSS for the body level that isn't required and may cause issues.
2018-10-31 12:13:13 +00:00
Khushboo Vashi
f17979141c
Add support for dropping multiple objects at once from the collection Properties panel. Fixes #1513
2018-10-31 10:30:37 +00:00
Akshay Joshi
3359a0de7a
Allow the selection order to be preserved in the Select2 control to fix column ordering in data Import/Export. Fixes #3029
2018-10-31 10:09:40 +00:00
Murtuza Zabuawala
140372a5cf
Fix minor alert layout issue on IE 11.
2018-10-30 09:27:14 +00:00
Aditya Toshniwal
d6c4911135
Fixed calender control issues with Bootstrap 4
2018-10-12 15:02:38 +05:30
Aditya Toshniwal
6991c06937
Additional Bootstrap 4 fixes:
...
- Calendar control
- Query Tool's Sort/Filter drop down
- Backform hidden controls
- Debugger toolbar
2018-10-11 13:23:59 +01:00
Khushboo Vashi
235a75202d
Fixed minor issue in saving tree state logic.
2018-10-11 11:22:24 +05:30
Aditya Toshniwal
0565f8dd78
Update to use Bootstrap 3 instead of Bootstrap 4. Fixes #3562
2018-10-10 12:43:26 +01:00
Murtuza Zabuawala
c66840bc8e
Fix some styling regressed in #2927 .
2018-10-09 11:22:54 +01:00
Khushboo Vashi
528ea88dec
Save the treeview state periodically, and restore it automatically when reconnecting. Fixes #1253
2018-10-08 10:03:19 +01:00
Akshay Joshi
0ec3224212
Fix logic around validation and highlighting of Sort/Filter in the Query Tool. Fixes #3607
2018-09-14 14:18:43 +01:00
Akshay Joshi
532cbe216a
Add shortcuts for View Data and the Query tool to the Browser header bar. Fixes #3564
2018-09-10 15:16:13 +01:00
Dave Page
6e54a13ba2
Update test cases to match style changes
2018-09-04 12:04:57 +01:00
Aditya Toshniwal
82c9cca683
Move all CSS into SCSS files for consistency and ease of colour maintenance etc. Fixes #2927
2018-09-04 11:24:51 +01:00
Xuri Gong
89e283fbc2
Add a geometry viewer that can render PostGIS data on a blank canvas or various map sources. Fixes #1407
2018-08-30 13:59:44 +01:00
Aditya Toshniwal
283a69a21a
Fix auto scrolling issue in debugger on step in and step out. Fixes #3554 .
2018-08-29 18:20:45 +05:30
Aditya Toshniwal
25679fd542
Ensure sort/filter dialog should display proper message after losing database connection. Fixes #3561
2018-08-22 16:38:31 +05:30
Aditya Toshniwal
57660d131f
1) Fix sort/filter dialog editing issue. Fixes #3558 .
...
2) Fix sort/filter dialog issue where it incorrectly requires ASC/DESC. Fixes #3325 .
2018-08-21 13:05:40 +05:30
Ashesh Vashi
ffd41009ea
We were refering to the wrong 'name' variable during cleaning up the
...
backform controls.
2018-08-12 15:44:52 +05:30
Akshay Joshi
7117ce6a22
Fix keyboard shortcuts layout in the preferences panel. Fixes #3407
2018-08-07 14:41:50 +01:00
Ashesh Vashi
e2ce73d855
'anyFamilyMember' runs the condition function for all nodes in the
...
hierarchy. No need to run the 'dashboardURL' function in the
'getDashboardURL' function for the current node too.
2018-07-26 21:37:40 +05:30
Ashesh Vashi
e12e00703f
Refactored the dashboard code, which was allowing each node type to
...
define its own dashboardURL.
There was a typo, while calling the dashboard function of a Node type.
2018-07-25 12:28:44 +05:30
Aditya Toshniwal
f7e43d5e50
Realtime preference handling for the Dashboards and Debugger. Fixes #3294
2018-07-24 16:31:44 +01:00
Khushboo Vashi
2d1e835d32
Fix panel errors seen when click on partitions.
2018-07-23 14:33:40 +01:00
Aditya Toshniwal
2b9c0a63fb
Ensure CodeMirror always has a non-zero font size. Fixes #3480
2018-07-10 13:58:44 +01:00
Aditya Toshniwal
3b862bd70b
More jQuery 3 updates.
2018-07-10 10:59:53 +01:00
Aditya Toshniwal
d1784137a5
Ensure text is visible in the SQL Filter dialogue. Fixes #3478
2018-07-09 14:08:41 +01:00
Aditya Toshniwal
41a8333145
Replace deprecated success, error callbacks in $.ajax call with new functions .done and .fail.
2018-07-09 13:54:00 +01:00
Aditya Toshniwal
73530c05aa
Add missing files related to previous commit: Infrastructure and changes to the Query Tool for realtime preference handling. Refs #3294
2018-07-05 11:41:01 +01:00
Aditya Toshniwal
bdb7e3fde2
Infrastructure and changes to the Query Tool for realtime preference handling. Refs #3294
...
Highlights of this patch include:
- Changes will affect SQL Editors in Create dialog boxes, SQL tab of the main screen, Query tool, History entries in the query tool, Query tool opened in New Tab/Window
- All the components of SQL editor will refer to single source of preferences which is cached in the Browser object. All other redundant ajax get preference calls are removed.
- SQL editor will not refer template JS variables anymore, once all the references are removed the template variables will also be removed.
- Code refactoring wherever possible.
- Covered JS test cases wherever possible.
2018-07-05 11:38:43 +01:00
Murtuza Zabuawala
d53c47e1cf
Cleanup and fix handling of Query Tool Cancel button status. Fixes #3319
2018-07-02 15:43:36 +01:00
Khushboo Vashi
fb1ef9ac0b
Properly support backups in Directory format. Fixes #3309
2018-06-29 15:14:37 +01:00
Dave Page
9821e28da5
Fix file permissions per Devrim
2018-06-19 16:09:49 -04:00
Akshay Joshi
b48145f01f
Add an option to auto-complete keywords in upper case. Fixes #2686
2018-06-15 10:18:56 +01:00
Joao De Almeida Pereira
7dd6372eeb
Extract the tests and refactor some of the methods.
...
Extract some of the ACI Tree functionalities, and decouple it from the
main source. Also - create some abstractions from the repeated code
around the enable/disable the schema children object create/edit/delete
functionalities, and also created the dialog wrappers for backup and
restore dialogs.
Reviewed by: Khushboo and Ashesh
Refactored by: Ashesh
2018-06-05 16:42:59 +05:30
Akshay Joshi
38ee39ae7a
Add support for LISTEN/NOTIFY in the query tool. Fixes #3204
2018-05-30 21:58:28 -04:00
Aditya Toshniwal
9f13865777
Update jQuery to 3.3.1. Fixes #3271
...
Patch by Aditya, with test enhancements from Anthony and Joao at Pivotal.
2018-05-25 16:26:37 +01:00
Joao De Almeida Pereira
bc4d16eb83
Initial version of the new tree implementation.
...
This is the first version of our Tree implementation. At this point is a
very simple tree without no abstractions and with code that eventually
is not very performant, but this is only the first iteration and we are
trying to follow the 'Last Responsible Moment Principle' [1].
Implemention details:
- Creation of PGBrowser.treeMenu
- Initial version of the Tree Adaptor 'pgadmin/static/js/tree/tree.js'
- TreeFake test double that can replace the Tree for testing purposes
- Tests, As an interesting asside because Fake’s need to behave like
the real object you will noticed that there are tests for this type
of double and they the same as of the real object.
[1] https://medium.com/@aidanjcasey/guiding-principles-for-an-evolutionary-software-architecture-b6dc2cb24680
Patched by: Victoria && Joao
Reviewed by: Khushboo & Ashesh
2018-05-14 18:00:23 +05:30
Aditya Toshniwal
5b86a67a41
Fixed query tool keyboard issue where arrow keys were not behaving as expected for execute options dropdown. Fixes #3298
2018-05-09 13:05:22 +05:30
Khushboo Vashi
3ac3e73daf
Fixed layout of the alertify error message in the query tool. Fixes #3310
2018-05-07 16:04:47 +05:30
Dave Page
8937375885
Standardise the error handling for parsing of JSON response messages from the server. Fixes #3238
2018-05-04 16:56:15 +01:00
Akshay Joshi
b7fb01ab04
Add support for SSH tunneled connections. Fixes #1447
2018-05-04 11:27:27 +01:00
Khushboo Vashi
732d8d903d
F5 key should work to refresh Browser tree. Fixes #3284
...
Refactoring by: Joao Pedro De Almeida Pereira
2018-05-02 11:43:42 +05:30
Ashesh Vashi
b653b742ed
Close button added to the alertify message box, which pops up in case of backend error. Fixes #3290
2018-04-24 18:57:31 +05:30
Murtuza Zabuawala
f5e474e4ec
Ensure the query tool will open properly under MS Edge.
2018-04-10 11:09:59 +01:00
Murtuza Zabuawala
78c3db6fc9
Update filter dialogue Javascript to use ES6.
2018-04-06 10:38:04 +01:00
Murtuza Zabuawala
fa1854bd85
Allow sorting when viewing/editing data. Fixes #1894
2018-04-05 16:25:17 +01:00
Neel Patel
659390493d
Ensure Alertify dialogues are modal to prevent them being closed by mis-click. Fixes #3248
2018-04-05 11:28:18 +01:00
Murtuza Zabuawala
a705fb46a8
Refactor and simplify query tool connection error handling code. Fixes #3235
2018-04-04 11:20:36 +01:00
Khushboo Vashi
7805170783
Add the ability to enable/disable UI animations. Fixes #1978
2018-04-03 14:52:13 +01:00
Joao Pedro De Almeida Pereira
94e1e46201
Show more granular timing info in the query tool history panel. Fixes #3244
2018-04-03 14:11:11 +01:00
Aditya Toshniwal
1f84285d99
Move the field error indicators in front of the affected fields so they don't obscure spinners or drop downs etc. Fixes #3226
2018-03-23 09:57:37 +00:00
Akshay Joshi
637f3b9d1a
Fix a number of broken connection detection scenarios.
2018-03-21 08:38:18 +00:00
Murtuza Zabuawala
34f1ebc88e
Ensure the host parameter is correctly pickup up from the service file. Fixes #3200
2018-03-19 12:38:44 +00:00
Joao Pedro De Almeida Pereira
3c4359270e
Fix trim function which was causing some JS errors during Server Properties validation. Victoria & Joao
2018-03-14 17:58:01 -04:00
Victoria Henry
6b03cb78af
Refactor server dialogue validation for better unit testing.
...
Victoria & Joao @ Pivotal.
2018-03-13 14:47:32 -04:00
Joao Pedro De Almeida Pereira
d1ab47c10c
Disable function statistics on Greenplum. Fixes #3176
2018-03-07 11:52:02 +00:00
Joao Pedro De Almeida Pereira
427314cfdf
Support for external tables in GPDB. Fixes #3168
2018-03-02 16:49:25 +00:00
Murtuza Zabuawala
92a0bb605d
Ensure we can edit grid values in the debugger using keyboard shortcuts. Fixes #3153
2018-03-02 15:05:04 +00:00
Neethu Mariya Joy
0c48b79ce7
Allow copying of SQL from the dashboard tables. Fixes #3137
2018-03-02 14:39:12 +00:00
Murtuza Zabuawala
78e2ff4f56
Ensure the pgAgent job start/end time grid fields synchronise with the subnode control and validate correctly. Fixes #3073
2018-03-02 11:11:26 +00:00
Murtuza Zabuawala
a9de043fef
Add keyboard shortcuts for the Query Tool. Fixes #2900
2018-02-27 14:32:03 +00:00
Harshal Dhumal
aa1849c13a
Support tab navigation in dialogs. Fixes #2898
2018-02-27 11:18:36 +00:00
Joao Pedro De Almeida Pereira
0677ad254a
Un-vendorise React, now that it contains bug fixes we need.
2018-02-19 10:53:54 +00:00
Murtuza Zabuawala
942ac733a4
Configurable shortcuts in the Debugger. Fixes #2901
2018-02-09 12:43:27 +00:00
Joao Pedro De Almeida Pereira
e16a952753
Support EXPLAIN on Greenplum. Fixes #3097
...
- Extract SQLEditor.execute and SQLEditor._poll into their own files and add test around them
- Extract SQLEditor backend functions that start executing query to their own files and add tests around it
- Move the Explain SQL from the front-end and now pass the Explain plan parameters as a JSON object in the start query call.
- Extract the compile_template_name into a function that can be used by the different places that try to select the version of the template and the server type
2018-02-09 11:54:42 +00:00
Khushboo Vashi
262d01bf01
Add keyboard navigation options for the main browser windows. Fixes #2895
2018-02-02 14:28:37 +01:00
Harshal Dhumal
e0da9c5a0c
Significantly improve connection loss detection and handling in the query tool. Fixes #2815
2018-02-01 14:29:18 +01:00
Harshal Dhumal
66341e6947
Add infrastructure for managing configurable keyboard shortcuts.
2018-01-25 12:49:06 +00:00
Murtuza Zabuawala
97760d65c2
Add keyboard navigation in Query tool module via Tab/Shift-Tab key. Fixes #2896
...
Note:
1) Once the keyboard shortcut infrastructure is ready we will add generic shortcut to focus out from CodeMirror editor and set foucs to next element, Right now there is no way of doing this, For testing purpose you can manually focus out from CodeMirror and click on data output panel to continue navigate using Tab key.
2) As of now inner panel's are not getting focused on Tab/Shift-Tab keys but once RM#2895 patch gets committed it will start working automatically as it's inherited code which will add tabindex tag automatically on each newly created wcDocker panel.
2018-01-25 12:27:13 +00:00
Murtuza Zabuawala
0e41b3364b
Support keyboard navigation in the debugger. Fixes #2897
...
In passing, fix injection of variable values. Fixes #2981
2018-01-23 11:58:10 +00:00
Dave Page
2b1c887945
Add missing comma to appease the linter
2018-01-22 11:28:04 +00:00
Khushboo Vashi
ca80cfa04a
Ensure clickable images/buttons have appropriate tooltips for screen readers. Fixes #2904
2018-01-22 10:37:56 +00:00
Ashesh Vashi
404f1cc8ef
Fixing the javascript file after running pga_eslint.js script
2018-01-17 13:24:25 +05:30
Dave Page
55c2ab0b24
Fix typo in string.
2018-01-16 16:41:43 +05:30
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
Akshay Joshi
e1cc3dded2
Allow customisable delete confirmation messages in backgrid.
2016-08-01 15:18:57 +01:00
Dave Page
16304aafd2
s/buttton/button/g, per Anthony DeBarros. Fixes #1518
2016-08-01 15:16:14 +01:00
Akshay Joshi
e803464ee0
Replace 'Add' buttons with '+'
2016-07-26 12:54:59 +01:00
Harshal Dhumal
875360d1c8
When we use deps functionality, backform controls re-render then. But before we re-render them we must remove old grid (if any) otherwise is causes js error "Unable to call exitEditMode of undefined". Fixes #1497
2016-07-25 14:31:17 +01:00
Dave Page
f783aeac63
Change button label to initcap.
2016-07-21 17:18:15 +01:00
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
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
Surinder Kumar
1bd27b847b
Grey the SQL panel in edit data mode. Fixes #1423
...
Introduced a new class 'cm_disabled' with css property background-color to '#EEEEE'
Query tool in edit mode, add the class 'cm_disabled' to set background color to dark and set the cursor property to 'nocursor' to disable editor.
Increased the query tool title padding to fix the issue of whitespace below the title.
2016-07-05 12:11:36 +01:00
Murtuza Zabuawala
3ee8861d44
Fix JSON type rendering. Fixes #1404
2016-07-04 10:05:59 +01:00
Dave Page
51a33e57c9
Fix blurred text in Alertify on webkit. Fixes #1347
2016-07-02 17:13:32 +01:00
Dave Page
a1d8ca8c1c
Fix subnode header colour
2016-06-30 14:07:26 +01:00
Surinder Kumar
53434030c1
Consistent busy indication. Fixes #1242
2016-06-29 12:16:02 +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
4267545e08
Handle special chars and spaces properly in select2 controls. Fixes #1292
2016-06-24 14:09:32 +01:00
Dave Page
8f643a1946
Styling tweaks
2016-06-24 10:04:51 +01:00
Dave Page
a1f979c3e4
Fix icon spacing
2016-06-24 09:45:21 +01:00
Surinder Kumar
09569a23bd
Fix "number.toFixed is not function" JS error.
...
Issue:
We got the following error in console log
"number.toFixed is not function"
Steps to reproduce:
1) Click on statistics tab.
1) Select any database node.
2) then select Databases collection node.
3) The above error will appear into console.
Reason:
I discussed the issue with @Murtaza and here we are explicitly
converting values at server side to string as JSON do not directly
support NaN & Infinity values. Because of which NumberFormatter receives
values of type string and breaks.
Solution:
Overrides the NumberFormatter to support NaN & Infinity values.
and we need to parse the values again in float at client side.
2016-06-23 12:46:48 +01:00
Surinder Kumar
52906dd020
Fix subnode-header label not taking full width (in privileges/variable controls), label goes to next line on viewing properties of node(ex: database node properties).
2016-06-21 12:15:08 +01:00
Surinder Kumar
2a778f3c16
Remove debug code
2016-06-21 12:13:51 +01:00
Sanket Mehta
f4e76a22b9
Ensure we properly escape data from Select2 controls. Fixes #1292
2016-06-20 16:04:09 +01:00
Ashesh Vashi
f1dd39e5e9
Introduces the 'alertify.pgDialogBuild' function, which will register
...
different resize event callbacks for a particular dialog.
This function needs to be executed from the 'build' function of any of
the alertify dialog. Refs #1358
2016-06-20 12:45:10 +05:30
Ashesh Vashi
95c79e3a4c
Upgraded Alertify to v1.7.1
...
This version includes the feature request about invoking the callbacks
for different resize events. It will allows us to adjust the layout of
the dialogs based on its width, just like we've in the panels.
2016-06-20 11:45:45 +05:30
Surinder Kumar
0e11f4d082
A more appropriate fix for RM1362 - horizontal scrolling of query results.
2016-06-15 11:59:20 +01:00
Harshal Dhumal
6b95d6ac75
Added connect now option in server create dialog. Fixes #1313
2016-06-14 17:23:25 +01:00
Surinder Kumar
e881695050
Fix query tool horizontal scrolling of results. Fixes #1362
...
The backgrid-sizeable's css property 'overflow: hidden' was overriding backgrid table css property and It was reproducible only in runtime.
Removed 'overflow: hidden' property from backgrid-sizeabled-columns.css
2016-06-14 15:51:14 +01:00
Dave Page
970d3aafbf
Help buttons for various dialogues.
2016-06-13 16:17:36 +01:00
Murtuza Zabuawala
61037d4f60
Fix styling of statistics table. Fixes #1315
2016-06-08 09:30:53 +01:00
Dave Page
8a571df248
Revert "Fix appicon font styling."
...
This doesn't actually work - there seems to be something funky about
the way the runtime renders mfizz icons on Windows.
This reverts commit 5bbaf7841e
.
2016-06-07 14:55:38 +01:00
Dave Page
5bbaf7841e
Fix appicon font styling.
2016-06-07 14:08:37 +01:00
Harshal Dhumal
e4f21568ad
Fix styling of Alertify buttons
2016-06-07 09:23:58 +01:00
Harshal Dhumal
e3ab4501d5
User management.
2016-06-06 13:34:08 +01:00
Ashesh Vashi
129ca87937
Removing wrongly overridden CSS on the Select2 arrow, and
...
selection__rendered.
2016-06-03 16:16:15 +05:30
Harshal Dhumal
5eef63c068
Added support for the password cell.
2016-06-03 16:13:43 +05:30
Murtuza Zabuawala
9c8637cf0f
Corrected the z-index of backgrid-filter so that - it does not take
...
precedence over top panel.
2016-06-03 15:43:06 +05:30
Harshal Dhumal
dea4b8ca31
Proper evaluation of the optionsValues in the Backgrid Select2Cell.
2016-06-03 15:20:56 +05:30
Surinder Kumar
278f18bab8
Fixes #1243 - Allow to resize the columns of the result table in the
...
Query editor.
2016-06-02 14:46:58 +05:30
Ashesh Vashi
79d5e33955
Do not allow to edit properties for the object under a catalog schema.
2016-05-31 00:16:33 +05:30
Ashesh Vashi
f247153920
Updated the Alertify to use latest version 1.7.0
2016-05-27 14:54:29 +05:30