Commit Graph

15276 Commits

Author SHA1 Message Date
hengsin b01dbc2f11
IDEMPIERE-5876 Implement support to disable core OSGi event handler (#2045)
* IDEMPIERE-5876 Implement support to disable core OSGi event handler

* IDEMPIERE-5876 Implement support to disable core OSGi event handler

- Fix parsing of className[*] (reported by nmicoud)
2023-10-11 23:02:50 +08:00
Carlos Ruiz c694fb00da
IDEMPIERE-5877 Include .sh scripts in windows installer - chmod +x (#2052) 2023-10-11 23:01:30 +08:00
Jose Leite 23f464557b
IDEMPIERE-5872 - Improve on SQL Errors displayed for user (#2033)
* IDEMPIERE-5872 - Improve on SQL Errors displayed for user

* IDEMPIERE-5872 - Improve on SQL Errors displayed for user
2023-10-11 18:37:31 +08:00
Zuhri Utama 756b9e733f
IDEMPIERE-4687 : PackOut is writing twice the AD_Org_ID in each record (#2050) 2023-10-11 16:23:40 +08:00
Carlos Ruiz e1202b37e0
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2042)
- Fix issue with 2Pack reported by Hiep
2023-10-07 09:28:18 +08:00
Carlos Ruiz 64b9415ded
IDEMPIERE-5877 Include .sh scripts in windows installer (#2044)
* IDEMPIERE-5877 Include .sh scripts in windows installer

* - adapt build.xml for windows running with git bash
- adapt getVar.sh for windows - as there is no .idpass in windows
2023-10-05 16:13:12 +08: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
Zuhri Utama e61eab3901
IDEMPIERE-2706 : auto validate invoice payment schedule when create new record (#2034) 2023-10-02 10:02:46 +08: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 e27b588754
IDEMPIERE-5867:autocomplete show different list for table and table dir (#2028)
* IDEMPIERE-5867:autocomplete show difference list for table and table dir

* IDEMPIERE-5867:fix for IDEMPIERE-5866

test case:
    go to "Reference" window and choose for record "M_Product BOM (stocked)"
    go to "Table Validation" tab and choose "Display Value" = true
2023-10-01 22:04:50 +08:00
Carlos Ruiz be42d5946d
IDEMPIERE-5873 name correction in (#2036) 2023-10-01 12:44:26 +02:00
Carlos Ruiz cf140bc75f
IDEMPIERE-5868 RUN_MonitoredSyncDB ordered by timestamp can have issues (#2030) 2023-09-30 11:46:57 +08:00
Carlos Ruiz c994581aef
IDEMPIERE-5229 After migrate helper (FHCA-4070) (#2031)
- Improve validation of views
2023-09-30 11:44:25 +08:00
Deepak Pansheriya cb6c8b636d
IDEMPIERE-5836: Adding unit test cases for Non stocked expense curren… (#2024)
* IDEMPIERE-5836: Adding unit test cases for Non stocked expense current bhavior

* IDEMPIERE-5836: Refactoring as per code review comments.

* IDEMPIERE-5836: Corrected code comments as per peer review
2023-09-29 22:54:23 +08:00
Zuhri Utama 34485f97f8
IDEMPIERE-5862 : Move Always Updatable Payment Rule to Dictionary (#2023)
* IDEMPIERE-5862 : Move Always Updatable Payment Rule to Dictionary

* Update oracle/202309261054_IDEMPIERE-5862.sql

* Update postgresql/202309261054_IDEMPIERE-5862.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-09-26 13:49:25 +02:00
Diego Ruiz d1ffb621b1
IDEMPIERE-5863 - Fixed bug that copies isVerified when copying a BOM product (#2022) 2023-09-23 10:12:50 +08:00
hengsin 55760215a4
IDEMPIERE-5448 2023 June Platform Update (#2021)
- minor oomph fix for jdk version.
2023-09-22 17:07:27 +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
Zuhri Utama 3992f46b04
IDEMPIERE-4526 : Selection list for UOM on Client window do not relate to the type of UOM expected (#2016)
* 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>
2023-09-21 13:28:32 +02:00
Carlos Ruiz f79adff68c
IDEMPIERE-5346 SSO Support - fixes for oracle (#2019) 2023-09-21 11:51:06 +02: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
Marcos Gabriel de Oliveira Favaretto db72625888
IDEMPIERE-5845 - Adds Window Access validation for Drill Assistent (#1995)
* IDEMPIERE-5845 - Adds Window Access validation for Drill Assistent

* IDEMPIERE-5845 - Adds validation for Included Roles on Drill Assistent

* IDEMPIERE-5845 - Implements DISTINCT instead of GROUP BY and fix missing bracket for Drill Assistent SQL
2023-09-21 11:30:54 +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 b5acb53ee2
IDEMPIERE-5860 Recent Item of Window Customization is usually empty (#2017)
* IDEMPIERE-5860 Recent Item of Window Customization is usually empty

* - move to iD10

* - apply the same for Process and Info Window Customization
2023-09-20 21:48:58 +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
Carlos Ruiz 7e5a1d89ee
Revert "IDEMPIERE-5826 iDempiere REST can insert/update an invalid foreign key (#1969)" (#2014)
This reverts commit db833e3665.
2023-09-19 22:21:08 +08:00
Nicolas Micoud 4c4981533e
IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule (#2012)
* IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule

* IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule

serial update

* IDEMPIERE-5856: MOrder.setBPartner is not using IsSOTrx for PaymentRule

 if getPaymentRulePO() is null, we fall back to getPaymentRule()
2023-09-19 21:04:18 +08:00
hieplq 1d724b00f2
IDEMPIERE-5855:IDEMPIERE-4183 happen again by update spring library (spring resouce load from web only) (#2010) 2023-09-19 21:00:01 +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
Carlos Ruiz d665c2b051
IDEMPIERE-5854 Error when trying to call ServerReportCtl.runJasperProcess with a process info without a transaction name (#2009) 2023-09-15 14:21:34 +02:00
Carlos Ruiz 209663d32a
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2008)
- MappedModelFactory check and register UUID constructor
2023-09-14 20:18:46 +08:00
Vitor Henrique Dos Santos d7d4504271
IDEMPIERE-5852 Change broadcastmessage column size (#2002)
* IDEMPIERE-5852 Change broadcastmessage column size

* IDEMPIERE-5852 Patch applied
2023-09-14 14:13:24 +02:00
Carlos Ruiz 5dfd3cca8f
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2006)
- fix for broken PackIn on AD_Menu.Parent_ID
2023-09-13 12:37:27 +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
hengsin 39d159d44a
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2005)
- Fix unit test errors
2023-09-13 12:48:54 +08:00
hengsin c941938869
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2003) (#2004)
- Fix migration script error
2023-09-13 11:10:42 +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 9678c01664
IDEMPIERE-5493 [Workflow Activities] - Activity persists after delete related record (#1988)
- Set Model Cascade for Record_ID column in AD_WF_Activity, AD_WF_EventAudit and AD_WF_Process
2023-09-12 17:59:02 +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
Nicolas Micoud 51c3bf5e0c
IDEMPIERE-5827: AD_Preference.PreferenceFor should support Forms (#1970)
* 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>
2023-09-05 15:43:01 +02:00
Nicolas Micoud f0bdcbb913
IDEMPIERE-5844: Add missing field / code for AD_Preference.AD_InfoWin… (#1993)
* IDEMPIERE-5844: Add missing field / code for AD_Preference.AD_InfoWindow_ID

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

* Update oracle/202309041344_IDEMPIERE-5844.sql

* Update postgresql/202309041344_IDEMPIERE-5844.sql

---------

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2023-09-05 13:15:01 +02:00
hengsin db4f715537
IDEMPIERE-5841 AD_Note created by Request causing Cross Tenant (#1991) 2023-09-05 16:02:28 +08:00
Carlos Ruiz 3500070d1e
IDEMPIERE-5843 System support users (like SuperUser) cannot see (fix) preferences on tenants (#1992)
IDEMPIERE-5174 / IDEMPIERE-3737
2023-09-04 10:43:08 +08:00
Nicolas Micoud 562283fe48
IDEMPIERE-5760: Manage mail.smtp.timeout using SysConfig (#1982)
https://idempiere.atlassian.net/browse/IDEMPIERE-5760

https://github.com/idempiere/idempiere/pull/1883 + changes requested by Carlos (migration script)
2023-09-02 16:38:13 +02:00