diff options
author | pacien | 2020-12-08 16:16:08 +0100 |
---|---|---|
committer | pacien | 2020-12-08 16:16:08 +0100 |
commit | 20ecd9840f1e237dba79674b71e49b43b074902e (patch) | |
tree | 4594947f1faf96e9851d95c9cfc7bfad0c9ff923 /app/src/main/res/values | |
parent | b1f98caca2f6960f7abb3ef7f7c27b903e1ef929 (diff) | |
download | tincapp-20ecd9840f1e237dba79674b71e49b43b074902e.tar.gz |
app: add configuration FTP server
This is a ridiculous workaround to make the configuration (and other files) accessible to the user
necessary after the new storage access restriction enforced in Android 11 which prevent other
applications from accessing the supposedly public application's directory.
The app's internal private storage directory is now exposed to the user through an embedded FTP
server that the user can turn on and off from the configuration activity. The user can then play
with the configuration and retrieve logs through a remote or local FTP client application of their
choice.
GitHub: closes #103
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/strings.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 770f61c..cae7fe5 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml | |||
@@ -62,6 +62,7 @@ | |||
62 | <string name="notification_error_channel_name">Errors</string> | 62 | <string name="notification_error_channel_name">Errors</string> |
63 | <string name="notification_error_action_open_manual">Open manual</string> | 63 | <string name="notification_error_action_open_manual">Open manual</string> |
64 | <string name="notification_error_title_unable_to_start_tinc">Could not start tinc</string> | 64 | <string name="notification_error_title_unable_to_start_tinc">Could not start tinc</string> |
65 | <string name="notification_error_title_unable_to_start_ftp_server">Could not start FTP server</string> | ||
65 | <string name="notification_error_message_could_not_read_private_key_format">Could not read private tinc keys:\n%1$s</string> | 66 | <string name="notification_error_message_could_not_read_private_key_format">Could not read private tinc keys:\n%1$s</string> |
66 | <string name="notification_error_message_could_not_read_network_configuration_format">Could not read network interface configuration:\n%1$s</string> | 67 | <string name="notification_error_message_could_not_read_network_configuration_format">Could not read network interface configuration:\n%1$s</string> |
67 | <string name="notification_error_message_could_not_bind_iface">Could not bind network interface. Is another VPN running?</string> | 68 | <string name="notification_error_message_could_not_bind_iface">Could not bind network interface. Is another VPN running?</string> |
@@ -84,7 +85,12 @@ | |||
84 | <string name="configure_tools_message_invalid_network_name">Invalid network name.</string> | 85 | <string name="configure_tools_message_invalid_network_name">Invalid network name.</string> |
85 | <string name="configure_tools_message_network_configuration_written">Network configuration written.</string> | 86 | <string name="configure_tools_message_network_configuration_written">Network configuration written.</string> |
86 | 87 | ||
87 | <string name="configure_activity_title_path_info">Path info</string> | 88 | <string name="configure_activity_title_configuration_server">Configuration server</string> |
89 | <string name="configure_configuration_server_ftp_access">FTP access</string> | ||
90 | <string name="configure_configuration_server_ftp_access_endpoint_format">User: %1$s, password: %2$s, port: %3$d</string> | ||
91 | <string name="configure_configuration_server_ftp_access_not_active">Not active</string> | ||
92 | |||
93 | <string name="configure_activity_title_internal_paths_info">Internal paths info</string> | ||
88 | <string name="configure_path_info_title_configuration_directory">Configuration directory</string> | 94 | <string name="configure_path_info_title_configuration_directory">Configuration directory</string> |
89 | <string name="configure_path_info_title_log_directory">Log directory</string> | 95 | <string name="configure_path_info_title_log_directory">Log directory</string> |
90 | <string name="configure_path_info_title_tinc_binary">tinc binary</string> | 96 | <string name="configure_path_info_title_tinc_binary">tinc binary</string> |