Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot] 87183f3ca6 chore(deps): bump axios from 1.14.0 to 1.15.0 in /src/static/client
Bumps [axios](https://github.com/axios/axios) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-14 01:09:23 +00:00
7 changed files with 16 additions and 22 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
.idea/*
*.db
dist
+5 -5
View File
@@ -8,9 +8,9 @@ from .config_utils import config_utils
class config():
@staticmethod
def filter(config_data: dict, filter_keyword: str) -> tuple[bool, dict]:
"""
'''
Helper function to grab a specific part of the config
"""
'''
lower_filter_keyword = filter_keyword.lower()
for section_name, section_values in config_data.items():
@@ -23,9 +23,9 @@ class config():
@staticmethod
def read() -> tuple[bool, dict]:
"""
'''
check some basic things and then return the dict containing the config data
"""
'''
ok, candidate_path = config_utils.search_known_paths()
if not ok:
@@ -46,7 +46,7 @@ class config():
ok, config_data = config.read()
if not ok:
log.error("failed to read the config successfully")
log.error("failed to read the config succesfully")
return False
if not config_utils.find_section(config_data, lower_target_section):
+2 -2
View File
@@ -8,9 +8,9 @@ import os
class config_utils():
@staticmethod
def search_known_paths() -> tuple[bool, str]:
"""
'''
Look at predefined paths on the filesystem for a config file
"""
'''
possible_config_locations = [
"./config.ini",
+1 -1
View File
@@ -40,7 +40,7 @@ class localeman:
return json.load(lang_file)
return None
def get_available_languages(self):
def get_available_languages():
available_languages_path = "./static/locales/supported_locales.json"
with open(os.path.join(available_languages_path), "r") as f:
+2 -8
View File
@@ -29,9 +29,8 @@ white_list = [
"/static/",
"/api/auth",
"/api/auth/validate",
"/api/auth/totp", # Need a GET to see if TOTP is enabled
"/api/dashboard/locale",
# "/api/dashboard/configuration",
"/api/dashboard/configuration",
"/api/dashboard/theme",
"/api/dashboard/version",
"/api/dashboard/totp",
@@ -50,7 +49,6 @@ def authentication_required():
auth_required_flag = config_server.get('auth_req', True)
api_key_enabled = config_server.get("wgdashboard_apikey", False)
app_prefix = config_server.get("app_prefix", "")
if not auth_required_flag:
return
@@ -66,11 +64,7 @@ def authentication_required():
if flask.session.get("role") == "admin":
return
# Handle Client Dashboard Path
if path.startswith(f'{app_prefix}/client'):
return
if routes_utils.is_path_allowed(path, white_list, flask.session):
return
+4 -4
View File
@@ -8,7 +8,7 @@
"name": "client",
"version": "v1.0",
"dependencies": {
"axios": "^1.14.0",
"axios": "^1.15.0",
"bootstrap": "^5.3.8",
"bootstrap-icons": "^1.13.1",
"dayjs": "^1.11.20",
@@ -1237,9 +1237,9 @@
"license": "MIT"
},
"node_modules/axios": {
"version": "1.14.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.14.0.tgz",
"integrity": "sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==",
"version": "1.15.0",
"resolved": "https://registry.npmjs.org/axios/-/axios-1.15.0.tgz",
"integrity": "sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==",
"license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.11",
+1 -1
View File
@@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"axios": "^1.14.0",
"axios": "^1.15.0",
"bootstrap": "^5.3.8",
"bootstrap-icons": "^1.13.1",
"dayjs": "^1.11.20",