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
f49ff54fce
Update docs field examples to include required options
...
Signed-off-by: Mattie Nickson <mnickson@sidingsmedia.com>
2025-06-04 18:34: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
Jason Hall
15491f904b
Adds libcairo2-dev to Prepare stage
2025-05-17 10:26:35 -04:00
Jason Hall
dd0d5357dd
Merge pull request #306 from cooperwinser/main
...
Fix: allow integer values in ext_community_list_raw field for Arista BGP…
Allows Integer and String types for the Arista extended communities.
2025-05-17 10:09:42 -04:00
cooperwinser
c369af439d
Removed Union import
2025-05-17 23:34:15 +10:00
thatmattlove
dbdc830e7b
remote default issue assignee [skip ci]
2025-04-28 22:00:54 -04: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
thatmattlove
0b2fbb1b4d
Update changelog with fix from #264
2024-07-01 00:08:01 -04: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
872c3ec654
Closes #269 : fix RPKI docs
2024-06-30 23:26:52 -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
bbba29546c
fix biome ignore
2024-06-16 17:20:14 -04: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
f324d34323
housekeeping
2024-06-01 23:23:08 -04:00
thatmattlove
3d82a21ba4
fix changelog link
2024-06-01 15:55:07 -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
0c643c6abd
update upgrade docs & version updating script
2024-06-01 11:08:03 -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
Matt Love
72887e0f9a
Merge pull request #247 from maluueu/244-build-ui-error
...
hyperglass: frontend: delete build dir before copying generated code to it
2024-05-31 22:14:25 -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