Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add upgraded nodes #310

Draft
wants to merge 19 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
ce2b23c
feat(network nodes): add Network Nodes Plugin
germanferrero Apr 21, 2021
424a78f
chore(translations): spanish for network nodes
germanferrero Apr 21, 2021
dc1e9a2
improvement(network-node): center title
germanferrero Apr 21, 2021
0c045ca
improvement(network-nodes): filter gones and sort
germanferrero Apr 21, 2021
3a501d3
improvement(expandable-node): let user copypaste details
germanferrero Apr 21, 2021
764d170
feat(network nodes): add network nodes page
germanferrero Apr 21, 2021
6ac60d1
chore(delete-nodes): separate into its own plugin
germanferrero Apr 22, 2021
69b2372
chore(reachable-nodes): add to menu
germanferrero Apr 22, 2021
de0781e
chore(delete-nodes): move to community view
germanferrero Apr 22, 2021
d257181
chore(delete-nodes): rename to [un]reachable
germanferrero Apr 22, 2021
86a725b
chore(delete-nodes): add to menu
germanferrero Apr 22, 2021
65621b5
feat(reachable-nodes): add screen for reachable/unreachable nodes
germanferrero Apr 22, 2021
2e8e336
feat(upgraded nodes): add screen for upgraded not upgraded nodes
germanferrero Apr 22, 2021
7498ca2
improvement(upgraded-nodes): show subheaders for each version
germanferrero May 3, 2021
3ed6c7f
refactor(networknodes): adapt to promise based api
germanferrero Dec 17, 2021
f29f46d
improvement(networknodes): show ipv6 as link aswell
germanferrero Dec 17, 2021
2e7bf51
refactor(networknodes): fix api format
germanferrero Dec 17, 2021
c5b5146
refactor(networknodes): fix plugin name
germanferrero Dec 17, 2021
fd94bad
refactor(networknodes): adapt to lingui i18n
germanferrero Dec 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
215 changes: 215 additions & 0 deletions i18n/generic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
{
"en": {
"a_new_firmware_version_has_been_released_17f89266": "A new firmware version has been released",
"align_11050992": "Align",
"an_error_occurred_a4e1cda4": "An error occurred",
"applying_changes_23ae34f2": "Applying changes.",
"ask_for_remote_support_7e7eaab0": "Ask for remote support",
"at_least_one_alphanumeric_character_357817ee": "At least one alphanumeric character",
"at_least_one_number_bf8434bb": "At least one number",
"best_signal_913e3460": "Best signal",
"cancel_caeb1e68": "Cancel",
"cancel_cd471b5e": "cancel",
"cannot_connect_to_the_remote_support_server_6a95528b": "Cannot connect to the remote support server",
"cannot_load_map_check_your_internet_connection_d24f5daf": "Cannot load map, check your internet connection",
"change_dcaa253a": "Change",
"change_shared_password_58dc580c": "Change Shared Password",
"checking_connection_863b319e": "Checking connection",
"choose_a_name_for_this_node_f491aa8d": "Choose a name for this node",
"choose_a_name_for_your_network_69df41e3": "Choose a name for your network",
"choose_a_shared_password_for_network_administratio_4c98ee0f": "Choose a shared password for network administration",
"click_at_close_session_to_end_the_remote_support_s_1af24bb9": "Click at Close Session to end the remote support session. No one will be able to access your node with this token again",
"click_at_show_console_to_follow_the_remote_support_8b39ccbc": "Click at Show Console to follow the remote support session.",
"close_session_89aadfa2": "Close Session",
"cofirm_upgrade_before_seconds_seconds_or_it_will_b_48b600b6": "Cofirm upgrade before %{seconds} seconds or it will be reverted",
"community_name_115a617": "Community name",
"configure_your_network_7736471d": "Configure your network",
"configure_your_new_community_network_a6daad12": "Configure your new community network",
"confirm_6556b3a6": "Confirm",
"confirm_location_2fe5ae11": "confirm location",
"congratulations_ffe43bf9": "Congratulations",
"count_days_de0c6a32": {
"one": "1 days",
"other": "%{count} days"
},
"count_hours_1bd03883": {
"one": "1 hours",
"other": "%{count} hours"
},
"count_minutes_a6eeeacb": {
"one": "1 minutes",
"other": "%{count} minutes"
},
"count_people_join_sessions_c24dac9c": {
"one": "1 people-join-session",
"other": "%{count} people-join-sessions"
},
"count_seconds_2953a98e": {
"one": "1 seconds",
"other": "%{count} seconds"
},
"count_selected_nodes_19bbd632": {
"one": "1 selected-nodes",
"other": "%{count} selected-nodes"
},
"create_network_d229d642": "Create network",
"create_new_network_28805f92": "Create new network",
"create_session_ad54bdb6": "Create Session",
"currently_your_node_has_version_1c26984b": "Currently your node has version:",
"delete_a6efa79d": "Delete",
"delete_nodes_f63ec0d5": "Delete Nodes",
"device_95d26d94": "Device",
"don_t_show_this_message_again_9950c20": "Don't show this message again",
"download_c7ffdfb9": "Download",
"downloading_1e41f805": "Downloading",
"edit_location_420eadc4": "edit location",
"error_98e81528": "Error",
"fetching_name_96831fa4": "Fetching name",
"filename_83eeb4ac": "Filename",
"firmware_6a098a0d": "Firmware",
"from_fdd4956d": "From",
"full_path_metrics_2859608f": "Full path metrics",
"go_64ecd1fd": "Go!",
"go_to_community_view_d12b8d67": "Go to Community View",
"go_to_node_view_26ba929d": "Go to Node View",
"ground_routing_12ab04c9": "Ground Routing",
"ground_routing_configuration_3f4fa9c1": "Ground Routing configuration",
"hide_community_773b3f33": "hide community",
"hide_console_9bbb309e": "Hide Console",
"host_name_d865cef3": "Host name",
"i_don_t_know_the_shared_password_336b198": "I don't know the shared password",
"interface_177dac54": "Interface",
"internet_connection_fda60ffa": "Internet connection",
"ip_addresses_440ac240": "IP Addresses",
"join_the_mesh_653219c6": "Join the mesh",
"last_known_internet_path_45f31c9a": "last_known_internet_path",
"last_packet_82ee8e9d": "Last packet",
"load_last_known_internet_path_677f6229": "load_last_known_internet_path",
"loading_node_status_547ed318": "Loading node status...",
"locate_my_node_b91489b": "locate my node",
"logging_in_1164a773": "Logging in",
"login_6f3d6249": "Login",
"map_eb9418c7": "Map",
"metrics_c80fba05": "Metrics",
"metrics_status_gateway_2a77a113": "metrics_status_gateway",
"metrics_status_path_905a8d22": "metrics_status_path",
"metrics_status_stations_464641e8": "metrics_status_stations",
"more_details_on_the_release_can_be_found_at_dfc8f165": "More details on the release can be found at:",
"more_info_at_117c8533": "More info at:",
"more_than_10_characters_15a6e3bf": "More than 10 characters",
"more_than_a_minute_ago_a2a28531": "more than a minute ago",
"most_active_2d5a3cae": "Most Active",
"must_select_a_network_and_a_valid_hostname_ea82e72c": "Must select a network and a valid hostname",
"network_configuration_ea7f4215": "Network Configuration",
"network_nodes_4368eb67": "Network Nodes",
"no_network_found_try_realigning_your_node_and_resc_176a9b3e": "No network found, try realigning your node and rescanning.",
"node_configuration_7342e6f5": "Node Configuration",
"not_upgraded_howmany_5ed230c3": "Not Upgraded (%{howMany})",
"not_upgraded_nodes_9e67db38": "Not Upgraded Nodes",
"notes_c42e0fd5": "Notes",
"notes_of_a44a4158": "Notes of",
"ok_ff1b646a": "Ok",
"on_its_radio_radio_f32d79ce": "On its radio %{radio}",
"only_gateway_727b1656": "Only gateway",
"or_choose_a_firmware_image_from_your_device_d56be2d8": "Or choose a firmware image from your device",
"or_upgrade_to_latest_release_e062ddee": "Or upgrade to latest release",
"packet_loss_1afe48a8": "Packet loss",
"password_8a271b1c": "Password",
"please_configure_your_network_d6eb8b76": "Please configure your network",
"please_select_a_file_b49d6bf4": "Please select a file",
"please_select_a_sh_or_bin_file_4004723": "Please select a .sh or .bin file",
"please_verify_your_internet_connection_92ecd88c": "Please verify your internet connection",
"please_wait_62914c7c": "Please wait",
"please_wait_patiently_for_seconds_seconds_and_do_n_b98cfb66": "Please wait patiently for %{seconds} seconds and do not disconnect the device.",
"please_wait_while_the_device_reboots_and_reload_th_67bd290d": "Please wait while the device reboots, and reload the app",
"radio_2573b256": "Radio",
"re_enter_password_49757ed": "Re-enter Password",
"re_enter_the_shared_password_20f09406": "Re-enter the shared password",
"reachable_howmany_6f891e31": "Reachable (%{howMany})",
"reachable_nodes_748c93f0": "Reachable Nodes",
"reload_3e45154f": "Reload",
"reload_page_2d381199": "Reload page",
"remote_support_9ba7a3a7": "Remote Support",
"rescan_dff042fc": "Rescan",
"retry_ebd5f8ba": "Retry",
"revert_702e7694": "Revert",
"reverting_to_previous_version_e6e43529": "Reverting to previous version",
"save_notes_616850ea": "Save notes",
"scan_for_existing_networks_f7f485c": "Scan for existing networks",
"scanning_for_existing_networks_195ddb9b": "Scanning for existing networks",
"seconds_aee2098": "seconds",
"seconds_seconds_ago_699b6316": "%{seconds} seconds ago",
"see_more_b24a4422": "See More",
"select_a_network_to_join_b7040672": "Select a network to join",
"select_another_node_and_use_the_limeapp_as_you_wer_d189728": "Select another node and use the LimeApp as you were there",
"select_file_71aa4113": "Select file",
"select_new_node_5b2e9165": "Select new node",
"select_one_b647b384": "Select one",
"select_the_nodes_which_no_longer_belong_to_the_net_92f853ef": "Select the nodes which no longer belong to the network and delete them from the list of unreachable nodes",
"set_network_bcd0ea96": "Set network",
"setting_network_21ebac51": "Setting network",
"setting_up_new_password_4daf8f1c": "Setting up new password",
"share_the_following_command_with_whoever_you_want__6fd30335": "Share the following command with whoever you want to give them access to your node",
"shared_password_changed_successfully_b2820acc": "Shared Password changed successfully",
"shared_password_dac7c19d": "Shared Password",
"show_community_42f3833": "show community",
"show_console_5d6937ac": "Show Console",
"signal_lost_690073": "Signal lost",
"size_b30e1077": "Size",
"station_name_7d67417c": "Station name",
"status_e7fdbe06": "Status",
"successfully_deleted_23ce0a20": "Successfully deleted",
"system_55b0ca91": "System",
"the_are_not_mesh_interfaces_available_4055abd7": "The are not mesh interfaces available",
"the_download_failed_130e1274": "The download failed",
"the_firmware_is_being_upgraded_f3881802": "The firmware is being upgraded...",
"the_password_should_have_b9f88155": "The password should have:",
"the_passwords_do_not_match_62d77c67": "The passwords do not match!",
"the_selected_image_is_not_valid_for_the_target_dev_cea9b494": "The selected image is not valid for the target device",
"the_shared_password_has_been_chosen_by_the_communi_f9d30a92": "The shared password has been chosen by the community when the network was created. You can ask other community members for it.",
"the_upgrade_should_be_done_d66854": "The upgrade should be done",
"there_are_no_left_unreachable_nodes_c0bec63d": "There are no left unreachable nodes",
"there_s_an_active_remote_support_session_4a40a8bb": "There's an active remote support session",
"there_s_no_open_session_for_remote_support_click_a_efd0d415": "There's no open session for remote support. Click at Create Session to begin one",
"these_are_the_nodes_associated_on_this_radio_3d302167": "These are the nodes associated on this radio",
"these_are_the_nodes_running_the_last_version_of_th_5165bdfe": "These are the nodes running the last version of the Firmware",
"these_are_the_nodes_that_can_be_reached_from_your__4c524abe": "These are the nodes that can be reached from your node, i.e. there is a working path from your node to each of them.",
"these_are_the_nodes_that_can_t_be_reached_from_you_dbbf9032": "These are the nodes that can't be reached from your node, it is possible that they are not turned on or a link to reach them is down.",
"these_are_the_nodes_that_need_to_be_upgraded_to_th_d09d104": "These are the nodes that need to be upgraded to the last version of the Firmware",
"this_device_does_not_support_secure_rollback_to_pr_1c167a2c": "This device does not support secure rollback to previous version if something goes wrong",
"this_device_supports_secure_rollback_to_previous_v_a60ddbcb": "This device supports secure rollback to previous version if something goes wrong",
"this_information_is_synced_periodically_and_can_be_8b74cb8c": "This information is synced periodically and can be outdated by some minutes",
"this_node_is_the_gateway_1e20aaff": "This node is the gateway",
"this_radio_is_not_associated_with_other_nodes_6722a471": "This radio is not associated with other nodes",
"to_internet_494eb85c": "To Internet",
"to_keep_the_current_configuration_or_ab76f6d1": "to keep the current configuration. Or ...",
"to_the_previous_configuration_bf087867": "to the previous configuration",
"traffic_bfe536d2": "Traffic",
"try_reloading_the_app_4e4c3a66": "Try reloading the app",
"unreachable_howmany_e5c8f844": "Unreachable (%{howMany})",
"unreachable_nodes_e6785f10": "Unreachable Nodes",
"upgrade_5de364f8": "Upgrade",
"upgrade_now_f300d697": "Upgrade Now",
"upgrade_to_lastest_firmware_version_9b159910": "Upgrade to lastest firmware version",
"upgrade_to_versionname_621a0b6a": "Upgrade to %{versionName}",
"upgraded_howmany_e439d4b1": "Upgraded (%{howMany})",
"upgraded_nodes_dfc85207": "Upgraded Nodes",
"upload_firmware_image_from_your_device_57327bee": "Upload firmware image from your device",
"uptime_c1d2415d": "Uptime",
"versionname_is_now_available_a6fbbb63": "%{versionName} is now available",
"visit_864b4060": "Visit",
"visit_a_neighboring_node_4116be4": "Visit a neighboring node",
"when_reloading_the_app_you_will_be_asked_to_confir_f9ecb33e": "When reloading the app you will be asked to confirm the upgrade, otherwise it will be reverted",
"with_radio_radio_alignin_with_531510d": "With radio %{radio} alignin with",
"wrong_password_try_again_3100aecf": "Wrong password, try again",
"you_are_connected_to_another_node_in_the_network_t_a423710a": "You are connected to another node in the network, try connecting to",
"you_are_now_part_of_90f2585a": "You are now part of ",
"you_can_search_for_mesh_networks_around_you_to_add_e6fbf1c5": "You can search for mesh networks around you to add or to create a new one.",
"you_can_upgrade_to_7af1ea19": "You can upgrade to:",
"you_don_t_go_through_any_paths_to_get_here_25203ed3": "You don't go through any paths to get here.",
"you_have_successfuly_connected_to_ddb8c613": "You have successfuly connected to",
"you_need_to_know_the_shared_password_to_enter_this_4b0c4ec1": "You need to know the shared password to enter this page",
"you_should_try_to_connect_to_the_network_network_8d7f515e": "You should try to connect to the network %{network}.",
"your_router_has_not_yet_been_configured_you_can_us_27c91373": "Your router has not yet been configured, \n\t\t\tyou can use our wizard to incorporate it into an existing network or create a new one.\n\t\t\tIf you ignore this message it will continue to work with the default configuration."
}
}
67 changes: 67 additions & 0 deletions i18n/translations/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"align_11050992" :"Align",
"back_to_base_443797cb" :"Back to base",
"base_host_a17d45a4" :"Base Host",
"change_dcaa253a" :"Change",
"connected_host_91e11459": "Connected Host",
"config_4877f466" :"Config",
"current_status_830c5a75" :"Current status",
"from_fdd4956d" :"From",
"full_path_metrics_2859608f" :"Full path metrics",
"interface_177dac54" :"Interface",
"internet_connection_fda60ffa" :"Internet connection",
"ip_addresses_440ac240" :"IP Addresses",
"load_last_known_internet_path_677f6229" :"Load last known Internet path",
"loading_node_status_547ed318" :"Loading node status...",
"locate_5f6685db" :"Locate",
"metrics_c80fba05" :"Metrics",
"metrics_status_gateway_2a77a113" :"Searching gateway",
"metrics_status_path_905a8d22" :"Calculating network path",
"metrics_status_stations_464641e8" :"Measuring links",
"most_active_2d5a3cae" :"Most Active",
"move_to_new_position_eb97c4c3" :"MOVE TO NEW POSITION",
"notes_c42e0fd5" :"Notes",
"notes_of_a44a4158" :"Notes of",
"only_gateway_727b1656" :"Only gateway",
"packet_loss_1afe48a8": "Packet loss",
"save_notes_616850ea" :"Save notes",
"select_new_base_station_3652ae73" :"Select new base station",
"station_75bce853" :"Station",
"stations_18122820" :"Stations",
"status_e7fdbe06" :"Status",
"system_55b0ca91" :"System",
"to_internet_494eb85c" :"To Internet",
"traffic_bfe536d2" :"Traffic",
"connection_fail_57f84354": "Connection to %{meta_ws} fail",
"trying_to_connect_ff82bf9f" :"Trying to connect to %{meta_ws}",
"try_thisnode_info_1ee1bfe2" :"Try thisnode.info",
"uptime_c1d2415d" :"Uptime",
"interfaces_44f8a99c": "Interfaces",
"last_known_internet_path_45f31c9a": "This your last working path to the Internet",
"you_should_try_to_connect_to_the_network_network_8d7f515e": "You should try to connect to the wifi network %{network}.",
"count_days_de0c6a32": {
"one": "day",
"other": "days"
},
"count_hours_1bd03883": {
"one": "hour",
"other": "hours"
},
"count_minutes_a6eeeacb": {
"one": "minute",
"other": "minutes"
},
"count_seconds_2953a98e": {
"one": "second",
"other": "seconds"
},
"count_people_join_sessions_c24dac9c": {
"zero": "No one has joined yet.",
"one": "One person has joined.",
"other": "%{count} people have joined."
},
"count_selected_nodes_19bbd632": {
"one": "node selected",
"other": "nodes selected"
}
}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"leaflet.gridlayer.googlemutant": "0.13.4",
"preact": "10.5.7",
"preact-cli": "3.0.0",
"preact-i18nline": "2.0.0",
"preact-router": "3.2.1",
"react-hook-form": "6.9.2",
"react-query": "2.23.1",
Expand Down
Loading