Commit Graph

3124 Commits

Author SHA1 Message Date
Nicolas Micoud 19cfc2d07d
IDEMPIERE-4874 : Process customization must have effect on Menu and Tab title (#778) 2021-07-11 13:56:31 +08:00
Nicolas Micoud c9d7cb3afd
IDEMPIERE-4872 : Typo on form.css.dsp (pdding -> padding) (#777)
* IDEMPIERE-4872 : Typo on form.css.dsp (pdding -> padding)

Co-Authored-By: pmargery <87129041+pmargery@users.noreply.github.com>

* IDEMPIERE-4872: change in lang-addon.xml

Co-authored-by: pmargery <87129041+pmargery@users.noreply.github.com>
2021-07-10 15:46:49 +02:00
hengsin 4ed1b3b0ba
IDEMPIERE-4864 Fix shortcut handling for combobox and ad window (#769)
Fix toolbar shortcut is active when it is block by process log dialog
2021-07-06 13:25:12 +02:00
hengsin 7b55139ffa
IDEMPIERE-4864 Fix shortcut handling for combobox and ad window (#765)
* IDEMPIERE-4864 Fix shortcut handling for combobox and ad window

* IDEMPIERE-4864 Fix shortcut handling for combobox and ad window

- fix combobox keyboard navigation
- improve focus handling with mask
2021-07-06 10:40:07 +02:00
Deepak Pansheriya 72ba9fd9d3
IDEMPIERE-4837:on Product Info, only defaulting price list when window has UserPriceListInProductInfo ctx variable set. (#754) 2021-07-05 21:27:41 +02:00
hengsin 93bc73c257
IDEMPIERE-4865 Find window enhancements (#766) 2021-07-05 20:37:28 +02:00
hengsin 7d01f41f35
IDEMPIERE-4835 Grid View: Implement optional hide empty column feature (#767)
refine auto hide rule for new row
2021-07-05 20:29:15 +02:00
hengsin d7c0ebf980
IDEMPIERE-2682 Html Report >> locking/freeze header row (#761)
* IDEMPIERE-2682 Html Report >> locking/freeze header row

Fix printing
2021-07-05 20:24:42 +02:00
hengsin a5c52e1a0b
IDEMPIERE-4855 Records of Tab level 2 disappear in particular case. (#751)
* IDEMPIERE-4855 Records of Tab level 2 disappear in particular case.
2021-06-30 15:38:22 +02:00
hengsin 48f6e3b9d7
IDEMPIERE-4415 Window Toolbar, report popup flickering (#738)
* IDEMPIERE-4415 Window Toolbar, report popup flickering

- Fix an invalid css selector (z-row-over doesn't exists)
- Fix report popup flickering
2021-06-28 13:50:22 +02:00
Andreas Sumerauer 0bb5aa70f6
BUGFIX: Extensions.getQuickEntryService() - fixed cache management issue (#742)
Co-authored-by: Andreas <sumerauer@kanzlei-wmv.de>
2021-06-26 13:06:40 +08:00
Andreas Sumerauer 5f2f6364da
IDEMPIERE-4840: ConfirmPanel with Checkbox (#732)
* IDEMPIERE-4840: ConfigPanel with Checkbox

* removed checkbox vertical alignment hack

* corrected javadoc

Co-authored-by: Andreas <sumerauer@kanzlei-wmv.de>
2021-06-23 11:50:02 +08:00
Carlos Ruiz 594c7bb437
IDEMPIERE-4844 Cross tenant issue on Forgot My Password (#737) 2021-06-23 11:14:21 +08:00
Andreas Sumerauer 9ad3f5ce46
IDEMPIERE-4839 IQuickForm interface (#731)
* IDEMPIERE-4839 IQuickEdit interface

* Added javadoc comments to IQuickForm method definitions.

* removed outcommented interfaces from class definition

Co-authored-by: Andreas <sumerauer@kanzlei-wmv.de>
2021-06-22 14:35:58 +08:00
Carlos Ruiz 0ba9360cf0
IDEMPIERE-4514 Grid View Layout Bug (#735) 2021-06-22 14:33:25 +08:00
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
Nicolas Micoud fa7ddb7dd2
IDEMPIERE-4834 : Import Formats are not ordered on Import File Loader (#723) 2021-06-17 18:25:04 +08: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
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
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 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
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 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
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
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 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
Carlos Ruiz 4e73c87e8f
IDEMPIERE-4769 False result in validation for pending changes (#661)
* IDEMPIERE-4769 False result in validation for pending changes

* * Fix also the case that changing detail is not decorating the window title with prefix *
2021-04-21 21:44:07 +08:00
Carlos Ruiz 3be5c0ac92
IDEMPIERE-4768 Cannot ship in some cases when multiple ASI with different material policy (#660)
* IDEMPIERE-4768 Cannot ship in some cases when multiple ASI with different material policy

* IDEMPIERE-4768 Cannot ship in some cases when multiple ASI with different material policy

* Fix wrong selection of material date policy, must take into account isUseGuaranteeDateForMPolicy
* Fix wrong material receipt, assigning material date policy based on inventory instead of document/ASI

* * Unit tests
2021-04-21 21:42:10 +08:00
Carlos Ruiz a497e03b69
IDEMPIERE-4766 Record ID button would be more useful if it shows the ID (#658) 2021-04-19 20:48:01 +08:00
Carlos Ruiz 9d059b13fe
IDEMPIERE-1405 Locator Dialog allows to create locators without any check (#651)
IDEMPIERE-4442 Change Locator Dialog ListBox to Tabledirect (autocomplete)
* Fix an issue not setting the new locator created when returning
2021-04-19 20:45:21 +08:00
Carlos Ruiz 8f31506ac7
IDEMPIERE-4764 Hazelcast distributed cache can be an issue in some environments (#655)
* IDEMPIERE-4764 Hazelcast distributed cache can be an issue in some environments

- Change setting for all caches to be non-distributed

* IDEMPIERE-4764 Hazelcast distributed cache can be an issue in some environments

* TC-324 Fix cache related monitoring and performance issues

- PO & GridTable call to CacheMgt reset should be async.

Co-authored-by: hengsin <hengsin@gmail.com>
2021-04-19 20:41:34 +08:00
Carlos Ruiz 1a5eb5ce22
IDEMPIERE-4746 Wrong usage of MTable.getColumnIndex (#640)
* IDEMPIERE-4746 Wrong usage of MTable.getColumnIndex

* Implementing suggestion from Andreas Sumerauer
* Fix issue in IDEMPIERE-3916 (Move Client) and IDEMPIERE-1026 (Create Window from Table)

* IDEMPIERE-4746 Wrong usage of MTable.getColumnIndex

* Change approach to discover real columns

* * Rename method as suggested by Andreas Sumerauer
2021-04-07 21:34:37 +08:00
Carlos Ruiz 44edbf4b07
IDEMPIERE-4742 Delete button on detail tab is not disabled for processed records (#636) 2021-03-29 15:23:52 +02:00
Diego Ruiz da171627ed
IDEMPIERE-4743- Fixed Shift+Alt+N to save and create in detail (#639) 2021-03-25 20:30:49 +01: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 43cbc2f297
IDEMPIERE-4738 Password for user System cannot be changed (#633)
IDEMPIERE-4287
2021-03-16 08:29:45 +08:00
Carlos Ruiz ba0cc46c6c
IDEMPIERE-4731 No default salesrep_id in PO/SO,Invoice when using 'Change Role' (#631) 2021-03-15 21:20:38 +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
Nicolas Micoud 1cab7864f5
IDEMPIERE-4732 : WSearchEditor - make lookup, infoPanel and adwindow (#623)
* IDEMPIERE-4732 : WSearchEditor - make lookup, infoPanel and adwindow protected
2021-03-11 17:37:14 +08:00
Carlos Ruiz c60f420cec
IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window (#618)
* IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window

* Revert "IDEMPIERE-4708 Context from ProcessParameterPanel is not cleared when closing the window"

This reverts commit 74d5d07bea748f6405bfb6988a01fab1f605f720.

* Implement suggestion from @hengsin
2021-03-10 20:09:55 +08:00
Deepak Pansheriya f8f17d5b85
IDEMPIERE-4729: Fixing cross tenant error reported issue when submitting field suggestion (#622) 2021-03-10 12:48:43 +01:00
Carlos Ruiz 8264a9abfa
IDEMPIERE-4692 Mandatory range parameters : "To" style not updated after being filled manually (#616)
* IDEMPIERE-4692 Mandatory range parameters : "To" style not updated after being filled manually

* based on patch from Anozi Mada
* Add javadoc explaining new columnname notation in IProcessParameterListener
* Change BankTransferParameterListener to illustrate better usage of columnname - as example
2021-03-09 10:56:38 +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
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
hengsin 3beccdf38e
IDEMPIERE-4722 Remove constraint that idempiere source folder must be… (#606)
* IDEMPIERE-4722 Remove constraint that idempiere source folder must be used as Eclipse workspace

use project_loc of org.adempiere.base instead of workspace_loc
integrate additional fix from Carlos
2021-03-02 20:51:20 +08:00
Nicolas Micoud 2c340390cf
IDEMPIERE-4716 : set InfoPanel onDoubleClick method protected (#604) 2021-02-25 06:20:07 +08: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
Diego Ruiz 60bcc24bb4
Idempiere 4084 (#599)
* IDEMPIERE-4084 Fixed DynamicDisplay on overflow buttons

* IDEMPIERE-4084 Clean unused code
2021-02-22 10:54:30 +08:00
Diego Ruiz 3c220b6681
IDEMPIERE-4084 Improve button access logic (#592) 2021-02-18 19:46:43 +01:00
hengsin b1d3f9c8fd
IDEMPIERE-4705 Add grid toggle button to Detail Pane (#594) 2021-02-18 19:38:46 +01:00
Andreas Sumerauer 6acc8e235d
IDEMPIERE-4702 Messagebox enhancement: Esc key closes Dialog with cancel (#586)
action

Co-authored-by: Andreas <sumerauer@kanzlei-wmv.de>
2021-02-16 08:41:41 +08:00
Carlos Ruiz ff88459dc9
IDEMPIERE-4703 Cross tenant issue on sort tabs (#584) 2021-02-14 10:06:59 +08:00
hengsin 3a1d53ea4e
IDEMPIERE-4676 Browser hangs after restarting iDempiere or refreshing ui.zk, on macos sometimes during work (#574)
Immediately treat jqxhr.status=0 as server not available doesn't work
well on firefox. With Firefox both stop of server and navigate away to
another site provide same jqxhr.onerror event and jqxhr.status of 0.
2021-02-09 19:10:54 +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
Carlos Ruiz c5c08a8b87
IDEMPIERE-4658 The operator Dropdown entries for a foreign ID column is corrupted when a search preset is loaded in any window's Advanced Search tab. (#564)
Fix issue discovered:
* Saving a query with LIKE operator, when restored it changes to = operator
2021-02-01 15:20:19 +01:00
hengsin 3d70b5dd63
IDEMPIERE-4676 Browser hangs after restarting iDempiere or refreshing… (#557)
* IDEMPIERE-4676 Browser hangs after restarting iDempiere or refreshing ui.zk, on macos sometimes during work

* IDEMPIERE-4678 Save log informing Notice created when background job

stop immediately when server is not reachable
2021-01-31 15:56:22 +08:00
Carlos Ruiz fd3fef9e7b
IDEMPIERE-4678 Save log informing Notice created when background job (#559)
* IDEMPIERE-4678 Save log informing Notice created when background job

* Added also a refactor for the INSERT INTO AD_PInstance_Log to use safer binding variables and add method saveEx

* - Implement suggestions from @hengsin
- Add some additional improvements
2021-01-29 08:57:15 +08:00
Diego Ruiz 245b471d06
IDEMPIERE-4672 Improve the StatusBar Menupopup to render HTML text (#553) 2021-01-25 17:01:14 +01:00
hengsin f233e29432
IDEMPIERE-4662 Some problems of sort at window before save (#551)
* IDEMPIERE-4662 Some problems of sort at window before save

* IDEMPIERE-4662 Some problems of sort at window before save

Fixed the sequence of edit field -> sort -> edit field will wrongly
trigger save automatically.
2021-01-25 09:31:21 +01:00
Diego Ruiz 2dbbc93485
IDEMPIERE-4665 SearchQuery should behave the same as the toolbar buttons - role access,advanced button,dynamic display (#548) 2021-01-23 12:32:19 +01:00
Nicolas Micoud 9413a8a2f5
IDEMPIERE-4665 : Toolbar: Select Query cannot be hidden (#546) 2021-01-22 11:05:27 +01:00
Carlos Ruiz 96393d2356
IDEMPIERE-4657 Search Dialog Columns are duplicated when table is present in multiple window tabs. (#540)
* IDEMPIERE-4657 Search Dialog Columns are duplicated when table is present in multiple window tabs.

* Improve query when different seqno (just check fields from first tab)
2021-01-21 17:27:47 +01:00
Carlos Ruiz 2d76f90f9c
IDEMPIERE-4660 Wrong code in virtual columns broke IDEMPIERE-2356 (#541)
IDEMPIERE-4087
IDEMPIERE-3760
2021-01-21 14:28:15 +01:00
Carlos Ruiz d81935a128
IDEMPIERE-4658 The operator Dropdown entries for a foreign ID column is corrupted when a search preset is loaded in any window's Advanced Search tab. (#538) 2021-01-20 21:46:35 +08:00
Carlos Ruiz 24ccb86f16
IDEMPIERE-4653 Improve timeout handling of window tab (#539)
* IDEMPIERE-4653 Improve timeout handling of window tab

* Fixed a problem with IDEMPIERE-4130 that was not using role max query records
* GridTable was throwing NPEs because the arrays were disposed before closing
* Lowered log level on MRole to avoid clogging the console (I was testing with INFO level)
* Added more points of control for the timeout exception to give meaningful errors to the user and allow refining the query without closing the Find dialog
* Implemented a control to avoid repeating a slow initial query every time the dialog is open
* Added dialog when the find criteria doesn't return rows and allows the user to refine the query
* When the initial number of records is unknown, show a question mark instead of the count

* * Fix wrong role level pushed in first commit
2021-01-20 21:45:33 +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
HideakiHagiwara cdb21c0698
IDEMPIERE-4655 WTimeEditor display time picker button when read only. (#535)
Co-authored-by: HideakiHagiwara <h.hagiwara@gmail.com>
2021-01-20 20:05:16 +08: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
hengsin 1afe4fe0c6
IDEMPIERE-4652 Remove Eclipse warnings (#533) 2021-01-18 17:32:25 +01: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
Carlos Ruiz efc3d98313
IDEMPIERE-4647 Plugin Manager improvement (#528)
Fix index out of bounds error - when selecting a plugin and then filtering for a number of items lower than the selected index
2021-01-15 19:03:23 +01:00
Nicolas Micoud e3c78d7501
IDEMPIERE-4647 : filter plugins using name (#527)
* IDEMPIERE-4647 : filter plugins using name

* Minor improvements

* Add translated message for Filter
* Use ON_CHANGE instead of ON_BLUR, allows to apply the filter with ENTER

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-01-15 18:39:55 +01:00
hengsin 6c6cbf932d
IDEMPIERE-4625 Login Page refresh cause error message, randomly when slow db response (#525)
Fix CLOSE-WAIT issue
(https://groups.google.com/g/idempiere/c/wppbB5jdByg/m/_VOzSZZyAQAJ)
2021-01-15 10:54:07 +01:00
HideakiHagiwara fb8c045de9
IDEMPIERE-4644 Heading only Field is the cause of NullPointerException Error on Find Window. I Added null check logic. (#523)
Co-authored-by: jpiere <h.hagiwara@compiere-distribution-lab.net>
2021-01-13 09:26:51 +01:00
Carlos Ruiz 402300a53e
IDEMPIERE-4639 Cross tenant issues with context help (#522) 2021-01-12 21:31:40 +08:00
hengsin d96199a2b6
IDEMPIERE-4251 Constant definition for all Env Context (#519)
* IDEMPIERE-4251 Constant definition for all Env Context

replace "#Date" with Env.DATE

* IDEMPIERE-4251 Constant definition for all Env Context

replace "#.." with constant at Env

* IDEMPIERE-4251 Constant definition for all Env Context

Merge patch from Carlos
2021-01-12 21:29:50 +08:00
hengsin bbb4c48b67
IDEMPIERE-4625 Login Page refresh cause error message, randomly when slow db response (#506)
Fix wrong stop server push flow.
2021-01-06 10:46:56 +01:00
hengsin 248612e24d
IDEMPIERE-4485 Info Window Columns has no Value preference (#510)
add back the line that's wrongly remove in the review of PR 501
2021-01-06 06:56:02 +08:00
igorpojzl 5a01ef2c07
IDEMPIERE-4630 Global Search, Tab Search has no scroll (#509) 2021-01-05 23:20:29 +08:00
igorpojzl 00f22bb30a
IDEMPIERE-4485 Info Window Columns has no Value preference (#501)
* IDEMPIERE-4485 Info Window Columns has no Value preference

* IDEMPIERE-4485 Fix Query Parameter SQLWhere build.

* IDEMPIERE-4485 Info Window Columns - shorter code.
2021-01-05 21:15:26 +08:00
hengsin ccbe8b981f
IDEMPIERE-4583 Fix OSGi split package (#497)
Use only Require-Bundle for dependency between idempiere module/bundles
2021-01-02 18:32:18 +01:00
hengsin 240b1b277c
IDEMPIERE-4612 Improve layout of Find Dialog (#495)
Base on pull request 487 from Flemming Birch (gsjeffen)
2021-01-02 17:56:59 +01:00
Diego Ruiz da6d6b83aa
IDEMPIERE-4607 Cannot export windows via 2pack if any field has a Fie… (#483)
* IDEMPIERE-4607 Cannot export windows via 2pack if any field has a Field Group

* IDEMPIERE-4607 Implement changes discussed in JIRA - Add a new isList method to DisplayType

* IDEMPIERE-4607 Fixed typo

* IDEMPIERE-4607 Implement default method to return false by default - PR CarlosRuiz
2020-12-26 16:35:50 +01:00
Carlos Ruiz 0485339377
IDEMPIERE-4604 Release 8.2 Phong (#480)
Changes to differentiate test servers 8.2 from 8.2z
2020-12-21 22:12:01 +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 6c5d54d7f7 IDEMPIERE-4604 Release 8.2
Fix import warnings
2020-12-20 09:53:49 +01:00
Carlos Ruiz 6390ce20cd IDEMPIERE-4604 Release 8.2
Fix warnings on MANIFEST.MF
2020-12-20 09:53:21 +01:00
Carlos Ruiz a5d6a23f15
IDEMPIERE-4603 Find * character cause postgresql error (#476) 2020-12-20 07:30:40 +01:00
Carlos Ruiz 1ca179f121
IDEMPIERE-4268 Web Services : Read miss cross-tenant check (#470)
Fix cross-tenant problem about forcing to change a password expired in a multi-tenant environment
2020-12-16 11:38:53 +01:00
Carlos Ruiz a9a2aeeeed
IDEMPIERE-4601 Move Plugin manager from About to a Form (#469) 2020-12-16 09:10:00 +08:00
Carlos Ruiz 03b4a1e878
IDEMPIERE-4580 Refactor about credits (#433)
* IDEMPIERE-4580 Refactor about credits

Implement Credits as an HTML file visible in root folder
Change size of about window
2020-12-15 15:54:51 +01:00
hengsin 1df6f63341
IDEMPIERE-4598 Disable obsolete IsServer* fields (#467)
* IDEMPIERE-4598 Disable obsolete IsServer* fields

* IDEMPIERE-4598 Disable obsolete IsServer* fields

- Fix wrong migration script name
2020-12-14 15:10:29 +01:00
hengsin bffb3166c6
IDEMPIERE-4528 Update Js Library (#461)
* IDEMPIERE-4528 Update Js Library

Fix session timeout page broken.

* IDEMPIERE-4528 Update Js Library

add version info for keylistener component
2020-12-12 12:18:36 +01:00
Nicolas Micoud a7fbe30441
IDEMPIERE-4584 : InfoProduct throws "Attempted to access nonexistent … (#460)
* IDEMPIERE-4584 : InfoProduct throws "Attempted to access nonexistent ListModelTable field at 2, -1" if no IsInstanceAttribute column

* IDEMPIERE-4584 : fix test of column index

Co-Authored-By: hengsin <152246+hengsin@users.noreply.github.com>

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2020-12-12 13:47:06 +08:00
hengsin 6abbc4c9da
IDEMPIERE-4594 Payment Selection (Manual) - NPE When Payment Date is empty (#455)
Fix NPE
2020-12-10 16:32:07 +01:00
hengsin e017046dac
IDEMPIERE-4590 Scheduler Window: Start Scheduler action change AD_Client_ID to 0 when HazelCast Service is Down/Disable (#449) 2020-12-10 11:54:39 +01:00
hengsin 6e380b3dfb
IDEMPIERE-4421 Html asset versioning should allow fluent deployment (#451)
Fix missing downarrow for breadcrumb.
2020-12-10 11:26:36 +01:00
Carlos Ruiz 4c66c0018d
IDEMPIERE-4268 Web Services : Read miss cross-tenant check (#443)
Implement thread safe mechanism
https://mattermost.idempiere.org/idempiere/pl/hmpd8freutbhbgcjr9tu6ntitr
2020-12-09 14:28:49 +01:00
Carlos Ruiz d7bac68f94
IDEMPIERE-4268 Web Services : Read miss cross-tenant check (#442)
Problem when creating a preference with SuperUser in System, and then trying to save the same preference in GardenWorld (for example changing the height of a window)
2020-12-07 23:00:14 +08:00
Carlos Ruiz 416d92a292
IDEMPIERE-4421 Html asset versioning should allow fluent deployment (#441)
Fix problem reported by ken.wang at
https://mattermost.idempiere.org/idempiere/pl/3wmpzg1o5i88dec5pifkjd3qfe
2020-12-07 22:59:23 +08:00
hengsin 9d02ecaadb
IDEMPIERE-4387 Cannot select C&W Business Partner in Multi Select Search (#438)
- base on patch from Carlos and hints from hieplq
2020-12-05 16:38:36 +01:00
hengsin 894ceb8c4f
IDEMPIERE-4101 [Chosenbox] Multi select don't work in Firefox (#435)
- add display of button
- fix dropdown doesn't render properly at Firefox
2020-12-04 17:52:10 +01:00
hengsin c3aafb2a4f
IDEMPIERE-4421 Html asset versioning should allow fluent deployment (#431)
- Fix broken menu icon for html report
- Fix an issue with switching theme
2020-12-03 11:58:45 +01:00
Carlos Ruiz a833e778a6
IDEMPIERE-4468 Pass the current value of numberbox to the textfield of calculator (#430)
IDEMPIERE-2003 Capturing wrong numbers with numeric keypad when decimal separator is not dot

- Restore and improve functionality that process dot keypad within the number fields (deleted by mistake in c954a055b2)
2020-12-02 22:16:31 +01:00
Deepak Pansheriya 8b672a3a51
IDEMPIERE-2999 : refactoring as per Hengsin's review comments (#427)
* IDEMPIERE-2999 : refactoring as per Hengsin's review comments

* IDEMPIERE-2999: Fixing compilation issue

* IDEMPIERE-2999: Fixing as per Hengsin'e review
2020-12-02 22:59:23 +08:00
Carlos Ruiz 42854cfb0f
IDEMPIERE-4561 Font Icons not used in several points (#423) 2020-12-01 07:12:28 +08:00
hengsin 5d236de30c
IDEMPIERE-4421 Html asset versioning should allow fluent deployment (#420)
* IDEMPIERE-4421 Html asset versioning should allow fluent deployment

use classpath loading and lang-addon versioning for theme resources

* IDEMPIERE-4421 Html asset versioning should allow fluent deployment

Incorporate backward compatibility patch from Carlos.
2020-11-30 15:33:23 +01:00
Carlos Ruiz 71a2ee3fe7
IDEMPIERE-4268 Fix issue with change client (#418)
Fix problem changing client in role panel when more than 2 clients
2020-11-27 20:24:21 +01:00
Diego Ruiz 386610f379
IDEMPIERE-4394 Date Field font color is not consistent with other readonly fields (#417) 2020-11-27 18:51:30 +01:00
Carlos Ruiz d885aaf4e6
IDEMPIERE-4268 Web Services : Read miss cross-tenant check (#415)
Co-authored-by: Heng Sin Low <hlow@trekglobal.com>
2020-11-26 20:22:18 +08:00
Carlos Ruiz 6eeabc49ba
IDEMPIERE-4566 Translation Import/Export - output message is not visible (#408)
- Deprecate zk form WTranslationDialog and controller TranslationController
- Move the logic to a java process org.idempiere.process.TranslationImpExp
- As a process works in mobile, can be called via webservices, tested with fitnesse, etc
- Importing leaves a better and readable log of each file processed
- Importing/Exporting gives feedback to the user about the file being processed

Side note:
- To standardize the menu - renamed the "Initial Client Setup Process" to "Initial Client Setup"

Improvements over the previous form:
- can process the files from the zip in root folder, or in internal folder with the name of the language
- can process a URL http/https to download the zip file
2020-11-26 16:20:17 +08:00
Carlos Ruiz 333d35a504
IDEMPIERE-4417 Cancel ASI selection not closing properly (#411)
Co-authored-by: Alan Lescano <alan.lesc1@gmail.com>
2020-11-26 12:41:49 +08:00
Carlos Ruiz 0cc35e16f8
IDEMPIERE-4554 PO is immutable - Workflow editor (#393)
- fix the PO is immutable errors
- forbid that system nodes are changed by non-system users
- system nodes are shown in gray
- reorganize layout of system workflows in editor
- make the nodes smaller
- fix the layout problem of name and properties dialogs
2020-11-26 10:02:48 +08:00
Carlos Ruiz 808773aa9f
IDEMPIERE-4528 Update Js Library (#410)
Restore sendDeferLayoutEvent - deprecated, to avoid breaking some plugins out there
2020-11-25 12:18:17 +01:00
hengsin 72f991d7a6
IDEMPIERE 4528 Implement namespace and versioning for JS library (#405)
* IDEMPIERE-4528 Update Js Library

Update html2canvas to 1.0.0.rc7

* IDEMPIERE-4528 Update Js Library

Use namespace/package and versioning for all js codes.
2020-11-24 12:35:24 +01:00
Carlos Ruiz d44fde9e08
IDEMPIERE-3566 shortcut key for process gear (alt + o) don't effect (#396) 2020-11-21 14:20:42 +08:00
Diego Ruiz 58e83d9faa
IDEMPIERE-4559 Customize and Process detail toolbar buttons are not clickable after creating a new record in the header (#390) 2020-11-19 13:41:36 +08:00
Diego Ruiz 254c871665
IDEMPIERE-4552 Process layout in some processes - OK button cannot be reached in mobile and small screens (#387) 2020-11-18 15:00:13 +01:00
Carlos Ruiz c954a055b2
IDEMPIERE-4468 Pass the current value of numberbox to the textfield of calculator (#385)
IDEMPIERE-2003 Capturing wrong numbers with numeric keypad when decimal separator is not dot

- Simplify the code for IDEMPIERE-4468 using Clients.evalJavaScript
- Fix IDEMPIERE-4468 to work in sync with IDEMPIERE-2003
- Improve IDEMPIERE-4468 to set the cursor at the end of the passed value
- Improve IDEMPIERE-2003 to insert the comma separator where the cursor is
- Simplify the code for IDEMPIERE-2003, there was a code calling setWidgetListener onKeyDown and doKeyPress_
  Probably required for old browsers, tested without that code with actual chromium and firefox and both worked perfect
2020-11-18 11:49:48 +08:00
Carlos Ruiz ca3da22f7b
IDEMPIERE-2418 Record Access Dialog Layout issue (#383)
Fix layout for desktop and mobile
Filter the role list to exclude System roles
2020-11-17 21:36:27 +08:00
hengsin 4125e5a10b
IDEMPIERE-4512 zk9.5 - Timeout page is not working (#386)
- Fix a javascript error when session timeout
- Add support for session timeout alert
2020-11-17 11:05:10 +01:00
hengsin 052a9e8474
IDEMPIERE-4512 zk9.5 - Timeout page is not working (#384) 2020-11-16 18:18:49 +01:00
Carlos Ruiz 3adbc9e00f
IDEMPIERE-4549 Detect broken theme configuration (#380)
* IDEMPIERE-4549 Detect broken theme configuration

* IDEMPIERE-4549 Detect broken theme configuration

make getTheme() synchronized

* Revert "IDEMPIERE-4549 Detect broken theme configuration"

This reverts commit 9044c7887064f217acea1051cd35c5c791ce47da.

Co-authored-by: hengsin <hengsin@gmail.com>
2020-11-15 06:32:33 +08:00
hengsin 9bb1836bcf
IDEMPIERE-4536 Allow minor customizations in default theme (#382)
only include fragment/custom.css.dsp if the file exists
2020-11-14 17:04:51 +01:00
Carlos Ruiz bf4935395a
IDEMPIERE-4544 Payment Selection cannot be used in mobile portrait (#377) 2020-11-13 18:15:52 +08:00
Carlos Ruiz 837c04f063
IDEMPIERE-4542 Cannot report from window _My Unprocessed Documents_ (#376) 2020-11-13 18:07:07 +08:00
Carlos Ruiz f3828f9cbf
IDEMPIERE-4545 Workflow activities - OK button cannot be reached in mobile (#378) 2020-11-13 04:55:01 +08:00
Diego Ruiz 6252cfa8a2
IDEMPIERE-4538 Dropdown button is slightly shifted on FindWindow and Payment Rule (#373) 2020-11-12 11:01:32 +08:00
Diego Ruiz 42f4226d9f
IDEMPIERE-4482 Minor change (#369) 2020-11-10 15:44:38 +01:00
Carlos Ruiz 6f8dfa58f2
IDEMPIERE-4536 Allow minor customizations in default theme (#368) 2020-11-10 20:15:59 +08:00
hengsin 4e121d20ee
IDEMPIERE-4529 Set Default Desktop Font size by Screen Width (#365) 2020-11-09 20:52:50 +01:00
hengsin e58902ec5d
IDEMPIERE-2490 java.lang.IllegalStateException: Form too large (#363)
replace the now defunc setting at jetty.xml with jetty-web.xml
2020-11-09 12:26:39 +01:00
Carlos Ruiz 649312b1d7
IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on the More area (#360)
Fix NPE in mobile mode
2020-11-08 21:54:09 +08:00
hengsin abab15b700
IDEMPIERE-4514 Grid View Layout Bug (#358)
* IDEMPIERE-4514 Grid View Layout Bug

Fix layout issue after drag and drop of tab

* IDEMPIERE-4514 Grid View Layout Bug

Default wrapping of column header only for mobile and small width screen
(< 700px)
2020-11-06 22:04:45 +08:00
Diego Ruiz ed7a7dcbde
IDEMPIERE-4525 Translate MailText in Print Invoices to the corresponding BP Language (#356) 2020-11-05 17:12:53 +01:00
Carlos Ruiz 9c9efa41d4
IDEMPIERE-4521 Release 8.1 - RC (#357)
Minor change to enable help text in triage servers for release testing
2020-11-05 17:04:02 +01:00
Carlos Ruiz ffd05346f9
IDEMPIERE-3921 DateTimeBox assigned Time format. (#354)
* IDEMPIERE-3921 DateTimeBox assigned Time format.

Use time pattern defined in language for time fields

* IDEMPIERE-3921 DateTimeBox assigned Time format.

Move setting format to constructor
2020-11-05 20:58:51 +08:00
Carlos Ruiz 210e54b05f IDEMPIERE-4521 Release 8.1 - RC
Change versions in pom and manifest files
2020-11-03 21:59:12 +01:00
hengsin 1e909ffb53
IDEMPIERE-4519 Zk: Implement optional defer rendering for Grid View (#350) 2020-11-03 15:40:36 +01:00
Carlos Ruiz 88dff840ac
IDEMPIERE-3340 (#351)
* Revert "IDEMPIERE-3340 Fixes for oracle migration scripts (#346)"

This reverts commit db7b9db43c.

* Revert "IDEMPIERE-3340: Tree Structurable User Favorite (#334)"

This reverts commit 01d52fbfef.
2020-11-03 15:40:17 +01:00
hengsin 5ceae6cbe3
IDEMPIERE-4515 Mobile: Paging control at detail pane overlapped with toolbar (#349)
- Use more compact layout for small width screen
- Always enable click to popup for status message for small width screen
2020-11-03 14:05:05 +01:00
hengsin d046842ef5
IDEMPIERE-4514 Grid View Layout Bug (#348) 2020-11-03 13:58:54 +01:00
Carlos Ruiz f43883f795
IDEMPIERE-4517 Some messages missing - toolbar (#347) 2020-11-02 23:11:08 +08:00
Deepak Pansheriya 01d52fbfef
IDEMPIERE-3340: Tree Structurable User Favorite (#334) 2020-11-02 19:28:03 +08:00
hengsin 2c5362ec1f
IDEMPIERE-4514 Grid View Layout Bug (#339)
Fix NPE

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-10-31 17:18:07 +01:00
Carlos Ruiz c13dcc1d60
IDEMPIERE-4514 Grid View Layout Bug (#341)
Fix Null Pointer Exception
2020-10-31 17:12:35 +01:00
Carlos Ruiz 59bd3ab106
IDEMPIERE-2902 UX: Implement Radio buttons (#340)
Fix zoomable label decoration
2020-10-31 17:11:24 +01:00
hengsin c02dde975b
IDEMPIERE-2902 UX: Implement Radio buttons (#337)
Fix zoom
2020-10-31 17:07:11 +01:00
hengsin 904c8131be
IDEMPIERE-4514 Grid View Layout Bug (#336)
Fix issue with first time switching of detail tab.
2020-10-31 15:24:44 +01:00
hengsin 8a1301b1fc
IDEMPIERE-4514 Grid View Layout Bug (#333) 2020-10-30 16:35:25 +01:00
hengsin e1cf1ada4d
IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on th… (#332)
* IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on the More area

* IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on the More area

remove unuse code.

* IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on the More area

add sysconfig record for ZK_TOOLBAR_SHOW_MORE_VERTICAL
2020-10-29 13:30:00 +01:00
hengsin 70997ff85c
IDEMPIERE-4499 zk9.5 - Popup menu disappear quickly for buttons on the More area (#329)
Change to use the mobile overflow popup
2020-10-28 21:26:44 +08:00
hengsin a6f451606d
IDEMPIERE-4482 Mobile Improvements - Font (#328)
For mobile, a uniform default font-size of 16 for everything (including
z-icon and z-group-icon) seems to work better.
2020-10-28 10:00:41 +08:00
Carlos Ruiz b005dd503f
IDEMPIERE-4482 Mobile Improvements - Font (#327)
Fix error on collapse icon on field groups
2020-10-27 19:23:58 +01:00
hengsin 00e94b12ef
IDEMPIERE-2902 UX: Implement Radio buttons (#326)
* IDEMPIERE-2902 UX: Implement Radio buttons

Integrate contribution from TrekGlobal
TC-188 Port RadioGroup field editor from AP2-19
added "Radio Group List" field type

* IDEMPIERE-2902 UX: Implement Radio buttons

Peer review
* Configure correctly wrong Validation Rule
* Fix wrong DisplayLogic from this ticket and also from other recently added features on fields:
Attribute > Attribute > Reference Key
Attribute > Attribute > Dynamic Validation
Info Window > Column > Reference Key
Info Window > Column > Dynamic Validation
Registration Attributes > Attribute > Reference Key
Table and Column > Column > Dynamic Validation
Table and Column > Column > Dynamic Validation (Lookup)
Table and Column > Column > Reference Key
Web Service Security > Web Service Field Input > Reference Key
Window Customization > Field Customization > Reference Key
Window Customization > Field Customization > Dynamic Validation
Window Customization > Field Customization > Dynamic Validation (Lookup)
Window, Tab & Field > Field > Reference Key
Window, Tab & Field > Field > Dynamic Validation
Window, Tab & Field > Field > Dynamic Validation (Lookup)
* For testing and UX, configure as Radio Group:
Broadcast Message > Broadcast Message > Target
Field Group > Field group > Field Group Type

* IDEMPIERE-2902 UX: Implement Radio buttons

* For testing and UX, configure as Radio Group in detail tab:
Info Window > Process > LayoutType

* IDEMPIERE-2902 UX: Implement Radio buttons

- Fix radio group editor lost track of selectedItem after page detached
and attached
- Standardized the construction of editors from editor factory
- Remove unnecessary refresh for list/lookup based readonly editors
created by grid view (fixed editor is not readonly during init())

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-10-27 19:17:56 +01:00
Diego Ruiz 78393af99d
IDEMPIERE-4510 Add New to the toolbar search query combobox (#325)
* IDEMPIERE-4510 Add New to the toolbar search query combobox

* IDEMPIERE-4510 changed the if for a more defensive programming style

* IDEMPIERE-4510 Change placeholder text to Select Query to improve UX

* IDEMPIERE-4510 Modify migration scripts
2020-10-27 19:07:22 +01:00
Carlos Ruiz 86732d69b7
IDEMPIERE-4482 Mobile Improvements - Font (#324)
* IDEMPIERE-4482 Mobile Improvements - Font

Change font to improve the L&F

* Move font-family to generic definition in theme.css.dsp

* Remove unnecessary font-family settings
2020-10-28 01:07:02 +08:00
hengsin 237df8203c
IDEMPIERE-4509 Grid View Horizontal scrolling is not working well (#323)
Disable the use of Frozen
2020-10-27 07:19:30 +08:00
hengsin 9162b60af7
IDEMPIERE-4498 Performance: add cache for osgi services factory (#321)
* IDEMPIERE-4498 Performance: add cache for osgi services factory

add cache for tableName -> IModelFactory

* IDEMPIERE-4498 Performance: add cache for osgi services factory

implement cache for the discovery of osgi services

* IDEMPIERE-4498 Performance: add cache for osgi services factory

added unit test
2020-10-26 18:53:10 +01:00
Deepak Pansheriya 17dd85d34d
IDEMPIERE-4505: Add new criteria after slected record on advanced tab on Lookp Dialog. (#315) 2020-10-26 11:21:07 +08:00
Deepak Pansheriya 692533fda5
IDEMPIERE-4506: When using font icon, changing Calendar theme to grey (#318) 2020-10-26 10:32:17 +08:00
Carlos Ruiz 014b45246f
Idempiere 4058 (#312)
* IDEMPIERE-4058 - tab editor: new options for editing and customizing fields (window customization)

* IDEMPIERE-4058 tab editor: new options for editing and customizing fields (window customization)

Fix issues with migration scripts

Co-authored-by: muriloht <muriloht@devcoffee.com.br>
2020-10-21 15:47:56 +02:00
Carlos Ruiz ea6e77b5dd
IDEMPIERE-4468 Pass the current value of numberbox to the textfield of calculator (#311)
Fix NPE
2020-10-21 14:48:24 +02:00
Deepak Pansheriya 78f388d450
IDempiere-2999: on Attribute adding all reference type support except… (#287)
* IDempiere-2999: on Attribute adding all reference type support except path, images.

* IDEMPIERE-2999 : Removing isQuickForm reference from migration script and fixing url issue.
2020-10-21 13:58:23 +02:00
Deepak Pansheriya 08f6fb17d3
IDEMPIERE-3981: FindWindow - Overwrite isSelection at field level, Va… (#249)
* IDEMPIERE-3981: FindWindow - Overwrite isSelection at field level, Validation Rule overwrite for Find window, Extended search and advanced hiding options.

* IDEMPIERE-3981: Correcting migration script as per Carlos' code review finding

* IDEMPIERE-3981: Fixing as per code review comment
Co-authored-by: muriloht muriloht@devcoffee.com.br

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-10-21 13:32:25 +02:00
Carlos Ruiz a60dd24533
IDEMPIERE-4495 github code scanning alerts (#308)
* IDEMPIERE-4495 github code scanning alerts

Failure to use secure cookies

* Failure to use secure cookies - one more

* Fix: Arbitrary file write during archive extraction ("Zip Slip")

* Fix: Resolving XML external entity in user-controlled data
2020-10-18 11:04:54 +08:00
hengsin 2b9cb9bb2e
IDEMPIERE-4497 Mobile: Update PDF.JS (#306)
* IDEMPIERE-4497 Mobile: Update PDF.JS

* IDEMPIERE-4497 Mobile: Update PDF.JS

archive and simple pdf viewer

* IDEMPIERE-4497 Mobile: Update PDF.JS

change ZK_USE_PDF_JS_VIEWER sysconfig level to Client level (C)
2020-10-17 17:55:11 +02:00
Nicolas Micoud 4856ca67fc
IDEMPIERE-4461 : Feedback email recipient(s) : add flexibility (#261)
* IDEMPIERE-4461 : Feedback email recipient(s) : add flexibility

Search recipients in SysConfig and if not found, fallback on System.SupportEMail

* IDEMPIERE-4461 : Feedback email recipient(s) : add flexibility

fixes suggested by @hengsin

Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
2020-10-16 23:22:19 +08:00
hengsin a21fe225e1
IDEMPIERE-4493 Mobile: Animation for Swipe Gesture (#301) 2020-10-16 11:46:48 +02:00
igorpojzl 3246bb8b1e
IDEMPIERE-4459 Info Window Customization (#259)
* IDEMPIERE-4459 Info Window Customization - Added Java Models

* IDEMPIERE-4459 Update Model AD_UserDef_Info_Column

* IDEMPIERE-4459 Added Migration scripts

* IDEMPIERE-4459 User Definition Info Column Added

Added Business Logic for Info Window Customization for Info Columns. Added InfoColumnVO for storing InfoColumn Data filtered with User Definition.

* IDEMPIERE-4459 Added Migration Scripts to Update Columns

Allow Update AD_Role_ID, AD_Language, AD_User_ID in AD_UserDef_Info table.

* IDEMPIERE-4459 Info Window Customisation - Updated Migration scripts

* IDEMPIERE-4459 Migration Script Fix

* IDEMPIERE-4459 Info Window Customization - Update Java Models

* IDEMPIERE-4459 Apply Migration Patch

* IDEMPIERE-4459 Info Window Customization - Update Models

* IDEMPIERE-4459 Apply Patch 2 fix.

* IDEMPIERE-4459 Info Related Cust. Added, Info Window Cust. Implementation..

* IDEMPIERE-4459 Info Related isDisplay added

* IDEMPIERE-4459 Added Display Logic for Info Related

* IDEMPIERE-4459 Fix SeqNo for InfoColumns

* IDEMPIERE-4459 Fix Patch 3
2020-10-16 11:41:50 +02:00
Deepak Pansheriya b8e9e455f1
IDEMPIERE-4487: Fixing issue that date time editor not showing time part. (#288) 2020-10-15 19:17:19 +02:00
hengsin 1addf52f7e
IDEMPIERE-4482 Mobile Improvements (#299)
make toolbar and message overflow link easier to click
2020-10-15 10:34:32 +02:00
hengsin 91c72fd978
IDEMPIERE-4482 Mobile Improvements (#297)
* IDEMPIERE-4482 Mobile Improvements

* IDEMPIERE-4482 Mobile Improvements

minor line height fix for process dialog's message area

* IDEMPIERE-4482 Mobile Improvements

- fix issue with grid view column header height
- add customize grid view button to detail pane
- always show message as notifications for mobile
- fix some mobile layout issues
- default desktop font size to 14px
2020-10-14 11:07:18 +02:00
hengsin 6f2cc899d4
IDEMPIERE-4477 Upgrade to Zk 9.5.0 (#290) 2020-10-13 16:15:15 +02:00
Patric Massing 36f03b701a
IDEMPIERE-4468 - Pass the current value of numberbox to the textfield of calculator (#279) 2020-09-30 22:32:17 +08:00
hengsin 98ab98b28c
IDEMPIERE-4451 Executions.schedule should be executed asynchronously (#266)
onpiggyback should check whether's there's pending serverpush echo
2020-09-21 20:21:03 +02:00
hengsin dd2ef468b0
IDEMPIERE 4287 (#247)
* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
add support to make PO immutable

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- added thread safe Immutable and Copy cache implementation for PO.
- migrate most of PO cache to immutable and copy cache.
- added pos sales order test.

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- add test case for initial client setup and bank statement
- fix error for image editor, location editor, locator editor, initial
client setup, complete bank statement and migrate storage provider.

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- added ImmutablePOSupport interface. Model class implement this
interface for immutable PO support.
- remove usage of cache for transaction table (rfq, invoice, inventory).
- add getCopy method to some model class to support getting an
updateable copy of PO from the otherwise immutable PO cache.
- the added getCopy method is use to return updateable PO for indirect
PO reference, for e.g MColumn.getAD_Table() and MOrderLine.getProduct.
2020-09-21 14:03:00 +08:00
Nicolas Micoud 9509d95c7c
IDEMPIERE-4460 : User suggestions for field/context help : check perm… (#257)
* IDEMPIERE-4460 : User suggestions for field/context help : check permission

new method to check exclusion of a table for current role, used to determine if popups should be displayed or not

* IDEMPIERE-4460 : User suggestions for field/context help : check permission

Following @globalqss's recommandations : rename the method + add more controls inside

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

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-09-20 15:53:56 +02:00
igorpojzl dede5bd506
IDEMPIERE-4442 FIX NPE when locatorField is Empty (#260) 2020-09-18 21:38:15 +08:00
muriloht 6771a696cc
IDEMPIERE-4029 - global search element id (#255) 2020-09-16 14:08:12 +02:00
igorpojzl 7c096a4901
IDEMPIERE-4450 Info Window Performance (#251)
Pass ReadOnly Parameter to GridField from Info Window Column. For Better Performance of WTableDir Component.
2020-09-14 22:29:06 +08:00
igorpojzl e18d8001d4
IDEMPIERE-4442 Change Locator Dialog TableDirect (#242)
* IDEMPIERE-4442 Change Locator Dialog TableDirect

* IDEMPEIRE-4442 Fixed inconsitent Locator
2020-09-07 13:49:10 +02:00
hieplq bd03a89d1c
IDEMPIERE-4361:Date is subtracted by 1 day in certain cases (#240)
* IDEMPIERE-4361:Date is subtracted by 1 day in certain cases

sun.util.calendar.ZoneInfo consider offset and "daylight saving time" changed on range 1900-2037
for out of that range then offset always return raw offset, make date incorrect 1 day on some days

offset change by history can reference at:
https://en.wikipedia.org/wiki/Time_in_Vietnam#Time_in_French_Indochina
https://www.timeanddate.com/time/zone/vietnam/hanoi

database for all change
https://www.iana.org/time-zones

* IDEMPIERE-4361:Date is subtracted by 1 day in certain cases (wrong at client side)

when value set from server by DateBox.setValue(Date) it convert that time (without respect history change when out of range 1900 until 2037) to UTC but at client it respect history change when convert to display timezoen so make mismatch

* IDEMPIERE-4361:Date is subtracted by 1 day in certain cases (for datetimebox)

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-09-05 10:55:33 +02:00