Harshal Dhumal
05a00f4ac8
Make the "Save Changes" prompts in the query tool optional. Fixes #2845
2017-11-23 09:20:59 +00:00
Murtuza Zabuawala
38f111d969
Ensure the scroll location is retains in the query tool data grid if the user changes tab and then returns. Fixes #2875
2017-11-23 09:07:46 +00:00
Murtuza Zabuawala
fdb4fa454a
Honour whitespace properly in the data grid. Fixes #2880
2017-11-22 16:48:36 +00:00
Murtuza Zabuawala
1bc318f091
Ensure newly added rows cannot be editted until we have key values. Fixes #RM2886
2017-11-22 16:38:18 +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
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
af2722faa3
Focus on the filter textarea when opening filter options in the query tool.
2017-11-16 11:01:40 +00: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
23d431fb54
Remove more exclamation marks from error messages.
2017-11-01 15:18:07 +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
Dave Page
354679e69b
Fix an issue where we were executing SELECT statements in transactions in query tool which probably is not required because SELECT statements are already protected from dirty reads. Fixes #2683
2017-09-20 11:59:37 +01:00
Akshay Joshi
bdc08d94c4
Fix View Data option and column config for Foreign Tables. Fixes #2691
2017-09-18 14:32:17 +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
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
Teng Zhang
512afd6618
Highlighting greenplum keywords in sql editor
2017-09-11 19:39:50 +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
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
Murtuza Zabuawala
ef48c2ed91
Fixed issue in query tool where messages were not displaying from functions/procedures properly. Fixes #2555
2017-08-04 15:50:39 +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
Surinder Kumar
03657df82a
Ensure babel-polyfill is loaded in older qWebKits. Fixes #2593
2017-07-21 16:15:03 +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
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
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
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
Harshal Dhumal
8bbcf0ab36
Fix handline of large file uploads and properly show any errors that may occur. Fixes #2153
2017-07-17 10:51:26 +01:00
Dave Page
ec739b3392
Revert "Open query tool and debugger windows in new tabs by default."
...
This reverts commit 1a6fe946ce
.
This is going to break the regression tests, so reverting it for now.
2017-07-07 17:06:12 +01:00
Dave Page
1a6fe946ce
Open query tool and debugger windows in new tabs by default.
2017-07-07 16:53:45 +01:00
Harshal Dhumal
fc78202600
Fix clear history.
2017-07-07 15:51:06 +01:00
Matthew Kleiman
e2cbaaef71
UI tweaks for the query history.
2017-07-06 13:08:29 +01:00
Harshal Dhumal
76939e4f63
Prompt the user to save dirty queries rather than discard them for a more natural workflow. Fixes #1972
2017-07-04 23:39:10 +01:00
Khushboo Vashi
f6b879233c
Fix deletion of table rows with the column definition having NOT NULL TRUE and HAS NO DEFAULT VALUE. Fixes #2527
2017-07-03 15:49:59 +01:00
Harshal Dhumal
4e21cdb64b
Fix a syntax error in the SQL Editor.
2017-07-03 11:02:20 +01:00
Murtuza Zabuawala
1e427890de
Fix an issue where duplicate entry is made of successful executed query, one with status message and one without status message.
2017-07-03 11:00:42 +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
Harshal Dhumal
7389744ecf
A number of minor cleanups to the recent changes to the query tool.
2017-06-28 09:49:39 -04:00
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
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
Surinder Kumar
cfb4b11573
Use client-side url_for in the sql editor and data grid modules.
2017-06-26 07:43:03 -04: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
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
Murtuza Zabuawala
3743c6e86e
Refresh the SQL editor view on resize to ensure the contents are re-rendered for the new viewport. Fixes #2078
2017-06-12 13:25:52 +01:00
Surinder Kumar
49976b1934
Fine tune result grid column sizing now we don't have checkboxes.
2017-06-09 09:24:20 +01:00
Surinder Kumar
73c6f1ca3b
A little leanup of the styling of the edit grid
2017-06-08 17:06:34 +01:00