Commit Graph

200 Commits (577d982b51670f7f68d6dad9d0bf08f8a01879ba)

Author SHA1 Message Date
Samuli Seppänen fa5e306b4e Fixed clipping errors in the Finnish translation
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2017-05-16 15:51:06 +03:00
Samuli Seppänen 9a4ad06b65 Add missing strings to Finnish translation
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2017-05-12 10:10:20 +03:00
JoungKyun Kim f1599fa3e4 fixed typo 2017-05-10 14:15:01 +09:00
JoungKyun Kim 79add8b8ba fixed font size(increse to 9), font name(changed Malgun Gothic) and text position 2017-05-10 14:15:00 +09:00
JoungKyun Kim ea0e8b6bb4 add Korean localization by JoungKyun Kim 2017-05-10 14:14:06 +09:00
Samuli Seppänen fa2fd383ec Merge pull request #136 from Hexabitt/patch-1
Completed all missing translations to french
2017-03-22 10:55:07 +02:00
Hexabitt 68d80cc80d Update openvpn-gui-res-fr.rc 2017-03-19 01:13:09 +01:00
Samuli Seppänen 86a57aee0b Merge pull request #146 from Chocobo1/pr_109
Update and fix localization for zh-hant
2017-03-13 19:31:16 +02:00
Chocobo1 20dd73dec7 Address review comments 2017-03-12 22:30:55 +08:00
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
Hexabitt 5ce1ec592a Completed all the missing translations 2017-02-24 15:14:07 +01: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 be3d367abc Merge pull request #126 from Ashus/master
Czech translation added
2017-01-31 10:37:56 -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 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
Ilya Shipitsin dd33b9068d added Windows Vista/Win7/Win8/Win8.1/Win10 to compatibility manifest 2017-01-08 03:57:35 +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
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
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 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 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
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 e7ff5a4c13 Merge pull request #93 from ValdikSS/russian-fixes
Russian translation updates
2016-11-21 17:39:39 +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
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
Pavel Zhovner 3aafabf8f5 fix Ukrainian localization 2016-11-13 15:47:28 +03:00
ValdikSS 3648896b33 More Russian fixes 2016-11-13 13:32:20 +03:00
ValdikSS 10c2a74312 Russian translation updates 2016-11-13 13:10:00 +03:00
Samuli Seppänen 32c31ab942 Update About page
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-10-21 11:15:33 +03:00
Samuli Seppänen d3581746cb Merge pull request #80 from chipitsine/master
cleaned up unused resource
2016-10-11 15:12:20 +03:00
Ilya Shipitsin 0f531dc3ee cleaned up unused resource 2016-09-24 17:17:23 +05:00
Selva Nair 395caf88db Improve the message shown when no config files are found
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-09-19 21:46:06 -04:00
Samuli Seppänen dbe459f418 Merge pull request #71 from ValdikSS/master
Update Russian translation
2016-09-17 12:22:56 +03:00
Samuli Seppänen 8226f17eff Merge pull request #72 from ValdikSS/nonewline
No new line for "Starting this connection requires membership in"
2016-08-29 11:57:03 +03:00
ValdikSS 7ab7f47fda Fix Italian typo 2016-08-28 22:26:42 +03:00
ValdikSS 06218b4f69 Update Russian translation v3 2016-08-28 22:24:13 +03:00
ValdikSS f2439c7970 Update Russian translation v2 2016-08-24 23:01:33 +03:00
ValdikSS e55de21e37 No new line for "Starting this connection requires membership in" 2016-08-24 19:51:47 +03:00
ValdikSS 187f646fa8 Update Russian translation 2016-08-24 13:07:35 +03:00
Ilya Shipitsin 3e57007f2b more russian translation 2016-08-24 00:05:33 +05:00
Selva Nair 5a47986ccb Make options saved in registry editable by user
Option ediitng dialogs are in two tabs: General and Advanced.
Proxy related options are left in the proxy tab. Options
config_dir, config_ext, log_dir, script timeouts and
service-only flag are in the Advanced tab. All other more commonly
used flags and options are in the General tab.

- As options are editable, save values in registry only when they differ
  from the default values. This leaves the registry clean and makes changing
  options and their defaults during updates easier.

- Entries for config_dir and log_dir must be absolute paths.
  Environemental variables such as %PROFILEDIR% may be used
  to construct these.

- Empty config_dir, config_ext and log_dir entries are silently
  ignored (i.e., the current values are left unchanged).

- Store all numeric and boolean parameters in registry as DWORD instead of
  strings.

- On startup, the default parameters are loaded, then the registry is read
  and finally command-line parameters parsedi.

- Out of range script timeout values in registry truncated with a
  warning instead of fatal error. This allows the user to access the
  settings dialog and make corrections.

- Save proxy and language settings under the same
  HKCU\Software\OpenVPN-GUI key as other options instead of under Nilings.

- Save the current version of the GUI in regsitry so that updates
  can be detected and any needed registry cleanup done.

- If no version info is present in the registry any values in OpenVPN-GUI
  key in HKCU are deleted for a clean start as this is the first version
  to save registry values in HKCU. Language and proxy data if present
  under Nilings is migrated.

Note: new controls in the General tab and newly added Advanced tab dialog
are copied to all language files from the English version. These need to
be translated.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-08-06 11:46:15 -04:00
Selva Nair 1c748e382d Simplify some parameters and registry keys
- Replace allow_password by a runtime check that enables password
  change menu only when the user has write-access to the key file.
- Read exe_path and priority from HKLM and do not duplicate in HKCU.
- Always allow the user to view the config: edit will succeed if user
  has write access.
- Always include the proxy settings tab which is the default.
- Remove the unused power event handling and disconnect_on_suspend key.
- Remove password_attempts -- user can stop the password dilaog
  by clicking cancel.
- Remove allow_service: implicitly enabled if service_only is used.
- Deprecate removed options in cmd-line parser
- Update README.rst
- Close config file before exit in GetKeyFileName
- Close thread and dialog handles in passphrase.c

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-08-06 11:46:15 -04:00
Ilya Shipitsin 1f60125439 save pass: russian translation 2016-07-22 16:34:43 +05:00
Frank Fesevur 6a0e681b67 Update Dutch translation 2016-07-15 19:56:42 +02:00
Selva Nair 5880fdcd02 Save username and optionally passwords
- Username and, optionally, password as well as the private
  key passphrase are saved in config-specific registry keys
- All saved data are kept encrypted using DPAPI
- The passphrase dialog is skipped if a valid saved private
  key password is available. However, the user-auth dialog
  is always presented, prefilled with the saved username
  and password.

Note: A text string "Save password" is added to three dialogs
in all language resource files. Additional text with ids
IDS_MENU_CLEARPASS and IDS_NFO_DELETE_PASS are added to the
STRINGTABLE only in the English language resource file.
All these need translations.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-05-29 19:35:30 -04:00
Leonardo Basilio ece6aef6a6 Launch on startup setting 2016-05-22 22:05:42 -03:00
Ilya Shipitsin 727eaee0c5 fix the following "warning"
x86_64-w64-mingw32-windres: warning: 5: 230: 1033: duplicate value
2016-05-12 14:34:09 +06:00
Frank Fesevur aba703fa8e Fix typos and reword on some texts 2016-04-09 22:45:13 +02:00
Frank Fesevur 749c9a5293 Add all missing texts and translate them.
As mentioned in #30 some text where still missing. This adds
all those texts and adds the texts that were added by #26 as well.
2016-04-07 21:43:05 +02:00
Samuli Seppänen cc1b676524 Merge pull request #26 from selvanair/iservice-restrictions
handle iservice policy restrictions
2016-04-04 10:42:57 +03:00
Selva Nair 1df1b62f4b Merge pull request #30 from ffes/nl-2016-03
Improve many Dutch translations
2016-03-22 23:25:12 -04:00
aixxe 2f1892fb8e Added 32x32 versions of each icon. 2016-03-22 16:30:33 +00:00
aixxe 177b5fc5dd Add Windows 8 styled system tray icons. 2016-03-22 12:08:35 +00:00
Leonardo Basilio bdb0350398 Improving PT translation 2016-03-17 13:14:55 -03:00
Frank Fesevur e4126de781 Improve many Dutch translations 2016-03-16 14:56:30 +01:00
Selva Nair 43d0ef3a5a Handle interactive service policy restrictions
When a connection is attempted using a config in a location
that would fail, offer an option to add the user to the "OpenVPN
Administrators" group. This is done using shell-execute which will
show a UAC prompt for elevation. If it fails (due to user chooses
NO or the UAC dialog fails) the connection is not started.

v2 Changes
 - Rebase to master
 - Automaticlaly add the admin group if it doesn't exist
 - Allow unicode strings in debug output
 - Use domain\username to identify user
 - Fix the PrintDebug macro

Minor changes based on user feedback
 - Bring the window back to foreground after UAC prompt completion
 - Show a message if another connection is tried during authorization
 - Do not add user to ovpn_admin_group if it is same as the built-in admin group

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-03-13 20:23:20 -04:00
Samuli Seppänen f1ce93e5d5 Merge pull request #18 from selvanair/user-config-dir
Support user and global config directories
2016-03-08 11:22:29 +02:00
Selva Nair 77538dd0d0 Support user and global config directories
- Set default config directory (config_dir) to %UserProfile%\OpenVPN\config
  (saved and read back from HKCU\Software\OpenVPN-GUI\config_dir)

- Add a global_config_dir variable read from HKLM\Software\OpenVPN\config_dir
  or set to OpenVPN-install-path\config

- Scan both directories and their sub directories for connection profiles.
  In case of name conflicts config_dir gets priority over global_config_dir

- Eliminate multiple warnings of duplicate configs

Fixed on review (Thanks to leobasilio@gmail.com)

- Fix wrongly used o.config_dir in 2 locations
- Unrelated: Added missing  CheckIServiceStatus to service.h

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-03-01 15:50:02 -05:00
Selva Nair 686a4d5d8c Revert "Run with highest privilege available"
This reverts commit 2af8636896.

Requiring "highestAvalable" privilege is no longer required,
nor advisable, as the same functionality is provided using
the interactive service with the GUI running with limited rights.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-02-29 10:42:03 -05:00
Soar Qin fe5a1c9b71 Adding static-challenge support 2016-02-27 13:51:13 +08:00
Samuli Seppänen c3e2584674 Merge pull request #17 from leobasilio/master
Add "Import file" menu option
2016-02-22 10:13:29 +02:00
Leonardo Basilio b47d3545e4 Improving feedback messages when importing 2016-02-21 12:15:40 -03:00
Selva Nair 5ce1298452 Warn if interative service is not installed or not running
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-02-16 20:09:20 -05:00
Leonardo Basilio 46a1bc715c Adding "Import file" feature 2016-02-16 22:23:23 -02:00
Selva Nair 352e44f03d Better error reporting when connection fails to come up
- Handle early errors (openvpn exits before management connection is up)
    with a helpful error message that points the user to view log.
- Include only readable config files in the connection list
- Warn if no connection profiles found

TODO: handle startup errors from interactive service
2016-02-16 15:57:37 -05:00
Selva Nair 4437ce7a8c Change default log file location to a OpenVPN/log in user's profile directory
Change the default log file location to OpenVPN/log in user's profile directory
to support running without admin privileges using the interactive service.
The registry keys are moved to HKCU from HKLM to allow for user-specific
settings as well as to avoid the need for running the GUI as admin at the
first instance.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-02-15 11:09:45 -05:00
Selva Nair 2af8636896 Run with highest privilege available
Request the highest privilege of the invoking user. When started by a
user with admin rights, a UAC prompt may pop up requesting consent.
The current behaviour is preserved for users with limited privileges.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2015-12-11 21:36:43 -05:00
Роман Донченко 65cb2649fd Widen the Russian About page
The first line of the page is too long for the current width, so it
spills onto the second line, shifting the rest of the text downwards.
As a result, the line with the URL is shifted out of the label's bounds
and is no longer visible.
2015-11-18 22:22:38 +03:00
ValdikSS a0acaa1446 Add Ukrainian localization 2015-11-17 14:54:46 +03:00
Anatoly Pugachev b5b00c2726 russian language fixes 2015-10-07 13:33:22 +03:00
Piotr Zborowski b5db8a68c5 fixed typo in tray tooltip (polish language)
Signed-off-by: Piotr Zborowski <pzborowski@users.sf.net>
2014-04-14 10:15:59 +02:00
Heiko Hund 060da97c5f update program graphics, thanks to Evgheni Dereveanchin 2014-01-16 18:28:45 +01:00
Erwin Bronkhorst a4119be7c0 Fixed another typo in Dutch translation 2014-01-16 13:36:33 +01:00
Erwin Bronkhorst 01a78282e4 Fixed some typo's and spelling errors in Dutch translation. 2013-12-10 01:21:09 +01:00
Heiko Hund e51a681868 fix spelling, closes community ticket #254
https://community.openvpn.net/openvpn/ticket/254
2013-01-25 12:03:05 +01:00
Heiko Hund c874ba68b4 add Russian localization by Roman Azarenko 2012-11-05 16:24:47 +01:00
Heiko Hund 22ff456888 check if "log_dir" exists or create it 2012-07-26 10:54:14 +02:00
Heiko Hund af99d353ac add trustInfo to manifest, stop UAC virtualization 2012-07-26 08:23:34 +02:00
Heiko Hund b7f923c627 fix application description in manifest 2012-07-26 08:16:58 +02:00
Heiko Hund beead0e1a4 enforce entry of a username when querying auth 2012-07-20 12:53:14 +02:00
Heiko Hund 2156479232 use default sub-language for resources
This makes common controls display localized elements
2012-05-29 15:36:06 +02:00
Heiko Hund 7857583d77 add Chinese (trad.) localization by Yi-Wen Cheng 2012-05-22 18:16:37 +02:00
Heiko Hund 2647513238 add Norwegian localization of general settings tab 2012-05-07 15:44:14 +02:00
Heiko Hund 0658ca3f8a corrections for Danish localization, closes #3514470 2012-04-06 21:19:12 +02:00
Alon Bar-Lev c9eb68c77f use automake in build
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

Edited to not use libtool and implicit automake rule to build resource object
2012-03-28 10:59:44 +00:00
Heiko Hund 3046f8a345 convert files to unix style end-of-line 2012-03-28 10:44:54 +00:00
Heiko Hund fb667a866c replace "..." with ellipses 2011-12-16 17:49:17 +00:00
Heiko Hund cb491623b9 correct Japanese about dialog caption 2011-12-01 12:54:16 +01:00
Heiko Hund 66b77868b4 move "About" dialog to settings tab 2011-11-30 17:20:23 +01:00
Heiko Hund cb99eadb0a add Japanese localization by Taro Yamazaki 2011-11-30 14:01:04 +01:00
Heiko Hund 781e34c846 convert language resource files to UTF-8 2011-11-30 10:26:27 +01:00
Heiko Hund 7528c6b2af move resource files into separate directory 2011-11-29 17:31:17 +01:00