Commit Graph

3147 Commits

Author SHA1 Message Date
hengsin 06698688ef
IDEMPIERE-5049 Zk Session and Desktop object not destroy immediately after logout (#994)
- Remove 5 second delay for remove of desktop after logout
- added X-PING custom http header for "ping" to index.zul
- added watch for disconnected desktop
2021-11-21 13:37:29 +01:00
hengsin 07202f7b61
IDEMPIERE-5049 Zk Session and Desktop object not destroy immediately after logout (#991) 2021-11-19 18:17:04 +01:00
hengsin d461b430d0
IDEMPIERE-4472 Window Advanced Search - Allow select column from window tabs - 2pack compatibility (#983)
Fix NPE
2021-11-16 11:25:21 +01:00
Saulo José Gil 33541ce204
IDEMPIERE-5012 org.idempiere.ui.zk.annotation.Form annotation (#982)
Expose Form annotation to other bundles
2021-11-16 05:20:55 +08:00
Carlos Ruiz 149a47b044
IDEMPIERE-5036 NPE auto-opening a process (#973) 2021-11-12 10:51:42 +08:00
hengsin 5469bddbda
IDEMPIERE-5035 Update of Dependency (November 2021) (#972) 2021-11-10 17:36:38 +01:00
Carlos Ruiz 0f31a07f43
IDEMPIERE-5034 NPE and other problems when a file is removed from store attachment filesystem (#971) 2021-11-10 09:41:30 +08:00
hengsin cbb3bf6614
IDEMPIERE-5024 Horizontal scrolling anomaly (#967) 2021-11-05 12:24:17 +01:00
hengsin ecfef9091b
IDEMPIERE-5023 Generate Shipment and Generate Invoice manual form not working correctly (#962) 2021-11-03 11:02:22 +01:00
Tony Snook dd89e1e8f5
IDEMPIERE-5022 fix BOM Viewer data pane sometimes showing incorrect information (#960) 2021-11-01 22:09:00 +08:00
hengsin ed4c1a81d0
IDEMPIERE-4472 Window Advanced Search - Allow select column from wind… (#959)
* IDEMPIERE-4472 Window Advanced Search - Allow select column from window tabs - 2pack compatibility

Based on pull request #170 from igorpojzl.
Difference from #170:
- use AD_Tab_UU instead of AD_Tab_ID
- use Combobox for table list

* IDEMPIERE-4472 Window Advanced Search - Allow select column from window tabs - 2pack compatibility

Fix attribute search

* IDEMPIERE-4472 Window Advanced Search - Allow select column from window tabs - 2pack compatibility

Merge patch from Carlos (increse length of AD_UserQuery.Code)
2021-11-01 22:05:49 +08:00
Carlos Ruiz 180b11bd65
IDEMPIERE-5020 Allow to show products without price in Info Product window (#957) 2021-10-29 15:35:40 +08:00
Carlos Ruiz 4e4a3d9bac
IDEMPIERE-4782 Multi-factor authentication (FHCA-2034) (#955)
- support for System user with access to multiple tenants
- default to re-register device when expired
2021-10-29 14:48:36 +08:00
hengsin ef7e2e9ba2
IDEMPIERE-4863 Enable save column width in WListBox (#956)
add size/index check
2021-10-28 16:27:15 +02:00
hengsin c4c5fed0fa
IDEMPIERE-5012 org.idempiere.ui.zk.annotation.Form annotation (#954)
change naming convention to follow other annotation based factory
2021-10-28 11:16:30 +02:00
hengsin 633c2e240f
IDEMPIERE-5012 org.idempiere.ui.zk.annotation.Form annotation (#944) 2021-10-23 15:11:49 +02:00
hengsin fe2b0bb966
IDEMPIERE-5011 Intermittent web client error at Firefox (#943)
- Desktop cleanup: fix timing issue with redirect
- index.zul: remove obsolete workaround for rmDesktop (desktop cleanup)
- serverpush.js: remove unreliable immediate stop of serverpush
2021-10-23 13:50:44 +02:00
hengsin 940586fa97
IDEMPIERE-5010 Info Panel show NPE at console (#941)
add null check
2021-10-22 13:38:30 +02:00
Carlos Ruiz d6d05d5fd1 IDEMPIERE-4988 NPE - Change Role 2021-10-22 13:27:46 +02:00
Orlando Curieles 0192bca743 IDEMPIERE-4988 Fix NPE on changeRole 2021-10-22 13:27:12 +02:00
hengsin 4759ae5c2b
IDEMPIERE-5001 add org.adempiere.base.annotation.Process annotation (#924)
* IDEMPIERE-5001 add org.adempiere.base.annotation.Process annotation

* IDEMPIERE-5001 add org.adempiere.base.annotation.Process annotation

minor refinement

* IDEMPIERE-5001 add org.adempiere.base.annotation.Process annotation

refine error handling

* IDEMPIERE-5001 add org.adempiere.base.annotation.Process annotation

refactor to follow closer the AnnotationBasedModelFactory naming
convention.
2021-10-22 12:38:10 +02:00
hengsin a73ce05875
IDEMPIERE-4999 Advanced Lookup on sub-tab of a window triggers a PSQL Exception (#939)
- Integrate patch from Tony Snook to fix issue with "product category"
and "Chosen Multiple Selection List" field
2021-10-22 12:23:39 +02:00
muriloht 2a4d5dded0
IDEMPIERE-4999 - fix advanced find and/or where clause (#934) 2021-10-21 14:51:43 +08:00
Tony Snook f25c1c9922
IDEMPIERE-5007 fix BOM Viewer only showing single level of BOM (#937) 2021-10-20 15:47:29 +08:00
Saulo José Gil aeb45c6192
IDEMPIERE-5005 - Chat window broken (#935)
* IDEMPIERE-5005 - Chat window broken

Fix event processing on chat window

* IDEMPIERE-5005 - Chat window broken

Removed confirm panel as it servers no other purpose than closing the
window.
2021-10-19 21:12:21 +08:00
hengsin 6a56596f10
Revert "IDEMPIERE-4770 - fix advanced find and/or where clause (#931)" (#933)
This reverts commit bba2be3514.
2021-10-18 20:44:08 +08:00
muriloht bba2be3514
IDEMPIERE-4770 - fix advanced find and/or where clause (#931) 2021-10-18 20:29:40 +08:00
gsjeffen eb3db56364
IDEMPIERE-4863 Enable save column width in WListBox (#883)
* IDEMPIERE-4863-1 Enable save column width in WListBox

This PR is the base for implementing save of column width of a wlistbox in forms and windows.

* IDEMPIERE-4863-1 Enable save column width in WListBox implementation example

This commit is showing examples implementation of this PR, it is for infoProductWindow and infoWindow
2021-10-12 09:27:26 +08:00
Diego Ruiz 859c30166b
IDEMPIERE-4964 - Status line message does not update when changing th… (#918)
* IDEMPIERE-4964 - Status line message does not update when changing the detail

* Update GridTab.java

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-10-11 20:06:01 +02:00
Carlos Ruiz 21f022f2af
IDEMPIERE-4990 Inconsistent product attribute order (#912) 2021-10-08 10:53:24 +02:00
Carlos Ruiz ca9aa33afb
IDEMPIERE-4986 Extend events to prefill email dialog variables from report window (#908)
* IDEMPIERE-4986 Extend events to prefill email dialog variables from report window

* IDEMPIERE-4986 Extend events to prefill email dialog variables from report window / also in new Attachment button

* IDEMPIERE-4986 Extend events to prefill email dialog variables from report window / change approach to constructor

* IDEMPIERE-4992 email from archive dialog
2021-10-08 16:28:45 +08:00
Nicolas Micoud 0509df7912
IDEMPIERE-4993 : Tab Editor do not show field group when opened at tenant level (#914) 2021-10-08 16:11:33 +08:00
muriloht c24270615e
IDEMPIERE-1386 - email from attachments dialog (#909)
* IDEMPIERE-1386 - email from attachments dialog

* IDEMPIERE-1386 - fix mobile suggested by CarlosRuiz-globalqss
2021-10-07 15:10:57 +02:00
Nicolas Micoud 222837abb4
IDEMPIERE-4946 : Add IsShowInDashboard, SeqNo and ImageURL on AD_UserDef_Info - fix NPE (#905) 2021-10-06 17:57:36 +02:00
hengsin 8fbac60b1a
IDEMPIERE-1250 Multiple BOM (formulas) support for mfg-light (#906)
* IDEMPIERE-1250 Multiple BOM (formulas) support for mfg-light

* IDEMPIERE-1250 Multiple BOM (formulas) support for mfg-light

Fix deprecation warnings

* Update 202109291600_IDEMPIERE-1250.sql

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-10-06 17:06:26 +02:00
Carlos Ruiz bf09581e12
IDEMPIERE-4915 Improvements to Preference Popup / fix NPE (#902) 2021-09-27 22:11:47 +08:00
Carlos Ruiz c27b31d6cc
IDEMPIERE-4952 Image icon missing for Notice, Request, Product and Business Partner tab / ZK_THEME_USE_FONT_ICON_FOR_IMAGE (#892) 2021-09-21 23:15:08 +08:00
Nicolas Micoud cfb9f4ab33
IDEMPIERE-4972 : Translate icon is missing when using font icons (#890)
* IDEMPIERE-4972 : Translate icon is missing when using font icons

Using Carlos's suggestion

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-09-21 15:01:48 +02:00
Nicolas Micoud a1da95cfff
IDEMPIERE-4946 : Add IsShowInDashboard, SeqNo and ImageURL on AD_User… (#866)
* IDEMPIERE-4946 : Add IsShowInDashboard, SeqNo and ImageURL on AD_UserDef_Info

* IDEMPIERE-4946 : Add IsShowInDashboard, SeqNo and ImageURL on AD_UserDef_Info

Use customized image from tenant level when opening the panel

* IDEMPIERE-4946 : Add IsShowInDashboard, SeqNo and ImageURL on AD_UserDef_Info - fix migration scripts name
2021-09-17 15:56:44 +02:00
hengsin 5f22f7f495
IDEMPIERE-4961 Minor performance enhancement for AD Window (#878)
* IDEMPIERE-4961 Minor performance enhancement for AD Window

* IDEMPIERE-4961 Minor performance enhancement for AD Window

Fix potential mtab not found issue with 2pack import.
2021-09-15 13:00:28 +02:00
hengsin 309eb5366f
IDEMPIERE-4960 Performance improvement for the opening of info window (#876)
* IDEMPIERE-4960 Performance improvement for the opening of info window

* IDEMPIERE-4960 Performance improvement for the opening of info window

Query.scroll and Query.list basically offer the same db performance, the
previous change is unnecessary.
2021-09-14 16:16:07 +02:00
hengsin ab12354cb4
IDEMPIERE-4959 Performance improvement for the opening of form window (#875)
* IDEMPIERE-4959 Performance improvement for the opening of form window

* IDEMPIERE-4959 Performance improvement for the opening of form window

minor cache name change.
2021-09-14 15:04:06 +02:00
hengsin 21c07785e8
IDEMPIERE-4958 Performance improvement for the opening of process dialog (#874)
* IDEMPIERE-4958 Performance improvement for the opening of process dialog

* IDEMPIERE-4958 Performance improvement for the opening of process dialog

Query.scroll and Query.list has similar db performance, the previous
change is not needed.
2021-09-14 14:09:55 +02:00
hengsin 55af0b0db3
IDEMPIERE-4942 Performance Measurement - NPE by opening the Performance Detail Window (#871)
add null check
2021-09-14 13:04:02 +02:00
hengsin 992ec3c219
IDEMPIERE-4952 Image icon missing for Notice, Request, Product and Business Partner tab (#869)
- Fix loading of image resource using IResourceFinder interface
- Include a one liner minor layout fix for TreeSearchPanel
2021-09-10 09:58:57 +02:00
hengsin f8c72c0451
IDEMPIERE-4949 Desktop tab enhancements (#868)
* IDEMPIERE-4949 Desktop tab enhancements
* ConfigurationLevel=C

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-09-08 13:40:00 +02:00
hengsin ae5a665dd8
IDEMPIERE-4933 Platform update for 9.x (#857)
* IDEMPIERE-4933 Platform update for 9.x

- WIP

* IDEMPIERE-4933 Platform update for 9.x

- project to repackaged some osgi bundles from maven

* IDEMPIERE-4933 Platform update for 9.x

- Fix target platform error

* IDEMPIERE-4933 Platform update for 9.x

* IDEMPIERE-4933 Platform update for 9.x

- minor eclipse setting fix
2021-09-04 16:12:10 +02:00
hengsin f1c663e100
IDEMPIERE-4937 Refreshing the GridTab after moving a node in the Tree (#860)
* IDEMPIERE-4937 Refreshing the GridTab after moving a node in the Tree

* IDEMPIERE-4937 Refreshing the GridTab after moving a node in the Tree

Use Trx object instead of context for event changes indicator.
2021-09-04 20:16:14 +08:00
Carlos Ruiz 39ad82ebf0
IDEMPIERE-4470 Window Advanced Search - New operator types: AND Not, Or Not (#850)
* IDEMPIERE-4470 Window Advanced Search - New operator types: AND Not, Or Not

Based on pull request 170
Co-authored-by: Igor Pojzl <igor.pojzl@cloudempiere.com>

* IDEMPIERE-4470 Window Advanced Search - New operator types: AND Not, Or Not

Rename migration scripts as suggested by Heng Sin
2021-09-03 22:20:50 +08:00
Nicolas Micoud 3cf82cbd78
IDEMPIERE-4940 : Allow to set title and defaultvalue for FDialog.askForInput (#856) 2021-09-03 13:35:11 +08:00
HideakiHagiwara bb35dbd8ce
IDEMPIERE-4917:Inject Context Variables from Menu to Info Window (#843)
Co-authored-by: jpiere <h.hagiwara@compiere-distribution-lab.net>
2021-09-03 13:31:36 +08:00
Carlos Ruiz a9170b4444
IDEMPIERE-4927 Header mobile not showing menu and searchbox when username is too long (#851)
* IDEMPIERE-4927 Header mobile not showing menu and searchbox when username is too long

* IDEMPIERE-4927 Header mobile not showing menu and searchbox when username is too long / peer review

Co-authored-by: a_lara <alara@ghintech.com>
2021-08-30 14:14:32 +02:00
Deepak Pansheriya 96baf0b7cd
IDEMPIERE-2853: Support for IADTabPanel as factory to add custom Tab … (#579)
* IDEMPIERE-2853: Support for IADTabPanel as factory to add custom Tab types
sh: q: command not found

* IDEMPIERE-2853: adding requested Java doc, fixing seq mismatch in oracle and postgresql, Using Interface method instead of manual isSortTab check,

* IDEMPIERE-2853: Adding default implementation for isEnableCustomizeButton in IADTabpanel

* IDEMPIERE-2853: renaming reference label and Added support for allowing implementor to update toolbar state.

* IDEMPIERE-2853: Fixing compilation issue due to merging to master branch
2021-08-30 13:56:34 +02:00
hengsin f912cf2c21
IDEMPIERE-701 Implement solving indirect context (#828)
* IDEMPIERE-701 Implement solving indirect context

- implement for tab display logic and readonly logic

* IDEMPIERE-701 Implement solving indirect context

- make use of parent gridtab for indirect context resolution
2021-08-20 13:47:25 +08:00
hengsin 8cc3a2a33f
IDEMPIERE-4915 Improvements to Preference Popup (#835)
* IDEMPIERE-4915 Improvements to Preference Popup

* IDEMPIERE-4915 Improvements to Preference Popup

- Move MY_PROFILE_MENU_ID to SystemIDs
2021-08-18 13:15:07 +08:00
hengsin ac01e77a40
IDEMPIERE-4880 Replace iText PDF with OpenPDF (#837) 2021-08-17 18:44:32 +02:00
hengsin 54d25d21ac
IDEMPIERE-4916 Upgrade html2canvas to 1.3.1 (#836) 2021-08-17 18:02:25 +02:00
hengsin 5314a5d0a5
IDEMPIERE-3646 statusupdate should only be shown on its own tab (#834) 2021-08-17 16:15:52 +02:00
hengsin f8fbf5f3bb
IDEMPIERE-1351 Quick Entry when Field can not zoom to 2 different windows (#829) 2021-08-17 16:07:13 +02:00
Armen Hovhannisyan b8437b2c23
IDEMPIERE-4867 Updating moving node by PO (#810)
* Using PO update for all node that's being updated

* Using saveEx(trxName) when saving PO for all updated nodes

* Checking PO.is_Changed() and using saveEx(trxName) when saving PO for all updated nodes
2021-08-12 23:24:11 +08:00
Carlos Ruiz 5ede13acee
IDEMPIERE-4908 Not unique in the ID space of ... breadcrumb with same name tabs (FHEG-8847) (#822) 2021-08-11 19:37:44 +08:00
Carlos Ruiz e41fcdea2f
IDEMPIERE-4140 Improvement to the layout of the info Windows (#820)
Implement suggestion from Flemming Birch to fix find dialog status count
Co-authored-by: gsjeffen <public@birch-rasmussen.dk>
2021-08-07 12:15:39 +02:00
Carlos Ruiz 63c327dde4
IDEMPIERE-4902 : Record migration scripts with Dictionnary EntityType (#817)
minor - remove eclipse warning
2021-08-05 17:07:25 +02:00
Nicolas Micoud 997018233f
IDEMPIERE-4902 : Record migration scripts with Dictionnary EntityType (#816)
* IDEMPIERE-4902 : Record migration scripts with Dictionnary EntityType

* IDEMPIERE-4902 : Record migration scripts with Dictionnary EntityType - fix migration scripts

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

* IDEMPIERE-4902 : Record migration scripts with Dictionnary EntityType - move migration scripts to i8.2

* IDEMPIERE-2523

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

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-08-05 14:51:14 +02:00
Carlos Ruiz db22889fa1
IDEMPIERE-4140 cph::erp Improvement to the layout of the info Windows (#807)
Co-authored-by: gsjeffen <public@birch-rasmussen.dk>
2021-07-30 11:01:03 +02:00
hengsin 3e7dd1f7f7
IDEMPIERE-4410 Review Shortcuts (probably ESC) for all popovers, moda… (#795)
* IDEMPIERE-4410 Review Shortcuts (probably ESC) for all popovers, modals, dialogs

add esc shortcut for customize grid view, attachment, csv import loader,
export, file import loader, chat and post it dialogs.

* IDEMPIERE-4410 Review Shortcuts (probably ESC) for all popovers, modals, dialogs

- add esc handling to more dialog and popup.

* IDEMPIERE-4410 Review Shortcuts (probably ESC) for all popovers, modals, dialogs

- add esc shortcut to process modal dialog.

* IDEMPIERE-4410 Review Shortcuts (probably ESC) for all popovers, modals, dialogs

- Fix esc handling for numberbox, image dialog, email dialog, media
dialog and cloud upload dialog.
2021-07-27 21:43:28 +02:00
hengsin f5dc3ba2c8
IDEMPIERE-4059 Print format editor (#794) 2021-07-26 14:42:29 +02:00
hengsin 8f758ed904
IDEMPIERE-1994 Ability to organise process and report parameters by F… (#791)
* IDEMPIERE-1994 Ability to organise process and report parameters by Field Group functionality

* IDEMPIERE-1994 Ability to organise process and report parameters by Field Group functionality

Fix collapsed by default not working.
2021-07-24 11:05:49 +02:00
Nicolas Micoud a4dfd191ec
IDEMPIERE-4858 : CreateTable process (#774)
* IDEMPIERE-4858 : CreateTable process

* IDEMPIERE-4858 : CreateTable process - fixes

Changes following Carlos's remarks - see details in the ticket

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

* IDEMPIERE-4858 : CreateTable process - fixes migration scripts

See details in ticket

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

* IDEMPIERE-4858 : CreateTable process - various fixes

fix migration scripts names / constants in uppercase / remove check of table length

* IDEMPIERE-4858 : CreateTable process - various fixes

default value for EntityType param / replace numeric name/value params by boolean ones / enhance creation of system element (name/print name/description)
see https://idempiere.atlassian.net/browse/IDEMPIERE-4858?focusedCommentId=47325

* IDEMPIERE-4858 : CreateTable process : optional columns

* IDEMPIERE-4858 : CreateTable process : remove wrong temporary migration scripts

* IDEMPIERE-4858 : CreateTable process :

add org.adempiere.base.process as required plugin (and not as imported package)
add missing content on migration scripts

* IDEMPIERE-4858 : CreateTable process : fixes / reordering / renaming

Failed creating Description column: ** Fill mandatory fields: : Length
Value and DocumentNo are not usually mandatory
Some minor reordering and renaming of variables

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

* IDEMPIERE-4858 : CreateTable process : can be used to add columns on existing table

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

* IDEMPIERE-4858 : CreateTable process - fix default value for TableName parameter

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

* IDEMPIERE-4858 : CreateTable process  - restore default value for Description, Name and AccessLevel parameters

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

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-07-23 15:37:22 +02:00
hengsin 162c48ec4c
IDEMPIERE-4873 Jasper Report Starter Refactoring (#779) 2021-07-22 11:42:07 +02:00
hengsin 8d5cf4539d
IDEMPIERE-4887 Chosenbox: Make multi selection easier (#789) 2021-07-22 11:34:10 +02:00
hengsin c72d4609b1
IDEMPIERE-4864 Fix shortcut handling for combobox and ad window (#784)
Fix focus issue after closing of Process Info Dialog.
2021-07-20 11:17:54 +02:00
hengsin 3dcef18868
IDEMPIERE-4841 Info Window: Implement auto hide empty columns (#781) 2021-07-15 17:03:33 +02:00
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