Commit Graph

3256 Commits

Author SHA1 Message Date
Elaine Tan cacb456c2e
IDEMPIERE-5936 Slow performance creating MR/Invoice Lines using CREATE LINES FROM.. in process M_InOut/C_Invoice_CreateFromProcess (#2123)
* IDEMPIERE-5936 Slow performance creating MR/Invoice Lines using CREATE LINES FROM.. in process M_InOut/C_Invoice_CreateFromProcess

* IDEMPIERE-5936 Slow performance creating MR/Invoice Lines using CREATE LINES FROM.. in process M_InOut/C_Invoice_CreateFromProcess
2023-11-30 11:22:35 +08:00
hengsin 6f484ee701
IDEMPIERE-5923 Info Window should use key and display columns setting from lookup (#2108) 2023-11-24 16:09:13 +01:00
Zuhri Utama ce48a8835e
IDEMPIERE-5934 : Read only Chosen Multiple Selection List fields can be updated using Assistant (#2115)
* IDEMPIERE-5934 : Read only Chosen Multiple Selection List fields can be updated using Assistant

* IDEMPIERE-5934 : Read only Chosen Multiple Selection List fields can be updated using Assistant #2
2023-11-24 22:06:10 +08:00
Marcos Gabriel de Oliveira Favaretto bd41a5d8e8
IDEMPIERE-5935 - Fixes non-updatable product info window subtabs to auto-select first record functionality (#2114) 2023-11-23 10:23:11 +08:00
Carlos Ruiz 83abb13877
IDEMPIERE-5888 Login Preferences are created on System tenant (#2113)
- Fix cross tenant issues in login because of preferences
2023-11-20 13:39:20 +08:00
Marcos Gabriel de Oliveira Favaretto bcbfcbfeb9
IDEMPIERE 5929 - Looping on ZK happening on Exceptions caused by IServerPushCallback.updateUI implementations (#2106)
* IDEMPIERE-5929 - Fix replace tab method to add a window if there is no refTab reference

* IDEMPIERE-5929 - Removes unnecessary NPE handling when replacing tabs

* IDEMPIERE-5929 - Adjust code indentation/style

* IDEMPIERE-5929 - Restores NPE handling for replacing tabs

* IDEMPIERE-5929 - Reverts changes on WindowContainer

This commit reverts three other commits:
4433f834f5a3892aec2c1486e30b846fbf957f8f
c6c6d2abf9a44d51f41d68a9e3e18ae04863435c
64916156eb43da481601889837df8571a5e1d596
2023-11-16 20:51:37 +08:00
Carlos Ruiz 2547edf522
IDEMPIERE-5921 Enable Multi-Selection on Search fields (Info Windows) by default (#2107)
* IDEMPIERE-5921 Enable Multi-Selection on Search fields (Info Windows) by default

* Fix first open as single selection
* Make it work as single selection for custom form (tested with Payment Allocation form)
* Added setMultipleSelection(boolean) api

* * Fix also Info Product on forms

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2023-11-13 22:34:51 +08:00
hengsin 75be677f2e
IDEMPIERE-5924 WSearchEditor - add API to allow form to turn on the auto complete feature (#2105) 2023-11-13 14:37:22 +01:00
Nicolas Micoud 14bff68342
IDEMPIERE-5925: Method Dialog.info with callback (#2100)
* IDEMPIERE-5925: Method Dialog.info with callback

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

* IDEMPIERE-5925: Method Dialog.info with callback

various fixes suggested by @hengsin
2023-11-11 18:27:06 +08:00
Carlos Ruiz c9ade514bb
IDEMPIERE-5921 Enable Multi-Selection on Search fields (Info Windows) by default (#2095) 2023-11-10 15:08:59 +01:00
Marcos Gabriel de Oliveira Favaretto cc3ecd11ba
IDEMPIERE-5901 - Fix NPE for not found autocomplete column message (#2082) 2023-11-07 16:10:44 +08:00
Jose Leite 3560493f25
IDEMPIERE-5898 Implementation of the assistant to type search and table in multi-selection fields (#2079)
* IDEMPIERE-5898 Implementation of the assistant to type search and table in multi-selection fields

* IDEMPIERE-5898 Implementation of the assistant to type search and table in multi-selection fields
2023-10-30 18:43:47 +01:00
Peter Takács 72c00ff0d6
IDEMPIERE-5851 - Set Focus Automatically to the 1st Row of the Info Window Result Set (#2001)
* IDEMPIERE-5851 - Set Focus Automatically to the 1st Row of the Info Window Result Set

* IDEMPIERE-5851 - pr2001 patch by Heng Sin

* IDEMPIERE-5851 - remove unintended change
2023-10-30 15:27:10 +08:00
Diego Ruiz 7f2f0f2591
IDEMPIERE-5894 - Fixed bug rendering the find window fields wrongly (#2076) 2023-10-27 22:26:40 +08:00
Peter Takács b8379d15be
IDEMPIERE-5889 - Cannot Open Lookup Info Window if no Window is Defined for the Table (#2070)
* IDEMPIERE-5889 - Cannot Open Lookup Info Window if no Window is Defined for the Table

* IDEMPIERE-5889 - expand displayed columns' where clause according to Heng Sin

* IDEMPIERE-5889 - add aliases to displayed columns' where clause
2023-10-27 20:19:55 +08:00
Carlos Ruiz ef9ecb3490
IDEMPIERE-4639 simplify calls using saveCrossTenantSafeEx when possible (#2073)
* IDEMPIERE-4639 simplify calls using saveCrossTenantSafeEx when possible

* - integrate patch from Heng Sin
2023-10-22 21:23:23 +08:00
Carlos Ruiz e83bb49935
IDEMPIERE-5888 Login Preferences are created on System tenant (#2067)
* IDEMPIERE-5888 Login Preferences are created on System tenant

* - migration script to fix the current data
2023-10-22 17:33:19 +08:00
Diego Ruiz 46c7c4c06d
IDEMPIERE-5773 - Fixed bug on advance detail not adding the parenthesis on detail tab queries (#2062)
* IDEMPIERE-5773 - Refactor FindWindow code that discovers the right and left bracket value

* IDEMPIERE-5773 - Refactor FindWindow code that discovers the right and left bracket value - Improve method name

* IDEMPIERE-5773 - Fixed bug on advance detail not adding the parenthesis on detail tab queries
2023-10-18 15:00:37 +08:00
Diego Ruiz af8f5db555
IDEMPIERE-5887 - Fixed bug causing NPE when clicking on Flat View (#2063) 2023-10-17 22:45:57 +08:00
Diego Ruiz b272bd0c5a
IDEMPIERE-5774 - Fixed bug that shows cross tenant record on info window when the where clause is wrong (#2058) 2023-10-17 09:43:22 +08:00
Zuhri Utama ac7354b258
IDEMPIERE-5833 : "parentIds" is null while zoom Partner Location in window Purchase Order (#2055)
IDEMPIERE-5567
2023-10-16 10:02:49 +02:00
Zuhri Utama 2cbf7438fa
IDEMPIERE-4671 : Shortcut for the menu box (#2054) 2023-10-14 15:47:10 +02:00
hengsin 5506aa7ae4
IDEMPIERE-5346 SSO Support (#2046)
- Fix change role exception
- Fix SSO breaking -H "X-PING: true"
2023-10-05 07:31:37 +02:00
Zuhri Utama c4e7e0abaa
IDEMPIERE-4907 : Jasper Report using Dashboard Content (#2037)
* IDEMPIERE-4907 : Jasper Report using Dashboard Content

* IDEMPIERE-4907 : Jasper Report using Dashboard Content

- remove unnecessary code
- added runtime exception if jasper report is null

* IDEMPIERE-4907 : Jasper Report using Dashboard Content
2023-10-04 12:29:59 +08:00
hengsin 3ffdd2be0c
IDEMPIERE-5346 SSO Support (#2038)
* IDEMPIERE-5346 SSO Support

- add OIDC support to core
2023-10-03 20:26:03 +02:00
hieplq 21b6ec1016
IDEMPIERE-5866: different identifiers of info window and m_table cause in… (#2029)
* IDEMPIERE-5866:difference identify of info window and m_table make info window fill query text to wrong parameter

* IDEMPIERE-5864:correct comment code, thanks to hengsin

* IDEMPIERE-5864:InfoWindow testCount call too much when open infowindow from search editor

refractory:
   clear logic find out search editor for auto complete
   separate logic query for auto complete and query for all identifies editor

* IDEMPIERE-5864:split code to functions

* IDEMPIERE-5864:change order test for each identifies and test for split query to reduce test

* IDEMPIERE-5864:fix review from hengsin
2023-10-01 22:13:47 +08:00
hieplq d28c6eb9d8
IDEMPIERE-5849:MRole.getDefault make phantom role on cache (#2020)
patch from Heng Sin

Co-authored-by: hengsin <hengsin@gmail.com>
2023-09-22 14:17:34 +08:00
hengsin 6840b8aeb6
IDEMPIERE-5346 : Adding SSO support (#2018)
- peer review
2023-09-21 16:48:30 +08:00
Deepak Pansheriya 680f9f3757
IDEMPIERE-5346 : Adding SSO support (#1571)
* 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
2023-09-21 16:43:49 +08:00
Zuhri Utama 6a7c7d7101
IDEMPIERE-4751 : move reset button to separate with refresh button (#1998) 2023-09-20 21:51:06 +08:00
Carlos Ruiz 93c275722c
IDEMPIERE-5857 Cross tenant on Reset Password (#2015)
* IDEMPIERE-5857 Cross tenant on Reset Password

* - Change logic following suggestion from Heng Sin
2023-09-20 11:24:00 +08:00
Carlos Ruiz 7c486df524
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2013)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- Fix for MAttachment.get
- discovered while testing rest endpoing api/v1/models/testuu/{uuid}/attachments/zip

* - remove the deprecated message
- use UU just when there is no ID
2023-09-19 22:24:09 +08:00
Zuhri Utama 28fe98ba11
IDEMPIERE-3590 : Can't open Preference popup if no field is set as QuickEntry (#1989)
* IDEMPIERE-3590 : Can't open Preference popup if no field is set as QuickEntry

* IDEMPIERE-3590 : added translation

* IDEMPIERE-3590 : Can't open Preference popup if no field is set as QuickEntry

* IDEMPIERE-3590 : remove unused class
2023-09-18 14:45:26 +02:00
Zuhri Utama 1efe7a4ac5
IDEMPIERE-4697 : temporary filename "adempiere_" (#2000)
* 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
2023-09-18 14:44:21 +02:00
Peter Takács 826b47d6a4
IDEMPIERE-5803 - Toolbar does not check if overlapped widow is closing with shortcut (#1997) 2023-09-13 12:51:22 +08:00
Carlos Ruiz 7c8fe24435
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2003)
- 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
2023-09-13 10:59:21 +08:00
Peter Takács fa7a8d46bf
IDEMPIERE-5772 - Info Window Ctx - Paging Issue (#1952)
* IDEMPIERE-5772 - Info Window Ctx - Paging Issue

* IDEMPIERE-5772 - Info Window Ctx - Paging Issue

* IDEMPIERE-5772 - update javadoc

* Fix trying to access nonexistent field error

* IDEMPIERE-5772 - Fix bug in maintaining user selection order
2023-09-13 10:41:56 +08:00
Carlos Ruiz c0a1756043
IDEMPIERE-5843 System support users (like SuperUser) cannot see (fix) preferences on tenants (#1994)
* IDEMPIERE-5843 System support users (like SuperUser) cannot see (fix) preferences on tenants (#1992)

IDEMPIERE-5174 / Revert changes from IDEMPIERE-4386

* - remove the same now unnecessary method on MMFARegistration
2023-09-06 09:44:09 +08:00
hengsin db4f715537
IDEMPIERE-5841 AD_Note created by Request causing Cross Tenant (#1991) 2023-09-05 16:02:28 +08:00
hengsin 158648ccdb
IDEMPIERE-5570 Zk: Improve readability of code (#1984) 2023-08-29 11:40:20 +02:00
Zuhri Utama b7f1499d13
apply suggestion from kazumasa asato. tested and working properly (#1981) 2023-08-29 14:15:14 +08:00
Zuhri Utama 9c08235079
IDEMPIERE-4539 Process Popup has extra width when moving by mouse (#1979)
* set width on class process-model-dialog to set base width on 600px

* added css for media screen < 600px

* update version for idempiere.theme.default
2023-08-28 16:39:56 +08:00
Carlos Ruiz c1d8a50b12
IDEMPIERE-5837 Collect all System Properties of iDempiere in one class (#1980) 2023-08-26 09:39:53 +08:00
Carlos Ruiz 5aba739d37
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1963)
* 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
2023-08-22 20:08:33 +08:00
Carlos Ruiz 7cd514e60a
IDEMPIERE-2533 Calendar (Event) - Create request has wrong Dyn Validation (#1971) 2023-08-21 15:48:40 +08:00
Marcos Gabriel de Oliveira Favaretto 094dee35dc
IDEMPIERE-5831 - Fix onZoom events to be executed once a click for Broadcast Messages (#1974) 2023-08-21 13:06:40 +08:00
hengsin 66b7b20619
IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window (#1962)
* IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window

- Fix process info log & error not shown
- Fix re-run missing context variable from menu

* IDEMPIERE-5275 Tabular Report Re-Run button/close parameter window

- turn off auto close after zoom
2023-08-09 16:00:00 +02:00
hengsin 03c6187fde
IDEMPIERE-5813 Change Role must close session like Logout does (#1959)
* IDEMPIERE-5813 Change Role must close session like Logout does

* IDEMPIERE-5813 Change Role must close session like Logout does
2023-08-01 19:14:26 +02:00
Marcos Gabriel de Oliveira Favaretto f919931eaf
IDEMPIERE-5802 - Includes access validation for ASI Dialog (#1945)
* IDEMPIERE-5802 - Includes access validation for ASI Dialog

* IDEMPIERE-5802 - Implements use of MRole.getWindowAccess instead of Query

* IDEMPIERE-5802 - Fix name and access for 'isAllowedToCreate' variable
2023-08-01 10:57:52 +08:00
Carlos Ruiz 1eef599bb2
IDEMPIERE-5811 - Fix NPE on event for BroadcastMessages / fix kill session feature (#1956) 2023-07-28 23:37:05 +02:00