Commit Graph

3258 Commits

Author SHA1 Message Date
Carlos Ruiz 23735316f9
IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823) (#1596)
* IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823)

Show MFA for support users in System, even if they have roles in several tenants, they can just have MFA defined in System tenant

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

- Change of approach, the MFA can be shown first when the client is defined, or when the user is defined to belong to a single tenant
  - on the contrary, when we have same user/password in two tenants, the MFA must be delayed until the tenant is identified

- Reviewing this noticed that the Login locking/inactivity logic is working on the full users array, even if the user has a different password (so is a different user)
  Fixed this to work just on the authenticated users - this is, those that have the same password in different tenants
2022-12-02 15:31:56 +08:00
matheus-marcelinux ac81f3529b
IDEMPIERE-5468 - Negate option in parameter panel when component is a Chosen Multiple Selection (#1567)
* # IDEMPIERE-5468 - implement negate option for chosen multiple selection components as process parameter

* # IDEMPIERE-5468 - Negate option in parameter panel when component is a Chosen Multiple Selection

* IDEMPIERE-5468 - ui improvements

* IDEMPIERE-5468 - adding old method signature

* IDEMPIERE-5468 - fix method comment

* # IDEMPIERE-5468 - fix missing methods

* IDEMPIERE-5468 - applying hengsins suggestion and translating tooltips
2022-12-01 13:20:25 +08:00
Peter Takács b4aaabb8b4
IDEMPIERE-5490 - Dashboard Content->Report -> Allow specify Print Format (#1589)
* IDEMPIERE-5490 - Dashboard Content->Report -> Allow specify Print Format

* IDEMPIERE-5490 - add AD_PrintFormat_ID to Dashboard Content table
2022-11-30 11:46:34 +08:00
Carlos Ruiz 2870bd56c7
IDEMPIERE-5500 Autorefresh of Table lists not working correctly (#1591)
* IDEMPIERE-5500 Autorefresh of Table lists not working correctly

* - add back reset method as suggested by hengsin
2022-11-29 19:28:16 +08:00
Peter Takács 7cac30ad13
IDEMPIERE-5499 - Report CSS - set width to 100% (#1590) 2022-11-29 11:23:27 +08:00
Peter Takács 931687169a
IDEMPIERE-5489 - Allow to Start Drill Assistant from Window Field Menu (#1580)
* IDEMPIERE-5489 - Allow to Start Drill Assistant from Window Field Menu

* IDEMPIERE-5489 - fixes

* IDEMPIERE-5489 - fixes

* IDEMPIERE-5489 - remove setting width to 42%
2022-11-28 16:30:20 +08:00
Peter Takács ea092b56ff
IDEMPIERE-5302 - Drill Assistant Feature fixes in initialisation logic (#1581)
* IDEMPIERE-5302 - Drill Assistant Feature fixes in initialisation logic

* IDEMPIERE-5302 - removing scripts commited by mistake

* IDEMPIERE-5302 - pr1581 patch
2022-11-28 15:06:29 +08:00
Carlos Ruiz a217e121fe
IDEMPIERE-5491 Info Window - implement Select/DeSelect All buttons (FHCA-4016) (#1582) 2022-11-27 16:19:26 +08:00
matheus-marcelinux 5419b67762
# IDEMPIERE-5492 - reset workflow activities message- (#1584) 2022-11-27 14:09:14 +08:00
matheus-marcelinux 7621447500
# IDEMPIERE-5494 - enable zoom in WLocationEditor (#1586) 2022-11-27 14:06:39 +08:00
Peter Takács 25de35dbe0
IDEMPIERE-5486 - Advanced Search: Date Fields - NullPointerException (#1576) 2022-11-23 16:59:37 +08:00
Peter Takács bb613037e8
IDEMPIERE-5480 - Date Range Picker Mobile Support (#1566) 2022-11-23 15:53:55 +08:00
Deepak Pansheriya 2074e98616
IDEMPIERE-3334: Adding support for Readonly Logic, Set Pressed Logic … (#1244)
* IDEMPIERE-3334: Adding support for Readonly Logic, Set Pressed Logic on custom toolbar button

* IDEMPIERE-3334: Fix as per Hengsin suggestion

* IDEMPIERE-3334: Renaming migration scripts, changing VARCHAR2(2000) to VARCHAR2(2000 CHAR) and fixing sql have line starting with @

* IDEMPIERE-3334: SQL Logic evaluate by using Evaluator.parseSQLLogic()

* IDEMPIERE-3334 : Adding support for pressed and readonly logic on Window->Tab->toolbar

* IDEMPIERE-3334 : Adding Hengsin't patch

* IDEMPIERE-3334 : removing ParseContext call
2022-11-23 13:05:14 +08:00
Elaine Tan 2ff6378720
IDEMPIERE-5472 Unclosed resources (#1565)
* IDEMPIERE-5472 Unclosed resources

* IDEMPIERE-5472 Unclosed resources
2022-11-17 17:35:15 +08:00
hengsin 05bf9d6add
IDEMPIERE-5473 Refactoring of WArchive and MArchive (#1555) 2022-11-15 14:51:11 +01:00
hengsin da587235c7
IDEMPIERE-5476 Refactoring of WRequest and MRequest (#1560) 2022-11-14 22:02:14 +01:00
Carlos Ruiz be7fb240cb
IDEMPIERE-870 Fixed Assets using non-existant context variable (#1557)
* IDEMPIERE-870 Fixed Assets using non-existant context variable

* - Implement context variable #IsCanApproveOwnDoc
2022-11-12 21:48:46 +08:00
hengsin 3112ea87b5
IDEMPIERE-5443 Date Range Filter Component (#1559)
Fix Find window: don't default to current month range filter
2022-11-12 11:41:47 +01:00
Peter Takács 6f737cacdd
IDEMPIERE-5467 - Implement IsRange for Info Window fields (#1550)
* IDEMPIERE-5467 - Implement IsRange for Info Window fields

* IDEMPIERE-5467 - refactor DateRangePicker, autodetect feature

* IDEMPIERE-5467 - fixes

* IDEMPIERE-5467 - pr1550 patch
2022-11-11 16:35:04 +08:00
hengsin d50a44c744
IDEMPIERE-5469 Refactoring of TimeUtil (#1549)
* IDEMPIERE-5469 Refactoring of TimeUtil
* IDEMPIERE-5469 Refactoring of TimeUtil
- Merge patch from Carlos
2022-11-10 14:36:53 +01:00
hengsin 5b5a957d87
IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Exp… (#1554)
* IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Export form

* IDEMPIERE-5471 Refactoring of Payment Selection and Payment Print/Export form

- merge patch from Carlos
2022-11-08 17:15:25 +01:00
hengsin c926c05d4e
IDEMPIERE-5443 Date Range Filter Component (#1551)
- Fix issue with non-date field
2022-11-08 13:34:16 +01:00
Carlos Ruiz 193141324e
IDEMPIERE-5463 Help on Role Panel selection page (#1548)
* IDEMPIERE-5463 Help on Role Panel selection page

- SysConfig LOGIN_SELECTION_HELP_URL defaulting to https://wiki.idempiere.org/{lang}/Login_Selection_Help
- added WebUtil.isUrlOk
- verify if the login and selection help page exists before opening, otherwise default to english version

* - rename SysConfig LOGIN_SELECTION_HELP_URL to LOGIN_SELECT_ROLE_HELP_URL

* - fix wrong SysConfig name
2022-11-02 22:59:05 +08:00
Peter Takács ed7fb79cd7
IDEMPIERE-5460 - Process Audit doesn't set printing related attribute… (#1543)
* IDEMPIERE-5460 - Process Audit doesn't set printing related attributes when editors are not set

* IDEMPIERE-5460 - fixes
2022-11-02 13:31:29 +08:00
hengsin f9b070bcaf
IDEMPIERE-5459 Refactoring of Payment Form (#1541) 2022-10-31 18:39:55 +01:00
Peter Takács 17b31a14b3
IDEMPIERE-5443 - Fix Date Range Filter Quick mode + update default version (#1547) 2022-10-31 18:12:35 +01:00
hengsin 56fe006d29
IDEMPIERE-5462 Implement Date Range Button for Info Window Query field (#1546) 2022-10-28 11:25:41 +02:00
Carlos Ruiz dd77cc01cb
IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823) / fix issue with EMail MFA (#1545)
* When user login with EMail MFA the MFA panel is not shown and the Processing message just keep spinning
* Changed the message TenantNotFound by FailedLogin to avoid a brute force attack to discover which tenants are valid in the installation
2022-10-27 15:53:30 +02:00
Peter Takács 59b7e3c899
IDEMPIERE-5443 - Date Range Filter Component (#1526)
* IDEMPIERE-5443 - Date Range Filter Component

* IDEMPIERE-5443 - fix migration script filename

* IDEMPIERE-5443 - new reference type Date Range Picker for process

* IDEMPIERE-5443 - remove Date Range Editor

* IDEMPIERE-5443 - pr1526 patch

* IDEMPIERE-5443 - fixes

* IDEMPIERE-5443 - nix NPE, add Locale
2022-10-27 11:27:13 +08:00
Carlos Ruiz e759c5bd8a
IDEMPIERE-5455 Use Multi-Select parameters in Info Windows (#1536)
* IDEMPIERE-5455 Use Multi-Select parameters in Info Windows

* - fixed display for bp column

* - add more info windows

Co-authored-by: hengsin <hengsin@gmail.com>
2022-10-25 10:56:39 +08:00
Carlos Ruiz cbeb553c9f
IDEMPIERE-5451 Create a form SQL Query - similar to SQL process to execute queries (FHCA-3849) (#1540)
- add annotation to solve unit test issue
2022-10-21 16:39:27 +02:00
Deepak Pansheriya 891e22d80b
IDEMPIERE-5178: Attribute dialog selection do not show all warehouse ASI on cost adjustment. (#1156) 2022-10-21 11:10:42 +02:00
Peter Takács 978be7a956
IDEMPIERE-5456 - Msg wrong arguments number Format (#1537) 2022-10-21 10:33:47 +08:00
Carlos Ruiz e881e0313a
IDEMPIERE-5451 Create a form SQL Query - similar to SQL process to execute queries (FHCA-3849) (#1538)
- add SysConfig keys
2022-10-20 16:16:25 +02:00
Carlos Ruiz 67c9cb7abc
IDEMPIERE-5451 Create a form SQL Query - similar to SQL process to execute queries (FHCA-3849) (#1533)
* IDEMPIERE-5451 Create a form SQL Query - similar to SQL process to execute queries (FHCA-3849)

* - fix wrong default in SysConfig
* - remove unnecessary annotation
* - process the query in a read-only transaction
* - commit not needed since this is readonly
2022-10-20 15:37:28 +02:00
Carlos Ruiz 45a1b4ba4d
IDEMPIERE-5450 Improve misleading name of SysConfig (#1532) 2022-10-17 16:58:19 +02:00
Carlos Ruiz 221384a1ce
IDEMPIERE-5449 Performance: Avoid recount when clicking a process button (#1527)
* IDEMPIERE-5449 Performance: Avoid recount when clicking a process button

* - remove unnecessary comment
2022-10-16 22:21:56 +08:00
Carlos Ruiz 7ffb18b8e2
IDEMPIERE-5450 Form SQL Process has security issues (#1528)
* IDEMPIERE-5450 Form SQL Process has security issues

* - fix javadoc

* - remove unnecessary code

* - minor improvement

* - improve discovery of single word commands
- avoids the need of space in the SysConfig key
2022-10-16 22:21:05 +08: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
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
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
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
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
Diego Ruiz 8a51fb8f4a
IDEMPIERE-2205 - Ask for secret input from within a process (#1501) 2022-09-26 19:46:09 +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
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
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
Carlos Ruiz b5c0809072
IDEMPIERE-5424 NPE when setting SysConfig BACKGROUND_JOB_ALLOWED=N (#1488) 2022-09-17 11:42:19 +08:00