Commit Graph

301 Commits (06218b4f69afd5c3e8def9faab222f25b25d5489)

Author SHA1 Message Date
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 187f646fa8 Update Russian translation 2016-08-24 13:07:35 +03:00
Samuli Seppänen 67e63328df Merge pull request #70 from chipitsine/russian-translation
more russian translation
2016-08-24 11:41:48 +03:00
Selva Nair c3099acc59 Merge pull request #69 from chipitsine/master
fix build --disable-password-change
2016-08-23 15:38:10 -04:00
Ilya Shipitsin 3e57007f2b more russian translation 2016-08-24 00:05:33 +05:00
Ilya Shipitsin f3aed466de fix build --disable-password-change 2016-08-23 23:37:57 +05:00
Samuli Seppänen 2398e32b03 Merge pull request #62 from selvanair/registry
Remove some registry keys/options and use file association for open/edit
2016-08-23 18:47:58 +03:00
Samuli Seppänen 335c3e3069 Merge pull request #60 from chipitsine/master
add --disable-password-change option to configure
2016-08-22 10:10:50 +03: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 964d728a42 Use file associations to open config and log
- Use ShellExecute to open config and log files so that
  file associations can be used. If that fails fall-back to
  the default editor (notepad.exe).
- Remove the keys editor and log_viewer from registry.
  The user can change the editor/viewer through fie association.

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 9625d6f3c6 added --disable-password-change to configure and travis-ci 2016-08-02 01:22:05 +05:00
Ilya Shipitsin 886685528f travis-ci: upgrade to openssl-1.0.1t 2016-08-01 20:53:27 +05:00
Selva Nair 449944cef0 Merge pull request #66 from chipitsine/save-pass-translation
save pass: russian translation
2016-07-22 11:54:54 -04:00
Ilya Shipitsin 1f60125439 save pass: russian translation 2016-07-22 16:34:43 +05:00
Selva Nair 61fbb48cd2 Merge pull request #63 from ffes/nl-2016-07
Update Dutch translation
2016-07-18 22:40:52 -04:00
Frank Fesevur 6a0e681b67 Update Dutch translation 2016-07-15 19:56:42 +02:00
Selva Nair 7247432cea Merge pull request #52 from selvanair/save-pass
Save username and optionally passwords
2016-07-15 00:37:14 -04:00
Samuli Seppänen 8aea6bd82b Merge pull request #48 from selvanair/use-post-message
Fix exit handling while in modal loops
2016-07-14 13:24:10 +03:00
Selva Nair 3ce7466b20 Create connection keys inside configs and only if needed
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-07-12 21:49:43 -04:00
Selva Nair 233ec002d8 Merge pull request #59 from mattock/readme
Modernize the README
2016-06-30 10:32:58 -04:00
Samuli Seppänen 222f4cf4f1 Add instructions on how to build openvpn-gui using openvpn-build
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-06-30 11:19:38 +03:00
Samuli Seppänen 1ab2254464 Modernize README.rst
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-06-30 11:19:31 +03:00
Samuli Seppänen 668afa8640 Make README.rst conform to the rst syntax
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-06-30 11:17:47 +03:00
Samuli Seppänen 9ccef43b29 Rename README as README.rst
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
2016-06-30 11:17:47 +03:00
Samuli Seppänen c77c720e12 Merge pull request #50 from chipitsine/master
cache openssl download
2016-06-22 11:14:54 +03: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
Samuli Seppänen 03c305bd4b Merge pull request #47 from selvanair/rescan-configs
Rescan configs
2016-05-25 10:02:39 +03:00
Selva Nair ef11bc2366 Merge pull request #46 from leobasilio/master
Launch on startup setting
2016-05-24 22:51:16 -04:00
Ilya Shipitsin 2df46167b5 moved "export" to env section 2016-05-25 00:46:26 +05:00
Ilya Shipitsin 809d2c5578 cache openssl download 2016-05-24 20:32:08 +05:00
Selva Nair 9fb33d0bee Fix exit handling while in modal loops
PostThreadMessage used to trigger exit event gets lost while
in modal dialog loops such as auth dialog. Replace it by PostMessage
and handle it in the status window callback.

Fixes openvpn processes left behind if exit is pressed while
user-auth dialog is active.

Changes after feedback:
- Use PostMessage correctly in SuspendOpenVPN() (error pointed
  out by leobasilio@gmail.com).

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-05-23 01:20:02 -04:00
Leonardo Basilio ece6aef6a6 Launch on startup setting 2016-05-22 22:05:42 -03:00
Selva Nair 284a4e27e3 Rescan configs even when connections are active
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-05-22 15:41:23 -04:00
Selva Nair 38541f3693 Add a missing CheckReadAccess()
Also make CheckReadAccess() easier to use without need for a temp.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-05-22 15:38:22 -04:00
Selva Nair fb97c3f4f1 Merge pull request #45 from chipitsine/master
fix the following "warning"
2016-05-12 22:46:56 -04: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
Samuli Seppänen 2dd468d23c Merge pull request #28 from selvanair/service-io
Read errors from the service pipe and handle fatal ones
2016-05-09 09:39:26 +03:00
Selva Nair 854d76ae31 Read errors from the service pipe and handle fatal ones
Asynchronously read Input on the service pipe which are mostly
errors reported by the service. Display the errors on the status log
window and to the log file if its not opened by openvpn.
If/when openvpn fails to start or exits with error, close
the connection without waiting for management socket timeout.

v2:
- rebase to master
- fix a bug in setting manage.connected state
- ensure management socket is closed and resources freed before thread exit

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2016-05-08 18:07:31 -04:00
Samuli Seppänen 2175aee489 Merge pull request #44 from ffes/fix-maintainer-clean
File 'compile' now removed as well
2016-05-06 10:38:24 +03:00
Samuli Seppänen 81e67d1ffd Merge pull request #43 from ffes/how-to-build-on-cygwin
Add build description
2016-05-06 10:34:29 +03:00
Frank Fesevur d868a95f3c Add build description
At the moment only building on Cygwin is described. Other way to
build the project can be added in a later stage.
2016-05-04 16:22:06 +02:00
Frank Fesevur 055ca53dd5 File 'compile' now removed as well
When using `make maintainer-clean` the file 'compile'
was not removed.
2016-05-04 16:15:54 +02:00
Samuli Seppänen ee62081c51 Merge pull request #42 from chipitsine/master
reworked packages install to "apt" plugin
2016-05-02 10:06:03 +03:00
Ilya Shipitsin f8e01fe2fa reworked packages install to "apt" plugin 2016-05-01 18:37:06 +05:00
Selva Nair 0e49c389e7 Merge pull request #41 from chipitsine/master
added cppcheck, openssl-1.0.1r
2016-04-29 22:10:18 -04:00
Ilya Shipitsin 24df0cc06e removed irc notification 2016-04-29 22:24:09 +05:00
Ilya Shipitsin 6908426a4b aadded cppcheck, irc notifications, openssl-1.0.1r 2016-04-24 17:52:22 +06:00
Selva Nair 10a1bfda5d Merge pull request #38 from EagleErwin/master
Changed typo in include guard.
2016-04-21 00:03:34 -04:00