Commit Graph

688 Commits (0e76e4b5442a2a1190277a1ff362777f4556f040)

Author SHA1 Message Date
Selva Nair ad6f03f50f Merge pull request #118 from selvanair/validate-user
Check group membership without needing connection to DC

Acked-by: Gert Doering <gert@greenie.muc.de>
2017-03-07 08:28:55 -05:00
Selva Nair 55f00b87d9 Merge pull request #128 from selvanair/help-msg
Fix truncation of usage message shown when --help is used

Acked-By: Gert Doering <gert@greenie.muc.de>
2017-03-05 11:55:53 -05:00
Samuli Seppänen 470c886574 Merge pull request #140 from chipitsine/master
AppVeyor: stick to mingw64-%ARCH%-gcc-core-5.4.0-3
2017-03-01 09:53:38 +02:00
Ilya Shipitsin 4b36b12cff AppVeyor: temporarily stick to mingw64-%ARCH%-gcc-core-5.4.0-3
5.4.0-4 somehow breaks cross compile magic
2017-03-01 11:40:59 +05:00
Samuli Seppänen 8eda780b6f Merge pull request #135 from chipitsine/master
AppVeyor support
2017-02-28 11:43:56 +02:00
Selva Nair d4090a8842 Parse ECHO directives from openvpn
Support the following echo commands

- "echo forget-passwords": delete passwords internally saved by the GUI
  but do not disable the password save feature. Useful when pushed
  from the server so that it gets processed after authentication. Also see
  management-notes.txt in openvpn docs.

- "echo save-passwords": enables private-key and auth-user-pass passwords
  to be saved. Will be effective at startup only if present in the config
  file. If pushed from the server, will get used for subsequent
  password prompts. Essentially this has the effect of presenting the password
  dialogs to the user with save-password checkbox selected. The user may still
  uncheck it during the dialog.

Note: echo commands are processed as and when they are received and in the order
received.

TODO: support for "echo setenv name var", "echo disable-save-passwords" etc..

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-02-27 13:47:59 -05:00
Hexabitt 5ce1ec592a Completed all the missing translations 2017-02-24 15:14:07 +01:00
Selva Nair 921a4ed535 Check group membership without needing connection to DC
Current approach of querying the group membership of DOMAIN\username
fails for domain users if no DC is reachable. Instead authorize the
user if

(i) admin groups are found in the process token
(ii) or the SID of the user is a member of the admin groups

The second check is needed to support adding the user to the
ovpn_admin_group when GUI is running, as such changes in group
membership will not be reflected in the token.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-02-23 12:57:35 -05:00
Ilya Shipitsin 513dbff122 AppVeyor support 2017-02-23 21:37:53 +05:00
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
Selva Nair 4b716b4666 Fix truncation of usage message shown when --help is used
- Increase the buffer size used to load the usage string to 2048
  chars (defined by USAGE_BUF_SIZE in main.h)
- Make GetGUILanguage() visible outside localization.c

Trac: #833

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-01-30 22:30:26 -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
Selva Nair d662991d13 Close service pipe in case of startup error
Without this the service will continue to wait for input from GUI
and log pipe read errors to the event log.
Also fix a typo in the error messgae shown.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2017-01-14 22:27:05 -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
Peter Chen 21d022a1b4
UI clipping fix, and misc wording fix/redundant punc removed 2017-01-05 01:12:28 +08: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
Peter Chen 1b424a6f51
Update and fix localization in openvpn-gui-res-zh-hant.rc 2016-12-29 11:27:26 +08: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