dashevchenko
ffde9fe9de
hidden deprecated schema
4 months ago
dashevchenko
e56566e91f
hidden deprecated schemas, fixed duplicated classes
4 months ago
Vladyslav Prykhodko
ceacb70d7a
Merge pull request #15378 from vvlladd28/merge/7-04-26/master
Merge rc to master
4 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
4 months ago
Vladyslav_Prykhodko
532ebc0c9d
Merge remote-tracking branch 'upstream/lts-4.3' into rc
4 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
4 months ago
Maksym Tsymbarov
6f790b9da2
Fixed hint alignment for propagate alarm rule field
4 months ago
Maksym Tsymbarov
9fed9c789f
Fixed Datasource determination for autocomplete patterns if datasource is empty
4 months ago
Vladyslav Prykhodko
5d84236bf7
Merge pull request #15339 from deaflynx/improve-mobile-translation
Enhance localization: "save-to-gallery" translations
4 months ago
Vladyslav_Prykhodko
036cb08784
Added @angular/core/rxjs-interop to modules map
4 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
4 months ago
Viacheslav Klimov
c204eff589
Merge pull request #15376 from thingsboard/master-rc-merge
Merge rc into master
4 months ago
Viacheslav Klimov
d885fd71b2
Merge remote-tracking branch 'origin/rc' into master-rc-merge
# Conflicts:
# pom.xml
4 months ago
Viacheslav Klimov
0781de540f
Merge remote-tracking branch 'origin/lts-4.3' into rc
4 months ago
Viacheslav Klimov
048c0fc7c6
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
4 months ago
Viacheslav Klimov
f13d4daed3
Merge pull request #15375 from thingsboard/fix/openapi-spec
Strip @JsonIgnoreProperties from schema context and remove CalculatedField pre-registration
4 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.
4 months ago
Viacheslav Klimov
75b060aa1d
Merge pull request #15372 from dashevchenko/openApiSpecFix
Updated swagger configuration to fix AiChatModelConfig children schemas
4 months ago
Viacheslav Klimov
72f36cded3
Merge pull request #15368 from zzzeebra/fix/jackson-core-vulnerability
Fixed CWE-770 in Jackson Core
4 months ago
dashevchenko
07206c6862
updated swagger configuration to fix AiChatModelConfig children schemas
4 months ago
Viacheslav Klimov
7ece834091
Merge pull request #15371 from thingsboard/fix/openapi-spec
Remove ContactBased and HasId pre-registration
4 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.
4 months ago
Viacheslav Klimov
89fc1475cf
Merge pull request #15370 from thingsboard/fix/openapi-spec
Fix duplicate OpenAPI schemas for discriminated types
4 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
4 months ago
Viacheslav Klimov
8a6423737c
Merge pull request #15369 from thingsboard/fix/openapi-spec
Fix duplicate OpenAPI schemas for discriminated types
4 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.
4 months ago
Oleksandra Matviienko
f0242f05f6
Bump spring-boot to 3.5.13 to fix jackson-core vulnerability
4 months ago
Maksym Tsymbarov
3d97078ae2
Changed approach
4 months ago
Viacheslav Klimov
a2d9b0b602
Merge pull request #15365 from thingsboard/rc
Merge rc into master
4 months ago
Viacheslav Klimov
c75238a55f
Merge remote-tracking branch 'origin/lts-4.3' into rc
4 months ago
Viacheslav Klimov
7f0415d6d1
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
4 months ago
Viacheslav Klimov
5527382cbb
Merge pull request #15326 from thingsboard/feature/alarm-rules-api
Added dedicated alarm rules API
4 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)
4 months ago
Viacheslav Klimov
d4b8fa0312
Add type guard for alarm rule updates and defensive cast in fromCalculatedField
4 months ago
Viacheslav Klimov
6628858e82
Address PR review: deduplicate checkReferencedEntities, fix return→noop, fix NPE, add expression validation
4 months ago
Viacheslav Klimov
d44538bda0
Merge pull request #15361 from thingsboard/fix/rulechain-details-detach
Detach RuleChainDetailsEntity after findById to prevent stale version conflict
4 months ago
Viacheslav Klimov
bbf47434fd
Simplify RuleChainDetailsDao interface and refactor save to doSave
4 months ago
Maksym Tsymbarov
77e3b5cd8d
Add condition to not display "Add Telemetry" button for Entity view type
4 months ago
Viacheslav Klimov
fee9c28b24
Merge pull request #15343 from dashevchenko/openApiResponsesImpr
[Openapi] Response schema improvements
4 months ago
dashevchenko
430588d991
updated Device.deviceProfileId openapi description, update AssetProfileInfo.id openapi implementation
4 months ago
Viacheslav Klimov
572d2b5019
Merge remote-tracking branch 'refs/remotes/origin/feature/alarm-rules-api' into feature/alarm-rules-api
4 months ago
Viacheslav Klimov
856b462fdf
Remove deprecated device profile alarm rules from API docs
4 months ago
Viacheslav Klimov
def602902a
Detach RuleChainDetailsEntity after findById to prevent stale version conflict
RuleChainEntity and RuleChainDetailsEntity map to the same DB table.
When RuleChainDetailsEntity is loaded into the persistence context
(e.g. during isUpdateNeeded metadata comparison) and then the same row
is updated via RuleChainEntity (during saveRuleChain), the cached
RuleChainDetailsEntity becomes stale. Subsequent save via
RuleChainDetailsEntity fails with OptimisticLockException.
Fix: detach the entity immediately after loading in findById so it
does not linger in the persistence context.
4 months ago
Viacheslav Klimov
13825bddea
Merge pull request #15330 from thingsboard/update-node-version
Bump Node.js version from 22.18.0 to 22.22.2
4 months ago
Viacheslav Klimov
b234948d14
Fix AlarmRuleControllerTest deserialization failures
4 months ago
dashevchenko
12f0094a64
deleted redundant required mode for some entity fields, added appropriate mediaType for some api request body
4 months ago
ababak
145ae066bc
Update localization: Add quotes to "save-to-gallery" translations for consistency across all languages.
4 months ago
dashevchenko
ff8152395e
added missed response schemas
4 months ago
Vladyslav_Prykhodko
1dc1b35ef1
Use specific CalculatedFieldAlarmRule types in alarm rules UI components
4 months ago
Viacheslav Klimov
253f70d789
Refactor alarm rule controller to remove cross-controller dependency
Move test script execution logic from controllers to TbCalculatedFieldService,
eliminating the dependency of AlarmRuleController on CalculatedFieldController.
Simplify entity type filtering in getAlarmRules. Add AlarmRuleControllerTest
covering all endpoints.
4 months ago