Commit Graph

14100 Commits

Author SHA1 Message Date
hengsin 401707361d
IDEMPIERE-4824 Boolean Logic Expression Enhancements (#719)
add validation for boolean logic expression in AD
2021-06-14 17:51:15 +02:00
hengsin bb0ef7ebb3
IDEMPIERE-4832 Fix bad boolean *logic expression in dictionary (#720) 2021-06-14 17:47:52 +02:00
hengsin e7ea517b99
IDEMPIERE-4824 Boolean Logic Expression Enhancements (#717)
Regenerated source with correct antlr4 version to remove deprecation
warnings.
2021-06-11 17:14:49 +08:00
hengsin d7153575e6
IDEMPIERE-4824 Boolean Logic Expression Enhancements (#716)
* IDEMPIERE-4824 Boolean Logic Expression Enhancements

* IDEMPIERE-4824 Boolean Logic Expression Enhancements

Fix handling of conditional variable (i.e @VariableName:DefaultValue@)

* IDEMPIERE-4824 Boolean Logic Expression Enhancements

Fix unit test launch configuration
2021-06-10 23:08:22 +08: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
Diego Ruiz 5811f87f19
IDEMPIERE-4743 - Clean up ImageDBStorageImpl, Lookup, M_Element, MAccount, MAcctProcessor,MAcctSchema,MAcctSchemaDefault,MAcctSchemaElement classes (#714) 2021-06-10 15:49:49 +08: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
Ricardo Santana 474e061d9c IDEMPIERE-4821 - Fix missing transaction in invoice creation from commission (#712) 2021-06-09 14:36:11 +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
igorpojzl 5f2406695d
IDEMPIERE-4811 Custom Toolbar Buttons Dynamic Validation Fix (#704)
* IDEMPIERE-4811 Custom Tolbar Buttons Dynamic Validation on Detail Pane Fix

* IDEMPIERE-4811 ToolbarCustomButton - update old constructor
2021-06-03 16:38:07 +08:00
igorpojzl d45ee838e3
IDEMPIERE-4815 FIX Check C_Country_ID when getting cached data. (#708) 2021-06-03 16:19:54 +08:00
igorpojzl 01d199755b
IDEMPIERE-4803 Related Info Window Display Bug (#701)
* IDEMPIERE-4803 Related Info Window Display Bug

* IDEMPIERE-4803 Related Info Window check for CreatedBy and UpdatedBy
2021-06-01 13:45:31 +08:00
Carlos Ruiz b914083d31
IDEMPIERE-4804 Message in Reset Password Panel is misleading (#702) 2021-05-31 11:29:43 +02:00
hengsin b928043646
IDEMPIERE-4801 Add IMediaView interface and Keikai implementation (#700)
* IDEMPIERE-4801 Add IMediaView interface and Keikai implementation

* IDEMPIERE-4801 Add IMediaView interface and Keikai implementation

- Fixed some dependency issues
- Uses guava mediatype class

* minor - fix NPE when empty CSV

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-05-29 11:54:12 +02:00
Carlos Ruiz 6d78119006
IDEMPIERE-4800 Performance - avoid multiple for in GridTab.getParentTabNo (#699) 2021-05-27 14:38:02 +08:00
igorpojzl 17a80a0beb
IDEMPIERE-4799 Fix Check Parent Column Name (#698) 2021-05-26 12:38:42 +02:00
Carlos Ruiz 590d03ae3b
IDEMPIERE-4798 Add Event Before Parse Status Line (#697) 2021-05-26 17:21:27 +08:00
Nicolas Micoud 9a21b84055
IDEMPIERE-4779 : Dashboard / Report : parameters are wrongly displayed (#690)
* IDEMPIERE-4779 : Dashboard / Report : parameters are wrongly displayed

* IDEMPIERE-4779 : Dashboard / Report : parameters are wrongly displayed

Avoid usage of DisplayType.IsID

* IDEMPIERE-4779 : Dashboard / Report : parameters are wrongly displayed

AD_Reference_Value_ID can be used for search/table/tabledir

* IDEMPIERE-4779 : Dashboard / Report : parameters are wrongly displayed

Use MLookupInfo.QueryDirect  to display value
2021-05-24 22:58:11 +08:00
igorpojzl cbfb704cb9
IDEMPIERE-434 Tab field group is not available in web (#695)
* IDEMPIERE-434  Tab field group support

* IDEMPIERE-434 Tabbox set Visible=false when no field with fieldgrouptype=tab
2021-05-24 19:51:03 +08:00
Andreas Sumerauer 3919827bc5
IDempiere-4794 (#694)
* IDEMPIERE-4794 IQuickEntry OSGI Service

* Interface IQuickeEntry replaced with abstract class AbstractWQuickEntry,
Refactorings

* QuickEntry Service used in InfoWindow. Redundant method removed.

Co-authored-by: Andreas <sumerauer@kanzlei-wmv.de>
2021-05-22 15:58:02 +08:00
hengsin e8b76e24bb
IDEMPIERE-4793 Implement drag beyond page (scroll) in trees (Trek 1007493) (#693) 2021-05-20 20:31:45 +02:00
hengsin 4387b8986f
IDEMPIERE-4792 Bring back frozen column feature for desktop browser (#692)
Incorporate workaround from zk tracker and re-eanble grid frozen columns
for dekstop browser.
2021-05-20 12:10:32 +02:00
Carlos Ruiz a89a84f528
IDEMPIERE-4791 Pass PA_DashboardContent information to IDashboardGadgetFactory (#691) 2021-05-20 16:41:35 +08:00
Nicolas Micoud ca556b52ba
IDEMPIERE-4787 : Dashboard / Report : add Refresh button (#685)
* IDEMPIERE-4787 : Dashboard / Report : add Refresh button

* IDEMPIERE-4787 : Dashboard / Report : add Refresh button - applying hengsin's advices

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2021-05-17 20:06:15 +08:00
Nicolas Micoud 3b4d371fb6
IDEMPIERE-4790 : Deactivating ToolbarDetail Customize button throws NPE when using Toggle button (#689) 2021-05-17 17:43:29 +08:00
hengsin da96ecdc19
IDEMPIERE-4773 (#688)
* COF #10327 IDEMPIERE-4773 - add form factory base class backed by map and lambda functional object

Remove unnecessary white space only changes and fix wrong component name

Co-authored-by: muriloht <muriloht@devcoffee.com.br>
Co-authored-by: matheus.marcelino <matheus.marcelino@devcoffee.com.br>
2021-05-17 15:16:44 +08:00
hengsin 61f9a5cf82
IDEMPIERE-4711 Upgrade to Tycho 2.3 (#687)
add lifecycle mapping filter for 2.4.0-SNAPSHOT (maven problem in
eclipse)
2021-05-13 18:54:42 +08:00
hengsin 339f0c0420
IDEMPIERE-4711 Upgrade to Tycho 2.3 (#686)
mvn unit tests not working with 2.3.0, temporary update to
2.4.0-SNAPSHOT, pending future update to 2.4.0 release.
2021-05-12 16:40:47 +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
Nicolas Micoud 8d234a8d49
IDEMPIERE-4786 : Link popup should not be opened at cursor location (#684) 2021-05-12 14:27:49 +08:00
hengsin 0da2eb5bd2
IDEMPIERE-4764 Hazelcast distributed cache can be an issue in some environments (#682)
- Fix cache reset and unit test bugs
2021-05-11 14:18:48 +02:00
Deepak Pansheriya 4439a74c52
IDEMPIERE-2377: Add "Prepare" Document Action to all document type (#653)
* IDEMPIERE-2377: Add "Prepare" Document Action to all document type

* IDEMPIERE-2377: Adding Prepare action on prepared docs and removeing redundent actions
Co-authored-by: carg67@gmail.com
2021-05-11 13:24:20 +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
Saulo José Gil 63aec27abb
IDEMPIERE-4784 Support multiple selection lookups within process execution (#680) 2021-05-11 10:50:09 +02:00
hengsin 2bba622b82
IDEMPIERE-4719 Create Oomph project setup model (#681)
* IDEMPIERE-4719 Create Oomph project setup model
- Fixed mvn_verify.launch JRE configuration
- Move oomph setup profiles to https://github.com/hengsin/idempiere-oomph/
2021-05-11 07:25:29 +08:00
Nicolas Micoud cdc867eb6d
IDEMPIERE-4780 : Dashboard / Report : hardcoded messages (#676) 2021-05-10 10:15:11 +08:00
Carlos Ruiz 759473f6ed
IDEMPIERE-4783 Changing the way number field with calculator are handled (#678)
* Fix not filling the box when the initial value is zero
* Fix removing  the leading zeroes to avoid octal calculations
2021-05-09 10:23:21 +02:00
Carlos Ruiz 3211c449cb
IDEMPIERE-4777 New table whose name ends in "Line" and does not have a Header table (#675) 2021-05-07 12:23:38 +02:00
Carlos Ruiz 9d40f6b5df
IDEMPIERE-3508 2pack: support export from text column to string column (#674) 2021-05-04 16:42:17 +02:00
igorpojzl b002667750
IDEMPIERE-4774 Fix number sign for Matching Vendor Returns (#669) 2021-05-04 15:19:53 +02:00
Ricardo Santana a22b36b744
IDEMPIERE-4776 - iDempiere Monitor: Sort logs and Schedulers (#671)
* IDEMPIERE-4776 - iDempiere Monitor: Sort logs and Schedulers

* IDEMPIERE-4776 - iDempiere Monitor: Sort logs and Schedulers
* get logs already sorted from LogFileInfo

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-04-29 15:31:11 +02:00
Carlos Ruiz b5bcc3690e
COF #11523 / IDEMPIERE-4715 - attribute set instance: new qty available column and group results in select existing record dialog (#670)
Co-authored-by: muriloht <muriloht@devcoffee.com.br>
2021-04-28 15:28:50 +02:00
hengsin a79be8aad8
IDEMPIERE-4749 Allow to use OAuth2 libraries on plugins (#668)
* IDEMPIERE-4749 Allow to use OAuth2 libraries on plugins

- move oauth libraries and dependency to target platform
- require Tycho 2.3.0+ and Eclipse 2021-03+

* IDEMPIERE-4749 Allow to use OAuth2 libraries on plugins

Fix launch configuration.
2021-04-28 14:59:50 +02:00
Carlos Ruiz d80b915836
IDEMPIERE-4372 Performance: only add log record and sql statement to context if trace/debug level <= debug/info (#665)
Revert change to assign the variable _TabInfo_SQL just on some log level
2021-04-28 11:05:09 +02:00