Commit Graph

14842 Commits

Author SHA1 Message Date
Carlos Ruiz d421dba94e
IDEMPIERE-5445 Implement multiplier and rounding for financial reports (#1524)
* IDEMPIERE-5445 Implement multiplier and rounding for financial reports

* - Improve loop
2022-10-16 11:29:12 +02:00
Carlos Ruiz 93e42e43e4
IDEMPIERE-5399 Data type Time is mostly useless / Fix issue reported by Nicolas when first value is 01:00 (#1530) 2022-10-16 11:28:24 +08:00
Peter Takács 5cd7149664
IDEMPIERE-5418 - Add Translation for AD_ChartDatasource (#1479)
* IDEMPIERE-5418 - Add Translation for AD_ChartDatasource

* IDEMPIERE-5418 - fixes on translation tab

* IDEMPIERE-5418 - fix: added primary key

* IDEMPIERE-5418 - pr1 patch
2022-10-13 15:12:18 +02:00
hengsin e6eb86a1c5
IDEMPIERE-5447 Add unit test for Merge form (#1523)
* IDEMPIERE-5447 Add unit test for Merge form

* IDEMPIERE-5447 Add unit test for Merge form

- Merge patch from Carlos
2022-10-12 16:02:56 +08:00
hengsin 62bbb83cb2
IDEMPIERE-5444 Refactoring of GridTabVO and GridFieldVO (#1519) 2022-10-11 16:00:08 +02:00
Peter Takács 4474a0ede2
IDEMPIERE-5405 - Drill Assistant - potential Cross Tenant Issue on Table tab (#1461)
* IDEMPIERE-5405 - Drill Assistant - potential Cross Tenant Issue on Table tab

* IDEMPIERE-5405 - include System Print Formats, add ORDER BY
2022-10-11 13:10:52 +02:00
Nicolas Micoud 1646074a59
IDEMPIERE-5446 : Property to know an AttachmentEntry has been updated (#1522)
* IDEMPIERE-5446 : Property to know an AttachmentEntry has been updated

https://idempiere.atlassian.net/browse/IDEMPIERE-5446

* IDEMPIERE-5446 : Property to know an AttachmentEntry has been updated - fix javadoc
2022-10-10 14:59:07 +08:00
hengsin be4a00cb0a
IDEMPIERE-5439 Add unit test for Fact Reconciliation form (#1520)
- Fixed intermittent unit test error
2022-10-08 11:50:48 +08:00
hengsin c62af68e09
IDEMPIERE-5402 Replace Jfree Chart with Billboard (#1518)
Update parallel unit test launch configuration
2022-10-07 14:08:48 +08:00
Peter Takács a96c6e482d
IDEMPIERE-5432 - Performance Measure Calculation - Improve SQL Definition (#1500)
* IDEMPIERE-5432 - Performance Measure Calculation - Improve SQL Definition

* IDEMPIERE-5432 - IDEMPIERE-5432_PR1 patch
2022-10-07 14:01:12 +08:00
Deepak Pansheriya abae9f221d
IDEMPIERE-5349: Adding AlwaysUpdatableLogic on Column and Field. (#1408)
* IDEMPIERE-5349: Adding AlwaysUpdatableLogic on Column and Field.

* IDEMPIERE-5349: Making Always Updatable logic to work when isAlwaysUpdatable is false and iAlwaysUpdatable made higher priority

* IDEMPIERE-5349: fixing error SP2-0027 in oracle

* IDEMPIERE-5349 : Fixing AlwaysUpdatableLogic not set when isAlwaysUpdatableLogic is null

* IDEMPIERE-5349 : renaming migration script and updatong AD_Field_V and AD_Field_VT
2022-10-06 13:53:32 +08:00
Carlos Ruiz 51841d0a39
Minor - solve two new eclipse 2022-09 warnings (#1515) 2022-10-06 11:48:13 +08:00
Carlos Ruiz d33caf9807
IDEMPIERE-5259 fix "Msg.getMsg: NOT found: Label" error (#1516) 2022-10-06 11:47:35 +08:00
Nicolas Micoud 780a16f153
IDEMPIERE-5442 : Fix typos in code - varialbe -> variable (#1517)
https://idempiere.atlassian.net/browse/IDEMPIERE-5442
2022-10-06 11:46:32 +08:00
hengsin 476e9ab71c
IDEMPIERE-5396 Replace CreateFrom form with Info Window Process (#1514)
- Fix Default AD_InfoWindow_ID value of AD_Column
2022-10-05 11:00:42 +02:00
Carlos Ruiz bc9f0433a2
IDEMPIERE-5408 move scripts to release9 (#1513) 2022-10-04 18:03:25 +02:00
Peter Takács ad29252c5e
IDEMPIERE-5414 - Improve Dashboard Help Icon Behaviour (#1502)
* IDEMPIERE-5414 - Improve Dashboard Help Icon Behaviour

* IDEMPIERE-5414 - replace Toolbar Button with <a><a/>
2022-10-04 17:40:45 +08:00
Carlos Ruiz c1a1045d87
IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823) (#1498)
* IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823)

- Add column AD_Client.LoginPrefix

* - Implement logic to manage login prefix
- Add SysConfig keys LOGIN_PREFIX_SEPARATOR and LOGIN_WITH_TENANT_PREFIX

* - Rename methods as suggested by Heng Sin

* IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823)

For security reasons is better to ask for MFA before showing additional information from the user.
Refactoring the panels to show the MFA panel as soon as the tenant is defined.

* - Add uniqueness validations on tenant creation

* - Fix the Forgot My Password functionality

* - Fix the Change Expired Password functionality

* - minor javadoc improvement
- remove a redundant comment, the method is already mark as deprecated

Co-authored-by: hengsin <hengsin@gmail.com>
2022-10-04 11:14:05 +02:00
Diego Ruiz 96a46e5bac
Update pull_request_template.md (#1512) 2022-09-30 18:36:11 +02:00
Layda Salas dbcfd9af14
IDEMPIERE-5437 Improve description for SysConfig SYSTEM_NATIVE_SEQUEN… (#1511)
* IDEMPIERE-5437 Improve description for SysConfig SYSTEM_NATIVE_SEQUENCE #resolve

* IDEMPIERE-5437 Improve description for SysConfig SYSTEM_NATIVE_SEQUENCE #resolve

* revert unwanted changes in launcher

* revert unwanted changes in launcher

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-09-30 12:31:33 +02:00
hengsin 13d26966b6
IDEMPIERE-5440 Add unit test for Matching form (#1510) 2022-09-30 12:25:20 +02:00
hengsin a6a80b7a8c
IDEMPIERE-5439 Add unit test for Fact Reconciliation form (#1508)
* IDEMPIERE-5439 Add unit test for Fact Reconciliation form

* Update WFactReconcile.java

* Update FactReconcile.java

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-09-30 12:17:22 +02:00
Nicolas Micoud c9005bd601
IDEMPIERE-5245: Fix missing capitals on first letter of elements starting with "Date..." (#1509)
https://idempiere.atlassian.net/browse/IDEMPIERE-5245
2022-09-30 12:04:13 +02:00
Nicolas Micoud 297dbc73df
IDEMPIERE-5438: Web Service Security > Access tab should allow to sel… (#1506)
* IDEMPIERE-5438: Web Service Security > Access tab should allow to select WS roles only

https://idempiere.atlassian.net/browse/IDEMPIERE-5438

* IDEMPIERE-5438: Web Service Security > Access tab should allow to select WS roles only

Role with RoleType = null can also be used for WS, so must be included in available roles

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-09-30 12:00:55 +02:00
Nicolas Micoud 98c9dfc844
IDEMPIERE-5434 : Allow to define db view component with DISTINCT (#1505)
https://idempiere.atlassian.net/browse/IDEMPIERE-5434
2022-09-30 13:52:43 +08:00
Nicolas Micoud 011ac10a4f
IDEMPIERE-5243: More columns to increase length - AD_Val_Rule.Code to 4000 (#1507)
https://idempiere.atlassian.net/browse/IDEMPIERE-5243
2022-09-30 10:33:12 +08:00
Diego Ruiz 8a51fb8f4a
IDEMPIERE-2205 - Ask for secret input from within a process (#1501) 2022-09-26 19:46:09 +08:00
Jasper Siepkes 0173bbd296
Fixed user defined JDBC URL override not working. (#1499)
Fixes logic error in the way a user defined `jdbcUrl` in
`hikaricp.properties` is handled.

Additionally changed the default max pool size to the previous limit of
90 connections. PR #926 originally also had this but this apparantly
fell out. Testing showed that during first time server startup a flood
of connection can be made and a connection pool of 30 can be
overwhelmed and callers waiting on a connection will time-out.
2022-09-26 15:45:05 +08:00
Peter Takács 08c1727c60
IDEMPIERE-5414 - Add Help icon to Dashboard Content (#1474)
* IDEMPIERE-5414 - Add Help icon to Dashboard Content
2022-09-26 15:31:53 +08:00
Zuhri Utama f706d884a7
IDEMPIERE-5429 Rest API Web Service for composite not support JSON (#1497)
* IDEMPIERE-5429 Rest API Web Service for composite not support JSON
2022-09-25 20:00:40 +08:00
Carlos Ruiz aef93fb113
IDEMPIERE-5430 UPDATE generating unnecessary settings for null columns (#1496) 2022-09-23 15:25:51 +08:00
hengsin 536eda3546
IDEMPIERE-5427 Upgrade to Tycho 2.7.5 (#1493)
- restore .classpath to remove Tycho Configurator m2e connector
dependency
2022-09-21 14:21:27 +02:00
Carlos Ruiz cdf36a785f
IDEMPIERE-4297 GardenWorld Periods 2023 to 2030 (#1491) 2022-09-21 13:44:56 +08:00
Elaine Tan 0b8b7da8e5
IDEMPIERE-5396 Replace CreateFrom form with Info Window Process (#1469)
* IDEMPIERE-5396 Replace CreateFrom form with Info Window Process
2022-09-19 18:30:24 +08:00
hengsin fbb9ccadd2
IDEMPIERE-5427 Upgrade to Tycho 2.7.5 (#1490) 2022-09-17 12:18:22 +02:00
Carlos Ruiz 45516c6c91
IDEMPIERE-5425 Chosen Multiple Selection fields are not being copied with the Copy button (#1489) 2022-09-17 11:47:47 +08:00
Carlos Ruiz b5c0809072
IDEMPIERE-5424 NPE when setting SysConfig BACKGROUND_JOB_ALLOWED=N (#1488) 2022-09-17 11:42:19 +08:00
Diego Ruiz 6a51f57c08
Rename PULL_REQUEST_CHECKLIST.md to pull_request_template.md (#1487) 2022-09-16 13:44:31 +02:00
Carlos Ruiz 08c61a7207
IDEMPIERE-3340 Fix issue not allowing to delete a user (#1485) 2022-09-14 10:26:00 +08:00
Carlos Ruiz 1229faab34
IDEMPIERE-2058 Fix problem reading wrong column (#1484) 2022-09-14 10:24:05 +08:00
Carlos Ruiz ac36849415
IDEMPIERE-5013 Implement HikariCP as a replacement for c3p0 (#1486) 2022-09-14 10:21:47 +08:00
Carlos Ruiz 52e5e17fed
IDEMPIERE-5354 Manage use case for microsoft OAuth2 preferred_username (FHCA-3757) (#1483)
* IDEMPIERE-5354 Manage use case for microsoft OAuth2 preferred_username (FHCA-3757)

* IDEMPIERE-5354 Manage use case for microsoft OAuth2 preferred_username (FHCA-3757)
2022-09-13 18:57:13 +02:00
Diego Ruiz acc95a705c
Create PULL_REQUEST_CHECKLIST.md (#1482)
* Create PULL_REQUEST_CHECKLIST.md

* Update PULL_REQUEST_CHECKLIST.md

* Update PULL_REQUEST_CHECKLIST.md

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2022-09-13 14:12:37 +02:00
hengsin a5125a8d40
IDEMPIERE-5417 update.sh show unresolved package error (#1478) 2022-09-13 13:32:41 +02:00
Carlos Ruiz 9bab16fbff
IDEMPIERE-5416 Alt+A is used for Create+New - for usability would be good to use it also for New (#1477)
* IDEMPIERE-5416 Alt+A is used for Create+New - for usability would be good to use it also for New

* Fix test case reported by Heng Sin
2022-09-12 11:23:42 +08:00
Carlos Ruiz 3c69ba56a4
IDEMPIERE-5415 Incomplete process log when output is > 2000 chars (#1476) 2022-09-11 15:22:52 +08:00
Carlos Ruiz c5c05385ec
IDEMPIERE-5013 upgrade JDBC libraries to latest version (#1475) 2022-09-10 13:42:55 +02:00
Jasper Siepkes 861e3ad01f
IDEMPIERE-5013 Implement HikariCP as a replacement for c3p0 (#926)
* Replaced PostgreSQL and Oracle connection pools with HikariCP.

Replaced C3P0 with HikariCP. HikariCP is a Apache licensed connection pool with substantially better performance and better resilience to failure (DB disconnects, etc.) then C3P0. Read more about it here: https://github.com/brettwooldridge/HikariCP .

Cleaned up the `getCachedConnection` method. With HikariCP there is no need to retry to obtain a connection since getting an connection will block until a free connection is available or until a timeout is reached (default 30 seconds) at which point an `SQLException` is thrown. This also removed calling `Runtime.getRuntime().runFinalization();`. HikariCP is currently configured to detect / log leaks when a connection hasn't returned to the pool for longer then 5 minutes.

Loading of pool config properties was cleaned up. Defaults are now loaded from a single file instead of defaults coming from both file and hardcoded properties. It is now also possible to specify any HikariCP property in the user pool property file.

Initialization of the datasource must happen in the `getDataSource()` method because at object construction not all JDBC config is known. However this method could (as far as I could tell) be called concurrently from multiple threads but had no mechanism to prevent initializing the DB pool multiple times. The variable in which the pool itself was stored (`m_ds`) also was not marked volatile or immutable which could lead to visibility issues. Instead of lazy initialization of the pool in the `getDataSource()` method the pool could probably better be initialized at object construction. However I wasn't able to achieve that without breakage therefor I made the initialization mechanism work correctly with concurrent invocations.

Various config options such as the `MaxStatementsPerConnection` options were removed because HikariCP doesn't support them.

* (Re)added Sequence time-out.
2022-09-10 12:21:57 +02:00
Carlos Ruiz 7e6ba65858
IDEMPIERE-5413 PO is Immutable in Report Wizard (#1473) 2022-09-09 14:32:33 +02:00
Peter Takács 005a1847e8
IDEMPIERE-5412 - Improve Dashboard Theme Look (#1471)
* IDEMPIERE-5412 - Improve Dashboard Theme Look

* IDEMPIERE-5412 - added message: NoDataAvailable

* IDEMPIERE-5412 - update default theme version
2022-09-09 14:55:54 +08:00