Commit Graph

2926 Commits

Author SHA1 Message Date
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 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 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 6c5d54d7f7 IDEMPIERE-4604 Release 8.2
Fix import warnings
2020-12-20 09:53:49 +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
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
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
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
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 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
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 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
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
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
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
hengsin 9d614b985e
IDEMPIERE-4424 (#222)
* IDEMPIERE-4424 Concurrent update not prevented in Grid View

Grid View - change click navigation to follow the same flow as toolbar
navigation.

* IDEMPIERE-4424 Concurrent update not prevented in Grid View

GridTable - added Updated and Processed concurrency checked against PO.

* IDEMPIERE-4424 Concurrent update not prevented in Grid View

Incorporate fix suggested by Carlos
2020-08-27 12:40:44 +02:00
hengsin 0e9f36add9
IDEMPIERE-3197 Tab still keep editing indicator when move to next record (#229)
Update tab title after save
2020-08-24 18:39:27 +02:00
hengsin 64a46577a6
IDEMPIERE-4122 missing font icons (#231)
Integrate patch from Murilo
2020-08-24 12:31:40 +02:00
Carlos Ruiz a68c5f1968
IDEMPIERE-4425 Find Window improvements (#219) 2020-08-21 13:07:01 +02:00
hieplq 23ed373e5d
IDEMPIERE-4413:Change Role, disfunction all keyboard shortcuts (#216)
remove keydown handle at client side
2020-08-20 08:47:01 +02:00
Carlos Ruiz 7892c54aa1
IDEMPIERE-4386 setAD_User_ID() breaks when logged in as System user (#188)
* IDEMPIERE-4386 setAD_User_ID() breaks when logged in as System user

Allow saving Tab Customization for System user

* IDEMPIERE-4386 setAD_User_ID() breaks when logged in as System user

Fix copy/paste error

* IDEMPIERE-4386 setAD_User_ID() breaks when logged in as System user

Implement same suggestion on all the classes where setAD_User_ID must be allowed to explicitly set to System
There were already two classes with the Override approach: MUserPreference and MUserRoles, so this commit is to apply the same approach to all the classes with same approach
2020-08-13 18:20:59 +08:00
hengsin a3e25375fe
IDEMPIERE-4396 Allow idempiere forms sort by header (#205)
sync model after sort
2020-08-05 10:10:51 +02:00
igorpojzl fc0c7ed81c
IDEMPIERE-4397 Hide ProcessModalDialog in Autostart (#204)
Show only BusyDialog when autostarting process.
2020-08-04 23:46:55 +08:00
hengsin a4bfdb27e7
IDEMPIERE-4391 Product Info - columns are not hidden, when remove wh/pl (#200)
render header again if number of columns change
2020-08-03 17:12:07 +02:00
hengsin 80146138ac
IDEMPIERE-4382 Locator Editor inconsistent in the application of filter (#183)
pass ValidationCode to MLocatorLookup
Fix dynamic display support
Fix filter for grid view
Fix locator dialog not open with the selected locator
2020-07-26 12:49:43 +02:00
hengsin 28213b9b9f
IDEMPIERE-1540 Autocomplete for field type "Search" (#179)
Do not count duplicate record id more than once (some infowindow, like
bpinfo have multiple rows with same record id)
2020-07-26 10:23:28 +02:00
hengsin 1c96affdde
IDEMPIERE-4322 Sort tab does not support virtual column identifier an… (#173)
* IDEMPIERE-4322 Sort tab does not support virtual column identifier and identifiers with different data type

add support for virtual column identifier
concat multiple identifier instead of taking the first not null value

* IDEMPIERE-4322 Sort tab does not support virtual column identifier and identifiers with different data type

Change to use DB.TO_CHAR.
Other condition (parent, key etc) shouldn't exclude IsIdentifier since
the UI allows it.
2020-07-25 12:15:10 +02:00
Diego Ruiz 763876cca3
IDEMPIERE-4380 Inconsistencies with selected filter query on tab navigation (#181)
* IDEMPIERE-4380 Inconcistencies with selected filter query on tab navigation

* IDEMPIERE-4380 Heng Sin Peer review
2020-07-24 20:34:30 +08:00
hengsin a88d766078
Idempiere 4374 (#178)
* IDEMPIERE-4374 CSS Field Style not working for WSearchEditor

fix css field style not working for WSearchEditor

* IDEMPIERE-4374 CSS Field Style not working for WSearchEditor

fix css
2020-07-22 14:27:51 +02:00
Carlos Ruiz be063cbd1e
IDEMPIERE-4368 Allow Define Default Saved Query for User / fix problem with recent items and zoom (#176) 2020-07-21 14:14:54 +02:00
hengsin cc76e63d85
IDEMPIERE-4372 Performance: only add log record and sql statement to … (#172)
* IDEMPIERE-4372 Performance: only add log record and sql statement to context if trace/debug level <= debug/info

Minor clean up and thread safe fix for CLogErrorBuffer and MIssue
Only add LogRecord and SQL to context if TraceLevel is <= INFO

* IDEMPIERE-4372 Performance: only add log record and sql statement to context if trace/debug level <= debug/info

add back DB.isConnected check
remove redundant CLogErrorBuffer call from DB.isConnected
more fine grained synchronization
2020-07-21 12:25:20 +02:00
igorpojzl dd2b24aafa
IDEMPIERE-4368: Allow Define Default Saved Query for User (#169)
* Update AD_UserQuery models

* Implementation of initializing Default User Queries

* Added Migration Scripts

* Update 202007161400_IDEMPIERE-4368.sql

Added missing register_migration_script.

* IDEMPIERE-4368 Added missing script.

* IDEMPIERE-4368 Allow Define Default Saved Query for User

Fix Load defaults only on Initialization.

* IDEMPIERE-4368

Move Migration Script to 7.1 folder

* IDEMPEIRE-4368

Apply of patch.
2020-07-20 14:51:48 +02:00
Carlos Ruiz 2d70a1a169
IDEMPIERE-1117 Attachment -> Disable preview over certain size (#145)
* IDEMPIERE-1117 Attachment -> Disable preview over certain size

New SysConfig key ZK_MAX_ATTACHMENT_PREVIEW_SIZE

* IDEMPIERE-1117 move scripts to 7.1
2020-07-14 21:51:17 +08:00
Carlos Ruiz d6e5cdc26a
IDEMPIERE-1052 Improve Performance using Search instead of Table/Table Direct (#159)
WSearchEditor broken when importing detail CSV

Merging this pull request tested locally (without peer review) as an emergency.
2020-07-03 20:56:48 +02:00
Carlos Ruiz 11c9ad6c59
IDEMPIERE-1052 Improve Performance using Search instead of Table/Table Direct (#148)
Integrate patch from Heng Sin
--> Fix Copy Record issue (handling of invalid value)
2020-07-01 15:44:59 +02:00
Nicolas Micoud 1f3b782215
IDEMPIERE-1890 : BroadcastMessageWindow Updates : add a vertical scrollbar (#142) 2020-06-27 11:46:46 +02:00
Diego Ruiz 5f0e895d88
IDEMPIERE-4345 zk9 - Payment selection (Manual) open with header collapsed (#137) 2020-06-25 17:47:04 +02:00
Carlos Ruiz 10771a7408
IDEMPIERE-4254 get oracle error ORA-01795 when has more than 1000 org (#109) 2020-06-09 23:26:44 +07:00
Carlos Ruiz 37e82005b5
IDEMPIERE-4329 Cleanup eclipse warnings (#107)
* IDEMPIERE-4329 Cleanup eclipse warnings

Clean unused imports

* IDEMPIERE-4329 Cleanup eclipse warnings

Clean some additional warnings
Make org.adempiere.base to respect the Warnings/Errors level configuration from workspace

* IDEMPIERE-4329 Cleanup eclipse warnings

One more unused import caused by the previous commit
2020-06-09 12:26:36 +02:00
hengsin 8f052b4081
IDEMPIERE-4237 timeout page continue do comet request and log a lot message (#100)
Revert SC_NO_Content for error bad to SC_BAD_REQUEST so that the failure
count at client side will work.
Add session timeout/notfound checking at client side.
2020-06-03 21:17:52 +08:00
hengsin f2cbbc662d
IDEMPIERE-1540 Autocomplete for field type "Search" (#91)
Refactoring
Fix table/tabledir auto refresh
Fix MLookupInfo.clone
2020-06-01 15:29:04 +02:00
hengsin 5718645bc6
IDEMPIERE-1540 Autocomplete for field type "Search" (#89)
Fix ClassCastException
2020-05-30 11:53:11 +07:00
hengsin fc56a2a205
IDEMPIERE-1540 Autocomplete for field type "Search" (#88)
Fix search column for auto complete
2020-05-29 18:08:39 +02:00
hengsin baac93f9e0
IDEMPIERE-4307 Quick Entry always retrieve all fields from db (#83)
add cache for MField
2020-05-29 13:38:15 +02:00
hengsin e9e7486473
IDEMPIERE-1540 Autocomplete for field type "Search" (#79)
* IDEMPIERE-1540 Autocomplete for field type "Search"

Implement auto complete for search field

* IDEMPIERE-1540 Autocomplete for field type "Search"

Add support for isAutoComplete flag (default is off).
Add isAutoComplete to AD_UserDef_Field, AD_InfoColumn and
AD_Process_Para.
Performance improvement - reduce number of queries for autocomplete and
added some cache.

* IDEMPIERE-1540 Autocomplete for field type "Search"

add constant for auto complete query timeout
use union all to further reduce the number of queries
2020-05-29 13:25:24 +02:00
Diego Ruiz 4eac03ba0f
IDEMPIERE-4304 Saved Query duplicates if use to save after sharing (#81)
* IDEMPIERE-4304 Saved Query duplicates if use to save after sharing

* IDEMPIERE-4304 Saved Query duplicates if use to save after sharing - Replaced JDBC call for Query
2020-05-23 00:23:42 +02:00
Carlos Ruiz 89faa3ac49
IDEMPIERE-2523 improve method to add comment to log script (#75)
#resolve IDEMPIERE-2523
2020-05-20 20:09:23 +02:00
hengsin 5550a9633c
IDEMPIERE-4300 DashboardPanel subclass should not cache Env Ctx (#70)
Remove Env.getCtx() cache
2020-05-19 16:19:41 +02:00
Nicolas Micoud c5038a33ca
IDEMPIERE-4150 : Right click / New/Update not visible with duplicated windows (#50)
Also use ZoomConditions for Table/TableDirect editors
2020-05-19 13:56:52 +02:00
Hideaki Hagiwara 2e065e6e61
IDEMPIERE-4293 Excel that download from Info Window is displayed ID Number (#67) 2020-05-19 13:47:27 +02:00
Carlos Ruiz fd72ce3d1b IDEMPIERE-3333 - extend the usage of the new MReportView to other places where is suggested as best practice 2020-05-14 18:58:16 +02:00
Patric Massing cc159a3e53
IDEMPIERE-4288 zk9 - Editor-Dialog: Not Allowed to set height and rows at the same time (#56) 2020-05-13 17:13:25 +02:00
hengsin a84c1eac2f
IDEMPIERE-4277 Sizing error for Info Window and Error message popup (#42)
Fix size error of infowindow's parameter panel and ad window's error
message popup.
2020-05-09 08:42:13 +02:00
hieplq@hasuvimex.vn 4fcd450ffd IDEMPIERE-3233:process dialog:deduce refresh tab when run a process 2020-05-09 07:59:28 +02:00
Deepak Pansheriya df6b9c8c22
IDEMPIERE-4157: Removing open quick form tracking from sessionManager, Adding support for tool tip translation (#36) 2020-05-08 13:25:06 +02:00
Diego Ruiz a77a991b9f
IDEMPIERE-1035 hard to find exceptions when using restrictive rights … (#21)
* IDEMPIERE-1035 hard to find exceptions when using restrictive rights - Improve not access to workflow message

* IDEMPIERE-1035 hard to find exceptions when using restrictive rights - Improve not access to workflow message
2020-04-30 22:07:24 +02:00
hengsin c3cad0d1e2
IDEMPIERE-4249 Platform Refresh for 7.1z (#19)
Upgrade to Tycho 1.7.0, Eclipse 2020-03, Zk 9.0.1 and Jetty 9.4.28
2020-04-30 16:01:19 +02:00
Carlos Ruiz 69af9e8fc4
IDEMPIERE-4258 Error runnig Jasper file on Report (#18) 2020-04-30 15:05:18 +02:00
Nicolas Micoud 0ddc26be2f IDEMPIERE-4247 WTableDirEditor - missing public methods 2020-04-29 19:05:42 +02:00
Carlos Ruiz 190ef9d75c Merge release-7.1 into master 2020-04-26 13:45:06 +02:00
Diego Ruiz 7fa724f1ee IDEMPIERE-3611 line with missing mandatory content disappears when save in detail tab 2020-04-24 20:44:36 +02:00
Carlos Ruiz 09d2f9a1e3 IDEMPIERE-4253 Duplicated FillMandatory message on process dialogs 2020-04-23 21:08:43 +02:00
hengsin 7fc71f8e9e IDEMPIERE-4252 Remove usage of vflex/height + rows. 2020-04-22 16:46:18 +08:00
Carlos Ruiz 43c8485b76 Merge release-7.1 into master 2020-04-18 18:44:51 +02:00
hengsin d059ae50b0 IDEMPIERE-4206 Session timeout shown sometimes when changing roles. Fix theme preference lost after change role. 2020-04-14 20:33:58 +08:00
hengsin c8b8e00202 Merge remote-tracking branch 'origin/release-7.1' 2020-04-06 12:28:46 +08:00
hengsin b82156200a IDEMPIERE-4206 Session timeout shown sometimes when changing roles
Do not create new http session and do not use http redirect.
2020-04-06 11:35:20 +08:00
hengsin db0aafb3dc Merge branch 'origin/release-7.1' 2020-04-03 20:09:59 +08:00
hengsin 61098bdf3c IDEMPIERE-4206 Session timeout shown sometimes when changing roles
Simplify Serverpush Code - remove retries and warning that just slow down
things and doesn't really help.
Change Role - With session invalidated and all components removed, there
isn't need to destroy desktop.
2020-04-03 20:07:16 +08:00
HideakiHagiwara 628103ef94 IDEMPIERE-4226 Wrong tooltip at Tab title 2020-04-02 18:47:02 +02:00
hengsin ee4ec74a88 Merge branch 'origin/release-7.1' 2020-04-02 10:01:29 +08:00
hengsin 99cead1540 IDEMPIERE-4228 Align ServerPush implementation with Executions.schedule JavaDoc 2020-04-02 09:58:01 +08:00
Carlos Ruiz e10a5c9425 Merge release-7.1 into master 2020-04-01 15:27:45 +02:00
hengsin bf8f5ea8c1 IDEMPIERE-4206 Session timeout shown sometimes when changing roles 2020-04-01 17:19:18 +08:00
Carlos Ruiz b6898a8f99 Merge release-7.1 into master 2020-03-21 17:45:25 +01:00
Carlos Ruiz 8cd7b0661b IDEMPIERE-4216 Some text columns are wrongly edited as with length 32767 2020-03-21 16:35:29 +01:00
Carlos Ruiz 1e638f5a28 IDEMPIERE-3786 Number of records in detail grid must not be hardcoded 2020-03-21 11:50:46 +01:00
Nicolas Micoud 170739bf6f IDEMPIERE-4208 Preserve @ and # in HTML content 2020-03-18 14:11:45 +01:00
hengsin f6a8d4865d Merge origin/release-7.1 2020-03-17 17:44:47 +08:00
hengsin 0b41ffd3f8 IDEMPIERE-4210 Fix 2 Failed to resume long polling resource warning 2020-03-17 17:25:30 +08:00
Carlos Ruiz b886c593c8 IDEMPIERE-4209 Attachment button doesn't refresh when deleting the whole attachment 2020-03-13 21:53:49 +01:00
Carlos Ruiz 02647cc5ee Merge release-7.1 into master 2020-03-13 17:46:17 +01:00
Carlos Ruiz aecd058f25 IDEMPIERE-4198 Icon duplicated on report dialog when using Font icon 2020-03-13 15:18:44 +01:00
Carlos Ruiz 2d647c520a IDEMPIERE-4178 Replace NVL with Coalesce / partial revert of commit 2c639f - just the java part 2020-03-13 11:32:27 +01:00
Diego Ruiz 64b35a2e19 IDEMPIERE-4192 dont apply style on advanced search 2020-03-11 17:15:20 +01:00
hengsin 1b6aa35c97 IDEMPIERE-4205 Remove usage of applet 2020-03-11 18:13:42 +08:00
Carlos Ruiz b38452321f Merge release-7.1 into master 2020-03-10 18:30:52 +01:00
Diego Ruiz a3f0681d23 IDEMPIERE-4085 Search in toolbar 2020-03-10 18:24:42 +01:00
Diego Ruiz eae52b13ad IDEMPIERE-4192 Mandatory label red 2020-03-10 12:54:54 +01:00
hengsin 2642293c0a Merge release-7.1 into master 2020-03-08 20:24:05 +08:00
hengsin 501ef7479c IDEMPIERE-4197 Minor improvements to quick entry and location dialog layout 2020-03-08 20:20:19 +08:00
hengsin dfcb22fa5c IDEMPIERE-4196 Image Field: Not fully clickable on user window and doesn't maintain aspect ratio 2020-03-08 19:19:06 +08:00
hengsin 2d06047049 IDEMPIERE-4195 Add NPE check to SchedulerStateEditor 2020-03-08 17:18:31 +08:00
Carlos Ruiz 3a0f1d36b0 Merge release-7.1 into master 2020-03-07 12:08:07 +01:00
hengsin df5b0c2ea8 IDEMPIERE-4177 Replace SYSDATE with getDate() 2020-03-03 10:07:14 +08:00
hengsin e0906eb102 IDEMPIERE-4154 ServerPush Adjustments. Reduce sleep to 300ms, longer wait doesn't help. Log schedule failures count. cleanup editor cache listener if schedule fail. 2020-03-02 10:59:29 +08:00
Carlos Ruiz a2ade6340a Merge release-7.1 into master 2020-02-29 11:22:06 +01:00
Carlos Ruiz c4cef3b8de IDEMPIERE-4190 Implement Image Storage Provider (1006528) (FHCA-1165)
Peer review and tests:
* PO -> implement postDelete method to be called after the database delete is committed - fix issue about file being deleted from filesystem and commit failing because of referential integrity (for example deleting an image that is associated to a user)
* MArchive, MAttachment, MImage -> change deletion of file from before/afterDelete to postDelete
* MImage -> change getImageStoragePath from clientID/orgID to AD_Image/clientID (this is to allow using the same storage that attachments and archives uses, and avoid issues when changing org)
* MBPartner, MUser, MPOSKey -> delete associated image with postDelete
* ArchiveFileSystem -> fix issue not deleting the file in the filesystem when deleting the archive (using get_ID() on a deleted record returns zero)
* WImageEditor -> save automatically when creating a new image
* AttachmentFileSystem -> avoid trying to save attachment after is deleted
* ImageDBStorageImpl, MSysConfig -> Implement SysConfig IMAGE_DB_STORAGE_SAVE_AS_ZIP to save images in DB zipped - defaults to false which is the actual behavior
* ImageFileStorageImpl -> do not save file with extension, to fix error where previous file was not deleted when uploading a new file with different extension
2020-02-27 22:17:17 +01:00
Carlos Ruiz c5c3d8c743 IDEMPIERE-4157: Quick Form for fast data entry with keyboard -- peer review - minor changes 2020-02-26 16:09:28 +01:00
Deepak Pansheriya 434cbaf110 IDEMPIERE-4157: Quick Form for fast data entry with keyboard 2020-02-26 16:08:42 +01:00
hengsin ea1f86837d IDEMPIERE-4154 ServerPush Adjustments. Fix logging error. commitResponse should be ok as long as resource is available. 2020-02-26 11:01:09 +08:00
Carlos Ruiz 174ff192a4 IDEMPIERE-3545 Add plugin information in About window / fix index out of bounds issue - and avoid starting a fragment 2020-02-25 17:52:03 +01:00
hengsin 0871b81c87 IDEMPIERE-4154 ServerPush Adjustments. AtmosphereResource: use recommended suspend method for infinite suspend. ZkAtmosphereHandler: add server log for errors. serverpush.js: use POST to avoid cache issue, include session parameter to be consistent with other zkau request. 2020-02-23 20:59:15 +08:00
Carlos Ruiz 8733f74809 Merge release-7.1 into master 2020-02-23 13:18:56 +01:00
hengsin 2c639f7a69 IDEMPIERE-4178 Replace NVL with Coalesce 2020-02-21 09:54:57 +08:00
Diego Ruiz 600ab3556b IDEMPIERE-4084 Minor bug - menuitem icon not centered vertically 2020-02-20 15:56:19 +01:00
hengsin c388716835 IDEMPIERE-4176 Replace DELETE with DELETE FROM 2020-02-19 10:46:23 +08:00
hengsin b3b53a478e Merge release-7.1 into master 2020-02-16 17:01:59 +08:00
hengsin 26f18f9c22 IDEMPIERE-4154 ServerPush Adjustments. Incorporate suggestion from Martin Schönbeck. 2020-02-16 17:00:00 +08:00
Carlos Ruiz e456d65aed IDEMPIERE-3232 Useless to set focus on a readonly field 2020-02-13 01:03:17 +01:00
Carlos Ruiz 15707d9aac Merge release-7.1 into master 2020-02-13 01:00:46 +01:00
Carlos Ruiz 46c60f34b8 IDEMPIERE-3232 Useless to set focus on a readonly field
Improve next focus on capturing when selecting a value from a list or an info window
2020-02-12 23:54:01 +01:00
Carlos Ruiz e2af3a5516 IDEMPIERE-4171 DB message on delete is lost 2020-02-12 19:04:22 +01:00
Diego Ruiz 3e3f8ac4e9 IDEMPIERE-4172 onFind forces to refresh the record when another user modified it 2020-02-12 18:46:49 +01:00
Carlos Ruiz ea70caa08a IDEMPIERE-4171 DB message on delete is lost 2020-02-12 18:27:08 +01:00
Diego Ruiz 74a84a9fa4 IDEMPIERE-4165 Fixed NPE when onIgnore in form mode 2020-02-10 22:17:18 +01:00
Diego Ruiz c50d8ff703 IDEMPIERE-4165 Fix problem for case #5 reported in the ticket 2020-02-10 19:03:25 +01:00
Diego Ruiz 643599548e IDEMPIERE-4084 improve toolbar more configurable - solve issues with custom buttons 2020-02-10 18:56:44 +01:00
hengsin f30c94939b Merge release-7.1 into master 2020-02-09 21:50:33 +08:00
hengsin 3abe35f1f3 IDEMPIERE-4154 ServerPush Adjustments. Logout should stop serverpush. Handle stop/abort in serverpush.js, add optional trace. 2020-02-09 21:47:44 +08:00
Carlos Ruiz 6ab7fff658 Merge release-7.1 into master 2020-02-08 13:19:03 +01:00
Diego Ruiz 63ce461862 IDEMPIERE-4165 Display issue in grid mode after grid toggle 2020-02-08 11:22:38 +01:00
hengsin 3dd7349c99 Merge release-7.1 into master 2020-02-04 11:00:07 +08:00
hengsin a64ccd107e IDEMPIERE-4154 ServerPush Adjustments. Make another 2 adjustment as there are still report of slowness due to failure to resume long polling resource. 2020-02-04 10:56:33 +08:00
hengsin df2385eb86 Merge release-7.1 into master 2020-01-31 12:28:44 +08:00
hengsin 1080b5a654 IDEMPIERE-4154 ServerPush Adjustments. Further refinement of the long polling serverpush implmentation. Add back zk-websocket-serverpush.xml 2020-01-31 12:20:05 +08:00
Diego Ruiz 33d2a4d0f7 IDEMPIERE-4084 - Improve toolbar customization 2020-01-30 17:29:17 +01:00
Deepak Pansheriya 511292c8b9
IDEMPIERE-4070: Adding print format item -> Display logic support in XLSX, XLS and HTML report. (#11) 2020-01-29 16:35:49 +01:00