Commit Graph

2254 Commits

Author SHA1 Message Date
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
Yuriy Artamonov
70d0425bdc PL-10446 Extract authentication extension points in LoginProvider beans 2018-02-26 19:58:44 +04:00
Yuriy Artamonov
b2220363d9 PL-10452 Use protected modifiers for EntityLog methods: enqueueItem, computeChanges 2018-02-26 18:12:51 +04:00
Konstantin Krivopustov
0c04a0ba72 PL-10270 Automatic update fails on custom database created by Studio before generating scripts 2018-02-26 12:18:33 +04:00
Konstantin Krivopustov
e10aa74f87 PL-10413 Add Start Delay field to Scheduled Task editor 2018-02-26 10:01:12 +04:00
Konstantin Krivopustov
98a33f36fd PL-10404 Make all loggers static final 2018-02-13 17:49:22 +04:00
Andrey Subbotin
1446fac675 PL-10401 Remove spring events listeners for attribute access (fix unit tests) 2018-02-13 15:17:05 +04:00
Andrey Subbotin
965f05c6a0 PL-10401 Remove spring events listeners for attribute access 2018-02-13 15:01:28 +04:00
Konstantin Krivopustov
5d0f0c314c PL-10395 More logging of transaction management 2018-02-13 09:15:30 +04:00
Konstantin Krivopustov
07d200ab4e PL-10366 DB update error occurs when init scripts for previously added app component appears in repository (fix case difference) 2018-02-12 17:37:37 +04:00
Konstantin Krivopustov
e851768717 PL-10366 DB update error occurs when init scripts for previously added app component appears in repository 2018-02-09 19:47:46 +04:00
Andrey Subbotin
101dc93242 PL-10373 Entity/Query cache doesn't use entities from cache when cuba.numberIdCacheSize = 1 2018-02-09 17:10:16 +04:00
Konstantin Krivopustov
054fcaf045 PL-10358 Possible locking bottleneck in UserSessions 2018-02-09 17:04:27 +04:00
Andrey Subbotin
25ad32d4dc PL-10370 Entity cache doesn't put entity into the cache, if you can access a JDBC connection in the load transaction (ignore test execution) 2018-02-09 12:53:39 +04:00
Andrey Subbotin
d99e52c4a5 PL-10370 Entity cache doesn't put entity into the cache, if you can access a JDBC connection in the load transaction 2018-02-09 12:31:39 +04:00
Konstantin Krivopustov
e5b5064a21 PL-10361 PersistenceTools.getOldValue returns null for not changed attributes 2018-02-08 10:15:13 +04:00
Andrey Subbotin
82e2208afb PL-10322 REST should create an entity without security token with @ManyToMany attribute 2018-02-01 17:08:17 +04:00
Konstantin Krivopustov
90d5bfcf7f PL-10324 MetadataTools.isPersistent returns false for id attribute 2018-02-01 11:54:29 +04:00
Andrey Subbotin
6fbb049f4e PL-9945 JPQL converts to invalid SQL in some cases 2018-01-29 16:19:40 +04:00
Andrey Subbotin
3bee0563e5 PL-10085 Data is not fetched for many-to-many relationship 2018-01-26 13:42:33 +04:00
Andrey Subbotin
4ee8317f1c PL-10269 REST can't update entity with security token and existing security constraints 2018-01-23 17:49:37 +04:00
Konstantin Krivopustov
4eccb245fd PL-10261 PersistenceTools.getReferenceId returns "not loaded" RefId if reference is null 2018-01-19 12:13:48 +04:00
Andrey Subbotin
7091253693 PL-9036 Dynamic attribute of the double type does not store decimal part (fix scripts) 2018-01-16 16:57:59 +04:00
Andrey Subbotin
e98cb96a0b PL-9036 Dynamic attribute of the double type does not store decimal part 2018-01-12 18:01:53 +04:00
Andrey Subbotin
533cc126e8 PL-10070 Speed up getting information about tables on Oracle 2018-01-11 10:01:51 +04:00
Andrey Subbotin
fd01483d59 PL-10223 Remove soft delete/secondary tables from PersistenceManager API 2018-01-10 15:31:40 +04:00
Maxim Gorbunkov
a707a25e4b PL-9406 A one-to-one composition entity must be removed if null value passed to the composition field 2018-01-10 15:10:57 +04:00
Andrey Subbotin
008ea1d401 PL-10070 Speed up getting information about tables on Oracle (fix javadoc) 2018-01-10 11:24:39 +04:00
Andrey Subbotin
eb97cc88f0 PL-10070 Speed up getting information about tables on Oracle 2018-01-10 11:05:17 +04:00
Yuriy Artamonov
d26c3acfd8 PL-10215 Replace StringUtils.equals and ObjectUtils.equals with Objects.equals 2018-01-09 14:16:45 +04:00
Konstantin Krivopustov
8dabd69a02 PL-10214 Better JavaDocs for DataStore interface 2018-01-09 12:53:01 +04:00
Roman Pinyazhin
be47db01d4 PL-10196 Sorting by unindexed field in User Session Log screen 2017-12-29 16:40:32 +04:00
Andrey Subbotin
35e0149f37 PL-10204 Don't use partial views for entities with enabled attribute access 2017-12-29 15:53:02 +04:00
Maxim Gorbunkov
74249d1516 PL-9653 OAuth2 Refresh token support for REST API (update scripts fixed) 2017-12-29 15:48:46 +04:00
Maxim Gorbunkov
31cffd20f8 PL-10002 REST request locale (update script fixed) 2017-12-29 15:33:10 +04:00
Maxim Gorbunkov
769e569ac7 PL-9653 OAuth2 Refresh token support for REST API update scripts fix 2017-12-29 14:15:40 +04:00
Roman Pinyazhin
52f393c3e9 PL-10196 Sorting by unindexed field in User Session Log screen 2017-12-29 12:12:11 +04:00
Andrey Subbotin
22dcd74809 PL-9652 Reference field not loaded in dataManager.loadList for particular object 2017-12-28 18:52:25 +04:00
Yuriy Artamonov
f6e6dfcb67 PL-10140 AuthenticationManager should use system SecurityContext for
event firing

UserSessionSubstitutedEvent and UserLoggedOutEvent events are fired with
system security context. AfterAuthenticationEvent is fired even if an
exception is fired during BeforeAuthenticationEvent handling.
2017-12-27 12:07:17 +04:00
Konstantin Krivopustov
5a5fbf1ac0 PL-10202 Do not return system sessions from UserSessionService.getUserSession() to clients 2017-12-26 14:32:20 +04:00
Konstantin Krivopustov
095c87246a PL-10148 Ability to extend health checking logic 2017-12-22 17:12:18 +04:00
Konstantin Krivopustov
9f0d9de61e PL-9050 Entity becomes "new" and "detached" even if the commit was failed (fix test) 2017-12-22 15:16:56 +04:00
Konstantin Krivopustov
02fb41c7ed PL-9050 Entity becomes "new" and "detached" even if the commit was failed 2017-12-22 12:12:01 +04:00
Konstantin Krivopustov
f85b8b60f2 PL-7448 Declarative registration for AppContext lifecycle event listeners (test infrastructure) 2017-12-22 11:31:47 +04:00
Konstantin Krivopustov
f8b5a43f55 PL-7448 Declarative registration for AppContext lifecycle event listeners (added AppContextInitializedEvent) 2017-12-22 11:31:47 +04:00
Andrey Subbotin
ae672bffc4 PL-9269 EntitySnapshotManager doesn't show changes for dynamic attributes (NPE on Optional.of) 2017-12-20 17:05:21 +04:00
Daniil Tsarev
d71b5244e2 PL-10169 Non isolated UnfetchedAttribute test 2017-12-18 18:26:57 +04:00
Yuriy Artamonov
91e7d69463 PL-10140 AuthenticationService should use system security context
AuthenticationManagerBean uses separate session with user "server" for
authenticate and login processing. This server session instantiated
directly without login procedure.
2017-12-18 13:52:35 +04:00
Daniil Tsarev
fe9b844f3d PL-9999 Ignore view name for not reference attributes or raise exception at the moment of view creation 2017-12-18 11:14:22 +04:00
Roman Pinyazhin
24cf4de73b PL-10123 Enum descriptions are duplicated in Data Model document 2017-12-15 13:37:44 +04:00
Yuriy Artamonov
8169d52dea PL-10140 AuthenticationService should use system security context 2017-12-15 11:48:40 +04:00
Andrey Subbotin
d1b2dfdfe5 PL-10087 Needless DELETE_TS check cause exception on deleted reference reload when trying to fetch reference in deleted entity 2017-12-14 17:27:21 +04:00
Andrey Subbotin
a96eb7f21c PL-9269 EntitySnapshotManager doesn't show changes for dynamic attributes 2017-12-12 14:19:39 +04:00
Andrey Subbotin
39b3c0bfc1 PL-9882 "__securityToken" attribute should be required in the update operation of the Entity with the dynamic access to the attributes
Fix review
2017-12-12 13:54:43 +04:00
Andrey Subbotin
86684a8468 PL-9970 Report cancellation problems with desktop client 2017-12-12 13:33:28 +04:00
Andrey Subbotin
5eb7b2ea80 PL-9269 EntitySnapshotManager doesn't show changes for dynamic attributes
Set Logger final
2017-12-12 13:24:24 +04:00
Andrey Subbotin
f9462d5cf0 PL-9992 TimeZone and @dateEquals macro in filter condition
Correct method name to getTimeZoneFromArgs in the AbstractQueryMacroHandler
2017-12-12 12:54:47 +04:00
Yuriy Artamonov
4cf346b493 PL-10142 UserSessionLog does not store ClientType 2017-12-12 11:04:02 +04:00
Yuriy Artamonov
fef509c10a PL-10140 AuthenticationService should use system security context 2017-12-12 10:30:50 +04:00
Andrey Subbotin
e6c1a0367f PL-9970 Report cancellation problems with desktop client 2017-12-08 18:00:15 +04:00
Andrey Subbotin
fea4a162f6 PL-10102 EntityLog doesn't show changes for dynamic attributes 2017-12-07 15:27:27 +04:00
Konstantin Krivopustov
f873687abc PL-9050 Entity becomes "new" and "detached" even if the commit was failed 2017-12-07 13:45:14 +04:00
Daniil Tsarev
315d150874 PL-10017 Email sending failed when using Amazon SES and file attached for an e-mail 2017-12-06 19:17:44 +04:00
Konstantin Krivopustov
64011ab231 Ignore null references to entities in test cleanup 2017-12-06 17:03:12 +04:00
Konstantin Krivopustov
84d4ca6335 PL-9949 Improve API for working with active user sessions 2017-12-06 10:54:51 +04:00
Andrey Subbotin
c17852a64b PL-10117 Exception in DynamicAttributesManager#doLoadCache can make server stuck 2017-12-05 15:52:29 +04:00
Maxim Gorbunkov
d4a9b9bd11 PL-9653 OAuth2 Refresh token support for REST API (update scripts fixed) 2017-12-05 11:44:10 +04:00
Maxim Gorbunkov
cd850a63b2 PL-9653 OAuth2 Refresh token support for REST API (HSQL update script fixed) 2017-12-04 18:57:21 +04:00
Maxim Gorbunkov
d636ce2558 PL-9653 OAuth2 Refresh token support for REST API 2017-12-04 16:13:21 +04:00
Andrey Subbotin
fcd29eb096 PL-9269 EntitySnapshotManager doesn't show changes for dynamic attributes 2017-12-01 17:44:44 +04:00
Roman Pinyazhin
815cc671c9 PL-9994 Easy customization for user exception report emails 2017-12-01 15:32:45 +04:00
Konstantin Krivopustov
e58f5bb9e6 PL-9988 Rename ReleaseNumber and ReleaseTimestamp attributes of ServerInfo JMX Bean 2017-12-01 15:19:14 +04:00
Konstantin Krivopustov
74d4a2a3a4 PL-7960 Could not create instance of BaseIntegerId or BaseLongId entity in additional datastore if the autoincrement property is not set for ID 2017-12-01 14:47:51 +04:00
Konstantin Krivopustov
528185c195 PL-10091 Make UniqueNumbers implementation more extension-friendly 2017-12-01 12:17:11 +04:00
Maxim Gorbunkov
071c869cb4 PL-9880 "Default by default" filters - update script fix 2017-12-01 09:53:39 +04:00
Roman Pinyazhin
6ec0bd3b77 PL-9994 Easy customization for user exception report emails 2017-11-30 17:05:00 +04:00
Yuriy Artamonov
1fa505a42d PL-10096 Replace Log4JStopWatch with Slf4JStopWatch 2017-11-30 16:36:49 +04:00
Andrey Subbotin
a831d0dd5b PL-9992 TimeZone and @dateEquals macro in filter condition 2017-11-29 14:19:44 +04:00
Konstantin Krivopustov
19cd984b9a PL-10005 Missed Entity Log items in case of implicit flush in the middle of transaction 2017-11-29 13:54:00 +04:00
Yuriy Artamonov
dd62c7eaa7 PL-10072 Unable to import application Java classes from reset-password-body email template 2017-11-23 16:42:49 +04:00
Yuriy Artamonov
a0fa802772 PL-10063 Use TRACE log level for attempt/success messages in Connection / AuthenticationManager 2017-11-22 15:22:11 +04:00
Yuriy Artamonov
58304e056b PL-9867 Instantiate LdapLoginProvider if cuba.web.externalAuthentication is false 2017-11-21 18:04:37 +04:00
Maxim Gorbunkov
4f4009a5f6 PL-10002 REST request locale should be searched in the user language 2017-11-21 14:40:38 +04:00
Maxim Gorbunkov
def13fc838 PL-9880 Global default filters - HSQL update script added 2017-11-21 14:01:27 +04:00
Yuriy Artamonov
6b815727c1 PL-9867 New login mechanism for web client 2017-11-20 17:44:41 +04:00
Maxim Gorbunkov
9f4cd3afdb PL-9880 Global default filters 2017-11-20 11:35:09 +04:00
Andrey Subbotin
b330ea0ea8 PL-10026 DataManager commit falls when entity has constraints on related attributes 2017-11-17 17:01:25 +04:00
Andrey Subbotin
6aade63109 PL-9985 Get rid of patched XStream version 2017-11-14 17:16:54 +04:00
Yuriy Artamonov
1b52cbc8ba PL-10018 Remove Cp1252 symbols from QueryTransformerAstBasedTest 2017-11-13 16:46:01 +04:00
Maxim Gorbunkov
d1e0531915 PL-10016 REST API: a reference to deleted entity is not set on create and update 2017-11-13 14:02:54 +04:00
Konstantin Krivopustov
5a7e8800a0 PL 9861 Help to detect early transaction flushes 2017-11-13 12:07:23 +04:00
Andrey Subbotin
742a767bfb PL-9976 JPQL parse error when multiplying by decimal 2017-11-07 12:17:55 +04:00
Yuriy Artamonov
d4290d9b5a PL-9982 Convert line endings 2017-11-05 15:58:18 +04:00
Yuriy Artamonov
24dcd77fc0 PL-9313 LocalServiceProxy can be requested before core Spring context is initialized 2017-10-31 13:51:29 +04:00
Andrey Subbotin
5aaeb7f8f6 PL-9827 Error when using @enum in "a in ()" clause 2017-10-30 18:06:51 +04:00
Andrey Subbotin
efd66d4259 PL-9882 "__securityToken" attribute should be required in the update operation of the Entity with the dynamic access to the attributes 2017-10-30 13:53:12 +04:00
Andrey Subbotin
677455fd44 PL-9879 MssqlDbTypeConverter.getSqlType doesn't work properly for Integer and Long java types (fix for String) 2017-10-24 13:49:28 +04:00
Andrey Subbotin
a478b994f7 PL-9879 MssqlDbTypeConverter.getSqlType doesn't work properly for Integer and Long java types 2017-10-24 12:45:47 +04:00
Yuriy Artamonov
bfc3751684 PL-9404 New Authentication subsystem - order methods of AuthenticationManager and AuthenticationService 2017-10-23 20:08:03 +04:00
Andrey Subbotin
33f3a59823 PL-8551 Dynamic attribute access control 2017-10-20 18:22:06 +04:00
Yuriy Artamonov
3f9217e649 PL-9404 New Authentication subsystem - check client IP in TrustedClientService 2017-10-19 16:54:23 +04:00