345 Commits

Author SHA1 Message Date
Vladyslav_Prykhodko
d29ca15af9 Merge remote-tracking branch 'upstream/master' into feature/mobile-app-bundle 2024-10-24 13:22:35 +03:00
dashevchenko
af719050a0 fixed bundle info when apps are missed 2024-10-22 15:03:48 +03:00
Andrew Shvayka
e8c3f94e91
Merge pull request #11877 from YevhenBondarenko/fix/install-schema-version
automaticaly set schema version based on app version
2024-10-18 13:03:57 +03:00
dashevchenko
4acb051b0e updated structure mobile layout config 2024-10-17 16:30:16 +03:00
YevhenBondarenko
cbb9d621a7 automaticaly set schema version based on app version 2024-10-16 01:45:41 +02:00
dashevchenko
119354a441 renamed db column, added validation on mobile app creation 2024-10-11 11:59:32 +03:00
dashevchenko
8c9bb7a0db constraint rename, EntityType enum fix 2024-10-10 14:08:12 +03:00
dashevchenko
44cd542601 upgrade script fix 2024-10-08 17:57:46 +03:00
dashevchenko
cc64a27050 upgrade script, optimized queries to db, refactoring 2024-10-08 14:58:25 +03:00
dashevchenko
04bba3ff5a mobile app bundles: initial implementation 2024-10-07 14:26:33 +03:00
ViacheslavKlimov
1ac47aa0c0 Update user_credentials in schema-entities.sql 2024-09-17 13:20:07 +03:00
ViacheslavKlimov
465341f0ea Merge branch 'master' of github.com:thingsboard/thingsboard into feature/activation-link-ttl 2024-09-04 17:16:50 +03:00
dashevchenko
3db5278e05 added generic permission for get all endpoints 2024-08-21 12:23:18 +03:00
dashevchenko
9f7d6737b3 added @Length validations according to database restriction 2024-08-19 15:20:47 +03:00
dashevchenko
f260794452 merged with master 2024-08-19 12:53:06 +03:00
dashevchenko
931102f73c fixed pull request comments 2024-08-16 18:00:34 +03:00
Igor Kulikov
d5c8f82b36 Merge with master 2024-08-15 10:36:00 +03:00
ViacheslavKlimov
5d5632606c Merge remote-tracking branch 'origin/master' into feature/activation-link-ttl 2024-08-07 14:26:23 +03:00
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