Mattie Nickson
b7e268bf18
Fixed API docs rendering
...
The use of `strip_whitespace` in `Field` for the query validation model caused the automatic generation of the API docs to fail with `ValueError: `schema_extra` declares key `strip_whitespace` which does not exist in `Schema` object`. By switching from `Field` to `Annotated` with `StringConstraints`, this avoids this issue allowing API docs to be correctly rendered.
Signed-off-by: Mattie Nickson <mnickson@sidingsmedia.com>
2025-06-06 10:08:59 +01:00
Mattie Nickson
6d132e27b4
Fixed validation of no condition rules
...
Previously, when processing rules with no condition, an extra RuleWithPattern rule was also added to the rule list causing a validation error. This has been corrected.
Signed-off-by: Mattie Nickson <mnickson@sidingsmedia.com>
2025-06-04 17:59:49 +01:00
Mattie Nickson
d653461b5d
Fix field validation for device config.
...
Some of the field validator methods for device config used `values` as a dictionary (presumably from an old version of pydantic). This is now passed as a `ValidationInfo` object by pydantic, which caused issues when code attempted to access it. The affected methods have been updated to fix the issue.
Fix #311
Signed-off-by: Mattie Nickson <mnickson@sidingsmedia.com>
2025-06-04 13:33:28 +01:00
cooperwinser
c369af439d
Removed Union import
2025-05-17 23:34:15 +10:00
cooperwinser
7135ec3c9c
Fix: allow integer values in extCommunityListRaw field for Arista BGP parsing
2024-12-09 12:08:25 +11:00
cooperwinser
2ed949a7a4
Fix: allow integer values in extCommunityListRaw field for Arista BGP parsing
2024-12-09 11:53:19 +11:00
Matt Love
c2142ee76f
Merge pull request #264 from openxbr/main
...
Fix for IPv6 traceroute for juniper devices
2024-07-01 00:06:15 -04:00
thatmattlove
ec3c55aa81
prepare v2.0.4
2024-07-01 00:01:03 -04:00
thatmattlove
a5bc1ca8a0
fix formatting
2024-06-30 23:55:59 -04:00
thatmattlove
0f52bc438f
closes #268 : fix issue with mikrotik commands
2024-06-30 23:55:05 -04:00
thatmattlove
e0751311ba
remove unnecessary logging
2024-06-30 23:54:37 -04:00
thatmattlove
f340e65082
fix BGP route validation
2024-06-30 23:33:06 -04:00
thatmattlove
41248231ae
fix logging issues
2024-06-30 23:22:46 -04:00
thatmattlove
b617df24d1
fixes #267 : fix response caching
2024-06-30 22:22:44 -04:00
thatmattlove
3b0abd5ba8
don't cache errors
2024-06-30 21:34:42 -04:00
thatmattlove
0fd5bc7997
fix incorrectly named ui filename
2024-06-30 21:16:21 -04:00
Renato Ornelas
e8997b981c
Fix for IPv6 traceroute for juniper devices
2024-06-19 15:11:22 -03:00
thatmattlove
7eb8d8e925
fix formatting
2024-06-16 17:18:58 -04:00
thatmattlove
4733dd1893
prepare v2.0.3
2024-06-16 17:17:13 -04:00
thatmattlove
08fd310b44
fix issue where pattern rules failed validation
2024-06-16 17:12:54 -04:00
thatmattlove
6d06b9809d
(possibly) fix log width issue
2024-06-16 16:59:22 -04:00
thatmattlove
30fda91bc8
closes #262 : fix mikrotik error
2024-06-16 16:54:14 -04:00
thatmattlove
e19dd675e5
fix issue where results accordion did not re-open
2024-06-16 16:53:46 -04:00
thatmattlove
8a9766b99f
formatting cleanup
2024-06-16 16:53:30 -04:00
thatmattlove
4d5e259f6e
fix non-success display issue
2024-06-16 16:53:14 -04:00
thatmattlove
0137b042dc
prepare v2.0.2
2024-06-01 15:44:49 -04:00
thatmattlove
6b37ce96f6
fix logo alignment on small screens; closes #258
2024-06-01 15:40:49 -04:00
thatmattlove
aab4ada723
add support for any DoH provider; closes #254 ; closes #256
2024-06-01 15:25:41 -04:00
thatmattlove
bfcae89bf0
fix prepending of HYPERGLASS_APP_PATH to values; closes #253
2024-06-01 15:08:59 -04:00
thatmattlove
8a3d704eca
fix broken license link
2024-06-01 14:50:00 -04:00
thatmattlove
b796149a26
fix dropdown remaining open after selection; closes #257
2024-06-01 14:49:05 -04:00
thatmattlove
7eb4f5ca93
fix leftover issue from #247 if build_dir does not exist
2024-05-31 23:11:08 -04:00
thatmattlove
35d9c26eff
update version to 2.0.1
2024-05-31 23:06:33 -04:00
thatmattlove
1d1dcd8319
fix logo width on mobile
2024-05-31 23:00:51 -04:00
thatmattlove
c79ba8b727
fix browser DNS resolution; closes #251
2024-05-31 22:56:55 -04:00
thatmattlove
c8a348ed0f
fix invalid next.config.js options
2024-05-31 22:56:26 -04:00
thatmattlove
4b6e6cba70
fix config value overwrite; closes #249
2024-05-31 22:24:41 -04:00
thatmattlove
ad88d025c2
fix leftover issue from #247 if build_dir does not exist
2024-05-31 22:22:39 -04:00
Marlon Alkan
85fa678d74
hyperglass: frontend: delete build dir before copying generated code to it
...
fixes #244
2024-05-29 18:03:06 +02:00
thatmattlove
15ff03806a
properly format menu content with configuration parameters
2024-05-28 14:42:45 -04:00
thatmattlove
d1a62f9646
update repo for v2 release
2024-05-28 13:42:25 -04:00
thatmattlove
ee5a418264
fix import sorting
2024-05-27 16:25:47 -04:00
thatmattlove
dd2ce8354b
fix handling of litestar.exceptions.ValidationException. Probably fixes #243
2024-05-27 16:25:26 -04:00
thatmattlove
594d2e90f8
fix container file handling
2024-05-27 16:08:50 -04:00
thatmattlove
58b51b7c8e
fix existing directory error; closes #244 , #246
2024-05-27 15:25:34 -04:00
thatmattlove
e84cc4ac00
remove deprecated pydantic constr usage
2024-05-27 14:41:04 -04:00
thatmattlove
bccc07cc99
fix import formatting
2024-05-27 14:30:15 -04:00
thatmattlove
3b1cedf552
fix docker build issue
2024-05-27 14:21:30 -04:00
thatmattlove
be09dbc476
remove --no-lint from next build
...
Apparently, it causes errors. Which is stupid.
2024-04-02 16:41:21 -04:00
thatmattlove
9d1c6a5e4a
remove deprecated next export from UI build
2024-04-02 16:27:07 -04:00