Vladyslav_Prykhodko
a5244922ec
Fix missing 'type' property in alarm rule condition on save
When a NO_DATA filter is present, the condition type control gets
disabled. Angular's FormGroup.value excludes disabled controls,
causing the 'type' field to be omitted from the saved result.
This leads to a JSON parse error on the backend.
Explicitly include the type control value in the save output
while keeping unit/value/count excluded when disabled.
6 months ago
Vladyslav_Prykhodko
5afd7cbfae
Expose http-utils functions via WidgetContext.httpUtils
Added IWidgetHttpUtils interface and httpUtils property to WidgetContext
so widget action code can use defaultHttpOptionsFromConfig and related
functions without modifying ThingsBoard source code.
6 months ago
Viacheslav Klimov
93fcf19a35
Merge pull request #15379 from dashevchenko/openApiSpecRenaming
[OpenAPI] Hidden deprecated schemas, fixed duplicated schema names
7 months ago
Vladyslav Prykhodko
d018f1aa52
Merge pull request #15357 from mtsymbarov-del/feat/outline-inputs
Moved of inputs to Outline appearance
7 months ago
Maksym Tsymbarov
4f8d18d718
Minor fixes
7 months ago
dashevchenko
ffde9fe9de
hidden deprecated schema
7 months ago
dashevchenko
e56566e91f
hidden deprecated schemas, fixed duplicated classes
7 months ago
Maksym Tsymbarov
7a6885dadc
Minor fixes
7 months ago
dashevchenko
fca4f837a2
enhanced test
7 months ago
dashevchenko
64e7886624
import cleanup
7 months ago
dashevchenko
8594ea3e63
refactoring
7 months ago
Vladyslav Prykhodko
ceacb70d7a
Merge pull request #15378 from vvlladd28/merge/7-04-26/master
Merge rc to master
7 months ago
Vladyslav_Prykhodko
91f7c8747c
Merge remote-tracking branch 'upstream/rc'
# Conflicts:
# ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.html
# ui-ngx/src/app/modules/home/pages/entity-view/entity-view-tabs.component.html
7 months ago
Vladyslav_Prykhodko
532ebc0c9d
Merge remote-tracking branch 'upstream/lts-4.3' into rc
7 months ago
Vladyslav_Prykhodko
173286a2bd
Merge remote-tracking branch 'upstream/lts-4.2' into lts-4.3
# Conflicts:
# ui-ngx/src/app/modules/home/components/attribute/attribute-table.component.ts
7 months ago
Maksym Tsymbarov
6f790b9da2
Fixed hint alignment for propagate alarm rule field
7 months ago
Maksym Tsymbarov
9fed9c789f
Fixed Datasource determination for autocomplete patterns if datasource is empty
7 months ago
Vladyslav Prykhodko
5d84236bf7
Merge pull request #15339 from deaflynx/improve-mobile-translation
Enhance localization: "save-to-gallery" translations
7 months ago
Vladyslav_Prykhodko
036cb08784
Added @angular/core/rxjs-interop to modules map
7 months ago
Vladyslav Prykhodko
e4e3df7ae9
Merge pull request #15362 from mtsymbarov-del/fix/disable-add-telemetry-for-entity-views
Hidden "Add Telemetry" button for Entity view
7 months ago
Maksym Tsymbarov
313464cf28
Merge remote-tracking branch 'thingsboard-ce/master' into feat/outline-inputs
7 months ago
dashevchenko
ef4bbc0b49
system alarm comment access control fix
7 months ago
Viacheslav Klimov
c204eff589
Merge pull request #15376 from thingsboard/master-rc-merge
Merge rc into master
7 months ago
Viacheslav Klimov
d885fd71b2
Merge remote-tracking branch 'origin/rc' into master-rc-merge
# Conflicts:
# pom.xml
7 months ago
Viacheslav Klimov
0781de540f
Merge remote-tracking branch 'origin/lts-4.3' into rc
7 months ago
Viacheslav Klimov
048c0fc7c6
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
7 months ago
Viacheslav Klimov
f13d4daed3
Merge pull request #15375 from thingsboard/fix/openapi-spec
Strip @JsonIgnoreProperties from schema context and remove CalculatedField pre-registration
7 months ago
Viacheslav Klimov
b9b518a450
Strip @JsonIgnoreProperties from schema context and remove CalculatedField pre-registration
Field-level @JsonIgnoreProperties is a serialization concern that should
not pollute global OpenAPI schemas. Strip it in mapAwareConverter before
ModelResolver sees it. Remove CalculatedField pre-registration as it
loses descriptions on $ref properties.
7 months ago
Viacheslav Klimov
75b060aa1d
Merge pull request #15372 from dashevchenko/openApiSpecFix
Updated swagger configuration to fix AiChatModelConfig children schemas
7 months ago
Viacheslav Klimov
72f36cded3
Merge pull request #15368 from zzzeebra/fix/jackson-core-vulnerability
Fixed CWE-770 in Jackson Core
7 months ago
dashevchenko
07206c6862
updated swagger configuration to fix AiChatModelConfig children schemas
7 months ago
Viacheslav Klimov
7ece834091
Merge pull request #15371 from thingsboard/fix/openapi-spec
Remove ContactBased and HasId pre-registration
7 months ago
Viacheslav Klimov
cf93b59433
Remove ContactBased and HasId pre-registration
Pre-registering abstract intermediate types pulls in their full
inheritance chain (UUIDBased, HasUUID) as broken $ref entries.
Leave *Object schemas for these types as-is.
7 months ago
Viacheslav Klimov
89fc1475cf
Merge pull request #15370 from thingsboard/fix/openapi-spec
Fix duplicate OpenAPI schemas for discriminated types
7 months ago
Viacheslav Klimov
f1c284b7bb
Fix duplicate OpenAPI schemas for discriminated types
- Remove *Object duplicate schemas when base schema exists
- Pre-register CalculatedField, ContactBased, HasId to prevent
resolution-order issues with @JsonIgnoreProperties
- Deduplicate identical inline allOf entries
- Replace oneOf in additionalProperties.items with base type $ref
7 months ago
Viacheslav Klimov
8a6423737c
Merge pull request #15369 from thingsboard/fix/openapi-spec
Fix duplicate OpenAPI schemas for discriminated types
7 months ago
Viacheslav Klimov
ac600848e6
Fix duplicate OpenAPI schemas for discriminated types
Springdoc creates duplicate schemas with an "Object" suffix when a
discriminated type is resolved through multiple paths. Remove identical
duplicates and replace inline oneOf in additionalProperties.items with
base type $ref for Map<K, List<PolymorphicType>> fields.
7 months ago
Oleksandra Matviienko
f0242f05f6
Bump spring-boot to 3.5.13 to fix jackson-core vulnerability
7 months ago
Maksym Tsymbarov
3d97078ae2
Changed approach
7 months ago
dashevchenko
e7ca14ad11
deleted deprecated proto field and corresponding code
7 months ago
Viacheslav Klimov
a2d9b0b602
Merge pull request #15365 from thingsboard/rc
Merge rc into master
7 months ago
Viacheslav Klimov
c75238a55f
Merge remote-tracking branch 'origin/lts-4.3' into rc
7 months ago
Viacheslav Klimov
7f0415d6d1
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
7 months ago
Viacheslav Klimov
5527382cbb
Merge pull request #15326 from thingsboard/feature/alarm-rules-api
Added dedicated alarm rules API
7 months ago
Viacheslav Klimov
7ab9b931a7
Address PR review: restore private visibility, keep @Valid , fix test script dialog
- Restore private on TEST_SCRIPT_EXPRESSION in CalculatedFieldController
- Restore @Valid on deprecated alarms field in DeviceProfileData
- Remove broken type guard in getTestScriptDialog (AlarmRuleDefinition
DTO has no type field, causing the dialog to never open)
7 months ago
Viacheslav Klimov
d4b8fa0312
Add type guard for alarm rule updates and defensive cast in fromCalculatedField
7 months ago
Viacheslav Klimov
6628858e82
Address PR review: deduplicate checkReferencedEntities, fix return→noop, fix NPE, add expression validation
7 months ago
Maksym Tsymbarov
95846f37a3
standardize description field for device
7 months ago
Viacheslav Klimov
d44538bda0
Merge pull request #15361 from thingsboard/fix/rulechain-details-detach
Detach RuleChainDetailsEntity after findById to prevent stale version conflict
7 months ago
Viacheslav Klimov
bbf47434fd
Simplify RuleChainDetailsDao interface and refactor save to doSave
7 months ago