Commit Graph

375 Commits (7ec7ad10ed59c88f81464b0c3a8a261069732a7e)

Author SHA1 Message Date
Samuli Seppänen 7ec7ad10ed Merge pull request #133 from chipitsine/master
travis-ci: update openssl, add "builds from release tarballs"
2017-02-20 16:26:20 +02:00
Ilya Shipitsin 6904622b8b travis-ci: update openssl, add "builds from release tarballs" 2017-02-18 23:34:31 +05:00
Samuli Seppänen 2b1e2235c9 Merge pull request #132 from mattock/master
Fix builds from release tarballs
2017-02-17 10:57:30 +02:00
Samuli Seppänen debbdc0122 Fix builds from release tarballs
The openvpn-gui-res-cs.rc file was not included in release tarballs, which made
tarball-based builds fail.

URL: https://github.com/OpenVPN/openvpn-gui/issues/131
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2017-02-16 13:35:30 +02:00
Samuli Seppänen 45aed18a25 Merge pull request #108 from selvanair/win32-vista
Update _WIN32_WINNT to _WIN32_WINNT_VISTA
2017-02-02 10:13:30 +02:00
Selva Nair da6d0c63b1 Merge pull request #110 from EagleErwin/patch-1
Translate missing Dutch strings and minor changes
2017-02-01 20:57:25 -05:00
Selva Nair 2a71877f18 Update _WIN32_WINNT to _WIN32_WINNT_VISTA
Also define WINVER used by some header files.
The change will help warn against use of API calls not in vista.
The original setting of this macro to  _NTDDI_WINXP was wrong and
permitted use of any API not just those supported by WinXP. Build
is unaffected as we currently do not have any function calls not
present in Vista.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-01-31 11:30:42 -05:00
Selva Nair be3d367abc Merge pull request #126 from Ashus/master
Czech translation added
2017-01-31 10:37:56 -05:00
Selva Nair bcdfaa73ce Merge pull request #116 from chipitsine/manifest
added Windows Vista/Win7/Win8/Win8.1/Win10 to compatibility manifest
2017-01-31 10:26:22 -05:00
Ashus a157944ccf Translation corrected by another developer, Elieux.
Signed-off-by: Ashus <github.com@ashus.net>
2017-01-27 20:57:22 +01:00
Ashus 2c6f1fa905 Czech translation added
Signed-off-by: Ashus <github.com@ashus.net>
2017-01-26 23:56:39 +01:00
Selva Nair f35308d7d2 Merge pull request #123 from Chocobo1/ldflags
Enable ASLR & DEP
2017-01-22 14:42:31 -05:00
Chocobo1 2df33816ed Use high entropy ASLR 2017-01-22 13:20:39 +08:00
Chocobo1 d2a8c8d1ff Enable ASLR. Closes #119.
Workaround provided by Selva Nair.
2017-01-22 13:19:34 +08:00
Samuli Seppänen 2f2516c340 Merge pull request #124 from Chocobo1/badge
Add title and TravisCI badge to README.rst
2017-01-19 12:06:12 +02:00
Chocobo1 c433caed72 Add title and TravisCI badge to README.rst 2017-01-18 23:12:43 +08:00
Chocobo1 b350b0e1bc Enable DEP 2017-01-18 15:42:02 +08:00
Selva Nair 01281d1f1d Merge pull request #121 from mattock/docfixes
Documentation improvements
2017-01-16 09:57:46 -05:00
Samuli Seppänen 0e379dd371 Documentation improvements
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2017-01-13 09:24:22 +02:00
Ilya Shipitsin dd33b9068d added Windows Vista/Win7/Win8/Win8.1/Win10 to compatibility manifest 2017-01-08 03:57:35 +05:00
Selva Nair 5af421861d Merge pull request #112 from selvanair/master
Some error reporting improvements
2017-01-04 17:11:53 -05:00
Selva Nair 9cea37ad80 Suppress warning popups if silent_connection is set
Warnings dsabled if silent_connection is true
- interactive service is not installed or not running
- duplicate configs found and ignored

v2: Update description of --silent_connection in README
and English resource file (translations not updated).

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-01-03 11:28:45 -05:00
Selva Nair 91b3eef40a Mark status as connected only if openvpn reports CONNECTED,SUCCESS
Avoid reporting a connection that completed with errors (state change
message = CONNECTED,ERROR) as successful.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-01-02 14:23:01 -05:00
Erwin Bronkhorst 3abcdef46c Translate missing Dutch strings and minor changes 2016-12-29 14:48:32 +01:00
Samuli Seppänen d82471d927 Preparing for release with openvpn-2.4_rc2
Bump version to 11.4.0.0

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-12-16 14:07:05 +02:00
Samuli Seppänen 9dd45d9ab6 Merge pull request #107 from selvanair/use-metric
Load icons at sizes given by DPI-dependent system metric
2016-12-14 21:59:02 +02:00
Selva Nair 2f2ddbf3a8 Load icons at sizes given by DPI-dependent system metric
- Check system metric for large and small icon sizes and
  try to load the correct size instaed of scaling from one size.

Scaling will still happen if the required size is not available
in the icon resource. As we add more icon sizes they will
get automatically used as needed.

LoadImage scales up from next smallest size available. Revisit this
when LoadIconWithScaleDown (Vista+) becomes available in mingw.

Resolves Trac: #772 (icon scaling issue)

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-12-08 16:01:58 -05:00
Selva Nair 8880f92402 Merge pull request #103 from aixxe/master
Add 24x24 and 20x20 versions of each icon.
2016-12-08 13:06:20 -05:00
aixxe 270ea5f160 Add 24x24 and 20x20 versions of each icon.
Signed-off-by: aixxe <me@aixxe.net>
2016-12-06 10:12:40 +00:00
Samuli Seppänen be8a9ae423 Merge pull request #102 from mattock/master
Preparing for release with openvpn-2.4_rc1
2016-12-02 10:24:55 +02:00
Samuli Seppänen 3439d001cc Preparing for release with openvpn-2.4_rc1
Bump version to 11.3.0.0

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-12-02 08:37:42 +02:00
Samuli Seppänen 8020ee1071 Merge pull request #91 from selvanair/pkcs11-pin-v3
pkcs11 pin prompt
2016-11-30 22:18:34 +02:00
Samuli Seppänen 8f57172c2d Merge pull request #99 from selvanair/dpi-aware
Make the program DPI aware
2016-11-30 08:34:01 +02:00
Selva Nair 5f18ede108 Merge pull request #100 from selvanair/about-update
Copy updated copyright to language files
2016-11-30 01:13:11 -05:00
Selva Nair 6ce96ee3ae Rendering/Positioning fix
- Adjust widget positioning for text to render without
  clipping. Several language resource files affected.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-11-27 21:40:20 -05:00
Selva Nair 7033d5c1aa Copy updated copyright to language files
- Copy updates to copyright by commit 32c31ab942 in
  Englishc to all other language files.
- Change version displayed in About page to the form
  "a.b.c.d"
- General settings dialog is incomplete in chinese:
  copy from English version.

- Add the word "OpenVPN" in the About page of Norwegian
  mistakenly removed by commit d81b93d487..

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-11-27 20:41:08 -05:00
Selva Nair 6c9d8f6ed7 Merge pull request #85 from stigok/patch-1
Update Norwegian translation

Acked-by: David Sommerseth <davids@openvpn.net>
2016-11-27 18:55:24 -05:00
Stig Otnes Kolstad d81b93d487 Update Norwegian translations 2016-11-27 23:33:16 +01:00
Samuli Seppänen 10951c6160 Merge pull request #94 from zhovner/master
Fix Ukrainian localization
2016-11-25 20:11:01 +02:00
Samuli Seppänen df3679f4c9 Preparing for release with openvpn-2.4_beta2
- Bump version to 11.2.0.0

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-11-25 09:27:16 +02:00
Samuli Seppänen e7ff5a4c13 Merge pull request #93 from ValdikSS/russian-fixes
Russian translation updates
2016-11-21 17:39:39 +02:00
Samuli Seppänen f856b9aeea Merge pull request #98 from selvanair/version-info
Update version-info resource
2016-11-21 16:10:58 +02:00
Samuli Seppänen 6bed7668b7 Merge pull request #96 from chipitsine/master
travis-ci: upgraded to openssl-1.0.2i
2016-11-21 13:10:37 +02:00
Selva Nair 5fe0d5225e Make the program DPI aware
- Set dpi-awareness to true in the manifest (i.e., "system-dpi aware")
- Check system dpi and scale and/or position widgets and windows
  that depend on the system dpi (only components within the status
  window are affected).

Note: Declaring dpi awareness eliminates automatic rescaling of
windows that causes blurred text on high dpi monitors.
Windows 8.1 and later allow per monitor dpi setting which is
not handled here.
2016-11-19 21:57:39 -05:00
Selva Nair dca8160a37 Update version-info resource
- Add PRODUCTVERSION to the VERSIONINFO resource.
  Without this some versions of Windows (e.g., Server 2008 32bit)
  displays Product version = 0.0.0.0, File version = 11.1.0.0

- Also define the file and product versions in the stringinfo block
  as a stringified form of PACKAGE_VERSION_RESOURCE (e.g., "11.1.0.0").
  Windows versions that take the Product version from this block
  will now get the same value as older versions that use PRODUCTVERSION.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-11-18 17:54:00 -05:00
Samuli Seppänen 23771164a2 Merge pull request #97 from selvanair/master
Preparing for release with openvpn-2.4_beta1
2016-11-18 09:44:44 +02:00
Selva Nair 08ec365d4f Preparing for release with openvpn-2.4_beta1
- Bump version to 11.1.0.0

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-11-17 21:39:19 -05:00
Ilya Shipitsin 36c5fdd6d8 travis-ci: upgraded to openssl-1.0.2i 2016-11-17 00:50:58 +05:00
Selva Nair be417bb38f Support pkcs11 token insertion request and pin input
Note: IDS_NFO_TOKEN_PASSWORD_CAPTION and IDS_NFO_TOKEN_PASSWORD_REQUEST
strings need translation.

TODO: support for selecting pkcs11-id from the GUI

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-11-15 19:29:23 -05:00
Selva Nair 1a5ce44a99 Handle dynamic challenge/response
- Add a base64 decode function using Windows CyptoAPI
- Move multibyte to widechar conversions to a function
- Add config name to caption of password dialogs to help user
  identify the request
- Add new dialog template for generic password/PIN requests
  and use it to handle dynamic challenge

Note 1: if dynamic challenge response verification fails, an auth-failed
message is returned by the server causing the GUI to clear any saved
password even if the user-auth dialog itself succeeeded.

Note 2: Dialog template ID_DLG_CHALLENGE_RESPONSE added to language
files may require translation.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-11-15 19:14:32 -05:00