Commit Graph

2254 Commits

Author SHA1 Message Date
Alexander Shustanov
3f3a5248c7 Revert "Change the login of anonymous user to system #633"
This reverts commit 6f71bed
2018-06-09 10:47:35 +04:00
Alexander Shustanov
6f71beddfb Change the login of anonymous user to system #633 2018-06-09 10:36:25 +04:00
Yuriy Artamonov
51d41a551e Move CubaTestCase to cuba-core-tests 2018-06-08 19:46:52 +04:00
Andrey Subbotin
b47218b96f LocalDate / LocalDateTime / LocalTime / OffsetTime / OffsetDateTime support for persistence and UI components #417
Supported on the persistence layer
2018-06-08 19:02:20 +04:00
Roman Pinyazhin
2d1a5343be Improve EntitySnapshotsAPI #870 2018-06-08 14:47:50 +04:00
Vlad Minaev
d4ca00d120 Exclude _base view in ViewRepository.getViewNames() #938 2018-06-07 12:51:53 +04:00
Yuriy Artamonov
86cc753b50 Replace commons-lang dependency with commons-lang3 #418 2018-06-06 20:09:45 +04:00
Andrey Subbotin
e7d58acea7 NPE for identity entities with security constraints #931 2018-06-06 18:10:30 +04:00
Andrey Subbotin
fce92fc3b8 Clear EntityManagerContext in the after transaction complete action correctly #935 2018-06-06 15:36:34 +04:00
Yuriy Artamonov
72682bb8a0 Remove ObjectsCache #535 2018-06-05 22:10:47 +04:00
Yuriy Artamonov
e1752064bd Extract DynamicAttributesTools bean #927 2018-06-05 16:39:14 +04:00
Yuriy Artamonov
b7ce06d5bf Vaadin 8.3 - Remove ScreenProfiler #444 2018-06-05 16:08:22 +04:00
Daniil Tsarev
40810a75ec Compatibility with Intellij Gradle plugin #814 2018-06-05 11:46:21 +04:00
Konstantin Krivopustov
ff7706b013 Convert EntityManagerImpl and QueryImpl into Spring prototype beans #703
Provide API for setting audit information #782
2018-06-05 10:06:24 +04:00
Andrey Subbotin
230f24a69a Support Java 9 and 10 for CUBA #910
Fix FindBugs
2018-05-31 18:45:43 +04:00
Andrey Subbotin
e8b948d2c5 Support Java 9 and 10 for CUBA #910 2018-05-31 18:27:15 +04:00
Roman Pinyazhin
311113910d
Use different names for spring "scheduler"s #810 2018-05-31 13:03:26 +04:00
Konstantin Krivopustov
275b5e939f Verbose usage of DataManager.commit in case we want to obtain committed instance by id #469 2018-05-31 11:09:52 +04:00
Roman Pinyazhin
ffd6a5af16
"Run once now" button on Scheduled Tasks screen #760 2018-05-25 10:11:36 +04:00
Konstantin Krivopustov
121986cf4c Having default values for ServerConfig#getKeyForSecurityTokenEncryption, ServerConfig#getTrustedClientPassword is not fool-proof #876 2018-05-25 09:47:10 +04:00
Maxim Gorbunkov
9f8df35838 Support MySQL 8 #817 2018-05-24 14:25:21 +04:00
Konstantin Krivopustov
ea6150c9c1 PL-10354 The query "delete from ..." through EntityManager removes entities without soft deletion (error improve message) 2018-05-19 16:54:05 +04:00
Maxim Gorbunkov
6a736a5ffd Support MySQL 8 - newid() database function definition changed #817 2018-05-16 16:12:12 +04:00
Konstantin Krivopustov
d566e67539
Fluent interface to DataManager #852 2018-05-15 15:17:53 +04:00
Yuriy Artamonov
d3b6552133 Determining remote IP address by remote client layers #792
Introduced `@TrustedClientOnly` annotation for service beans that should
not be available from non-trusted clients.
AuthenticationServiceBean now checks if client is trusted and replaces
IP address with the address of client in credentials objects if client
is not trusted.
TrustedAccessRequiredException is thrown in case of non-trusted access
to the annotated classes and their methods.
2018-05-07 17:01:45 +04:00
Yuriy Artamonov
44803513c1 Get rid of unnecessary memory allocation #784 2018-05-07 10:54:26 +04:00
Andrey Subbotin
facacebe8b RowLevelSecurityException on saving previously saved entity with enabled Attribute Access #766 2018-05-04 19:02:49 +04:00
Konstantin Krivopustov
7797d9fa3c MetadataTools.deepCopy does not copy embedded entities #816
Fix test entity
2018-05-04 15:48:30 +04:00
Konstantin Krivopustov
d890c3182f MetadataTools.deepCopy does not copy embedded entities #816 2018-05-04 15:29:49 +04:00
Andrey Subbotin
ce9f0860ca RowLevelSecurityException on saving previously saved entity #696 2018-05-03 11:01:12 +04:00
Andrey Subbotin
c3ff8c5843 PL-10597 ORM uses inner join instead of outer join 2018-04-27 11:51:15 +04:00
Yuriy Artamonov
7a194e3f42 PL-10712 LDAP authentication for IDP form 2018-04-20 19:50:06 +04:00
Konstantin Krivopustov
ae8a1ee7c8 PL-10720 KeyValueEntity cannot be edited in editable Table 2018-04-20 13:23:45 +04:00
Konstantin Krivopustov
a084b0d4c9 PL-10699 MetadataTools.getPrimaryKeyName() doesn't return PK for not persistent subclasses of BaseStringIdEntity 2018-04-19 11:06:37 +04:00
Konstantin Krivopustov
4411dbc64f Test JPA cascade 2018-04-16 12:32:15 +04:00
Konstantin Krivopustov
0aff83235a PL-10649 Performance Statistics transactions counters don't work (fix tests) 2018-04-13 10:28:35 +04:00
Konstantin Krivopustov
500977ccf1 PL-10613 Multiple sequences are used to generate ID in case of SINGLE_TABLE inheritance type (fix multiple inheritance) 2018-04-13 10:17:22 +04:00
Konstantin Krivopustov
ba7772cc42 PL-10649 Performance Statistics transactions counters don't work 2018-04-13 09:38:15 +04:00
Konstantin Krivopustov
5823b8593b Added test for query on reference without implicit conversion 2018-04-12 16:47:02 +04:00
Andrey Subbotin
7bafde32fd PL-10619 REST should have an ability to work without security token for entities with constraints (rename application property) 2018-04-09 09:36:52 +04:00
Konstantin Krivopustov
fccfda8f17 PL-10662 Concurrency issues when generating number ids 2018-04-07 21:32:04 +04:00
Konstantin Krivopustov
ca875bc186 PL-10578 Sequential Queries feature is enabled by default but sys_query_result cleaning is not (introduce cuba.deleteOldQueryResultsInterval property) 2018-04-05 13:33:17 +04:00
Daniil Tsarev
41faf45ea6 PL-10616 Email History isn't supported if attachment is stored in file storage 2018-04-04 16:37:13 +04:00
Konstantin Krivopustov
b01fa88792 PL-10649 Performance Statistics transactions counters don't work 2018-04-04 10:06:10 +04:00
Yuriy Artamonov
40d63fdb56 PL-10641 UnsupportedOperationException during serialization of UnmodifiableMap 2018-04-03 22:47:01 +04:00
Yuriy Artamonov
e60164846a PL-10635 REST API Token revocation is not reflected in user session log 2018-04-03 16:30:36 +04:00
Daniil Tsarev
7a47ad5992 PL-10476 Unexpected error in UI when the corresponding user session is expired 2018-04-03 12:17:42 +04:00
Konstantin Krivopustov
579d0a9d59 PL-10601 Ability to override orm.xml and persistence.xml 2018-04-03 09:03:30 +04:00
Konstantin Krivopustov
f9bb07b509 PL-10578 Sequential Queries feature is enabled by default but sys_query_result cleaning is not (fix Oracle and MySQL scripts) 2018-04-02 17:10:45 +04:00
Roman Pinyazhin
ed0a21ac8d PL-9993 Unreliable detection of HTML email content type 2018-04-02 13:32:30 +04:00
Konstantin Krivopustov
4b9983d4ae PL-10630 Ability to override ConfigPersisterImpl 2018-04-02 10:55:33 +04:00
Konstantin Krivopustov
bd4b73fdb2 PL-9999 Ignore view name for not reference attributes or raise exception at the moment of view creation (move test) 2018-04-02 09:01:32 +04:00
Konstantin Krivopustov
0eedf3cd13 PL-10589 "version" property is not present among View object properties 2018-04-02 08:53:20 +04:00
Konstantin Krivopustov
88213672e2 PL-10578 Sequential Queries feature is enabled by default but sys_query_result cleaning is not (test cleanup) 2018-04-02 08:30:26 +04:00
Konstantin Krivopustov
0a7e89e1ad PL-10578 Sequential Queries feature is enabled by default but sys_query_result cleaning is not (make deleteForInactiveSessions method more scalable) 2018-04-01 14:43:40 +04:00
Konstantin Krivopustov
fe2e820aa3 PL-10578 Sequential Queries feature is enabled by default but sys_query_result cleaning is not 2018-03-31 21:50:27 +04:00
Konstantin Krivopustov
dcd36423d3 PL-10573 Denying role for anonymous user by default 2018-03-31 19:41:23 +04:00
Maxim Gorbunkov
61bcd1598a PL-10614 Dynamic attribute is not updated via REST 2018-03-30 12:22:29 +04:00
Yuriy Artamonov
0782724dfd PL-10541 Use SLF4J string interpolation instead of string concatenation 2018-03-29 14:12:45 +04:00
Andrey Subbotin
a499ca3dbb PL-10619 REST should have an ability to work without security token for entities with constraints 2018-03-29 12:36:26 +04:00
Konstantin Krivopustov
2b2b9d6952 PL-10613 Multiple sequences are used to generate ID in case of SINGLE_TABLE inheritance type 2018-03-28 16:03:34 +04:00
Andrey Subbotin
952495e581 PL-10606 UnsupportedOperationException occurs when trying to copy user settings 2018-03-28 10:32:36 +04:00
Andrey Subbotin
d5b2986a34 PL-10606 UnsupportedOperationException occurs when trying to copy user settings 2018-03-27 19:32:30 +04:00
Andrey Subbotin
4408c77c27 PL-9924 OneToMany field is null if it is hidden by security attribute restriction 2018-03-27 19:27:05 +04:00
Andrey Subbotin
b24a650e8f PL-10289 Support NEW operator in the select JPQL query 2018-03-26 13:58:28 +04:00
Andrey Subbotin
f5d0c2df01 PL-10424 RowLevelSecurityException on saving previously saved entity 2018-03-23 16:58:33 +04:00
Konstantin Krivopustov
481de9a17e PL-10587 Scheduled Tasks in cluster mode use timeout in milliseconds rather than in seconds 2018-03-23 10:58:56 +04:00
Andrey Subbotin
bf631ca196 PL-10354 The query "delete from ..." through EntityManager removes entities without soft deletion 2018-03-22 18:42:12 +04:00
Andrey Subbotin
5ecfd4f768 PL-10354 The query "delete from ..." through EntityManager removes entities without soft deletion 2018-03-22 18:09:56 +04:00
Andrey Subbotin
5cace0c5c2 PL-10354 The query "delete from ..." through EntityManager removes entities without soft deletion 2018-03-22 17:44:55 +04:00
Andrey Subbotin
d6051b0994 PL-8474 @OnDelete(DeletePolicy.UNLINK) is not supported on @OneToMany 2018-03-22 17:00:28 +04:00
Yuriy Artamonov
8380eee8e9 PL-10580 Typo in constant name: SessionParams#IP_ADDERSS 2018-03-22 14:31:12 +04:00
Andrey Subbotin
93880d9d54 PL-9841 Incorrect SQL might be generated to update link attribute of unloaded entity 2018-03-21 18:27:42 +04:00
Gleb Gorelov
147401c0be PL-10562 Split performance testing mode and UI testing mode for Web Client 2018-03-21 11:50:09 +04:00
Roman Pinyazhin
f72987f9ba PL-10475 Entity Log doesn't take into account date resolution displaying old values 2018-03-21 11:14:16 +04:00
Andrey Subbotin
93f4252a77 PL-10000 Support embedded attributes in changes log 2018-03-20 18:16:00 +04:00
Konstantin Krivopustov
9e3f39be7f PL-10565 Default methods in config interfaces 2018-03-20 11:38:25 +04:00
Yuriy Artamonov
9d33df3da6 PL-10555 AuthenticationManager should not log exception with error level twice 2018-03-18 15:30:48 +04:00
Yuriy Artamonov
8f10e34eba PL-10556 AuthenticationProviders should throw LoginException in case of empty login 2018-03-18 15:30:03 +04:00
Andrey Subbotin
2458b2de09 PL-10551 NPE on browser screen with LOB property 2018-03-16 19:06:49 +04:00
Yuriy Artamonov
fef4730e00 PL-10548 AuthenticationManager should always create a new transaction in authenticate / login 2018-03-16 13:13:55 +04:00
Yuriy Artamonov
0c7293fe2f PL-10547 Improve JavaDoc of PersistenceTools.getOldValue() 2018-03-15 19:55:23 +04:00
Yuriy Artamonov
61d215746d PL-10541 Use SLF4J string interpolation instead of string concatenation 2018-03-14 20:22:42 +04:00
Andrey Subbotin
cc5e123349 PL-10435 'ORA-00932' occurs when filtering by CLOB attribute 2018-03-13 10:48:22 +04:00
Yuriy Artamonov
d4f5909875 PL-10528 Warnings about the absence of localized email templates should be shown on the DEBUG level only 2018-03-13 09:57:22 +04:00
Konstantin Krivopustov
9726b95305 PL-10334 Rename columns with reserved DBMS words 2018-03-13 09:54:31 +04:00
Andrey Subbotin
c583275745 PL-10385 sys$QueryResult entities newer deleted 2018-03-12 13:19:04 +04:00
Konstantin Krivopustov
a7813e26aa PL-10513 cuba.uniqueConstraintViolationPattern for MySQL does not work consistently with UniqueConstraintViolationHandler 2018-03-12 12:11:45 +04:00
Konstantin Krivopustov
9dae52a745 PL-10403 Ability to bypass implicit conversion of Entity parameter to its id when executing query via DataManager 2018-03-12 11:48:50 +04:00
Konstantin Krivopustov
e9b07e6db7 PL-10467 Parameterize EntityManager.createNativeQuery(query, class) target class as <T extends Entity> 2018-03-12 09:43:56 +04:00
Konstantin Krivopustov
25cf8472eb PL-10517 Make sure default role is always assigned to new users (fix test) 2018-03-09 17:43:39 +04:00
Konstantin Krivopustov
341d87f427 PL-10517 Make sure default role is always assigned to new users 2018-03-09 16:37:12 +04:00
Konstantin Krivopustov
b4e74d76cd PL-10340 Access to unfetched attribute in BeforeDetachListener leads to reloading of entity and loss of references 2018-03-07 18:34:22 +04:00
Konstantin Krivopustov
f154101ccc PL-10379 Make KeyValueEntity always allowed by entity operation permissions 2018-03-06 13:10:21 +04:00
Konstantin Krivopustov
29c91ecd4c PL-10315 For enums, PersistenceTools.getOldValue returns enum id instead of its value 2018-03-06 12:40:22 +04:00
Konstantin Krivopustov
4f1c3020ee PL-10257 Remove or make optional web host name, web port checks in RemotingServlet 2018-03-06 11:04:04 +04:00
Andrey Subbotin
cffd6b6334 PL-10390 java.lang.IllegalStateException occurs when a datasource for an entity from additional datastore is cacheable 2018-03-05 20:57:46 +04:00
Konstantin Krivopustov
33d0f46e80 PL-10470 User sessions are not evicted after expiration 2018-03-01 16:55:24 +04:00
Andrey Subbotin
0afbb4b7ef PL-10313 Issue with user substitution 2018-02-28 18:43:16 +04:00
Andrey Subbotin
898dcc3990 PL-10054 Error when transforming complex jpql query with case-when expression 2018-02-28 10:38:04 +04:00