diff --git a/CHANGES b/CHANGES index 5fad7449..ef957d18 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,11 @@ +wg-wrangler (0.2.0) unstable; urgency=medium + + * fixed: Validation on hidden field when adding a new peer + * fixed: Disabled Peer warning when editing a peer + * changed: lifted wg-meta compatibility to 0.3.x. This version may be incompatible to older (wg-meta) metadata! See changes of wg-meta + + -- Tobias Bossert Sun, 18 Jul 2021 13:48:02 +0200 + wg-wrangler (0.1.4) unstable; urgency=medium * wg-wrangler: removed .pl extension from main "binary" (to make it compatible for apparmor profiles) diff --git a/README.md b/README.md index 793a631c..4e026e2e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ WGwrangler =========== -Version: 0.1.0 -Date: 2021-04-16 +Version: 0.2.0 +Date: 2021-07-18 WGwrangler is a web application to manage local Wireguard Configuration using [wg-meta](https://metacpan.org/release/Wireguard-WGmeta) in its backend. diff --git a/VERSION b/VERSION index 446ba66e..341cf11f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.4 \ No newline at end of file +0.2.0 \ No newline at end of file diff --git a/cpanfile b/cpanfile index e7e088a1..c26309af 100644 --- a/cpanfile +++ b/cpanfile @@ -1,6 +1,6 @@ -requires 'CallBackery', '>= 0.37.0'; +requires 'CallBackery', '>= 0.38.0'; requires 'Mojo::SQLite'; -requires 'Wireguard::WGmeta', '>= 0.2.3'; +requires 'Wireguard::WGmeta', '>= 0.3.0'; requires 'Net::IP', '>=1.26'; requires 'Email::MIME'; requires 'Email::Sender'; diff --git a/debian/changelog b/debian/changelog index 5fad7449..ef957d18 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +wg-wrangler (0.2.0) unstable; urgency=medium + + * fixed: Validation on hidden field when adding a new peer + * fixed: Disabled Peer warning when editing a peer + * changed: lifted wg-meta compatibility to 0.3.x. This version may be incompatible to older (wg-meta) metadata! See changes of wg-meta + + -- Tobias Bossert Sun, 18 Jul 2021 13:48:02 +0200 + wg-wrangler (0.1.4) unstable; urgency=medium * wg-wrangler: removed .pl extension from main "binary" (to make it compatible for apparmor profiles) diff --git a/lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm b/lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm index 465b7345..92741e74 100644 --- a/lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm +++ b/lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm @@ -164,7 +164,6 @@ has formCfg => sub ($self) { }, set => { required => true, - value => $self->config->{'default-allowed-ips'} }, }, # peer Address override @@ -199,7 +198,7 @@ has formCfg => sub ($self) { key => 'show_advanced', label => trm('Advanced Options'), widget => 'checkBox', - triggerFormReset => true, + triggerFormReset => true }, # Header { @@ -237,23 +236,23 @@ has formCfg => sub ($self) { visibility => $show_advanced ? 'visible' : 'excluded' }, }, - # # alias (advanced) - # { - # key => 'alias', - # label => trm('Alias'), - # widget => 'text', - # triggerFormReset => true, - # validator => sub($value, $parameter, $formData) { - # if ($formData->{alias} && $formData->{interface} && $formData->{'public-key'}) { - # return $self->app->wireguardModel->validator('alias', $value, $formData->{interface}, $formData->{'public-key'}); - # } - # return "" eq $value ? "" : "Please select an interface first"; - # }, - # set => { - # placeholder => 'Unlike the name attribute, this must be unique', - # visibility => $show_advanced ? 'visible' : 'excluded' - # } - # }, + # alias (advanced) + { + key => 'alias', + label => trm('Alias'), + widget => 'text', + triggerFormReset => true, + validator => sub($value, $parameter, $formData) { + if ($formData->{alias} && $formData->{interface} && $formData->{'public-key'}) { + return $self->app->wireguardModel->validator('alias', $value, $formData->{interface}, $formData->{'public-key'}); + } + return "" eq $value ? "" : "Please select an interface first"; + }, + set => { + placeholder => 'This attribute is useful for CLI access. Unlike the name attribute, this must be unique', + visibility => $show_advanced ? 'visible' : 'excluded' + } + }, # persistent-keepalive (advanced) { key => 'persistent-keepalive', @@ -307,9 +306,10 @@ has actionCfg => sub ($self) { my $peer_committed = undef; eval { - $self->app->wireguardModel->add_peer($interface, $name, $ips, $peer_pub_key, $alias, undef); + $self->app->wireguardModel->add_peer($interface, $ips, $peer_pub_key, $alias, undef); $peer_added = 1; $self->app->wireguardModel->update_peer_data($interface, $peer_pub_key, 'description', $desc) if defined($desc); + $self->app->wireguardModel->update_peer_data($interface, $peer_pub_key, 'name', $name); $self->app->wireguardModel->update_peer_data($interface, $peer_pub_key, 'email', $email); $self->app->wireguardModel->update_peer_data($interface, $peer_pub_key, 'device', $device); $self->app->wireguardModel->update_peer_data($interface, $peer_pub_key, 'created', $created); @@ -380,10 +380,10 @@ sub generate_preview_config ($form_values, $client_private_key, $interface_publi # } my $pfx = '#+'; my $out = "[Interface]\n" - . $pfx . "Name = " . ($form_values->{name} ? $form_values->{name} . "\n" : "\n") - . $pfx . "Email = " . ($form_values->{email} ? $form_values->{email} . "\n" : "\n") - . $pfx . "Device = " . ($form_values->{device} ? $form_values->{device} . "\n" : "\n") - . $pfx . "Created = " . ($form_values->{created} ? $form_values->{created} . "\n" : "\n") + . $pfx . "name = " . ($form_values->{name} ? $form_values->{name} . "\n" : "\n") + . $pfx . "email = " . ($form_values->{email} ? $form_values->{email} . "\n" : "\n") + . $pfx . "device = " . ($form_values->{device} ? $form_values->{device} . "\n" : "\n") + . $pfx . "created = " . ($form_values->{created} ? $form_values->{created} . "\n" : "\n") . "Address = " . $form_values->{address} . "\n" . "PrivateKey = $client_private_key\n" . ($form_values->{DNS} ? "DNS = " . $form_values->{DNS} . "\n" : '') @@ -420,23 +420,25 @@ sub getAllFieldValues ($self, $args, $formData, $qx_locale) { } # generate key-pair unless we already have one my $private_key = ""; + my $public_key = ""; unless ($formData->{currentFormData}{'private-key'}) { my $key_pair = $self->app->wireguardModel->gen_key_pair(); $private_key = $key_pair->{'private-key'}; - $data->{'private-key'} = $key_pair->{'private-key'}; - $data->{'public-key'} = $key_pair->{'public-key'}; + $public_key = $key_pair->{'public-key'}; } else { $private_key = $formData->{currentFormData}{'private-key'}; + $public_key = $formData->{currentFormData}{'public-key'}; } - + $data->{'private-key'} = $private_key; + $data->{'public-key'} = $public_key; $data->{'config_preview'} = generate_preview_config($formData->{currentFormData}, $private_key, $interface_public_key); } else { $data->{'config_preview'} = 'Select an interface first'; } - $data->{'created'} = strftime("%Y-%m-%d %H:%M:%S %z", localtime); + $data->{'allowed-ips'} = $self->config->{'default-allowed-ips'}; $data->{'DNS'} = $self->config->{'default-dns'}; return $data; diff --git a/lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm b/lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm index 7288603d..4a8ea007 100644 --- a/lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm +++ b/lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm @@ -14,10 +14,8 @@ Peer edit form =cut has formCfg => sub ($self) { - return [ - # This does somehow not work $self->{args}{selection}{disabled} is a reference to JSON::PP true - 1 ? { + $self->{args}{selection}{disabled} == true ? { widget => 'header', label => trm('Warning'), note => trm('This Peer is disabled!'), @@ -129,7 +127,7 @@ has actionCfg => sub ($self) { my $before_change = $self->app->wireguardModel->get_section_data($interface, $identifier); eval { for my $attr_key (keys %{$args}) { - unless ($attr_key eq 'interface' || $attr_key eq 'public-key' || $attr_key eq 'integrity_hash') { + unless ($attr_key eq 'interface' || $attr_key eq 'public-key' || $attr_key eq 'integrity_hash' || not defined($args->{$attr_key})) { $self->app->wireguardModel->update_peer_data($interface, $identifier, $attr_key, $args->{$attr_key}); } diff --git a/lib/WGwrangler/GuiPlugin/WireguardShow.pm b/lib/WGwrangler/GuiPlugin/WireguardShow.pm index 39171aa6..da98c159 100644 --- a/lib/WGwrangler/GuiPlugin/WireguardShow.pm +++ b/lib/WGwrangler/GuiPlugin/WireguardShow.pm @@ -350,7 +350,6 @@ sub getTableData ($self, $args, $qx_locale) { toggle => { enabled => true, label => ($row->{'disabled'}) ? trm('Enable Peer') : trm('Disable Peer') - } } } diff --git a/lib/WGwrangler/Model/WireguardDataAdapter.pm b/lib/WGwrangler/Model/WireguardDataAdapter.pm index a4b0dca4..3a278398 100644 --- a/lib/WGwrangler/Model/WireguardDataAdapter.pm +++ b/lib/WGwrangler/Model/WireguardDataAdapter.pm @@ -55,17 +55,17 @@ has 'wg_not_installed' => sub { has 'wg_meta' => sub ($self) { my $custom_attr_config = { 'email' => { - 'in_config_name' => 'Email', - 'validator' => sub ($value) {return $value =~ /^\S+@\S+\.\S+$/;} + 'validator' => sub($value) {return $value =~ /^\S+@\S+\.\S+$/;} }, device => { - 'in_config_name' => 'Device', - 'validator' => sub ($value) {return 1} + 'validator' => sub($value) {return 1} }, created => { - 'in_config_name' => 'Created', - 'validator' => sub ($value) {return 1} + 'validator' => sub($value) {return 1} + }, + fqdn => { + 'validator' => sub($value) {return 1} } }; my $wg_metaT = Wireguard::WGmeta::Wrapper::ConfigT->new($self->wireguard_home, '#+', '#-', $self->not_applied_suffix, $custom_attr_config); @@ -195,7 +195,7 @@ Returns the number of peers with respect to the current filter string =cut sub get_peer_count ($self, $filter) { my $filtered_data = _apply_filter($self->_generate_table_source(), $filter); - return @{$filtered_data}; + return scalar @{$filtered_data}; } =head3 update_peer_data($interface, $identifier, $attr, $value) @@ -216,8 +216,8 @@ L manually to allow setting additional a to disk. =cut -sub add_peer ($self, $interface, $name, $ip_address, $public_key, $alias, $pre_shared_key) { - $self->wg_meta->add_peer($interface, $name, $ip_address, $public_key, $alias, $pre_shared_key); +sub add_peer ($self, $interface, $ip_address, $public_key, $alias, $pre_shared_key) { + $self->wg_meta->add_peer($interface, $ip_address, $public_key, $alias, $pre_shared_key); } =head3 remove_peer($interface, $identifier, $ref_integrity_hash) diff --git a/share/de.po b/share/de.po index c7fba22e..918c9af5 100644 --- a/share/de.po +++ b/share/de.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: wgwrangler 0.0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-30 16:13+0200\n" +"POT-Creation-Date: 2021-07-18 13:58+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,57 +17,55 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:23 #: lib/WGwrangler/GuiPlugin/WireguardVersions.pm:48 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:23 msgid "*" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:22 -msgid "Warning" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:154 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:62 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:153 msgid "A device name" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:451 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:547 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:423 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:500 msgid "Access Denied" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:191 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:189 msgid "Actual Address" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:367 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:145 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:369 msgid "Add Peer" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:92 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:205 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:92 msgid "Add User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:174 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:172 msgid "Address Override" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:201 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:199 msgid "Advanced Options" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:147 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:242 +msgid "Alias" +msgstr "" + +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:151 msgid "Alias is already defined for this interface" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:160 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:159 msgid "Allowed IPs" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:84 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:87 msgid "Allowed-IPs" msgstr "" @@ -84,11 +82,11 @@ msgstr "" msgid "Briefly describe your changes" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:217 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:215 msgid "Client Interface Port" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:209 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:207 msgid "Client specific configuration" msgstr "" @@ -112,10 +110,6 @@ msgstr "" msgid "Could not checkin new version. Error ID: " msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:151 -msgid "Could not edit peer. Error ID: " -msgstr "" - #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:202 msgid "Create Admin Account" msgstr "" @@ -124,12 +118,12 @@ msgstr "" msgid "Created" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:231 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:229 msgid "DNS" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:471 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:564 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:443 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:517 msgid "Data Decoding Problem %1" msgstr "" @@ -145,14 +139,12 @@ msgstr "" msgid "Delete User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:277 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:114 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:274 msgid "Description" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:145 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:77 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:146 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:56 msgid "Device" msgstr "" @@ -184,11 +176,11 @@ msgstr "" msgid "Do you really want to go back to this revision?" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:129 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:133 msgid "Does not look like an email address" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:131 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:135 msgid "Does not look like an ip address" msgstr "" @@ -203,7 +195,6 @@ msgid "Edit User" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:70 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:39 msgid "Email" msgstr "" @@ -239,31 +230,26 @@ msgstr "" msgid "Failed to send mail to %1" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:60 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:94 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:60 msgid "Family Name" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:53 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:85 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:53 msgid "Given Name" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:141 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:145 msgid "Has to be in range 1025-65535 and a number" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:149 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:153 msgid "Has to be larger than 0 and a number" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:67 -msgid "Integrity Hash" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:48 #: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:44 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:30 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:48 msgid "Interface" msgstr "" @@ -271,17 +257,16 @@ msgstr "" msgid "It seems that some parts of" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:185 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:183 msgid "List of ip addresses, separated by comma and in CDIR notation" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:117 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:63 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:118 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:76 msgid "Name" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:126 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:125 msgid "Name of the person which this peer belongs to" msgstr "" @@ -301,25 +286,25 @@ msgstr "" msgid "No user selected." msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:134 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:138 msgid "Not enough arguments for validator `address_override`" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:145 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:149 msgid "Not enough arguments for validator `alias`" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:74 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:104 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:74 msgid "Note" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:127 -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:128 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:131 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:132 msgid "Only a-Z, 0-9 and -/_ allowed" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:130 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:134 msgid "Only a-Z, 0-9, -/_ and one space are allowed" msgstr "" @@ -339,22 +324,21 @@ msgstr "" msgid "Peer Public Key" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:262 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:259 msgid "Persistent-keepalive" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:456 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:554 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:428 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:507 msgid "Plugin Name missing" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:55 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:47 msgid "Public Key" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:256 #: lib/WGwrangler/GuiPlugin/WireguardVersions.pm:126 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:256 msgid "Reload Data" msgstr "" @@ -366,24 +350,19 @@ msgstr "" msgid "Rights" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:161 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:204 msgid "Save Changes" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:287 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:284 msgid "Send by Email" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:271 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:268 msgid "Send keep-alive pings every N seconds" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:117 -msgid "Some extra infos about this peer" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:280 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:277 msgid "Some extra infos about this peer (Not visible in config preview)" msgstr "" @@ -391,7 +370,7 @@ msgstr "" msgid "Something went wrong while trying to delete this peer. Error ID: " msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:224 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:222 msgid "The listen port on the peer" msgstr "" @@ -399,10 +378,6 @@ msgstr "" msgid "The password instances did not match." msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:23 -msgid "This Peer is disabled!" -msgstr "" - #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:91 msgid "Transfer-RX" msgstr "" @@ -411,7 +386,7 @@ msgstr "" msgid "Transfer-TX" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:462 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:434 msgid "Upload Missing" msgstr "" @@ -419,21 +394,21 @@ msgstr "" msgid "User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:132 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:131 msgid "User email" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:140 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:139 msgid "User email - config is sent to this email if desired" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:38 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:50 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:38 msgid "UserId" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:46 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:59 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:46 msgid "Username" msgstr "" @@ -441,7 +416,7 @@ msgstr "" msgid "Version" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Config.pm:478 +#: thirdparty/lib/perl5/CallBackery/Config.pm:491 msgid "Wrong password!" msgstr "" @@ -478,6 +453,6 @@ msgstr "" msgid "overlaps with an already acquired network" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/AbstractForm.pm:137 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/AbstractForm.pm:139 msgid "sorry, don't know the field you are talking about" msgstr "" diff --git a/share/en.po b/share/en.po index c7fba22e..918c9af5 100644 --- a/share/en.po +++ b/share/en.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: wgwrangler 0.0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-30 16:13+0200\n" +"POT-Creation-Date: 2021-07-18 13:58+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,57 +17,55 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:23 #: lib/WGwrangler/GuiPlugin/WireguardVersions.pm:48 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:23 msgid "*" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:22 -msgid "Warning" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:154 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:62 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:153 msgid "A device name" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:451 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:547 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:423 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:500 msgid "Access Denied" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:191 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:189 msgid "Actual Address" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:367 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:145 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:369 msgid "Add Peer" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:92 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:205 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:92 msgid "Add User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:174 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:172 msgid "Address Override" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:201 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:199 msgid "Advanced Options" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:147 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:242 +msgid "Alias" +msgstr "" + +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:151 msgid "Alias is already defined for this interface" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:160 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:159 msgid "Allowed IPs" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:84 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:87 msgid "Allowed-IPs" msgstr "" @@ -84,11 +82,11 @@ msgstr "" msgid "Briefly describe your changes" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:217 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:215 msgid "Client Interface Port" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:209 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:207 msgid "Client specific configuration" msgstr "" @@ -112,10 +110,6 @@ msgstr "" msgid "Could not checkin new version. Error ID: " msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:151 -msgid "Could not edit peer. Error ID: " -msgstr "" - #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:202 msgid "Create Admin Account" msgstr "" @@ -124,12 +118,12 @@ msgstr "" msgid "Created" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:231 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:229 msgid "DNS" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:471 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:564 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:443 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:517 msgid "Data Decoding Problem %1" msgstr "" @@ -145,14 +139,12 @@ msgstr "" msgid "Delete User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:277 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:114 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:274 msgid "Description" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:145 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:77 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:146 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:56 msgid "Device" msgstr "" @@ -184,11 +176,11 @@ msgstr "" msgid "Do you really want to go back to this revision?" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:129 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:133 msgid "Does not look like an email address" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:131 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:135 msgid "Does not look like an ip address" msgstr "" @@ -203,7 +195,6 @@ msgid "Edit User" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:70 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:39 msgid "Email" msgstr "" @@ -239,31 +230,26 @@ msgstr "" msgid "Failed to send mail to %1" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:60 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:94 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:60 msgid "Family Name" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:53 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:85 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:53 msgid "Given Name" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:141 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:145 msgid "Has to be in range 1025-65535 and a number" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:149 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:153 msgid "Has to be larger than 0 and a number" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:67 -msgid "Integrity Hash" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:48 #: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:44 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:30 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:48 msgid "Interface" msgstr "" @@ -271,17 +257,16 @@ msgstr "" msgid "It seems that some parts of" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:185 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:183 msgid "List of ip addresses, separated by comma and in CDIR notation" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:117 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:63 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:118 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:76 msgid "Name" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:126 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:125 msgid "Name of the person which this peer belongs to" msgstr "" @@ -301,25 +286,25 @@ msgstr "" msgid "No user selected." msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:134 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:138 msgid "Not enough arguments for validator `address_override`" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:145 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:149 msgid "Not enough arguments for validator `alias`" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:74 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:104 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:74 msgid "Note" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:127 -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:128 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:131 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:132 msgid "Only a-Z, 0-9 and -/_ allowed" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:130 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:134 msgid "Only a-Z, 0-9, -/_ and one space are allowed" msgstr "" @@ -339,22 +324,21 @@ msgstr "" msgid "Peer Public Key" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:262 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:259 msgid "Persistent-keepalive" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:456 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:554 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:428 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:507 msgid "Plugin Name missing" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:55 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:47 msgid "Public Key" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:256 #: lib/WGwrangler/GuiPlugin/WireguardVersions.pm:126 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:256 msgid "Reload Data" msgstr "" @@ -366,24 +350,19 @@ msgstr "" msgid "Rights" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:161 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:204 msgid "Save Changes" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:287 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:284 msgid "Send by Email" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:271 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:268 msgid "Send keep-alive pings every N seconds" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:117 -msgid "Some extra infos about this peer" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:280 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:277 msgid "Some extra infos about this peer (Not visible in config preview)" msgstr "" @@ -391,7 +370,7 @@ msgstr "" msgid "Something went wrong while trying to delete this peer. Error ID: " msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:224 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:222 msgid "The listen port on the peer" msgstr "" @@ -399,10 +378,6 @@ msgstr "" msgid "The password instances did not match." msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:23 -msgid "This Peer is disabled!" -msgstr "" - #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:91 msgid "Transfer-RX" msgstr "" @@ -411,7 +386,7 @@ msgstr "" msgid "Transfer-TX" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:462 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:434 msgid "Upload Missing" msgstr "" @@ -419,21 +394,21 @@ msgstr "" msgid "User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:132 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:131 msgid "User email" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:140 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:139 msgid "User email - config is sent to this email if desired" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:38 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:50 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:38 msgid "UserId" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:46 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:59 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:46 msgid "Username" msgstr "" @@ -441,7 +416,7 @@ msgstr "" msgid "Version" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Config.pm:478 +#: thirdparty/lib/perl5/CallBackery/Config.pm:491 msgid "Wrong password!" msgstr "" @@ -478,6 +453,6 @@ msgstr "" msgid "overlaps with an already acquired network" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/AbstractForm.pm:137 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/AbstractForm.pm:139 msgid "sorry, don't know the field you are talking about" msgstr "" diff --git a/share/fr.po b/share/fr.po index c7fba22e..918c9af5 100644 --- a/share/fr.po +++ b/share/fr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: wgwrangler 0.0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-30 16:13+0200\n" +"POT-Creation-Date: 2021-07-18 13:58+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,57 +17,55 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:23 #: lib/WGwrangler/GuiPlugin/WireguardVersions.pm:48 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:23 msgid "*" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:22 -msgid "Warning" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:154 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:62 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:153 msgid "A device name" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:451 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:547 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:423 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:500 msgid "Access Denied" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:191 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:189 msgid "Actual Address" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:367 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:145 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:369 msgid "Add Peer" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:92 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:205 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:92 msgid "Add User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:174 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:172 msgid "Address Override" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:201 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:199 msgid "Advanced Options" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:147 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:242 +msgid "Alias" +msgstr "" + +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:151 msgid "Alias is already defined for this interface" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:160 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:159 msgid "Allowed IPs" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:84 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:87 msgid "Allowed-IPs" msgstr "" @@ -84,11 +82,11 @@ msgstr "" msgid "Briefly describe your changes" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:217 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:215 msgid "Client Interface Port" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:209 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:207 msgid "Client specific configuration" msgstr "" @@ -112,10 +110,6 @@ msgstr "" msgid "Could not checkin new version. Error ID: " msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:151 -msgid "Could not edit peer. Error ID: " -msgstr "" - #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:202 msgid "Create Admin Account" msgstr "" @@ -124,12 +118,12 @@ msgstr "" msgid "Created" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:231 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:229 msgid "DNS" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:471 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:564 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:443 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:517 msgid "Data Decoding Problem %1" msgstr "" @@ -145,14 +139,12 @@ msgstr "" msgid "Delete User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:277 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:114 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:274 msgid "Description" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:145 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:77 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:146 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:56 msgid "Device" msgstr "" @@ -184,11 +176,11 @@ msgstr "" msgid "Do you really want to go back to this revision?" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:129 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:133 msgid "Does not look like an email address" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:131 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:135 msgid "Does not look like an ip address" msgstr "" @@ -203,7 +195,6 @@ msgid "Edit User" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:70 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:39 msgid "Email" msgstr "" @@ -239,31 +230,26 @@ msgstr "" msgid "Failed to send mail to %1" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:60 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:94 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:60 msgid "Family Name" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:53 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:85 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:53 msgid "Given Name" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:141 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:145 msgid "Has to be in range 1025-65535 and a number" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:149 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:153 msgid "Has to be larger than 0 and a number" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:67 -msgid "Integrity Hash" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:48 #: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:44 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:30 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:48 msgid "Interface" msgstr "" @@ -271,17 +257,16 @@ msgstr "" msgid "It seems that some parts of" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:185 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:183 msgid "List of ip addresses, separated by comma and in CDIR notation" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:117 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:63 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:118 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:76 msgid "Name" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:126 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:125 msgid "Name of the person which this peer belongs to" msgstr "" @@ -301,25 +286,25 @@ msgstr "" msgid "No user selected." msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:134 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:138 msgid "Not enough arguments for validator `address_override`" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:145 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:149 msgid "Not enough arguments for validator `alias`" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:74 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:104 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:74 msgid "Note" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:127 -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:128 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:131 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:132 msgid "Only a-Z, 0-9 and -/_ allowed" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:130 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:134 msgid "Only a-Z, 0-9, -/_ and one space are allowed" msgstr "" @@ -339,22 +324,21 @@ msgstr "" msgid "Peer Public Key" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:262 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:259 msgid "Persistent-keepalive" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:456 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:554 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:428 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:507 msgid "Plugin Name missing" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:55 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:47 msgid "Public Key" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:256 #: lib/WGwrangler/GuiPlugin/WireguardVersions.pm:126 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:256 msgid "Reload Data" msgstr "" @@ -366,24 +350,19 @@ msgstr "" msgid "Rights" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:161 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:204 msgid "Save Changes" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:287 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:284 msgid "Send by Email" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:271 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:268 msgid "Send keep-alive pings every N seconds" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:117 -msgid "Some extra infos about this peer" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:280 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:277 msgid "Some extra infos about this peer (Not visible in config preview)" msgstr "" @@ -391,7 +370,7 @@ msgstr "" msgid "Something went wrong while trying to delete this peer. Error ID: " msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:224 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:222 msgid "The listen port on the peer" msgstr "" @@ -399,10 +378,6 @@ msgstr "" msgid "The password instances did not match." msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:23 -msgid "This Peer is disabled!" -msgstr "" - #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:91 msgid "Transfer-RX" msgstr "" @@ -411,7 +386,7 @@ msgstr "" msgid "Transfer-TX" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:462 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:434 msgid "Upload Missing" msgstr "" @@ -419,21 +394,21 @@ msgstr "" msgid "User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:132 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:131 msgid "User email" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:140 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:139 msgid "User email - config is sent to this email if desired" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:38 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:50 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:38 msgid "UserId" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:46 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:59 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:46 msgid "Username" msgstr "" @@ -441,7 +416,7 @@ msgstr "" msgid "Version" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Config.pm:478 +#: thirdparty/lib/perl5/CallBackery/Config.pm:491 msgid "Wrong password!" msgstr "" @@ -478,6 +453,6 @@ msgstr "" msgid "overlaps with an already acquired network" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/AbstractForm.pm:137 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/AbstractForm.pm:139 msgid "sorry, don't know the field you are talking about" msgstr "" diff --git a/share/it.po b/share/it.po index c7fba22e..918c9af5 100644 --- a/share/it.po +++ b/share/it.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: wgwrangler 0.0.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-30 16:13+0200\n" +"POT-Creation-Date: 2021-07-18 13:58+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,57 +17,55 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:23 #: lib/WGwrangler/GuiPlugin/WireguardVersions.pm:48 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:23 msgid "*" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:22 -msgid "Warning" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:154 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:62 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:153 msgid "A device name" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:451 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:547 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:423 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:500 msgid "Access Denied" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:191 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:189 msgid "Actual Address" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:367 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:145 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:369 msgid "Add Peer" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:92 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:205 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:92 msgid "Add User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:174 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:172 msgid "Address Override" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:201 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:199 msgid "Advanced Options" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:147 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:242 +msgid "Alias" +msgstr "" + +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:151 msgid "Alias is already defined for this interface" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:160 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:159 msgid "Allowed IPs" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:84 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:87 msgid "Allowed-IPs" msgstr "" @@ -84,11 +82,11 @@ msgstr "" msgid "Briefly describe your changes" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:217 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:215 msgid "Client Interface Port" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:209 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:207 msgid "Client specific configuration" msgstr "" @@ -112,10 +110,6 @@ msgstr "" msgid "Could not checkin new version. Error ID: " msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:151 -msgid "Could not edit peer. Error ID: " -msgstr "" - #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:202 msgid "Create Admin Account" msgstr "" @@ -124,12 +118,12 @@ msgstr "" msgid "Created" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:231 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:229 msgid "DNS" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:471 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:564 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:443 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:517 msgid "Data Decoding Problem %1" msgstr "" @@ -145,14 +139,12 @@ msgstr "" msgid "Delete User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:277 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:114 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:274 msgid "Description" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:145 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:77 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:146 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:56 msgid "Device" msgstr "" @@ -184,11 +176,11 @@ msgstr "" msgid "Do you really want to go back to this revision?" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:129 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:133 msgid "Does not look like an email address" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:131 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:135 msgid "Does not look like an ip address" msgstr "" @@ -203,7 +195,6 @@ msgid "Edit User" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:70 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:39 msgid "Email" msgstr "" @@ -239,31 +230,26 @@ msgstr "" msgid "Failed to send mail to %1" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:60 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:94 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:60 msgid "Family Name" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:53 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:85 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:53 msgid "Given Name" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:141 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:145 msgid "Has to be in range 1025-65535 and a number" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:149 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:153 msgid "Has to be larger than 0 and a number" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:67 -msgid "Integrity Hash" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:48 #: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:44 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:30 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:48 msgid "Interface" msgstr "" @@ -271,17 +257,16 @@ msgstr "" msgid "It seems that some parts of" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:185 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:183 msgid "List of ip addresses, separated by comma and in CDIR notation" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:117 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:63 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:118 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:76 msgid "Name" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:126 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:125 msgid "Name of the person which this peer belongs to" msgstr "" @@ -301,25 +286,25 @@ msgstr "" msgid "No user selected." msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:134 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:138 msgid "Not enough arguments for validator `address_override`" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:145 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:149 msgid "Not enough arguments for validator `alias`" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:74 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:104 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:74 msgid "Note" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:127 -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:128 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:131 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:132 msgid "Only a-Z, 0-9 and -/_ allowed" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:130 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:134 msgid "Only a-Z, 0-9, -/_ and one space are allowed" msgstr "" @@ -339,22 +324,21 @@ msgstr "" msgid "Peer Public Key" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:262 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:259 msgid "Persistent-keepalive" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:456 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:554 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:428 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:507 msgid "Plugin Name missing" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:55 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:47 msgid "Public Key" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:256 #: lib/WGwrangler/GuiPlugin/WireguardVersions.pm:126 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:256 msgid "Reload Data" msgstr "" @@ -366,24 +350,19 @@ msgstr "" msgid "Rights" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:161 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:204 msgid "Save Changes" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:287 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:284 msgid "Send by Email" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:271 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:268 msgid "Send keep-alive pings every N seconds" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:117 -msgid "Some extra infos about this peer" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:280 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:277 msgid "Some extra infos about this peer (Not visible in config preview)" msgstr "" @@ -391,7 +370,7 @@ msgstr "" msgid "Something went wrong while trying to delete this peer. Error ID: " msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:224 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:222 msgid "The listen port on the peer" msgstr "" @@ -399,10 +378,6 @@ msgstr "" msgid "The password instances did not match." msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:23 -msgid "This Peer is disabled!" -msgstr "" - #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:91 msgid "Transfer-RX" msgstr "" @@ -411,7 +386,7 @@ msgstr "" msgid "Transfer-TX" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:462 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:434 msgid "Upload Missing" msgstr "" @@ -419,21 +394,21 @@ msgstr "" msgid "User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:132 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:131 msgid "User email" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:140 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:139 msgid "User email - config is sent to this email if desired" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:38 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:50 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:38 msgid "UserId" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:46 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:59 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:46 msgid "Username" msgstr "" @@ -441,7 +416,7 @@ msgstr "" msgid "Version" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Config.pm:478 +#: thirdparty/lib/perl5/CallBackery/Config.pm:491 msgid "Wrong password!" msgstr "" @@ -478,6 +453,6 @@ msgstr "" msgid "overlaps with an already acquired network" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/AbstractForm.pm:137 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/AbstractForm.pm:139 msgid "sorry, don't know the field you are talking about" msgstr "" diff --git a/share/messages.pot b/share/messages.pot index 27462d1c..a4845edf 100644 --- a/share/messages.pot +++ b/share/messages.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: wgwrangler 0.1.1\n" +"Project-Id-Version: wgwrangler 0.2.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-30 16:13+0200\n" +"POT-Creation-Date: 2021-07-18 13:58+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,57 +17,55 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:23 #: lib/WGwrangler/GuiPlugin/WireguardVersions.pm:48 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:23 msgid "*" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:22 -msgid "Warning" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:154 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:62 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:153 msgid "A device name" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:451 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:547 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:423 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:500 msgid "Access Denied" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:191 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:189 msgid "Actual Address" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:367 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:145 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:369 msgid "Add Peer" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:92 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:205 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:92 msgid "Add User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:174 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:172 msgid "Address Override" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:201 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:199 msgid "Advanced Options" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:147 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:242 +msgid "Alias" +msgstr "" + +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:151 msgid "Alias is already defined for this interface" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:160 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:159 msgid "Allowed IPs" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:84 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:87 msgid "Allowed-IPs" msgstr "" @@ -84,11 +82,11 @@ msgstr "" msgid "Briefly describe your changes" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:217 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:215 msgid "Client Interface Port" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:209 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:207 msgid "Client specific configuration" msgstr "" @@ -112,10 +110,6 @@ msgstr "" msgid "Could not checkin new version. Error ID: " msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:151 -msgid "Could not edit peer. Error ID: " -msgstr "" - #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:202 msgid "Create Admin Account" msgstr "" @@ -124,12 +118,12 @@ msgstr "" msgid "Created" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:231 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:229 msgid "DNS" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:471 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:564 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:443 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:517 msgid "Data Decoding Problem %1" msgstr "" @@ -145,14 +139,12 @@ msgstr "" msgid "Delete User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:277 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:114 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:274 msgid "Description" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:145 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:77 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:146 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:56 msgid "Device" msgstr "" @@ -184,11 +176,11 @@ msgstr "" msgid "Do you really want to go back to this revision?" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:129 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:133 msgid "Does not look like an email address" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:131 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:135 msgid "Does not look like an ip address" msgstr "" @@ -203,7 +195,6 @@ msgid "Edit User" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:70 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:39 msgid "Email" msgstr "" @@ -239,31 +230,26 @@ msgstr "" msgid "Failed to send mail to %1" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:60 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:94 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:60 msgid "Family Name" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:53 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:85 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:53 msgid "Given Name" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:141 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:145 msgid "Has to be in range 1025-65535 and a number" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:149 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:153 msgid "Has to be larger than 0 and a number" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:67 -msgid "Integrity Hash" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:48 #: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:44 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:30 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:48 msgid "Interface" msgstr "" @@ -271,17 +257,16 @@ msgstr "" msgid "It seems that some parts of" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:185 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:183 msgid "List of ip addresses, separated by comma and in CDIR notation" msgstr "" +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:117 #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:63 -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:118 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:76 msgid "Name" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:126 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:125 msgid "Name of the person which this peer belongs to" msgstr "" @@ -301,25 +286,25 @@ msgstr "" msgid "No user selected." msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:134 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:138 msgid "Not enough arguments for validator `address_override`" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:145 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:149 msgid "Not enough arguments for validator `alias`" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:74 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:104 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:74 msgid "Note" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:127 -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:128 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:131 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:132 msgid "Only a-Z, 0-9 and -/_ allowed" msgstr "" -#: lib/WGwrangler/Model/WireguardDataAdapter.pm:130 +#: lib/WGwrangler/Model/WireguardDataAdapter.pm:134 msgid "Only a-Z, 0-9, -/_ and one space are allowed" msgstr "" @@ -339,22 +324,21 @@ msgstr "" msgid "Peer Public Key" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:262 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:259 msgid "Persistent-keepalive" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:456 -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:554 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:428 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:507 msgid "Plugin Name missing" msgstr "" #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:55 -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:47 msgid "Public Key" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:256 #: lib/WGwrangler/GuiPlugin/WireguardVersions.pm:126 +#: lib/WGwrangler/GuiPlugin/WireguardShow.pm:256 msgid "Reload Data" msgstr "" @@ -366,24 +350,19 @@ msgstr "" msgid "Rights" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:161 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:204 msgid "Save Changes" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:287 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:284 msgid "Send by Email" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:271 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:268 msgid "Send keep-alive pings every N seconds" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:117 -msgid "Some extra infos about this peer" -msgstr "" - -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:280 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:277 msgid "Some extra infos about this peer (Not visible in config preview)" msgstr "" @@ -391,7 +370,7 @@ msgstr "" msgid "Something went wrong while trying to delete this peer. Error ID: " msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:224 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:222 msgid "The listen port on the peer" msgstr "" @@ -399,10 +378,6 @@ msgstr "" msgid "The password instances did not match." msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardEditPeerForm.pm:23 -msgid "This Peer is disabled!" -msgstr "" - #: lib/WGwrangler/GuiPlugin/WireguardShow.pm:91 msgid "Transfer-RX" msgstr "" @@ -411,7 +386,7 @@ msgstr "" msgid "Transfer-TX" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:462 +#: thirdparty/lib/perl5/CallBackery/Controller/RpcService.pm:434 msgid "Upload Missing" msgstr "" @@ -419,21 +394,21 @@ msgstr "" msgid "User" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:132 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:131 msgid "User email" msgstr "" -#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:140 +#: lib/WGwrangler/GuiPlugin/WireguardAddPeerForm.pm:139 msgid "User email - config is sent to this email if desired" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:38 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:50 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:38 msgid "UserId" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:46 #: thirdparty/lib/perl5/CallBackery/GuiPlugin/UserForm.pm:59 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/Users.pm:46 msgid "Username" msgstr "" @@ -441,7 +416,7 @@ msgstr "" msgid "Version" msgstr "" -#: thirdparty/lib/perl5/CallBackery/Config.pm:478 +#: thirdparty/lib/perl5/CallBackery/Config.pm:491 msgid "Wrong password!" msgstr "" @@ -478,6 +453,6 @@ msgstr "" msgid "overlaps with an already acquired network" msgstr "" -#: thirdparty/lib/perl5/CallBackery/GuiPlugin/AbstractForm.pm:137 +#: thirdparty/lib/perl5/CallBackery/GuiPlugin/AbstractForm.pm:139 msgid "sorry, don't know the field you are talking about" msgstr "" diff --git a/t/dummy_home/wg0.conf b/t/dummy_home/wg0.conf index 64ac2e3e..b855c0dc 100644 --- a/t/dummy_home/wg0.conf +++ b/t/dummy_home/wg0.conf @@ -1,43 +1,45 @@ -# This config is generated and maintained by wg-meta. -# It is strongly recommended to edit this config only through a supporting wg-meta -# implementation (e.g the wg-meta cli interface) -# -# Changes to this header are always overwritten, you can add normal comments in [Peer] and [Interface] section though. -# -# Support and issue tracker: https://github.com/sirtoobii/wg-meta -#+Checksum = 229354359 +#+Checksum = 3186310980 [Interface] Address = 10.0.10.0/24, fdc9:281f:04d7:9ee9::0/64 ListenPort = 51888 PrivateKey = MN6ipoevVEFdsQ+vciTdsgeD30e9w0qT2jPZOFotmHQ= -#+FQDN = wireguard1.example.com +#+fqdn = wireguard1.example.com [Peer] -#+Name = CCCCC +#+name = CCCCC PublicKey = 2mO59ijYCvfJUi6pnNO0H697xiZHTzs4mLA5da5m13w= AllowedIPs = 10.0.10.1/32 #+Alias = tes - -#-[Peer] -#-#+Name = DDDDD -#-PublicKey = KpXASgjXPh5xtIxFclQUZzq4PuqbDfHT1CaU8shTsVE= -#-AllowedIPs = 10.0.10.2/32 -#-#+Email = wefwefwef@ttt.com -#-#+Description = zöziöwaqdwqdqwdwadqwdqwd -#-#+Disabled = 1 +#+device = wefwefef +#+description = wefwefwef [Peer] -#+Name = Tester -PublicKey = Mu46ORALOMuD/T/uyuBiJNecOps4q80TB6BH6F2W9SA= -AllowedIPs = 10.0.10.6/32,fdc9:281f:04d7:9ee9:0000:0000:0000:0006/128 -#+Email = hans@bla.com -#+Description = iu.i.uä0äu90 +#+name = DDDDD +PublicKey = KpXASgjXPh5xtIxFclQUZzq4PuqbDfHT1CaU8shTsVE= +AllowedIPs = 10.0.10.2/32 +#+email = wefwefwef@ttt.com +#+description = zöziöwaqdwqdqwdwadqwdqwd + +#-[Peer] +#-#+name = Tester +#-PublicKey = Mu46ORALOMuD/T/uyuBiJNecOps4q80TB6BH6F2W9SA= +#-AllowedIPs = 10.0.10.6/32,fdc9:281f:04d7:9ee9:0000:0000:0000:0006/128 +#-#+Email = hans@bla.com +#-#+Description = iu.i.uä0äu90 [Peer] -#+Name = OOOOOOOO +#+name = OOOOOOOO PublicKey = mUkItQOH7RkFNod+fT3glxilssdj79MSoXtBS4Ip/3M= AllowedIPs = 10.0.10.7/32 -#+Description = Hallo das ist ein Testwefwef -#+Email = hallo@test.com +#+description = Hallo das ist ein Testwefwef +#+email = hallo@test.com +#-[Peer] +#-PublicKey = dummy_pub_key +#-AllowedIPs = 10.0.10.1/32,fdc9:281f:04d7:9ee9:0000:0000:0000:0001/128 +#-#+name = Hansli_tab2 +#-#+email = hansli@gmx.ch +#-#+device = hansli_tab_device +#-#+created = 2021-07-18 13:15:05 +0200 +#-#+description = DSEC with spaces diff --git a/t/dummy_home/wg1.conf b/t/dummy_home/wg1.conf index 15c4f227..18b4f5a7 100644 --- a/t/dummy_home/wg1.conf +++ b/t/dummy_home/wg1.conf @@ -1,43 +1,44 @@ -# This config is generated and maintained by wg-meta. -# It is strongly recommended to edit this config only through a supporting wg-meta -# implementation (e.g the wg-meta cli interface) -# -# Changes to this header are always overwritten, you can add normal comments in [Peer] and [Interface] section though. -# -# Support and issue tracker: https://github.com/sirtoobii/wg-meta -#+Checksum = 229354359 +#+Checksum = 4025386050 [Interface] Address = 10.0.0.0/24, fdc9:281f:04d7:9ee9::0/64 ListenPort = 51888 PrivateKey = MN6ipoevVEFdsQ+vciTdsgeD30e9w0qT2jPZOFotmHQ= -#+FQDN = wireguard1.example.com +#+fqdn = wireguard1.example.com [Peer] -#+Name = CCCCC +#+name = CCCCC PublicKey = 2mO59ijYCvfJUi6pnNO0H697xiZHTzs4mLA5da5m13w= AllowedIPs = 10.0.0.1/32 #+Alias = tes +#+description = Added in file #-[Peer] -#-#+Name = DDDDD +#-#+name = DDDDD #-PublicKey = KpXASgjXPh5xtIxFclQUZzq4PuqbDfHT1CaU8shTsVE= #-AllowedIPs = 10.0.0.2/32 -#-#+Email = wefwefwef@ttt.com -#-#+Description = zöziöwaqdwqdqwdwadqwdqwd -#-#+Disabled = 1 +#-#+email = wefwefwef@ttt.com +#-#+description = Das ist ein Test +#-#+device = Hello_device [Peer] -#+Name = Tester +#+name = Tester PublicKey = Mu46ORALOMuD/T/uyuBiJNecOps4q80TB6BH6F2W9SA= AllowedIPs = 10.0.0.6/32,fdc9:281f:04d7:9ee9:0000:0000:0000:0006/128 -#+Email = hans@bla.com -#+Description = iu.i.uä0äu90 +#+email = hans@bla.com +#+description = iu.i.uä0äu90 [Peer] -#+Name = OOOOOOOO +#+name = OOOOOOOO PublicKey = mUkItQOH7RkFNod+fT3glxilssdj79MSoXtBS4Ip/3M= AllowedIPs = 10.0.0.7/32 -#+Description = Hallo das ist ein Testwefwef -#+Email = hallo@test.com +#+description = Hallo das ist ein Testwefwef +#+email = hallo@test.com +[Peer] +PublicKey = dummy_pub_key +AllowedIPs = 10.0.0.63 +#+name = testero +#+email = test@gmx.ch +#+device = efwefwef +#+created = 2021-07-18 13:38:52 +0200