* IDEMPIERE-4526 : Selection list for UOM on Client window do not relate to the type of UOM expected
* Update oracle/202309200811_IDEMPIERE-4526.sql
* Update postgresql/202309200811_IDEMPIERE-4526.sql
---------
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
* IDEMPIERE-5346 : Adding SSO support
* IDEMPIERE-5346 : Fix as per peer review feedback.
Valid user should have password not null
removing #SSO_IS_ALREADY_AUTHENTICATE context variable due to security risk
Cross site scripting issue on error.htm
Making show role panel as system configurable
Adding language selection on role panel
Adding SSO support on iDempiere monitor and osgi console
* IDEMPIERE-5346: Redirect to console using static URL to avoid security vulenarabilit
* Committing patch from Carlos pr1571PR
* IDEMPIERE-5565: fixing NPE issue on Role change
* IDEMPIERE-5346: Appling pr1571PR2 from Carlos
* 1. IDEMPIERE-5346: Fix idempiereMonitor goes in a loop of sign-in
- Fix NPE when changing role
- Fix NPE when a user with single role & sysconfig: SSO_SELECT_ROLE is 'N'
* IDEMPIERE-5346 : IDempiere Monitor, use out of box login when SSO is not configured.
* IDEMPIERE-5346: Adding Authorization type on User and Tenant window. Created /webui/admin page for login with application credential.
* IDEMPIERE-5346: Implementing Hengsi's Code review comments
Showing meaning full error when Identity Provider returns error
In SSO filter, ignoreing css, zkau, images and resource URL
Correcting typo in Principal name.
Updated Documentation
* IDEMPIERE-5346 : Fixed documentation, typo and pending review comments
* IDEMPIERE-5346: Use token & SSO principal service to validate in Login.GetClient
* IDEMPIERE-5346: Remove the Domain URL column and refactor the code.
* IDEMPIERE-5346: Adding flag ENABLE_SSO_IDEMPIERE_MONITOR and ENABLE_SSO_OSGI_CONSOLE, using cache for SSOService, defaulting Authentication type on client to “Application and SSO”
* IDEMPIERE-5346: Fixed issue of User SSO type not respected and support for Zoom URL
* IDEMPIERE-4697 : get temp filename based on config "TEMP_FILENAME" if exists
* IDEMPIERE-4697 : temporary filename "adempiere_"
* IDEMPIERE-4697 : set default value and change from adempiere to idempiere
- Implement support to run processes on UUID based tables
- Added SvrProcess.getRecord_UU and getRecord_UUs support
- Added TestUUChangeActive process as toolbar button on "Test UU Based Table" window - supports single and multi
- Added AD_PInstance.AD_Table_ID and AD_PInstance.Record_UU
- NOTE: the migration script tries the best to fill AD_PInstance.AD_Table_ID from different sources, but at the end is very possible that some records will be left with empty table
- The MPInstance constructors that don't manage AD_Table_ID were marked as deprecated to ease discovering the missing parts in plugins
* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms
https://idempiere.atlassian.net/browse/IDEMPIERE-5827
* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms : scripts on iD11
* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms - remove changes related to Info Window
* IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms : remove changes related to Info Window
* Update oracle/202308101331_IDEMPIERE-5827.sql
* Update postgresql/202308101331_IDEMPIERE-5827.sql
---------
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
- fix issues with archive reporting on UU based tables
* - implement change log in time line mode for UUID based tables
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
* Fixes and improvements for MoveClient
* Fix for oracle not being able to insert AD_WF_Node (CLOB column)
* Add management for UUID based tables
* Add management for weak foreign key Fact_Acct.Line_ID
* Add management for weak foreign key AD_Tree_Favorite_Node.Parent_ID
* Add management for Record_UU columns
* Add management for ChosenMultipleSelectionTable and ChosenMultipleSelectionSearch
* Improve javadoc
* - Test and add support for SelectionGrid
* - fix error inserting a wrong UUID when it was set before by a Record_UU
* - Fix problem validating orphans in UUID based tables
* IDEMPIERE-5772 - Quick Info Widget Support for Info Window - initial commit
* IDEMPIERE-5772 - manage context variables in info window
Put the following values into the context:
- query criteria
- values of the selected row
* IDEMPIERE-5772 - fixes
- info window should not change context if isLookup() = true (popup window mode)
- parameter values should be put into context only on re-query
- values of KeyNamePair type should use the "key" in context (practically tat means the ID) instead of name (display value)
* IDEMPIERE-5772 - add prefix to row variables and Selected_ID to ctx
* IDEMPIERE-5772 - rename variable name Selected_ID -> ID_Selection
* IDEMPIERE-5772 - patch by Carlos
* IDEMPIERE-5772 - fixed reported issues
- support ctx variables in info windows without process (no multiselection)
- change ctx variable syntax/prefix
- fix issue with type IDColumn
* - added validation for min and max value when run process
- added validation when insert min and max value format
* - remove unused class
- change reference id to displayType
- translate error massage
* refactoring code by carlosRuiz-globalqss
* IDEMPIERE-5786 - ESC Shortcut for Closing Tabs
- remove duplicate registering of on_cancel event on InfoPanel
- register on_cancel event on WindowContainer
* IDEMPIERE-5786 - partially revert ESC Shortcut for Closing Tabs
* IDEMPIERE-5786 - improve closing tabs with shortcut
- info windows
- forms
- workflows
- find window
* IDEMPIERE-5786 - SysConfig to Use Esc For Tab Closing
* IDEMPIERE-5786 - fix MSysConfig order
* IDEMPIERE-5786 - requested changes by Carlos
- implement shortcut on missing forms
- allow Alt+X shortcut also when ESC is allowed with the SysConfig
* IDEMPIERE-5786 - PR1917pr patch by Carlos
- removed unnecessary fix for an old firefox issue
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Archive
* - Support for master/detail reports on UUID based tables
* - Archive button
* - Add test print format for UU Based Table
* - backward compatibility on MArchive.getReportAndDocumentCountByRecordId
* - Backward compatibility with filesystem storage
* - Improve naming of temporary folder for 2Pack
* - Improve query to use correctly the index
* - Improve method to use ID when no UUID
* - Ensure the Record_UU is filled even when called from foreign sources
* - Implement the same provision for exceptional cases on MAttachment, MChat, MLabelAssignment, MPostIt to fill the UUID when not passed (f.e. when created by a plugin)
* IDEMPIERE-5697 - Improve Process Log for more advanced logging options for Processes
* IDEMPIERE-5697 - fix javadoc
* IDEMPIERE-5697 - add PInstanceLogType to AD_PInstance_Log
* IDEMPIERE-5697 - implement Status Log Type
- implement Status Log Type
- fix javadoc
* IDEMPIERE-5697 - definition changes
- rename log type 'Tail' to 'Progress' as Chuck Boecking suggested
- make ad_pinstance_log_uu the primary key as Heng Sin suggested
* IDEMPIERE-5697 - updateLog method with UUID
* IDEMPIERE-5697 - requested changes
- split insert and update
- fix wrong javadoc
- small fixes
* IDEMPIERE-5697 - requested changes
- fix javadoc
- fix migration scripts
* IDEMPIERE-5697 - balance API
- rename methods in SvrProcess: saveLog -> saveProgress, saveStatus; updateLog -> updateStatus
- remove progress and status methods that take table and record id arguments, there is no need to save them in separate fields with there log types
* IDEMPIERE-5697 - balance API
- exchange logic between Progress and Status log types
- modify method names in ProcessInfo based on SvrProcess
* IDEMPIERE-5697 - pr 1808 patch by Heng Sin
- fix oracle migration script
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Toolbar
- add support for AD_Attachment, CM_Chat, AD_PostIt and AD_LabelAssignment for UUID based tables
* - Better deprecated message
- Better deprecated management for constructors
* - Fix non unique exception on ad_changelog
- Fix to save changelog just ID on insert and not the UUID for ID based tables
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Recent Items
- Implement support for recent items for UUID based tables
- Refactor MRecentItem for better performance
* - fixes
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - ChangeLog - FKRules
* - change warning by IllegalArgumentException
- change package visibility to protected
* - remove unnecessary code - the Model Cascade is calling the deleteModelCascade for children too
* - Implement SysConfig AD_CHANGELOG_SAVE_UUID
- reorganize MSysConfig (there were entries out of order)
* - Add index for performance on AD_ChangeLog.Record_UU
* - Enable change log for tables with multi-key (like _Trl or _Access)
* - Enable saving change log for AD_ClientInfo
* - when updating a record that doesn't have UUID - assign one
* IDEMPIERE-5683 - Improve Record ID and Record UU by Constraint Type
* IDEMPIERE-5683 - replace direct sql with model classes
- rename deleteSetNull to setRecordIdNull
- replace direct sql with model classes in deleteCascade, setRecordIdNull
- remove unnecessary change from AD_Ref_List
* IDEMPIERE-5683 - cache tables arrays in PO_Record
* IDEMPIERE-5683 - fix Dynamic Validation
* IDEMPIERE-5683 - change CleanOrphanCascade
- IsCleanChangeLog process parameter removed
- replace direct sql with java model
- delete just on Model Cascade constraint
- new Set Null rule implemented
* IDEMPIERE-5683 - fix when Record_ID is mandatory
* IDEMPIERE-5567 Support of UUID for Search (UU) data type (FHCA-4195) - fix broken unit tests
* - Fix problem with unit test:
MTestTest.testReadingUpdatingTest:65 expected: <Test setting description> but was: <Test setting descriptionMTestEventDelegate>
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Fix unique constraints
* - Create/Complete Table must create the UU idx and constraint when it does not exist
* - Create 65 UUID constraints/indexes existing in database but missing in dictionary
* - Set all official UUID columns with the new UUID data type
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
New generated model classes with new UUID constructor
* - In order to use UUID constructor M classes must implement the constructor too
- Adding the constructor on MTest and adding a JUnit test to test/show how it works
* - Remove warning caused by changes on this ticket
* - Add UUID constructor to factories
* - Set new UUID constructor in mapped/annotated test classes
- Preparation for the new UUID constructor
* - Add UUID constructor to core model classes
- WARNING: MPaymentBatch(Properties, String, String) already existed with Name as parameter, it was changed to UUID
* IDEMPIERE-5482 - Field Style Scope HTML Element
* IDEMPIERE-5482 - implemented in report engine, removed the new field
* IDEMPIERE-5482 - add IsWrapWithSpan to AD_Style
* IDEMPIERE-5482 - pr1572 patch
* IDEMPIERE-5567 Support of UUID for Search (UU) data type (FHCA-4195)
* - Search editor now assigns the value correctly when selecting from Info Window
- Info Window shows correctly the first UU key column
- Added Record UUID new data type to work with record ID editor but with UU column
- Added column/field Test.Record_UU for testing
* - Fix opening Record ID editor after saved
* - Implement changes suggested by Heng Sin's peer review
* - Remove other unnecessary changes
* - safer comparison
* 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-5659 - New Document Base Type Group Window
* IDEMPIERE-5659 - fixes
- renaming the table, model and elements according to the ticket
- removing MDocBaseGroup beforeSave validation
- adding an unique index for the Line table
* 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>