Commit Graph

67 Commits (8b42ea87610c219ab9f063d4cbe8689a7725d085)

Author SHA1 Message Date
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
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
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
Frank Fesevur e4126de781 Improve many Dutch translations 2016-03-16 14:56:30 +01:00
Soar Qin fe5a1c9b71 Adding static-challenge support 2016-02-27 13:51:13 +08: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 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 fb667a866c replace "..." with ellipses 2011-12-16 17:49:17 +00:00
Heiko Hund 66b77868b4 move "About" dialog to settings tab 2011-11-30 17:20:23 +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