Commit Graph

2953 Commits

Author SHA1 Message Date
hengsin ded9693163
IDEMPIERE-4835 Grid View: Implement optional hide empty column feature (#727)
* IDEMPIERE-4835 Grid View: Implement optional hide empty column feature

* IDEMPIERE-4835 Grid View: Implement optional hide empty column feature

- fix issue with save width saving 0px width to
ad_tab_customization.custom
- added ad_tab_customization.IsAutoHideEmptyColumn
2021-06-19 09:24:08 +02:00
hengsin 66a15865d6
IDEMPIERE-4838 Update pdf.js to v2.9.359 (#728) 2021-06-18 22:41:10 +02:00
hengsin bb0ef7ebb3
IDEMPIERE-4832 Fix bad boolean *logic expression in dictionary (#720) 2021-06-14 17:47:52 +02:00
Diego Ruiz 2110322149
IDEMPIERE-4823 RV_C_Invoice does not have a key column (#715)
* IDEMPIERE-4823 RV_C_Invoice does not have a key column

* IDEMPIERE-4823 RV_C_Invoice does not have a key column - Move scripts to 8.2 folder
2021-06-10 17:07:52 +02:00
Carlos Ruiz d0346f6819
IDEMPIERE-4782 Multi-factor authentication (FHCA-2034) (#713)
Move migration scripts to folder 8.2
2021-06-09 15:27:47 +02:00
Carlos Ruiz fa0b52abd6
IDEMPIERE-3980 (#711)
* IDEMPIERE-3980

* IDEMPIERE-3980

Restrict uploading just to valid safe image file types

* IDEMPIERE-3980
2021-06-08 22:42:47 +08:00
Carlos Ruiz a4f67eb852
IDEMPIERE-4782 Multi-factor authentication (FHCA-2034) (#705)
* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

Implement suggestions from Heng Sin

* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

Fix security warning advised by github/CodeQL

* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

Implement an incremental delay in zk when the validation code is wrong (to avoid brute-force attacks)
As suggested by Ricardo Santana:
* ensures one-time only use of an OTP
* Log failures in AuthFailure.log

* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

* Log failures in AuthFailure.log - add case for login with email
* Implement incremental delay also for login panel
2021-06-08 19:49:46 +08:00
igorpojzl 3e64dc6737
IDEMPIERE-4479 - Allow define columnSql in AD_Field (#710)
* IDEMPIERE-4479 - Allow define columnSql in AD_Field

* IDEMPIERE-4479 Added View Update, ColumnSql fix FieldLength

* IDEMPIERE-4479 Updated AD_Field Model

* IDEMPIERE-4479 MFIeld update model logic

* IDEMPIERE-4479 Move Migration scripts to 8.2
2021-06-04 10:03:05 +02:00
Nicolas Micoud 98dc9e796c
IDEMPIERE-4808 : Payment Allocation should be IsSOTrx neutral (#703)
* IDEMPIERE-4808 : Payment Allocation should be IsSOTrx neutral

* IDEMPIERE-4808 : forms can use IsSOTrx from AD_Menu

* IDEMPIERE-4808 : add IgnoreIsSOTrxInBPInfo to be used on BPartner InfoWindow

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-06-04 09:29:37 +02:00
Carlos Ruiz d9826c775f
IDEMPIERE-4813 Process Customization Cross Tenant Error (#707)
* Implement for Window, Process and Info Window Customization:
  * Change to non-updateable the columns that have related children
  * Change default to NULL in role, user and language
  * Disable the autofilling of name, description and help
2021-06-03 15:40:30 +02:00
igorpojzl 6da6bc1d85
IDEMPIERE-4796 Request EMail Processor - Html email processing type parameter (#696)
* IDEMPIERE-4796 EmailSrv Parse Html Images

* IDEMPIERE-4796  Request EMail Processor - Html email processing type parameter

* IDEMPIERE-4796 Migration Scripts Added

* IDEMPIERE-4796 Added Register_Migration_Script

* IDEMPIERE-4796 Html Attachment Type Variable Logic Update

* IDEMPIERE-4796 ImageList null check added
2021-06-03 21:05:22 +08:00
Carlos Ruiz b914083d31
IDEMPIERE-4804 Message in Reset Password Panel is misleading (#702) 2021-05-31 11:29:43 +02:00
hengsin beaaf31d9a
IDEMPIERE-4771 add Cloud Upload interface to report viewer and scheduler (#679)
* IDEMPIERE-4771 add Cloud Upload interface to report viewer and scheduler

* IDEMPIERE-4771 add Cloud Upload interface to report viewer and scheduler

Fix initial output type selection for csv. Fix handling of binary vs
text media type.

* IDEMPIERE-4771 add Cloud Upload interface to report viewer and scheduler

- Change AD_AuthorizationAccount scope from single value to multiple
selection list (AD_AuthorizationScopes replace AD_AuthorizationScope)

* IDEMPIERE-4771 add Cloud Upload interface to report viewer and scheduler

Fix isIntersectCSV db function

* IDEMPIERE-4771 add Cloud Upload interface to report viewer and scheduler

add back AD_AuthorizationScope Configured dynamic validation filter
2021-05-12 13:42:55 +02:00
Carlos Ruiz da3dc2c472
Move scripts to 8.2 (#683) 2021-05-11 13:12:52 +02:00
Nicolas Micoud ad8de98fe5
IDEMPIERE-4781 : Dashboard / Report : use @SQL= syntax (#677)
* IDEMPIERE-4781 : Dashboard / Report : use @SQL= syntax

* IDEMPIERE-4781 : Dashboard / Report - be able to use Range parameters

* IDEMPIERE-4781 : Dashboard Content as Advanced

* Update DashboardController.java

Implement partial solution for IDEMPIERE-4779

Fix issue with Timestamp not working for IDEMPIERE-4781
it was throwing:
12:58:07.928-----------> DashboardController.render: Failed to create dashboard content [358]
java.lang.NumberFormatException: Error at index 6 in: "474671+02"
	at java.base/java.lang.NumberFormatException.forCharSequence(NumberFormatException.java:81)
	at java.base/java.lang.Integer.parseInt(Integer.java:735)
	at java.sql/java.sql.Timestamp.valueOf(Timestamp.java:239)
	at org.adempiere.webui.desktop.DashboardController.fillParameter(DashboardController.java:974)

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-05-11 13:10:25 +02:00
Nicolas Micoud cdc867eb6d
IDEMPIERE-4780 : Dashboard / Report : hardcoded messages (#676) 2021-05-10 10:15:11 +08:00
Carlos Ruiz 713aa09a46
IDEMPIERE-4709 Print Format Item: implement script column (expression) (#663)
Peer review and tests
2021-04-22 21:15:40 +02:00
igorpojzl f74e6c7824
IDEMPIERE-4709 - Print Format Item: implement script column (expression) (#644)
* IDEMPIERE-4709 - Print Format Item: implement script column (expression)

* IDEMPIERE-4709 - Translated comments

* IDEMPIERE-4709 - Check Advanced Access, Null Script before save

* IDEMPIERE-4709 - Changed Naming

Changed Naming for Scripts.

* IDEMPIERE-4709 Remove Migration script mistake

* IDEMPIERE-4709 Logic and Value Name Fixes
2021-04-22 21:13:10 +02:00
Carlos Ruiz a9b224c25d
IDEMPIERE-4762 Add AD_StorageProvider_ID to AD_Attachment (FHCA-1165) (#662) 2021-04-22 15:13:33 +02:00
Carlos Ruiz c0927beaa4
IDEMPIERE-4763 Add IsDefault to AD_StorageProvider and use it when creating a new tenant (FHCA-1165) (#657)
* IDEMPIERE-4763 Add IsDefault to AD_StorageProvider and use it when creating a new tenant (FHCA-1165)

* Add column/field AD_StorageProvider.IsDefault
* Includes a minor refactoring of Login.loadDefault to add the ID column to the order by, to make predictable the ID returned when there are more than one record marked as default
* Context variable #AD_StorageProvider_ID is not created

* * Model class modified
2021-04-19 21:15:47 +08:00
Carlos Ruiz 355ef166f1
IDEMPIERE-4748 Window, Tab & Field: Fields that are not displayed in the frontend window are hidden also in the backend. (#650) 2021-04-12 13:28:20 +02:00
Ricardo Santana 6dd950a577
IDEMPIERE-4755 Change data access level of Report View to System+Client (#647)
* IDEMPIERE-4755 Change data access level of Report View to System+Client

* IDEMPIERE-4755 Change data access level of Report View to System+Client
 * mark table Report View as Advanced
 * disable filds classname and args
2021-04-08 19:05:27 +02:00
Carlos Ruiz 932ed8f498
IDEMPIERE-4727 Movement Window: a new line can be created for a movement that is completed. (#634)
* IDEMPIERE-4727 Movement Window: a new line can be created for a movement that is completed.

* IDEMPIERE-4727 Movement Window: a new line can be created for a movement that is completed.

Fix the problem also in model, to cover case when trying to add/modify lines for example via webservices

* IDEMPIERE-4727 Movement Window: a new line can be created for a movement that is completed.

Fix the problem also in model, change approach to use isProcessed instead of isComplete
2021-04-08 22:40:27 +08:00
Carlos Ruiz c8fd9a8805
IDEMPIERE-4736 FHCA-2461 IDEMP - ad_column table - Framework query improvement (#628)
* IDEMPIERE-4736 FHCA-2461 IDEMP - ad_column table - Framework query improvement

* * Rename migration scripts to normal convention
2021-03-16 17:03:40 +08:00
Carlos Ruiz 2e4daa8930
IDEMPIERE-4566 Translation Import/Export - output message is not visible (#624)
* Fix problem with wrong management of parameters when changing from Import to Export
* Delete the deprecated class, this is unused (IDEMPIERE-4723)
2021-03-12 10:45:39 +01:00
Carlos Ruiz 14d982abae
IDEMPIERE-4714 email password changes being displayed in the change log (#615)
* IDEMPIERE-4714 email password changes being displayed in the change log

* * minor fix adding a line to script
2021-03-09 15:00:12 +08:00
Carlos Ruiz 371afa054a
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#612)
* Minor fix for typo in process name
2021-03-06 15:41:51 +01:00
Carlos Ruiz 5f2d71347d
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#593)
* IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system)

WIP - initial version working on zk with google apps mail using OAuth2 Authorization Code Flow and Client Type = web application

* Enable imap reading with OAuth2 in RequestEMailProcessor
* Simplify the code - tested plain and OAuth2 can use the same methods
* Add +SCOPE parameter to AddAuthorizationForm according to IDEMPIERE-4713
* Rename the form AddAuthorizationMailForm to AddAuthorizationForm as is now more generic

* IDEMPIERE-4713
* Rename migration scripts to make it newer than IDEMPIERE-4713
* Add list of scopes attended by a credential
* Change form to accept other scopes, if no scope parameter is passed, then a list is shown, change the menu to fix the EMail scope
* Add MAuthorizationAccount.refreshAndGetAccessToken
* Add translation for messages

* make call generic oauth, avoid using specific google API

* Tests with microsoft as OAuth2 provider
* Add record for microsoft as provider
* Increase size of tokens
* Define mandatory and secure columns
* Update refresh token when it comes on the refresh call
* Revoke endpoint is optional

* Change the approach to a process instead of a form (WIP)
* Implement servlet to process the OAuth2 code

* Solve context suggestion from hengsin

* Implement the form in an automatic popup approach for running on zkwebui

* i18n - add translations for all messages that are shown to user
* on the form opted for click to avoid the problem with browsers forbidding popups
* clean spaces and tabs on line endings

* avoid logging and copy of the secure columns

* Fix problem reported by @d-ruiz about hidden NPE when SMTP Authentication is disabled

* Add writing to AD_PInstance_Para and AD_PInstance_Log the results of processing the servlet
* Control to avoid using the same authorization URL twice
2021-03-06 11:49:39 +01:00
Carlos Ruiz 41bf7ef3e6
IDEMPIERE-4488 Remove .classpath from repository (#608)
Fix project definition for migration folder - is not java nature
2021-03-04 13:55:47 +01:00
hengsin 1971b4f0dc
IDEMPIERE-4488 Remove .classpath from repository (#607)
* IDEMPIERE-4488 Remove .classpath from repository

* IDEMPIERE-4488 Remove .classpath from repository

add ignore for .classpath

* IDEMPIERE-4488 Remove .classpath from repository

remove ".settings/org.eclipse.jdt.core.prefs"

* IDEMPIERE-4488 Remove .classpath from repository

fix false status report for /bin and .project
2021-03-03 00:02:03 +01:00
Carlos Ruiz 47f7180eff
IDEMPIERE-4713 Allow definition of context variables to inject on menu and window definition (#600)
* IDEMPIERE-4713 Allow definition of context variables to inject on menu and window definition

* * Implement prefix "+" as suggested by @hengsin
* Clear the variable

* * Fix scope of methods and fix interface as suggested by @hengsin

* * Implement changes suggested by @hengsin
* Add control for clicking on new button on Favourites and menu
2021-02-23 16:24:39 +01:00
Carlos Ruiz 192354098c
IDEMPIERE-4705 Add grid toggle button to Detail Pane (#596)
Move to 8.2
2021-02-18 20:16:45 +01:00
hengsin b1d3f9c8fd
IDEMPIERE-4705 Add grid toggle button to Detail Pane (#594) 2021-02-18 19:38:46 +01:00
Martin Schönbeck 5e31c1fdb0
IDEMPIERE-4688 Adding Customs Tariff Number to products (#568)
* group1 and group2 also added to i_product
* Models generated for m_product and i_product, creating m_product from i_product extended with new fields.
2021-02-09 21:09:04 +01:00
Carlos Ruiz 0669760711
IDEMPIERE-3340 Adaxa's User Favorite which allow user to organize their menu, create folders (#569)
* Login Automatic Open Sequence -> buttons don't require names
* Login Automatic Open Sequence -> buttons look bad with non-font icons
* Clicking on + on an item of the favourites throws an NPE
* Implement same approach about checking for new button restricted on menu search, menu popup and quick entry popup
2021-02-04 21:39:15 +01:00
Deepak Pansheriya 373225a62c
Idempiere 3340 (#505)
* IDEMPIERE-3340 : User favorite with tree structure

* IDEMPIERE-3340: Marking write operation to safe for cross tenant safe

* IDEMPIERE-3340: Fixing Cross tenant access issue

* IDEMPIERE-3340: refactoring as review comment, Fixing renaming folder issue, Auto launch window shows all items irrespective of access

* Sync with IDEMPIERE-4251

* Sync with IDEMPIERE-4251

* IDEMPIERE-3340: Refactoring as review comment for caching,
 toolbar button restriction method with ID, tooltip messages, font base theme,
 remove double click event, etc.

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-02-04 21:36:25 +01:00
hengsin f5e9cd9336
IDEMPIERE-4654 Sales Order After Receipt Delivery Rule is not working (#536)
* IDEMPIERE-4654 Sales Order After Receipt Delivery Rule is not working

create shipment if it is fully paid and stock is available
use currencyconvertpayment
- rename after receipt to after payment
- added unit test for invoice payment

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-01-26 19:34:38 +08:00
hengsin e1ba21360f
IDEMPIERE-4653 Improve timeout handling of window tab (#534)
* IDEMPIERE-4653 Improve timeout handling of window tab

* IDEMPIERE-4653 Improve timeout handling of window tab

Fix error with find and refresh.
2021-01-20 13:27:58 +01:00
hengsin 59b83c3361
IDEMPIERE-4628 Implement configurable query timeout for info window (#532)
* IDEMPIERE-4628 Implement configurable query timeout for info window

* IDEMPIERE-4628 Implement configurable query timeout for info window

Move migration script from i8.2z to i8.2
2021-01-19 10:25:13 +08:00
Carlos Ruiz 0cfa1c182a
IDEMPIERE-4650 Problems with Language Management in PO (#530)
* IDEMPIERE-4650 Problems with Language Management in PO

* * Set GardenWorld to use multi-lingual documents
2021-01-18 19:57:33 +08:00
hengsin ebcf4b3e1c
IDEMPIERE-4651 Max records for Search autocomplete list should be configurable (#531) 2021-01-18 11:52:12 +01:00
Carlos Ruiz fa8b7f1807
IDEMPIERE-4645 Search by special field types failing (#524)
* IDEMPIERE-4645 Search by special field types failing

* Set the advanced operators for Search for the special cases
2021-01-17 18:05:06 +08:00
Nicolas Micoud 326d210665
IDEMPIERE-4616 : Lead : add IsVendorLead (#500)
* IDEMPIERE-4616 : Lead : add IsVendorLead

* IDEMPIERE-4616 : Lead : add IsVendorLead

Fix description for Lead window
Add Display Logic for Opportunity parameters (now hidden if no opportunity)
Set BPartner.IsCustomer/IsVendor according to Lead.IsSales/VendorLead

* IDEMPIERE-4616 : Lead : add IsVendorLead

Move scripts from 8.2 to 8.2z
2021-01-07 18:48:25 +01:00
Nicolas Micoud 8cc8445d8d
IDEMPIERE-4568 : Add 4 countries, 1 currency and update names/descriptions for countries (#499)
* Add 4 countries, 1 currency and update names/descriptions for countries

* IDEMPIERE-4568 : fix typos (’ -> ')
2021-01-06 13:34:33 +01:00
hengsin 45cfbe6804
IDEMPIERE-4610 Remove obsolete LdapProcessor (#484)
* IDEMPIERE-4610 Remove obsolete LdapProcessor

* IDEMPIERE-4610 Remove obsolete LdapProcessor

Inactivate menu entry (AD_Menu_ID=594) and window (AD_Window_ID=389)

* IDEMPIERE-4610 Remove obsolete LdapProcessor

move migration script to i8.2z folder.
2020-12-28 11:09:17 +01:00
Carlos Ruiz 8103ab0732 IDEMPIERE-4604 Release 8.2
Change references to new version
Create new migration folder
2020-12-20 10:15:20 +01:00
Carlos Ruiz 36f8a91ae6 IDEMPIERE-4604 Release 8.2
migration scripts
2020-12-20 09:24:39 +01:00
Carlos Ruiz 73588b43f3
IDEMPIERE-1575 Increase some columns length (#475)
AD_Rule.Script -> 4000
AD_ChangeLog.TrxName -> 1000
AD_SysConfig.Value -> 4000
2020-12-20 14:27:00 +08:00
hengsin b80ed34d9c
IDEMPIERE-4599 Remove obsolete org.compiere.interfaces.* interface (#473)
* IDEMPIERE-4599 Remove obsolete org.compiere.interfaces.* interface

* IDEMPIERE-4599 Remove obsolete org.compiere.interfaces.* interface

remove warning.
2020-12-18 14:52:11 +01:00
Carlos Ruiz a9a2aeeeed
IDEMPIERE-4601 Move Plugin manager from About to a Form (#469) 2020-12-16 09:10:00 +08:00