377 Commits

Author SHA1 Message Date
Igor Kulikov
e1bae1eda5 Merge with master 2024-08-06 17:40:29 +03:00
ViacheslavKlimov
a5a92d9334 Merge remote-tracking branch 'origin/master' into feature/entities-version 2024-08-03 14:33:21 +03:00
YevhenBondarenko
c619be45b6 set version_seq cache to 1 2024-07-29 21:31:14 +02:00
YevhenBondarenko
358925cffe added version for relations 2024-07-24 13:35:29 +02:00
ViacheslavKlimov
976e1e1e1f Implement TTL for password reset and user activation links; refactoring and improvements 2024-07-24 13:22:17 +03:00
ViacheslavKlimov
486fed375c Add version for tenant entity 2024-07-22 14:27:26 +03:00
dashevchenko
333154ad62 fixed SqlDatabaseUpgradeService with new upgrade, refactoring 2024-07-22 13:48:43 +03:00
dashevchenko
1429d6a97c renamed oauth2_registration table to oauth2_client 2024-07-19 11:25:09 +03:00
dashevchenko
f274c274e9 oauth2 configuration breakdown: initial implementation 2024-07-18 12:49:48 +03:00
ViacheslavKlimov
701260c4e9 Entities versioning refactoring 2024-07-17 16:51:07 +03:00
Igor Kulikov
00800f36f0 Add scada field to widgets bundles and widget types. 2024-07-05 19:19:20 +03:00
ViacheslavKlimov
7fb5f268c7 Merge remote-tracking branch 'origin/feature/attr_tskv_version' into feature/entities-version
# Conflicts:
#	common/data/src/main/java/org/thingsboard/server/common/data/HasVersion.java
2024-07-05 15:03:39 +03:00
YevhenBondarenko
6162060e88 fixed insert result and used expiration 2024-07-01 12:24:27 +02:00
ViacheslavKlimov
67b8ded9f4 Add version to most entities 2024-07-01 13:11:59 +03:00
ViacheslavKlimov
66563e3459 Introduce optimistic locking and 'version' for entities 2024-06-27 14:48:18 +03:00
YevhenBondarenko
118407d982 implemented versioned cache 2024-06-26 15:51:32 +02:00
YevhenBondarenko
e57b9471dc used version + 1 instead of sequence next value 2024-06-13 19:18:01 +02:00
YevhenBondarenko
4807a7cbdd ranamed seq_number to version and refactoring 2024-06-11 17:15:55 +02:00
YevhenBondarenko
b666f9499a added sequence number for attributes 2024-06-11 15:41:55 +02:00
YevhenBondarenko
c44ba6307c added sequence numver for lates timeseries 2024-06-10 16:02:32 +02:00
Igor Kulikov
3af88a8d9f Merge with upstream/master 2024-06-04 13:45:34 +03:00
Igor Kulikov
7d0e5b330b Introduce ResourceSubType for image resources. 2024-05-08 20:00:32 +03:00
ViacheslavKlimov
0d7d9b481b Refactoring for mobile settings api 2024-05-07 12:09:36 +03:00
dashevchenko
949eb67b89 merged with master 2024-05-02 19:28:49 +03:00
dashevchenko
0003caf4fb added id, createdTime to mobile app setting entity, added MobileAppSettingsValidator 2024-04-30 18:46:38 +03:00
dashevchenko
dc5f59254d added mobile app settings cleanup for tenant deletion 2024-04-25 18:24:27 +03:00
dashevchenko
67ba644195 moved all apis to one controller 2024-04-24 19:02:14 +03:00
ShvaykaD
c43d37480c merge with master 2024-04-22 10:44:59 +03:00
dashevchenko
d0ff4a2d86 mobile app QR code initial implementation 2024-04-18 11:25:05 +03:00
Igor Kulikov
ce44bbc248 Merge with hotfix/3.6.3 2024-04-11 17:52:26 +03:00
ViacheslavKlimov
6c592a249e 3.6.3 to 3.6.4 upgrade script 2024-04-11 15:57:06 +03:00
Shvaika Dmytro
cad3011938
Replacement of local cache in rule nodes with cached entity service APIs. (#9552)
* added customer cache && refactored assign/unassing to/from customer nodes

* refactoring of customer action nodes & added common tests

* added tests for upgrade

* updated controller & service tests for customer api

* replaced findCustomerByTenantIdAndTitle with cacheable method

* add new line to end of ../upgrade/3.6.2/schema_update.sql file

* added cache for find user by tenant id and email & relation action nodes refactoring

* fixed synchronization issue & refactored logic & refactored node upgrade tests

* fixed testSaveUserWithSameEmail test in the UserControllerTest. Removed empty space & added exclamation mark

* updated tests for create relation node && added two tests for delete relation node

* replaced Lists with EnumSets where it was possible & replaced MethodSource with EnumSource where it was possible & added test for upgrade for both create and delete relation nodes

* updated upgrade tests & added tests for delete relation node

* refactoring

* updated create & delete relation nodes descriptions

* updated default config for delete relation node

* minor improvements for custom action nodes after self review

* added upgrade for customers with the same titles

* replaced parameterized test annotation when deleteForSingleEntity is false

* fix typo in reSaveCustomerWithNewTitle upgrade logic

* fixes after review & additional improvements

* fixed testAssignAndUnassignEntityViewToCustomer test

* updated upgrade logic & changed logic of public customers lookup

* fixed dao method & added test

* renamed method to findPublicCustomerByTenantId

* fix typo in the find public customer query

* added @Serial annotation for serialVersionUID & rollback saveAndFlush to save in UserServiceImpl

* fixes to async find or create logic

* fixed after review

* fix typo

* set Transactional annotation to findOrCreatePublicCustomer
2024-04-10 12:31:24 +03:00
dashevchenko
6c911637ae merged with master 2024-03-27 19:04:34 +02:00
dashevchenko
dae4f313e2 merged with master 2024-03-26 19:09:21 +02:00
ViacheslavKlimov
ed44db6d25 Add delivery_method column to notification; persist mobile notifications 2024-03-22 14:20:51 +02:00
Andrii Landiak
37d5405dc5 Merge remote-tracking branch 'upstream/master' into feature/edge-oauth-support 2024-03-21 11:17:16 +02:00
ViacheslavKlimov
4ed952a9d6 Merge branch 'master' into develop/3.7 2024-03-19 15:44:23 +02:00
Andrii Landiak
9f6c9e7330 Merge remote-tracking branch 'upstream/develop/3.6.4' into feature/edge-oauth-support 2024-03-12 11:12:29 +02:00
dashevchenko
c1093dd627 merged with master 2024-03-04 11:54:56 +02:00
Andrii Landiak
e6ffb22d6f Add ui part of oauth edge enabled. Add test 2024-02-21 14:32:20 +02:00
dashevchenko
4223895081 migrated assets used for storing queue statistics to queue_stats table 2024-02-07 11:31:52 +02:00
Vladyslav_Prykhodko
31dad36129 Merge remote-tracking branch 'upstream/master' into feature/push-notifications 2024-01-25 16:40:22 +02:00
YevhenBondarenko
60be820915 merge with master 2024-01-15 18:51:00 +01:00
Vladyslav_Prykhodko
5739802fda Merge remote-tracking branch 'upstream/master' into feature/push-notifications 2024-01-09 15:20:49 +02:00
dashevchenko
56f9dce242 updated BaseAttributeService, InternalTelemetryService, RuleEngineTelemetryService to store old methods for backward compatibility 2024-01-09 12:27:40 +02:00
YevhenBondarenko
c0036d22c0 merge with master 2024-01-09 09:57:53 +01:00
Igor Kulikov
c5a72ed8df Update license header to 2024 year. 2024-01-09 10:46:16 +02:00
YevhenBondarenko
5647db457a Merge branch 'develop/3.6.3' of github.com:thingsboard/thingsboard into feature/queue-in-rule-node 2024-01-08 13:31:54 +01:00
dashevchenko
e9c8445e53 merged with develop/3.7 2024-01-03 20:02:15 +02:00
dashevchenko
c92a7ecf3a deleted attribute_kv_dictionary table (used ts_kv_dictionary instead), renamed ts_kv_dictionary to key_dictionary 2024-01-02 17:46:29 +02:00