Skip to content

Commit f882f21

Browse files
committed
Release v2.0.0-beta6
1 parent 224bf4d commit f882f21

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+55
-46
lines changed

include/husarnet/api_server/dashboard_api_proxy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Husarnet sp. z o.o.
1+
// Copyright (c) 2025 Husarnet sp. z o.o.
22
// Authors: listed in project_root/README.md
33
// License: specified in project_root/LICENSE.txt
44
#pragma once

include/husarnet/api_server/server.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Husarnet sp. z o.o.
1+
// Copyright (c) 2025 Husarnet sp. z o.o.
22
// Authors: listed in project_root/README.md
33
// License: specified in project_root/LICENSE.txt
44
#pragma once
@@ -42,6 +42,9 @@ class ApiServer {
4242
std::string errorString);
4343

4444
bool validateSecret(const httplib::Request& req, httplib::Response& res);
45+
void forwardRequestToDashboardApi(
46+
const httplib::Request& req,
47+
httplib::Response& res);
4548

4649
nlohmann::json getStandardReply();
4750

include/husarnet/compression_layer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Husarnet sp. z o.o.
1+
// Copyright (c) 2025 Husarnet sp. z o.o.
22
// Authors: listed in project_root/README.md
33
// License: specified in project_root/LICENSE.txt
44
#pragma once

include/husarnet/config_storage.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Husarnet sp. z o.o.
1+
// Copyright (c) 2025 Husarnet sp. z o.o.
22
// Authors: listed in project_root/README.md
33
// License: specified in project_root/LICENSE.txt
44
#pragma once
@@ -119,10 +119,13 @@ class ConfigStorage {
119119
void setUserSetting(UserSetting setting, InetAddress inet);
120120
void clearUserSetting(UserSetting setting);
121121

122+
// Env variable related methods
122123
bool isUserSettingOverriden(UserSetting setting) const;
123124
std::string getPersistentUserSetting(UserSetting setting) const;
124125
void persistUserSettingOverride(UserSetting setting);
125126

127+
bool isUserSettingNonDefault(UserSetting setting) const;
128+
126129
std::string getUserSetting(UserSetting setting) const;
127130
bool getUserSettingBool(UserSetting setting) const;
128131
int getUserSettingInt(UserSetting setting) const;

include/husarnet/device_id.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Husarnet sp. z o.o.
1+
// Copyright (c) 2025 Husarnet sp. z o.o.
22
// Authors: listed in project_root/README.md
33
// License: specified in project_root/LICENSE.txt
44
#pragma once

include/husarnet/fstring.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Husarnet sp. z o.o.
1+
// Copyright (c) 2025 Husarnet sp. z o.o.
22
// Authors: listed in project_root/README.md
33
// License: specified in project_root/LICENSE.txt
44
#pragma once

include/husarnet/hooks_manager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Husarnet sp. z o.o.
1+
// Copyright (c) 2025 Husarnet sp. z o.o.
22
// Authors: listed in project_root/README.md
33
// License: specified in project_root/LICENSE.txt
44
#pragma once

include/husarnet/husarnet_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Husarnet sp. z o.o.
1+
// Copyright (c) 2025 Husarnet sp. z o.o.
22
// Authors: listed in project_root/README.md
33
// License: specified in project_root/LICENSE.txt
44
#pragma once
@@ -17,7 +17,7 @@
1717
#include "sdkconfig.h"
1818
#endif
1919

20-
#define HUSARNET_VERSION "2.0.280"
20+
#define HUSARNET_VERSION "2.0.304"
2121
#define WEBSETUP_SERVER_PORT 5580
2222
#define WEBSETUP_CLIENT_PORT 4800
2323
#define BASESERVER_PORT 443

include/husarnet/husarnet_manager.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Husarnet sp. z o.o.
1+
// Copyright (c) 2025 Husarnet sp. z o.o.
22
// Authors: listed in project_root/README.md
33
// License: specified in project_root/LICENSE.txt
44
#pragma once
@@ -135,6 +135,7 @@ class HusarnetManager {
135135
IpAddress getWebsetupAddress();
136136
std::vector<IpAddress> getBaseServerAddresses();
137137
std::vector<IpAddress> getDashboardApiAddresses();
138+
std::vector<IpAddress> getEbAddresses();
138139

139140
NgSocket* getNGSocket();
140141
SecurityLayer* getSecurityLayer();

include/husarnet/identity.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Husarnet sp. z o.o.
1+
// Copyright (c) 2025 Husarnet sp. z o.o.
22
// Authors: listed in project_root/README.md
33
// License: specified in project_root/LICENSE.txt
44
#pragma once

0 commit comments

Comments
 (0)