Ashesh Vashi
c32eb6bd37
Fixed the warnings/errors reported by eslint for all the static
...
javascripts.
2018-01-12 13:00:14 +05:30
Murtuza Zabuawala
aec86970f2
Add ALT tags to images for accessibility. Fixes #2902
2018-01-08 12:43:36 +00:00
Dave Page
89821c0d19
Update copyright notices for 2018.
2018-01-05 10:42:50 +00:00
Murtuza Zabuawala
eae6f05b7c
Allow files to be opened by double clicking on them. Fixes #2810
2017-12-18 09:48:14 +00:00
Murtuza Zabuawala
96a2987ef6
Prevent attempts to select directories as files in the file dialogue. Fixes #2937
2017-12-13 15:35:08 +00:00
Murtuza Zabuawala
22c38e4562
Fix a reference before assignment error in the file dialogue. Fixes #2934
2017-12-06 13:42:05 +09:00
Murtuza Zabuawala
7fab041623
Prevent the user pressing the select button in the file manager when it is supposed to be disabled. Fixes #2923
2017-12-05 13:43:02 +09: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
f855ed88ce
Allow selection of SSL certificates and pgpass files in connection properties. Fixes #2649 . Fixes #2650
2017-09-28 10:02:33 +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
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
Harshal Dhumal
831c614a60
Store the file dialog view on toggle.
2017-07-26 14:35:43 +01:00
Harshal Dhumal
97cd74a373
Default the file browser view to list, and make it configurable. Fixes #2579
2017-07-26 13:09:52 +01:00
Surinder Kumar
ae3acbdbbc
Fix webpacking of loading icon.
2017-07-20 13:38:16 +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
Murtuza Zabuawala
6d3d2cd458
Handle un-mounted drives correctly on Windows. Fixes #1999
2017-07-10 14:04:57 +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
Akshay Joshi
794b70daea
Fixed issue of opening file manager dialog from Query Tool.
2017-06-13 15:48:12 +05:30
Surinder Kumar
af43ccfc07
Teach dialogues about Escape to cancel, Enter to Save/OK, and F1 for help. Fixes #1535
2017-06-12 16:43:29 +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
Murtuza Zabuawala
13f4432bbd
Support loading files with Unicode BOMs. Fixes #2369
2017-05-09 12:06:49 +01:00
Murtuza Zabuawala
928c0d3de8
startsWith() function of java script is not supported in IE, instead use startsWith() function of underscore string. Fixes #2347
2017-04-25 12:00:15 +05:30
Jonas Thelemann
b8566a0127
Un-split some strings for translateability. And so begins the battle between gettext and pep8...
2017-04-05 15:05:11 +01:00
Murtuza Zabuawala
6d6a3753ee
Fix the path to the busy indicator for the treeview which changed when the aciTree module was moved.
2017-03-06 10:36:07 +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
Murtuza Zabuawala
9ad1316990
Various encoding fixes. Fixes #2160
2017-02-16 11:00:40 +00:00
Neel Patel
c17e201a92
Handle saved directories that no longer exist gracefully. Fixes #2110
2017-02-03 15:19:21 +01:00
Harshal Dhumal
4ef26a528b
Allow direct navigation (i.e. typing of paths) in the file manager. Fixes #1911
2017-02-03 10:51:36 +01:00
Neel Patel
8d71e888b4
Remember the last used directory in the file manager. Fixes #1910
2017-01-08 15:27:59 +05:30
Dave Page
f221194bcc
Update copyright notices for 2017.
2017-01-04 13:33:32 +00:00
Ashesh Vashi
dbff4f7977
Minor Python 3/encoding fix in the file manager.
2016-12-12 09:49:00 +00:00
Surinder Kumar
a64824a851
Fix various encoding issues with multibyte paths and filenames.
...
Fixes #1986 . Fixes #1940 .
2016-12-05 13:10:56 +09:00
Surinder Kumar
1e66119ef5
Ensure the File Manager honours the file type while traversing the directories. Fixes #1858
...
When a File Manager is closed by clicking cancel button. Its dom element not destroyed.. So on traversing into directories, when it tries to get currently selected file type, it looks into the dom element but it gets dom of previous dialogs not of currently dialog.
Now whenever an instance of File Manager is closed. its dom elements are also destroyed.
2016-10-21 14:26:12 +01:00
Surinder Kumar
d806a9ce9e
Fix the file manager when used under Python 3. Fixes #1872
...
Issues fixed:
1) In Python 3, parameter "cmp" is removed from sorted method. So File Manager won't open.
As we are sorting data on JS side using Natural sort, so on server side sorting is not required.
2) Improvement in Exception handling.
2016-10-21 12:43:02 +01:00
Surinder Kumar
df09f02e80
List files/folders alphabetically, and don't excessively truncate their names. Fixes #1792
2016-10-18 11:39:12 +01:00
Surinder Kumar
3963272523
Don't show Upload File icon unless it is in capabilities list [Storage Manager]. Fixes #1739
...
Issue:
When clicked on upload icon while saving a file prompt user to leave page. It is because the icon is a button and its type is set to submit which makes it to prompt, instead it should be 'button'
Storage Manager's menu items depends on capabilities list set by the module using it. If capabilities doesn't have 'upload' in it, It won't work. Upload button is bound to click event only when it is in capabilities.
Solution:
As upload button is being added only when it is in capabilities, so upload button html is removed from html file. It will not shown on UI untill it is in capabilities list.
2016-10-07 12:31:38 +01:00
Surinder Kumar
3dace5ff22
Fix file navigator to properly show drives in Windows. Fixes #1665
2016-09-05 17:07:07 +01:00
Dave Page
6701bb191d
String fix.
2016-08-17 15:10:33 +01:00
Surinder Kumar
a43f053a10
Fix file upload in File Manager in pgAdmin4 Runtime. Fixes #1397
2016-08-04 16:34:30 +01:00
Dave Page
60659975ed
Stop using deprecated imports.
2016-07-22 16:25:23 +01:00
Surinder Kumar
1a129cf30e
File management dialogue enhancements:
...
- Double click on file/folder icon or name will navigate to the folder/file.
- Selected file/folder can be renamed by Rename button only. Double click rename is removed.
- Filename text box will not hide on smaller screen. Setting minimum width of File Browser fixed it.
- Path at top will only show directory name, not the file name and it is greyed out
2016-07-15 10:50:25 +01:00
Dave Page
7d0fe669ca
Code tidy.
2016-06-21 14:21:06 +01:00
Dave Page
3026b470e9
Optimise Python imports.
2016-06-21 14:12:14 +01:00
Dave Page
05e7ee5a05
Second attempt at fixing the file handling code. Tested on Mac and Windows in both desktop and server modes.
2016-06-17 22:05:49 +01:00
Dave Page
2c62d1a4b7
Revert "Make the file manager work a little more sanely with regard to paths."
...
This breaks things even more on Windows :-(
This reverts commit 35243b9869
.
2016-06-17 18:19:51 +01:00
Dave Page
35243b9869
Make the file manager work a little more sanely with regard to paths.
2016-06-17 17:12:04 +01:00
Dave Page
1172e31019
File dialogue layout tweaks.
2016-06-17 17:11:30 +01:00
Dave Page
fd6c43b393
String improvements.
2016-06-17 14:21:14 +01:00