Commit Graph

2733 Commits

Author SHA1 Message Date
Dave Page
fa07400fdd Hack to compile PyCrypto with VC++ 2018-05-23 13:04:58 +01:00
Dave Page
dab5d94b7c Fix PyCrypto if using Python 3. 2018-05-23 10:00:46 +01:00
Dave Page
2c6938491e Add missing . 2018-05-23 08:48:26 +01:00
Dave Page
fa57c02d0e Add some more missing CALL statements 2018-05-22 16:35:55 +01:00
Dave Page
83bee60fa4 CALL all external programs, or labels cannot be found. 2018-05-22 16:16:30 +01:00
Dave Page
81a5e1ffd3 Minor fixes 2018-05-22 15:41:10 +01:00
Dave Page
0b5912b09c Handle dependencies that may or may not be present. 2018-05-22 14:40:44 +01:00
Dave Page
5780719035 There's no need to activate/deactivate/activate the venv. 2018-05-22 14:01:13 +01:00
Dave Page
f0f530e824 Returning %ERRORLEVEL% is proving unreliable. Just return 1 instead if there's an error. 2018-05-22 13:39:03 +01:00
Dave Page
0bf89f3dc0 Need to CALL Yarn. 2018-05-21 15:34:08 +01:00
Dave Page
d5e48ecdc2 Further windows make script cleanup. 2018-05-21 15:06:14 +01:00
Dave Page
066a59d89c Don't barf on nested parentheses as we may find on 64 bit systems. 2018-05-21 12:54:19 +01:00
Dave Page
e1a3caa780 Major cleanup of the Windows installer build script. 2018-05-18 13:27:57 +01:00
Aditya Toshniwal
6492dacbb2 Ensure the debugger container has focus when loaded. Fixes #3295 - this time on Firefox too! 2018-05-18 11:33:42 +01:00
Aditya Toshniwal
a4ed9d6976 Allow connections to servers with port numbers < 1024 which may be seen in container environments. Fixes #3307 2018-05-18 11:12:38 +01:00
Akshay Joshi
28126a0a0d Fixed pep8 issue for last commit. 2018-05-18 11:30:40 +05:30
Akshay Joshi
fb0c322ccf Correct the logic to set the SUPPORT_SSH_TUNNEL flag, if the flag is set the False in local config file, then we should not override it. 2018-05-18 11:26:11 +05:30
Akshay Joshi
719938a14c Fixed issue where 'Identity file' control of SSH Tunnel tab is enabled when database is connected and 'Use SSH tunneling' flag is set to No. 2018-05-17 17:18:00 +05:30
Anthony Emengo
a7ee85619d Using the '.eslintignore' config file for excluding the temporary,
vendor specific, and templates files, instead of writing our own logic
to do so.

Patch by: Anthony & Joao
Reviewed by: Khushboo
2018-05-17 11:34:04 +05:30
Dave Page
bd356ff9fa Fix a couple of find/replace errors. 2018-05-16 16:35:23 +01:00
Dave Page
765e0d03be Further cleanup of the environment setup 2018-05-16 16:31:41 +01:00
Dave Page
76749efb12 Further cleanup of the environment setup 2018-05-16 16:26:00 +01:00
Dave Page
9f8f1e8972 Rough cleanup of the environment setup 2018-05-16 16:15:44 +01:00
Dave Page
6d33542b24 PGDIR isn't needed in the path and we shouldn't have random Mingw paths hard-coded. 2018-05-16 14:39:58 +01:00
Dave Page
ae03b7c226 PYTHON_VERSION is set automatically. Use it to conditionally fix the backports module. 2018-05-16 14:28:15 +01:00
Dave Page
246c434b61 No need to define PGADMIN4_USE_WEBKIT any more. 2018-05-16 13:33:53 +01:00
Dave Page
4496a97a97 Assume Yarn and Node are always in the path 2018-05-16 11:58:57 +01:00
Dave Page
7a1d9c750a Use VCINSTALLDIR instead of VCDIR, as that is set by Visual Studio 2018-05-16 11:56:30 +01:00
Akshay Joshi
ccf58570b1 Support running feature tests against Firefox. Fixes #3270 2018-05-15 15:10:11 +01:00
Dave Page
8d9e9eab13 Allow "make" to be overridden in the environment. 2018-05-14 17:08:40 +01:00
Dave Page
fe81ae3285 Correct error message 2018-05-14 16:16:18 +01:00
Anthony Emengo
ab27b9d118 Fix template handling in tests for Windows. 2018-05-14 15:47:38 +01:00
Joao De Almeida Pereira
bc4d16eb83 Initial version of the new tree implementation.
This is the first version of our Tree implementation. At this point is a
very simple tree without no abstractions and with code that eventually
is not very performant, but this is only the first iteration and we are
trying to follow the 'Last Responsible Moment Principle' [1].

Implemention details:
- Creation of PGBrowser.treeMenu
- Initial version of the Tree Adaptor 'pgadmin/static/js/tree/tree.js'
- TreeFake test double that can replace the Tree for testing purposes
- Tests, As an interesting asside because Fake’s need to behave like
  the real object you will noticed that there are tests for this type
  of double and they the same as of the real object.

[1] https://medium.com/@aidanjcasey/guiding-principles-for-an-evolutionary-software-architecture-b6dc2cb24680

Patched by: Victoria && Joao
Reviewed by: Khushboo & Ashesh
2018-05-14 18:00:23 +05:30
Aditya Toshniwal
a34b3f27d4 Fix webpack config regexps to be more Windows-friendly. 2018-05-11 10:23:37 +01:00
Akshay Joshi
252a9b265b Ensure server cleanup on exit only happens if the server actually started up. Fixes #3277 2018-05-11 09:33:09 +01:00
Murtuza Zabuawala
e17b62c055 Using the latest version (v2.3.0) of jquery.event.drop. 2018-05-10 13:26:10 +05:30
Ashesh Vashi
ccdc1a6c74 Revert back to jquery version 1.12.4 until we fix the jasmine testsuite, which is failing with jQuery (v3.0+) 2018-05-10 13:24:42 +05:30
Murtuza Zabuawala
a02a4eb51a Using the latest version (v2.3.0) of jquery.event.drag to fix the
jasmine testsuite.
2018-05-10 12:24:54 +05:30
Joao De Almeida Pereira
b8f49daeb8 Change the order of the shims in the shims file.
Patch by: Victoria && Joao
Reviweb by: Khushboo
2018-05-10 12:06:43 +05:30
Ashesh Vashi
b8d0db7e7a Using the 'webcabin-docker' from new repository, which contains fixed
for supporting jQuery 3.0+.

Also - updated the jquery version to '^3.0'.
2018-05-10 12:02:33 +05:30
Dave Page
26ae8318f2 Release notes update. 2018-05-09 14:28:15 +01:00
Khushboo Vashi
ba23ba9b8b Ensure the debugger container has focus when loaded. Fixes #3295 2018-05-09 14:26:50 +01:00
Dave Page
0ffd3d0451 Update release notes 2018-05-09 14:06:17 +01:00
Murtuza Zabuawala
a68dac97c4 Set SESSION_COOKIE_SAMESITE='Lax' per Flask recommendation to prevents sending cookies with CSRF-prone requests from external sites, such as submitting a form. Fixes #3342 2018-05-09 14:04:50 +01:00
Aditya Toshniwal
5b86a67a41 Fixed query tool keyboard issue where arrow keys were not behaving as expected for execute options dropdown. Fixes #3298 2018-05-09 13:05:22 +05:30
Dave Page
5960644bae Fix ordering of changes in release notes. 2018-05-08 11:04:53 +01:00
Akshay Joshi
39ea7c2916 Updated release note for 3.1 2018-05-08 14:38:51 +05:30
Dave Page
c68848e7f3 Ensure the runtime core application is setup before trying to access any settings. Fixes #3333 2018-05-08 09:54:33 +01:00
Khushboo Vashi
3ac3e73daf Fixed layout of the alertify error message in the query tool. Fixes #3310 2018-05-07 16:04:47 +05:30
Khushboo Vashi
567f764234 Backup, Maintenance and Restore should not be started if database name contains "=" symbol. Fixes #1220 #1221 2018-05-07 15:09:12 +05:30