Commit Graph

239 Commits (master)

Author SHA1 Message Date
justwho 1a653641cc
Update openvpn-gui-res-zh-hans.rc (#705)
* Update openvpn-gui-res-zh-hans.rc
2024-09-21 20:04:17 +05:30
bovirus a140b5201f Update Italian language 2024-09-16 10:56:42 +03:00
Selva Nair c4d11390fd Copy the checkbox and strings in previous commit to all language files
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2024-09-16 10:35:01 +03:00
Selva Nair be00b33c92 Add a global option to always prompt for OTP
Add a checkbox to the general settings menu
to always prompt for OTP when prompting for password
even if no static-challenge request is received from
the management interface.

The response is appeneded to the password using the
concatenation format and submitted to the management interface.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2024-09-16 10:35:01 +03:00
Selva Nair 2a68580dd9
Add higher resolution eye icons (#698)
20, 24 and 32 bit eye and eye-stroke icons added.

Fixes issue #697

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2024-07-22 21:20:21 +05:30
bovirus e7ad359568
Update Italian language (#696) 2024-07-18 01:22:51 +05:30
Selva Nair f20062edd5 Update copyright year
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2024-07-15 18:45:02 +02:00
Sam Gregg 59c449cf99
Add clarity for error on missing management paramater. (#657)
Configuration files located in config-auto require a management parameter to be declared.
2023-10-09 21:35:07 -04:00
Lev Stipakov 72a4bb84bf
Improve "OpenVPN GUI" tooltip handling (#649)
There is no point in localizing "OpenVPN GUI"
tray icon tooltip. Remove it from resources and
replace with PACKAGE_NAME define.

Signed-off-by: Lev Stipakov <lev@openvpn.net>
2023-08-31 11:13:13 -04:00
Selva Nair 5ff7c417b1 Remove obsolete options from help text
All these options are currently ignored while
parsing the command line.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2023-08-02 10:36:44 +03:00
bubuleur 3aeed141b3
Update openvpn-gui-res-fr.rc (#642)
* Update openvpn-gui-res-fr.rc

Hello
attached the update of the French translation of OpenVPN how to see if my translation is good?
Thanks
2023-08-01 20:21:05 -04:00
Lev Stipakov 8cdffbe817 Add transparency to eye icons
Signed-off-by: Lev Stipakov <lev@openvpn.net>
2023-04-26 13:23:50 +02:00
Selva Nair 641f880b1f fixup! Implement Password Reveal Feature
Moved the central circle by 1/2 pixel to make the image symmetric
2023-04-26 11:08:15 +03:00
Selva Nair fa1191b799 Password-reveal: Copy dialog resource changes to all languages
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2023-04-26 11:08:15 +03:00
Selva Nair 9186648285 Implement Password Reveal Feature
- Only "hot" user input -- i.e, freshly typed password starting
  from an empty string, with keyboard focus still in the edit
  box -- can be revealed.
  In particular, prefilled passwod (from cached value) cannot be
  revealed.
- Once keyboard focus moves out of the password edit box, the inpit has
  to be deleted for the reveal feature to get re-enabled.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2023-04-26 11:08:15 +03:00
Selva Nair a8771e94a2 Delete an extraneous backslash in the resource file for Russian
- Fixes: res/openvpn-gui-res-ru.rc:414: unrecognized escape sequence

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2023-02-23 08:04:06 -08:00
bovirus e4089c2141
Update italian language (#580)
* Update italian language
2023-01-18 23:12:35 -05:00
Selva Nair 28a568201c Handle CONNECTED,ROUTE_ERROR state message
When connected, the daemon now reports the state as
CONNECTED,ROUTE_ERROR on routing errors that would have been
reported as CONNECTED,SUCCESS in the past.

To not overly disrupt the current behaviour we treat CONNECTED,ROUTE_ERROR
almost the same was as CONNECTED,SUCCESS except that an error is logged and
the status window is popped up if not already open for all cases other
that CONNECTED,SUCCESS.

Further, the icons on the status window, is left at yellow
and the status text is set to "Connected with routing errors"
in case of ROUTE_ERROR.

Tray and menu icons will change to green. Leaving them yellow is not
persistent as we do not yet have a state variable in the GUI that distinguishes
between "successfully connected" and "connected with route errors".

TODO: re-work this CONNECTED state handling based on how critical
ROUTE_ERROR is in real use.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2023-01-12 10:09:09 +01:00
bovirus d47b5f116d Update italian language 2023-01-07 13:47:03 -08:00
bovirus b25a24f833 Update italian language 2023-01-07 13:47:03 -08:00
bovirus f7d594d314 Update italian language 2023-01-07 13:47:03 -08:00
Selva Nair 99a0c5de29 Fix truncated text in Italian
Text re-positioned in General Settings Window

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-12-30 16:43:25 -08:00
bovirus fa82d6963b Update Italian language
Complete Italian translation
Use the feedback posted in PR 510
Fixed 2021 -> 2022 issue
2022-12-30 16:43:25 -08:00
justwho cea3d255ff Update openvpn-gui-res-zh-hans.rc 2022-12-28 08:52:08 -08:00
Selva Nair 061e653a19 Add an option to toggle auto-restart feature
The option is enabled by default.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-12-20 08:46:50 -08:00
Selva Nair 07dbb301ef Reposition truncated text in Settings dialogs
Provide more room for some long strings in General and
Advanced settings dialogs in German localization.

fixes #244

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-12-19 08:52:45 -08:00
justwho ab39e1b32e Update openvpn-gui-res-zh-hans.rc 2022-12-13 07:41:46 -08:00
Selva Nair b6bbe9dfcd Delete unrecognized escape sequence in openvpn-gui-res-fa.rc
x86_64-w64-mingw32-windres -DHAVE_CONFIG_H -I.   -D_UNICODE  -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=_WIN32_WINNT_WIN7 -DWINVER=_WIN32_WINNT -i res/openvpn-gui-res.rc -o openvpn-gui-res.o
res/openvpn-gui-res-fa.rc:547: unrecognized escape sequence

- Stale '\ ' from previous commit

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-12-12 07:07:35 -08:00
Selva Nair 5c06c3a0cc Copy new resource ids to all languages
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-12-08 18:17:19 -08:00
Selva Nair fa0f55e5a3 Localization of strings in PLAP dialog
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-12-08 18:17:19 -08:00
Selva Nair 3427aeb88f Enable localization of openvpn daemon state names
These strings are displayed in the PLAP progress window.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-12-08 18:17:19 -08:00
Selva Nair be41ff1a0e
Fix truncated text in some dialogs (#551)
undefined
2022-12-05 21:49:55 -05:00
dany pm 4bf6de6f08 Updated Farsi translation
Signed-off-by: Danial P <daniel.pm307@hotmail.com>
2022-12-03 17:55:52 -05:00
Selva Nair 546471f1ef Farsi: Add explicit LRE markers in some places
In bidirectional text, neutral characters like parentheses
and slashes can get interpreted as RTL when not surrounded by
strong LTR characters. This leads to wrong formatting like
"<Copyright <foo@example.com" instead of "Copyright <foo@example.com>"

Workaround by adding explicit right-to-left embedding marker (U+202a).
(Ref: https://www.unicode.org/reports/tr9/)

For trailing slash in URLs, they are just omitted when not really
required.

Some other minor edits:
- Do not translate "OpenVPN Technologies Inc."
- SOCKES --> SOCKS

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-11-28 13:25:28 -05:00
Selva Nair 5204df0e80 Use RTL layout for Farsi
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-11-28 13:25:28 -05:00
justwho 6002404e2b Update openvpn-gui-res-zh-hans.rc 2022-11-11 15:47:37 -05:00
justwho ed66957dc7 Update openvpn-gui-res-zh-hans.rc 2022-11-08 11:18:40 -05:00
Selva Nair 41a92199e4 Update copyright year in About tab
Also remove related variables from configure.ac
as those are unused since we updated resources to be
MSVC compliant.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-11-05 18:17:11 -04:00
Selva Nair 7d078dd151 PLAP: Add an option to register the COM dll
- ShellExecute with runas is used to elevate
- This Option is hidden if PLAP dll is not found in the
  install_path bin folder
- Depends on the presence of openvpn-plap-install.reg
  and openvpn-plap-uninstall.reg in the install-path bin
  folder.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-10-19 09:49:15 -04:00
Selva Nair d6775b9b71 Persistent connections: show an error msg when connect fails
If '--management' option cannot be parsed in the config file of a
persistent profile (due to missing option, unreadable password etc.),
connecting it from the GUI menu fails.
In such cases show an error message instead of silently failing.
The message is shown only during manual connect attempts,
not during auto-connect or resume.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-10-19 09:49:15 -04:00
Lev Stipakov 70610afc2f Add a BMP image for PLAP tile and use it 2022-10-17 11:05:44 -04:00
justwho 89e46df455
Update openvpn-gui-res-zh-hans.rc (#520)
* Update openvpn-gui-res-zh-hans.rc
2022-10-15 12:02:27 -04:00
phoeo 732875d8ff
Add missing Russian localization lines (#517)
* Add missing Russian localization lines

* fix lines mentioned in code review
2022-08-11 14:16:34 -04:00
Selva Nair 170a9b9e76 Copy resources for persistent connections
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-08-08 10:11:25 -04:00
Selva Nair 7f794eec3d Add a button for detaching from the management interface
Useful for releasing the management interface if the user wants to
connect to it by other means.

Detached connections are set to state = detached (no disconnected)
and auto_connect disabled, so that they could be handled properly
during a re-attach.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-08-08 10:11:25 -04:00
Selva Nair 0e76e4b544 Option to disable attaching to persistent connections
Three options are provided to control scanning of persistent
(pre-satrted) connections in config-auto folder, and how they
are attached to.

Auto: Scan and list persistent connections and attach to their
      management i/f automatically at startup, and periodically
      retry on failure to attach.
Manual: Scan and list as above, but do not attach automatically.
      User can attach to such connections by manually clicking
      connect.
Never: Do not scan config-auto folder.

Default is "Auto"

Change of this setting in the settings menu will take full effect
only if none of the connections are in connecting/connected/detached
state so that the connection list can be updated. Otherwise
restart the GUI.

TODO: Copying the settings dialog changes to all languages

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-08-08 10:11:25 -04:00
Selva Nair 8f0dbbc8a3 Always check status of automatic service
- Remove service-only mode (start/stop service) which has not been in
  use since we moved to running the GUI as limited user.
  Also its not very useful as it does not allow any control of
  service-started daemons

- Keep CheckServiceStatus and always check the status of
automatic service.

The status of the service will be used to toggle supporting
control of persistent connections started by the service.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-08-08 10:11:25 -04:00
Selva Nair 428ee29246 Add support for marking connections as persistent
Persistent connections have openvpn.exe daemon started
external to the GUI (e.g., by the automatic service).
This patch adds support for attaching to the management
i/f of such daemons from the GUI and control the connection.

The GUI never stops or starts the openvpn.exe process in this
case. Instead, connect and disconnect buttons signal the
management interface of a running openvpn.exe process to start
the tunnel by attaching to mgmt i/f and sending hold-release if
needed  or stop it and wait in management-hold state
(see DisconnectDaemon()).

When the GUI process exits, persistent connections are left in their
current state using DetachOpenVPN().

No connections are marked as persistent as yet. That is done
in a following commit.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-08-08 10:11:25 -04:00
justwho 552441e407
Update openvpn-gui-res-zh-hans.rc (#514)
* Update openvpn-gui-res-zh-hans.rc

* Update openvpn-gui-res-zh-hans.rc
2022-07-28 09:51:03 -04:00
Selva Nair 4f0b94bf19 Copy new dialog and resources to all language files
Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-07-19 12:08:02 +02:00