Khushboo Vashi
63ba3402e8
Ensure SSL options are pushed down to external tools like pg_dump. Fixes #3122
2018-03-15 07:35:47 -04:00
Dave Page
3c686d3fbe
PEP-8 fixes
2018-03-13 17:30:07 -04:00
Khushboo Vashi
802269910c
Fix unicode handling in the external process tools and show the complete command in the process viewer. Fixes #2963 . Fixes #3157 .
2018-03-13 16:45:20 -04:00
Harshal Dhumal
aa1849c13a
Support tab navigation in dialogs. Fixes #2898
2018-02-27 11:18:36 +00:00
Murtuza Zabuawala
393ce53d2d
Fix PEP8 issues in the Tools module. Fixes #3063
2018-01-26 16:54:21 +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
bac9c77c4e
Cleanup some inconsistent error dialog titles. Fixes #2098
2017-12-02 05:12:40 +00:00
Surinder Kumar
c7686dee05
Unset compression ratio if it is an empty string in Backup module. Fixes #2582
2017-08-17 16:35:42 +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
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
Akshay Joshi
c2fb0394bf
Added support of Declarative Partitioning (Range, List) for PostgreSQL 10.
...
This allows the user to create partitioned table and it's partitions.
- Edit partitions, Create/Listing of constraints, rules, triggers under partitions. (Implemented by Harshal)
- Updating browser tree node when create/attach/detach partitions from table dialog.(Implemented by Ashesh)
2017-07-07 11:55:55 +05:30
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
Ashesh Vashi
4a46f7b1eb
Using client-side 'url_for' implementation in the backup module.
2017-06-13 10:59:11 +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
1cb2a62fa8
Ensure object names are properly escaped for external process management. Fixes #2405
2017-05-15 13:01:12 +01:00
Murtuza Zabuawala
155348d712
Fix the Backup module where it was not working if user changes its preference language other than english. Fixes #2354
2017-05-04 16:06:10 +01:00
Jonas Thelemann
37120bf199
(De)Capitalized strings to fit the common/usual format, corrected spelling, removed unnecessary characters.
2017-04-05 13:50:49 +01:00
Jonas Thelemann
65f21a8cd7
Replace all occurrences of "can not" with "cannot".
2017-04-05 13:38:14 +01:00
Surinder Kumar
aee1492d0d
Correct some EDB Postgres Advanced Server branding.
2017-03-21 10:12:26 +00:00
Murtuza Zabuawala
bc63652811
Fix the issue where Import/Export was failing in linux runtime. Fixes #2166
...
Issue:
Changes done by Ashesh in pgAdmin4.py file for setting up PYTHONHOME variable to sys.prefix was applicable only for windows only.
Additionally I have also added exception handling for file provided by user for Backup/Restore/Import/Export.
2017-03-09 09:54:55 +00:00
Ashesh Vashi
f2fc1ceba8
Resolved quite a few file-system encoding/decoding related cases.
...
In order to resolve the non-ascii characters in path (in user directory,
storage path, etc) on windows, we have converted the path into the
short-path, so that - we don't need to deal with the encoding issues
(specially with Python 2).
We've resolved majority of the issues with this patch.
We still need couple issues to resolve after this in the same area.
TODO
* Add better support for non-ascii characters in the database name on
windows with Python 3
* Improve the messages created after the background processes by
different modules (such as Backup, Restore, Import/Export, etc.),
which does not show short-paths, and xml representable characters for
non-ascii characters, when found in the database objects, and the file
PATH.
Fixes #2174 , #1797 , #2166 , #1940
Initial patch by: Surinder Kumar
Reviewed by: Murtuza Zabuawala
2017-03-07 15:31:03 +05:30
Dave Page
f221194bcc
Update copyright notices for 2017.
2017-01-04 13:33:32 +00:00
Khushboo Vashi
81841cdb3c
Treat databases with datallowconn=false appropriately. Fixes #1801
2016-12-09 11:59:13 +00:00
Dave Page
29743ad3c4
Allow selection of process output and commands.
2016-11-18 12:05:19 +00:00
Khushboo Vashi
5a1795e4a0
Fix quoting of objects names for external utilities. Fixes #1603 , fixes #1220 , fixes #1221
2016-10-21 14:57:19 +01:00
Murtuza Zabuawala
013ff1090e
Ensure PG/EPAS configuration warnings are shown appropriate for the server type. Fixes #1563
2016-08-18 17:18:20 +01:00
Harshal Dhumal
f78024808e
Prevent the user attempting to run external commands if the bin path is not configured. Fixes #1177
2016-08-08 11:59:37 +01:00
Murtuza Zabuawala
06e881570a
Fix numerous encoding issues. Fixes #1307 . Fixes #1479
2016-07-26 15:05:14 +01:00
Dave Page
60659975ed
Stop using deprecated imports.
2016-07-22 16:25:23 +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
Surinder Kumar
a563e17f9b
Make the backup and restore dialogues non-modal.
2016-06-21 09:25:31 +01:00
Surinder Kumar
eb5a97bc3c
Issue: Unable to create backup of database.
...
Regression of commit id: bc4703c5
2016-06-21 09:17:13 +01:00
Ashesh Vashi
3350eaceab
Use the same layout mechanism used as in the panel using elementary
...
layout support in different dialogs. Fixes #1358 .
2016-06-20 12:46:33 +05:30
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
fd6c43b393
String improvements.
2016-06-17 14:21:14 +01:00
Murtuza Zabuawala
bc4703c5b7
Fix the issue in backup/restore while selecting section-> data option, it was throwing error.. Fixes #1219
2016-06-17 14:01:30 +01:00
Dave Page
970d3aafbf
Help buttons for various dialogues.
2016-06-13 16:17:36 +01:00
Ashesh Vashi
954163b495
Resolved an typo in Backup dialog.
...
Reported by Susan Douglas.
2016-06-01 15:39:54 +05:30
Ashesh Vashi
adcaeeeaf8
Resolved an typo in Backup dialog.
...
Reported by Susan Douglas.
2016-06-01 13:43:57 +05:30
Ashesh Vashi
dca6951e74
Fixes #1218 - Backup table not working.
...
Send parameters in proper format to work it well with table backup.
Thanks Fahar for reporting it.
2016-05-24 12:09:31 +05:30
Ashesh Vashi
0840e6af2d
[Backup] Checking for 'only_data' parameter before accessing it.
...
Reported by Neel Patel
2016-05-24 12:02:49 +05:30
Akshay Joshi
3a9b331df6
Change the priority of Tools menu item
2016-05-19 13:53:49 +05:30
Ashesh Vashi
8bd17cb433
[Python 3 compatibility] Introduced a separate HTML safe string function
...
in 'utils' module, earlier the function -'escape(...)' was converting
the strings to bytes, and that's reason, it was not working on Python 3.
2016-05-16 11:58:42 +05:30
Ashesh Vashi
38bb45ec86
Adding backup as a allowed file type in the backup utility file-control
2016-05-16 02:19:41 +05:30
Ashesh Vashi
ca62825c90
Set PGPASSWORD environment variable from the process executor before running
...
the external utility.
2016-05-15 22:29:17 +05:30
Murtuza Zabuawala
2da3a710a1
Added support for restoring a tar/custom type backup file in a object.
...
Tweaked by Ashesh Vashi as below:
- Integrated it with the background process executor, and observer.
- Improved the message format of the backup module messages.
- Created an item in TODO list to list down the objects in the selected
backup file.
2016-05-15 20:00:02 +05:30