* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Foreign Keys
* - Table Direct working as read-only and link column
* - Fixes for Table with Reference
* - Add UUID FK management to Migrate ID process
- Add MColumn.beforeSave validation to force UUID columns to end with _UU
- Add table TestUUDet with two foreign keys pointing to TestUU (TableDir and Search)
- Add detail tab to Test UU Based Table window
- Add a new test window named Test UU Detail
- Generate model classes for the new test table
- Add test case for the detail test table
- Add MTable.isIDKeyTable method
- Add UU foreign key cross tenant validation to PO.validForeignKeys
* - Added a Chosen Multiple Selection Table with foreign UU for testing
- Changed reference in dictionary logic and sql to reflect new data types
- Disable SearchUU temporarily (will be worked in next step)
- Add validation to avoid encrypting UUID columns
- Avoid warning when searching for getPO method on UUID based tables
- Make Zoom Across button work with UUID foreign keys
- Enable zoom and zoom to detail for UUID foreign keys
- Enable Find Advanced on detail foreign UUID keys
* - Fix javadoc
- Quote properly UUID
- Validate null on return
* - Fix zoom logic - tested zooming to tab in first second and third level
* IDEMPIERE-5644 : Allow to set an image per form
https://idempiere.atlassian.net/browse/IDEMPIERE-5644
* IDEMPIERE-5644 : Allow to set an image per form - fix suggested by hengsin
Co-Authored-By: hengsin <152246+hengsin@users.noreply.github.com>
---------
Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
* - Implement changes to support Model classes with UUID constructor
* - fix issue with tables with single parent key - like AD_Ref_Table
* - Create test table and JUnit test
* - fixes from Heng Sin
* - Improve performance on new methods in MTable
- Minor refinements in ModelClassGenerator
- Regenerate Test X classes
- Change Create Window from Table to receive the parent link as parameter (because tables can have now no keys at all)
* - Implement suggestions from Heng Sin
* - _UU column as primary key constraint for UUID based tables
---------
Co-authored-by: hengsin <hengsin@gmail.com>
* IDEMPIERE-5565 Cannot create report with virtual column where reference is table with display column = ID
* - make it consistent with the actual approach
* IDEMPIERE-5538 - Add isValid to Drill Rule allow validate parameters with beforesave
* IDEMPIERE-5538 - beforeSave, capture process parameters
* IDEMPIERE-5538 - validate only through process
* IDEMPIERE-5538 - isValid check in getByTable method
* IDEMPIERE-5538 - add validation to before save/after delete
* IDEMPIERE-5538 - validate system drill rules
* IDEMPIERE-5538 - fix validation logic
The mandatory validation have to skip the key parameter since it is not loaded from Drill Rule Para.
* IDEMPIERE-5538 - fix Drill Rule window definition
* IDEMPIERE-5538 - bug fix scripts to iD10
* IDEMPIERE-5538 - fix missing read only logic
* IDEMPIERE-5538 - all scripts to iD10
* IDEMPIERE-5238 - Support of Search display type for AD_Table_ID
* IDEMPIERE-5238 - no key column error
* IDEMPIERE-5238 - fix css
* IDEMPIERE-5238 - move scripts to iD10
* IDEMPIERE-5238 - bug fixes
- dialog did not open if AD_Table_ID = 0
- NPE if closing dialog with OK button and AD_Table_ID = 0
* IDEMPIERE-5238 - fix multiple tableID > 0 checks
* IDEMPIERE-4445 Color Picker field type is not rendered in grid mode show hex value
- fix working with grid view
* IDEMPIERE-4445 Color Picker field type is not rendered in grid mode show hex value
- change style of display view.
* IDEMPIERE-5621 - Dashboard Report ignore if parameter is mandatory or not
* IDEMPIERE-5621 - small fixes
* IDEMPIERE-5621 - missing javadoc for new methods
* IDEMPIERE-5621 - move scripts, list empty para, update css
* IDEMPIERE-5630 - Drill rule from dashboard html report never opening
* IDEMPIERE-5630 - remove windowNo, simplify code
* IDEMPIERE-5630 - small fixes
- add Drill Across Event Listener only when report content is embedded
- small code refactor
* IDEMPIERE-5611 Record ID Editor doesn't work with House Keeping
- Fix zoom window on tables that have this field empty and have a window associated
* - Fix zoom and lookup without AD_Window_ID update
* - Add discovery for more tab levels
* - Fix zoom when AD_Table.AD_Window_ID is null.
* - use the new method also in InfoGeneralPanel
* - set zoom window just when is not defined (preserve potential customizations)
---------
Co-authored-by: hengsin <hengsin@gmail.com>
* IDEMPIERE-5594 : On detail panel grid, button not respect context parsing for DispalyLogic, DefaultValue, MandatoryLogic. take context of previous row.
* IDEMPIERE-5594: Refactored code by Hengsin
Co-authored-by: hengsin@gmail.com
* IDEMPIERE-5595: Allow to deactivate negate option for "Chosen Multiple Selection" components in processes
https://idempiere.atlassian.net/browse/IDEMPIERE-5595
* IDEMPIERE-5595: regenerate serial
* IDEMPIERE-5595: move scripts to iD10 / resolve conflict
* IDEMPIERE-5595: change position of the field / update existing data
* IDEMPIERE-5595: check ProcedureName is empty before enabling it
* IDEMPIERE-5595: update existing records missing in oracle
* Update 202303020910_IDEMPIERE-5595.sql
* Update 202303020910_IDEMPIERE-5595.sql
---------
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
* IDEMPIERE-5238 - initial draft commit
* IDEMPIERE-5238 - fixes
* IDEMPIERE-5238 - popup window
* IDEMPIERE-5238 - renaming to Record ID
* IDEMPIERE-5238 - renaming to Record ID
* IDEMPIERE-5238 - fixes
* IDEMPIERE-5238 - fixes
* IDEMPIERE-5238 - fixes
* IDEMPIERE-5238 - technical fixes
* IDEMPIERE-5238 - pr1610_1 patch
* IDEMPIERE-5238 - bug fixes
* IDEMPIERE-5238 - set table to read only
* IDEMPIERE-5238 - fix parsing error
* IDEMPIERE-5238 - pr1610 patch
* IDEMPIERE-5238 - fix Find Window issue
* IDEMPIERE-5238 - Info Panel NPE patch
* IDEMPIERE-5238 - UI fix
In the Record ID Dialog the 'Record' label should be visible only when the corresponding editor is visible.
* IDEMPIERE-5238 - find window patch
* IDEMPIERE-5238 - clear Record ID when clearing AD_Table_ID
* IDEMPIERE-5238 - clear Record ID when clearing AD_Table_ID
* IDEMPIERE-5238 - move scripts to correct folder
All scripts to iD10
* IDEMPIERE-5586 Implement ID independent migration script
* IDEMPIERE-5586 Implement ID independent migration script
- add Oracle script (99% converted by ChatGPT from PostgreSQL :)).
* IDEMPIERE-5586 Implement ID independent migration script
- handle official id value for foreign key reference .
- add back centralized id support.
* IDEMPIERE-5586 Implement ID independent migration script
- minor refactoring
- add support for AD_Table_ID+Record_ID usage
* IDEMPIERE-5586 Implement ID independent migration script
- add support for Delete
- add unit test
* IDEMPIERE-5586 Implement ID independent migration script
- add insert_accounting and insert_tree support.
* IDEMPIERE-5586 Implement ID independent migration script
- add ADSortTab support.
* IDEMPIERE-5586 Implement ID independent migration script
- move migration script from iD11 to iD10.
* IDEMPIERE-5563 - Font Icons not implemented on HTML Report column menu
* IDEMPIERE-5563 - Font Icons not implemented on HTML Report column menu
* IDEMPIERE-5563 - pr1689 patch
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)
- Fix another "Not unique in the ID space of" when tab where clause have context variables and is navigated using zoom
- Add extra cleanup in the unexpected case a Find window is created again
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)
- the delay removal using schedule is needed as immediate removal from parent will cause memory leak at browser
---------
Co-authored-by: hengsin <hengsin@gmail.com>
* # IDEMPIERE-5458 - Timezone defined by Organization
* # IDEMPIERE-5468 - improved unit test
* # IDEMPIERE-5458 - removing user/password from scriptg
* IDEMPIERE-5458 - fix migration script
* IDEMPIERE-5458 - adding field in org info tab
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)
- Fix NPE
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)
- refine NPE fix
- fix a potential leak in billboard
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)
- reduce detached html elemenet leak for change role
* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel
- Auto refresh in background thread instead of UI thread
* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel
- status line error reported by Peter Takacs
* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel
- fix performance goal error reported by Peter Takacs
* IDEMPIERE-5511 When you want to create a new label display an Oracle Error: ORA-01747: invalid user.table.column, table.column, or column specification
* - correct select
* 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
* 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
* 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
* 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
* 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
* 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
* 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>
* 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
* 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
* 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>
* IDEMPIERE-5439 Add unit test for Fact Reconciliation form
* Update WFactReconcile.java
* Update FactReconcile.java
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
* IDEMPIERE-5326: Parsing error for report view if where clause and virtual column used in print format
* IDEMPIERE-5326: Fixing Compilation error
* IDEMPIERE-5326: Adding method back for backward compitability
* IDEMPIERE-5326: Adding constructors for backward compitability
* IDEMPIERE-5265 : Wizard for Chosen Multiple Selection List editor
Do not show Assistant for TableDir editors
Show Assistant for process parameters
* IDEMPIERE-5265 : Wizard for Chosen Multiple Selection List editor - Show Assistant for process parameters
Better code from @hengsin
* IDEMPIERE-5265 : Wizard for Chosen Multiple Selection List editor - only for MultipleSelectionList editors
Comment to explicitely state that the Assistant is for MultipleSelectionList editors only (ie not
for MultipleSelectionTable editors)
* IDEMPIERE-5393 - Allow rendering status line as widget/gadget in dashboard
* IDEMPIERE-5393 - css class for status line
* IDEMPIERE-5393 - update default theme version
* IDEMPIERE-5392 Maven Build: add flag to skip auto clean
* IDEMPIERE-5392 Maven Build: add flag to skip auto clean
- Add -DmaterializeProduct flag. Use -DmaterializeProduct=none to turn
off part of org.idempiere.p2 build.
- Add parallel execution setting for test.
* IDEMPIERE-5392 Maven Build: add flag to skip auto clean
- handle potential multi threaded conflict on context property
* IDEMPIERE-5312: Allowing Drag and drop file in Attachment dialog
* IDEMPIERE-5312: Fixing as per Hengsin's code review comments
* IDEMPIERE-5312: Applying txt file uplaod issue fix from Carlos
* IDEMPIERE-5378 MFA must allow to select the mechanism when the user has several registered (FHCA-3808)
* IDEMPIERE-5378 auto select when TOTP is the only mechanism
* IDEMPIERE-5177 - Fiixed search in detail broken after navigating between master records
* IDEMPIERE-5177 - Fixed search in detail broken after navigating between master records
* IDEMPIERE-5327 Refactoring and clean up of BOM Drop form
* IDEMPIERE-5327 Refactoring and clean up of BOM Drop form
- Fix scrolling of center content.
* IDEMPIERE-5327 Refactoring and clean up of BOM Drop form
- add Feature group support
* IDEMPIERE-5296 Firefox 100: Horizontal scroll is broken for Grid with Frozen
- disable use of Frozen column for Firefox
* IDEMPIERE-5296 Firefox 100: Horizontal scroll is broken for Grid with Frozen
- implement workaround from https://tracker.zkoss.org/browse/ZK-5159
* IDEMPIERE-5317 Improvements for Workflow Activities
IDEMPIERE-5317 #resolve
* IDEMPIERE-5317 Improvements for Workflow Activities
* tooltip text for button
* minor layout tweaks
* minor clean up
* processing prompt for refresh
Co-authored-by: hengsin <hengsin@gmail.com>
* IDEMPIERE-5315 Mismatch in queries WWFActivity.getWhereActivities and DPActivitiesModel.getWorkflowCount
- Found that DPActivities is deprecated, so deprecated too the DPActivitiesModel
- Also found that DefaultDesktop had a dependency to show the total of DPActivities, refactored to do the same with the new DPDocumentStatus
- Moved the query to MWFActivity to use where required
- Refactored JDBC to Query
* Better name for method
* serialVersionUID
* IDEMPIERE-5291 - Process Parameter Panel - Hidden Parameters Should Not Take Empty Space
* IDEMPIERE-5291 - working with List of Row
* IDEMPIERE-5291 - working with new List of Row
* IDEMPIERE-5282 Memory Leak ZK Detached Dom Objects are cleared only after ZK session is destroyed
- Fix global variable pollution: use closure and replace var with let
- Fix memory leak of Grid and ListBox
* IDEMPIERE-5282 Memory Leak ZK Detached Dom Objects are cleared only after ZK session is destroyed
- Fix js error reported by igorpojzl