Akshay Joshi
1a89c1f85f
Fixed code smell 'Update this function so that its implementation is not identical' reported by SonarQube.
2022-01-28 17:20:34 +05:30
Yogesh Mahajan
8fd3ddc4ae
Make the size blank for all the directories in the file select dialog. Fixes #7109
2022-01-27 12:11:09 +05:30
Akshay Joshi
343c3ee49c
Fixed following code smells reported by SonarQube:
...
1) Remove this redundant jump.
2) Remove this commented out code.
3) Variables should not be shadowed.
2022-01-21 18:54:23 +05:30
Akshay Joshi
3f7e921cce
Fixed code smell 'Unexpected empty arrow function' reported by SonarQube.
2022-01-12 18:59:21 +05:30
Akshay Joshi
4ecd05e33b
1) Fixed import/export servers issue in server mode.
...
2) Fixed an issue where files are not showing as per the selected format in
the file dialog when opened the first time.
2022-01-07 21:29:17 +05:30
Akshay Joshi
8b13f158ab
Fixed review comments for Import/Export Servers.
...
refs #4803
2022-01-05 14:02:49 +05:30
Akshay Joshi
2786f7ac5a
Update copyright notices for 2022
2022-01-04 13:54:25 +05:30
Akshay Joshi
c6424e3897
Replaced alertifyjs notifiers with React-based notistack. Fixes #7004
2021-12-02 16:05:52 +05:30
Nikhil Mohite
669bdc7e38
Resolved the issue when the user selects the folder 'Select' button is not getting enabled for 'Select folder' dialog.
...
refs #6536
2021-07-06 19:00:08 +05:30
Nikhil Mohite
5c6d00d545
Fixed directory selection issue with the folder dialog. Fixes #6536
2021-06-28 18:55:52 +05:30
Akshay Joshi
4bc4ca1ba9
1) Added browse button to select the binary path in the Preferences. Fixes #1561
...
2) Added support to set the binary path for the different database server versions. Fixes #5370
2021-06-04 17:55:35 +05:30
Rahul Shirsat
49095ccba6
1) Fixed an issue where shortcut keys are not working with manage macro. Fixes #5908
...
2) Fixed an issue where the cursor shifts its focus to the wrong window for all the query tool related model dialogs. Fixes #6161
2021-04-09 12:41:13 +05:30
Pradip Parkale
3a797b1efa
Ensure that the file format for the storage manager should be 'All files' and for other dialogs, it should remember the last selected format. Fixes #6325
2021-04-08 12:23:57 +05:30
Nikhil Mohite
d4a3e4d92c
Fixed issues reported by SonarQube.
2021-01-18 13:02:19 +05:30
Nikhil Mohite
0fcfe63092
Fixed an issue on refreshing files in Query Tool. Fixes #6069
2021-01-11 17:40:13 +05:30
Akshay Joshi
b372f08a59
Update copyright notices for 2021
2021-01-04 15:34:45 +05:30
Rahul Shirsat
3e2a1c4eca
Ensure that folder rename should work properly in Storage Manager. Fixes #5943
2020-11-19 10:33:05 +05:30
Rahul Shirsat
c2ad97d0ab
Added support to download utility files at the client-side. Fixes #3318
2020-10-23 16:14:55 +05:30
Aditya Toshniwal
67242862c4
Fixed an issue where extensions are getting added multiple times when the user uses the "Save As" option.
...
refs #4855
2020-10-12 18:01:53 +05:30
Akshay Joshi
0bf6e81faa
Fixed linter error.
2020-10-09 12:09:23 +05:30
Aditya Toshniwal
a4e746c5a4
Ensure that '.sql' extension is added when saving a file with SQL format.
...
refs #4855
2020-10-09 11:46:32 +05:30
Aditya Toshniwal
c7c199210d
Fixed an issue where file extension is stripped on renaming a file. Fixes #4855
2020-09-29 11:03:38 +05:30
Pradip Parkale
8e132eab08
Fixed some accessibility issues. Fixes #5732
2020-09-15 13:03:18 +05:30
Nikhil Mohite
93adf6884f
Upgrade font awesome from v4 to v5. Fixes #5731
2020-08-13 12:04:00 +05:30
Yogesh Mahajan
3672013ddc
Fixed an issue where the error message does not have a close button on utility dialogs. Fixes #5670
2020-08-07 17:17:51 +05:30
Nikhil Mohite
7edcca9b07
Added High Contrast theme support. Fixes #5653
...
Fixed text color issue in explain analyze for the Dark theme. Fixes #5677
2020-07-20 11:51:21 +05:30
Aditya Toshniwal
9d0f3ce90b
Fixed code smell 'potential hiding of variables declared in an outer scope'.
2020-07-16 19:53:39 +05:30
Satish V
290cf8271b
Fixed code smell 'Variables should not be shadowed'.
2020-07-09 18:35:04 +05:30
Murtuza Zabuawala
2db9242f5c
Fixed accessibility issue where few dialogs are not rendering properly
...
when we zoomed in browser window 200% and screen resolution is low.
Fixes #5662
2020-07-09 18:18:37 +05:30
Satish V
4c05287677
Fixed SonarQube code smell 'Variables should not be shadowed'.
2020-06-30 17:26:18 +05:30
Akshay Joshi
bc24e3643f
More code cleanup for SonarQube.
2020-06-18 16:20:34 +01:00
Yogesh Mahajan
6d3f13076f
Fixed 'Comma operator should not be used' issue reported by SonarQube.
2020-06-18 16:17:55 +05:30
Yogesh Jain
cc2e3ece7a
Ensure that file browse home button should point to /Users/akshayjoshi rather than /. Fixes #4279
2020-05-04 12:40:19 +05:30
Libor M
36a3d4e53b
Some more gettext() usage fixes:
...
- fixed `%` vs. `.format()`
- unified texts and usage `%s` vs. `{}`/`{0}`
- improved text sentences for translate
- added gettext for next texts
2020-04-20 11:19:09 +05:30
Libor M
6a9af07f7a
Fixed gettext usage:
...
- fixed gettext usage with .format() only for original text with %s
- fixed typos
- fixed translation yes/no buttons in the dialog.
- improved translating sentences without "connecting" words (eg. see web/pgadmin/dashboard/static/js/dashboard.js,
word 'cancel' needs to be translated in the Czech language as 'zrušit' but in another sentence as 'zrušení')
- added gettext for text translations.
2020-04-10 14:52:41 +05:30
Libor M
94864104e4
Added and fixed gettext usage for better translation coverage. Fixes #5284
...
1) Fixed usage gettext('') instead of _('') in javascript files.
2) Fixed usage gettext('') instead of `${gettext('')}` in javascript files,
because "pybabel extract" not support extracting from this syntax.
2020-03-24 11:14:05 +05:30
Murtuza Zabuawala
c9500a5122
Set proper focus on tab navigation for file manager dialog. Fixes #5107
...
- Show focus when the Tab key is pressed
- Pressing the Enter key on C:\ drive does not open it on Windows
2020-02-07 11:13:41 +05:30
Murtuza Zabuawala
989aa462f7
Set proper focus on tab navigation for file manager dialog. Fixes #5107 .
...
Initial patch sent by Ganesh Jaybhay
2020-01-31 11:43:30 +05:30
Aditya Toshniwal
8b99a33e6e
1) Ensure that path file name should not disappear when changing ext from the dropdown in file explorer dialog. Fixes #3812 .
...
2) Fix column resizable issue in the file explorer dialog. Fixes #4827 .
Used tablesorter's resizable widget.
2020-01-10 12:53:32 +05:30
Dave Page
01c7636c75
Update copyright notices for 2020.
2020-01-02 14:43:50 +00:00
Aditya Toshniwal
f1a18749f6
1) Allow screen-reader to read relationship attributes for tab, tabpanels and tables under it. Similar changes are done for subnode controls.
...
2) Add role="img" for font icons.
Fixes #4764
2019-12-17 13:22:36 +05:30
Aditya Toshniwal
a7d8b9de8c
Ensure that units are respected when sorting by file size in the File dialog. Fixes #4647
2019-11-01 15:00:34 +00:00
Aditya Toshniwal
f16498a8a7
Optimize Webpack to improve overall performance.
...
Changes include:
1) Remove underscore-string and sprintf-js packages as we were using only %s. Instead, added a function to do the same. Also changed gettext to behave like sprintf directly.
2) backgrid.sizeable.columns was not used anywhere, removed. @babel/polyfill is deprecated, replaced it with core-js.
3) Moved few css to make sure they get minified and bundled.
4) Added Flask-Compress to send static files as compressed gzip. This will reduce network traffic and improve initial load time for pgAdmin.
5) Split few JS files to make code reusable.
6) Lazy load few modules like leaflet, wkx is required only if geometry viewer is opened. snapsvg loaded only when explain plan is executed. This will improve sqleditor initial opening time.
Reviewed By: Khushboo Vashi
Fixes #4701
2019-10-10 12:05:28 +05:30
Aditya Toshniwal
9a69d27009
Fix webpack issue where multiple assets emit to the same file.
2019-09-13 11:08:08 +05:30
Murtuza Zabuawala
08b78fb6a1
Ensure we include the CSRF token when uploading files. Fixes #4350
2019-06-12 13:52:18 +01:00
Khushboo Vashi
6f0eafb223
Fixed CSRF security vulnerability issue. per Alvin Lindstam. Fixes #4217
...
Initial patch by: Khushboo Vashi
Modified by: Ashesh Vashi and Murtuza Zabuawala
2019-05-28 10:59:51 +05:30
Aditya Toshniwal
036bd66638
Fix file browser path issue which occurs when client is on Windows and server is on Mac/Linux. Fixes #4164
2019-05-03 11:58:06 +05:30
Dave Page
c548eac5ef
Append the file suffix to filenames when needed in the File Create dialogue. Fixes #4069
2019-03-14 15:48:21 +00:00
Khushboo Vashi
e4417229aa
Update all Python and JS dependencies. Fixes #4019
2019-03-14 15:11:16 +00:00
Aditya Toshniwal
a9794d8ab4
Ensure that file format combo box value should not retained when hidden files checkbox is toggled. Fixes #3840
2019-01-21 16:22:59 +05:30