Khushboo Vashi
a3007b7335
Ensure database driver names and description strings can be translated. Fixes #2190
2017-04-18 13:33:27 +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
0d566a6f3a
Changed switch label from True/False to Show/Hide for 'Package Functions' and 'Package Procedures' node in Preferences dialog.
2017-04-14 14:57:38 +05:30
Surinder Kumar
9bbc05051c
Remove some unused events.
2017-04-12 15:46:31 +01:00
Murtuza Zabuawala
019c1302cb
Update inode info when refreshing treeview nodes. Fixes #2336
2017-04-12 13:29:56 +01:00
Akshay Joshi
cbee76eac8
Align labels with switches properly.
2017-04-12 13:28:07 +01:00
Navnath Gadakh
62716c4193
Include passed test results in the JSON output from the regression tests.
2017-04-12 13:11:53 +01:00
Murtuza Zabuawala
7dd9efd811
Fix binary search algorithm so new treeview nodes are added in the correct position. Fixes #2331
2017-04-12 13:01:24 +01:00
Dave Page
fdf292964b
Bump version numbers for release.
2017-04-10 14:24:46 +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
Navnath Gadakh
79e81478e3
Fix a regression framework issue with Python 2.6.
2017-04-10 11:28:10 +01:00
RAJASEKAR G
024b97479d
Recover properly if a database is renamed externally. Fixes #2077
2017-04-10 11:09:01 +01:00
RAJASEKAR G
14f3a57d82
Ensure menus are updated after disconnecting a server. Fixes #2281
2017-04-10 09:35:21 +01:00
Dave Page
a2c4cb1606
Adding a delay clearly didn't fix the feature tests :-(
2017-04-07 15:33:41 +01:00
Dave Page
8a01cdfaf9
Add a 0.5 second delay to treeview node expansion in the feature tests, to try to (temporarily) allow for script loading time. Tentatively enable the feature tests in CI to see if it works.
2017-04-07 12:41:54 +01:00
Dave Page
de80545400
Include an example of running just the feature tests.
2017-04-07 12:37:00 +01:00
Murtuza Zabuawala
3dba7d8303
Fixes #2321 - [Browser Tree] Shows only the newly created node (not, all
...
other child node) of a parent node, when it has not been already loaded.
In order to resolve the issue - we will open the parent, and select the
created node, instead of adding it to parent node.
2017-04-07 08:58:43 +05:30
Dave Page
d55b8394cf
Oops, syntax error.
2017-04-06 16:13:42 +01:00
Dave Page
fcc122f290
Swap entries in karma.conf so test-main.js is matched first, per suggestion from Atira to fix the failing Jasmine tests.
2017-04-06 15:34:05 +01:00
RAJASEKAR G
3880bc7eb8
Fix validation on the table dialogue so the Save button isn't enabled if the name is removed and autovac custom settings are enabled. Fixes #2105
2017-04-06 09:56:52 +01:00
RAJASEKAR G
c758920890
Properly handle EXPLAIN queries entered directly by the user in the query tool. Fixes #2287
2017-04-06 09:46:42 +01:00
Begina Felicysym
9ac5bf4f12
Update the Polish translation
2017-04-06 09:36:10 +01:00
Dave Page
a412e3226f
Use a more appropriate output file name.
2017-04-06 09:34:19 +01:00
Navnath Gadakh
dd23f71478
Write a JSON file when regression tests run, listing results.
2017-04-06 09:33:29 +01:00
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
Dave Page
6d9cfa6679
Update translations
2017-04-05 14:03:17 +01:00
Jonas Thelemann
e66616b1d8
Add German translation Fixes #2323
2017-04-05 14:02:46 +01:00
Jonas Thelemann
ea2b3f43bd
Remove unnecessary quotes.
2017-04-05 13:58:47 +01:00
Jonas Thelemann
ddfa934357
Unified usage of "definition incomplete".
2017-04-05 13:55:00 +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
Maxim Zakharov
85db82c7f4
Avoid an unauthorised error if clicking on the logo in desktop mode.
2017-04-05 13:33:12 +01:00
Ashesh Vashi
4d55e8abe8
Resolved a typo in the previous commit.
2017-04-03 19:00:06 +05:30
Ashesh Vashi
02a3919b06
As per Murtuza, we will have the '__module__', when running as a WSGI
...
application, but - it will not have the '__file__' attribute.
2017-04-03 18:55:24 +05:30
Ashesh Vashi
b756407c3c
When running pgAdmin as a WSGI application, we will not be able to find
...
the '__main__' module under 'sys.modules'.
2017-04-03 18:44:53 +05:30
Murtuza Zabuawala
74655e60a0
Replace the '$DIR' only when found in the binary directory string.
2017-04-03 18:32:50 +05:30
Aravindraja Thinakaran
bb0bd8acc5
Properly handle truncated table names (> NAMEDATALEN). Fixes #2277
2017-04-01 02:57:48 -04:00
Harshal Dhumal
9acf340400
Generic function qtLiteral was not adapting values properly when they contain non ascii characters. Fixes #2305
2017-03-31 21:11:25 -04:00
Dave Page
4ba9269a88
Remove debug code.
2017-03-31 20:27:41 -04:00
Akshay Joshi
6a861f7a91
Add the config option ALLOW_SAVE_PASSWORD to allow admins to disable saving of passwords. Fixes #2232
2017-03-31 20:14:37 -04:00
Khushboo Vashi
efb077b7f7
Fix error highlighting in the query tool. Fixes #2291
2017-03-31 20:06:55 -04:00
Murtuza Zabuawala
08ff9d7422
Dialog Help was broken in case where query tool/Debugger opens in new browser tab. Fixes #2310
2017-03-31 16:08:05 +05:30
Maxim Zakharov
8005b05292
Fixes #2304 , #2145 - Resolve the issue for restoring the table from the backup.
...
Earlier - implementation was generating the backup code like as below:
XXX/pg_restore.exe --host "x.x.x.x" --port "xxxx" --username "osboxes" --no-password --dbname "test" --data-only --verbose --table "tt.test2" "XXX-FILE.bak"
It should have been:
XXX/pg_restore.exe --host "x.x.x.x" --port "xxxx" --username "osboxes" --no-password --dbname "test" --data-only --verbose --schema "tt" --table "test2" "XXX-FILE.bak"
2017-03-31 13:16:17 +05:30
Joao Pedro De Almeida Pereira
eb89998dc0
From a visual standpoint, grey highlight makes selection look deselected rather than selected. A brighter color would quickly provide visual feedback on an action.
...
With this patch the color of selected rows look more highlighted.
2017-03-30 22:56:13 -04: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
7450c2df0d
Revert code cleanup that wasn't 2.6 compatible.
2017-03-27 21:27:17 -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
633d2ad28c
Fix the bin path preferences.
2017-03-27 12:25:59 -04:00
Akshay Joshi
757500c478
Ensure preferences are properly saved the first time they're set.
2017-03-27 12:19:28 -04:00
Dave Page
b2ab35e990
Don't require an auth key for the static help files. It doesn't play nicely with webkit.
2017-03-26 21:52:31 -04:00
Jonas Thelemann
c391696054
Remove some unnecessary line breaks causing problems with translations.
2017-03-26 20:26:58 -04:00
Sarah McAlear
66815643a9
Fix a cleanup SQL query to enable running feature tests on CI against Greenplum.
2017-03-25 22:09:00 -04:00
Dave Page
6152d73f13
Fix some code inspection complaints
2017-03-25 22:04:52 -04:00
Dave Page
a6fa35789c
Fix broken markup
2017-03-25 22:04:52 -04:00
Dave Page
4f27afc99b
Ensure the spinner doesn't obscure the version
2017-03-25 22:04:52 -04:00
Dave Page
e0f7a1cde6
Add a simple tool to minimise CSS and JS files (for future use)
2017-03-25 22:04:52 -04:00
Akshay Joshi
569ceb3906
Modify the web code to allow the Query Tool and Debugger to be opened in new tabs, per settings in Preferences. Fixes #1344
...
Note that this does *not* enable the runtime to use multiple windows at this stage. It's really only useful in Server mode.
2017-03-24 14:43:56 +00: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
Dave Page
6cb9ece6fd
Decode error messages before trying to use them.
2017-03-24 14:11:31 +00:00
Wayne Winch Jr
5f2a15dd6d
Fix deletion of rows where the primary key isn't at ordinal zero. Fixes #2274
2017-03-24 13:32:56 +00:00
Murtuza Zabuawala
d4e88217eb
Added timeout in _wait_timeout function in our psycopg2 module.
...
Fixes debugger module, Added common function to covert 2d array data to dict for BackGrid.
2017-03-24 14:01:59 +05:30
Dave Page
d205550b53
Fix Python 3 compatibility.
2017-03-23 13:43:24 +00:00
Dave Page
8748ee20cb
Client side translation.
2017-03-23 12:35:28 +00:00
Dave Page
59a6a08e8a
Add file missed from the previous commit.
2017-03-23 12:06:13 +00:00
Atira Odhner
10920404e1
Re-organised the regression directory now we have multiple test suites: move test_utils.py into python_test_utils/
2017-03-23 11:59:31 +00:00
Atira Odhner
fe9bc379c7
Replace the template selection feature test with one that tests table DDL generation (which also covers template selection).
2017-03-23 11:47:21 +00:00
Atira Odhner
77007996ed
Support generation of DDL for tables in Greenplum DB. Fixes #2261
2017-03-23 11:40:06 +00:00
Atira Odhner
0ba0b25290
Move foreign key templates into a default directory.
2017-03-23 11:13:06 +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
Dave Page
5b12fd6d5f
Client-side translation for the About and Dashboard modules.
2017-03-22 12:57:59 +00:00
Ashesh Vashi
90a369b7de
[Extendible][Dashboard] Allow to create a server clicking the
...
'Add New Server' button on the dashboard, even when the first node is
of not type of 'server-group' in the browser tree.
2017-03-21 22:58:07 +05:30
Harshal Dhumal
2142824448
PRevent an error being displayed if the user views data on a table with no columns. Fixes #2244
2017-03-21 16:40:21 +00:00
Surinder Kumar
aee1492d0d
Correct some EDB Postgres Advanced Server branding.
2017-03-21 10:12:26 +00:00
Ashesh Vashi
4eafdbeff6
Resolved a typo - show a '?' after the 'Show timing' preference.
2017-03-21 11:17:35 +05:30
Dave Page
4ff082ee74
Use correct file header for a JS file.
2017-03-20 19:32:52 +00:00
Ashesh Vashi
72128df75c
[Extendible][Dashboard] Allow to show the dashboard of their choice for
...
the selected node in the browser tree.
2017-03-20 19:17:47 +05:30
Sarah McAlear
c9e04fec8d
Show tooltips for disabled buttons to help user learning. Fixes #2226
2017-03-20 10:33:35 +00:00
Murtuza Zabuawala
145983d544
Add miissing braces to reverse engineered SQL header block for Functions. Fixes #2246
2017-03-17 12:48:58 +00:00
Murtuza Zabuawala
461086c17d
Fix View Data filter options. Fixes #2265
2017-03-17 12:45:59 +00:00
Murtuza Zabuawala
e9702752d9
Fix hadling of DATERANGE[] type. Fixes #2258
2017-03-17 12:40:08 +00:00
Harshal Dhumal
e4134695e5
Fix dropping of databases with Unicode names. Fixes #2243
...
1. Pickup correct encoding in qtLiteral to decode.
2. While releasing database connection only decode database name if it's not unicode.
2017-03-17 10:33:03 +00:00
Dave Page
648c332488
Import from flask_babel instead of the deprecated flask.ext.babel. Fixes #2264
2017-03-17 10:22:41 +00:00
Atira Odhner
4464be6f43
Fix a typo and remove an unnecessary copy of the column properties template.
2017-03-17 10:02:52 +00:00
Dave Page
b2a74ad26d
Fix a bunch of file headers.
2017-03-16 14:27:55 +00:00
Joao Pedro De Almeida Pereira
6ad6bf5aab
Update test requirements to include a version of Selenium that supports Chrome 57, and the chromedriver installer.
2017-03-16 09:53:26 +00:00
Atira Odhner
2abd3724c2
Ensure the screenshots directory exists before trying to save regression test screenshots
2017-03-15 22:06:04 +00:00
Dave Page
cc4686f1bb
README improvements.
2017-03-15 17:16:02 +00:00
Atira Odhner
dbddad50bf
Move the package.json file to the web/ directory
2017-03-15 17:15:16 +00:00
Atira Odhner
5593faf2a4
Move the karma config and node_modules into the web directory.
2017-03-15 17:13:55 +00:00
Atira Odhner
ae0d8e89eb
Fix the path to JS
2017-03-15 17:12:58 +00:00
Atira Odhner
889050b71d
Fix quotes to ensure we have valid JS.
2017-03-15 17:11:53 +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
Atira Odhner
2f84156dc6
Add Jasmine test framework for JS testing.
2017-03-15 17:09: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
Dave Page
1c6f30a0ed
Remove \n in translation that was causing a syntax error.
2017-03-13 10:39:36 +00:00