Commit Graph

13702 Commits

Author SHA1 Message Date
Carlos Ruiz 47aee6fb02
IDEMPIERE-4602 Encrypt passwords on properties files (FHCA-1982) (#498)
* backward compatible with the previous idempiere.properties and idempiereEnv.properties version
* when the setup/console-setup is executed again the secret keys are stored obfuscated in a different file .idpass
  * Secret keys are ADEMPIERE_DB_PASSWORD, ADEMPIERE_DB_SYSTEM, ADEMPIERE_MAIL_PASSWORD
  * to add more is just adding keys to array ConfigurationData.secretVars
* the previous (unobfuscated) approach is still preserved passing -DIDEMPIERE_SECURE_PROPERTIES=false to the JVM in setup and server
* the approach just run on Linux - as is implemented using shell script, windows is out of the initial scope, but could be possible to implement .bat files to do similar
* the default approach is to use getVar.sh and setVar.sh that writes in .idpass obfuscated
  * is possible to extend and use custom secret managers implementing customSetVar.sh and customGetVar.sh
  * samples for amazon AWS secretsmanager are included
* avoid the email sent on setup sending the secret keys
* enclose all variables in myEnvironment.sh within quotes (this avoids problems with variables containing spaces)
* add coreutils as required for debian installer (as we use base64 now to obfuscate passwords)
* swing client is not affected as it saves the idempiere.properties encrypted in user home folder
2021-01-03 22:19:49 +08:00
Carlos Ruiz 11dc7a391f
IDEMPIERE-4623 Cash POS Sales Order is leaving wrong BP balance (#504) 2021-01-03 20:08:16 +08:00
Carlos Ruiz 09d7fea9e1
IDEMPIERE-4620 Improvements for Setup programs (#493)
* IDEMPIERE-4620 Improvements for Setup programs

* Allow receiving log level as parameter for setup and console-setup
* Avoid duplication of log file - just leave it in /log
* Implement logging for console-setup too
* mark SilentSetup as deprecated
* add runtime-*.app to .gitignore (sometimes files appear in these folders and can be wrongly committed)

* IDEMPIERE-4620 Improvements for Setup programs

* Add validation for log level parameter
* Implement silent-setup instead of deprecating
  * console-setup is prone to errors when redirecting stdin
* Test the debian installer using the silent-setup
2021-01-03 20:06:34 +08:00
hengsin ccbe8b981f
IDEMPIERE-4583 Fix OSGi split package (#497)
Use only Require-Bundle for dependency between idempiere module/bundles
2021-01-02 18:32:18 +01:00
hengsin 12009bf670
IDEMPIERE-4615 Cross Tenant Workflow Node cause - Cross tenant PO issue (#496) 2021-01-02 18:17:10 +01:00
hengsin 240b1b277c
IDEMPIERE-4612 Improve layout of Find Dialog (#495)
Base on pull request 487 from Flemming Birch (gsjeffen)
2021-01-02 17:56:59 +01:00
igorpojzl afde8a0cf1
IDEMPIERE-4621 Cross Tenant Parent Tax Error (#502)
* IDEMPIERE-4621  Cross Tenant Parent Tax Error

* IDEMPIERE-4621 Add CLient Check on getTaxNodes
2020-12-31 20:21:04 +08:00
Carlos Ruiz df47a79531
IDEMPIERE-4618 Obfuscate ADEMPIERE_KEYSTOREPASS as suggested by jetty (#494) 2020-12-31 10:04:39 +08:00
hengsin aa29cb6d7c
IDEMPIERE-4614 Reimplement Read Replica PreparedStatement using dynamic proxy (#491) 2020-12-30 15:07:27 +01:00
hengsin 79657a2fca
IDEMPIERE-4613 Remove obsolete jdbctest class (#489) 2020-12-30 14:20:21 +01:00
Carlos Ruiz 055ad2f0ae
IDEMPIERE-4619 Improve CLogger fallback when reaching 100 files in /log folder (#492) 2020-12-30 20:22:36 +08:00
hengsin 45cfbe6804
IDEMPIERE-4610 Remove obsolete LdapProcessor (#484)
* IDEMPIERE-4610 Remove obsolete LdapProcessor

* IDEMPIERE-4610 Remove obsolete LdapProcessor

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

* IDEMPIERE-4610 Remove obsolete LdapProcessor

move migration script to i8.2z folder.
2020-12-28 11:09:17 +01:00
hengsin 7545dd6ee3
IDEMPIERE-4611 Replace dependency to sun.security.tools.keytool with Bouncy Castle (#488)
remove from pom
2020-12-28 10:33:04 +01:00
hengsin 3965dd68fe
IDEMPIERE-4611 Replace dependency to sun.security.tools.keytool with … (#486)
* IDEMPIERE-4611 Replace dependency to sun.security.tools.keytool with Bouncy Castle

* IDEMPIERE-4611 Replace dependency to sun.security.tools.keytool with Bouncy Castle

Fix error with State
2020-12-27 15:07:36 +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
Diego Ruiz 9093f31709
IDEMPIERE-4580 Change logo source by contributor request (#485) 2020-12-24 13:50:57 +01:00
Diego Ruiz be245e07a7
IDEMPIERE-4580 Change a logo (#482)
* IDEMPIERE-4580 Change a logo
* IDEMPIERE-4580 Change another logo
2020-12-22 15:50:01 +01:00
Diego Ruiz 36333c3a59
IDEMPIERE-4580 Credits.html additions and layout improvements (#481) 2020-12-22 14:21:57 +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 2c1322249c
IDEMPIERE-4604 Release 8.2 Phong (#479)
Point to new seed databases
2020-12-20 10:39:18 +01:00
Carlos Ruiz 7b65487267
Merge pull request #478 from CarlosRuiz-globalqss/IDEMPIERE-4604
IDEMPIERE-4604 Release 8.2
2020-12-20 10:16:18 +01:00
Carlos Ruiz 8103ab0732 IDEMPIERE-4604 Release 8.2
Change references to new version
Create new migration folder
2020-12-20 10:15:20 +01:00
Carlos Ruiz 18fb6874d7
Merge pull request #477 from CarlosRuiz-globalqss/IDEMPIERE-4604
IDEMPIERE-4604 Release 8.2
2020-12-20 10:11:44 +01:00
Carlos Ruiz 6c5d54d7f7 IDEMPIERE-4604 Release 8.2
Fix import warnings
2020-12-20 09:53:49 +01:00
Carlos Ruiz 6390ce20cd IDEMPIERE-4604 Release 8.2
Fix warnings on MANIFEST.MF
2020-12-20 09:53:21 +01:00
Carlos Ruiz 3b1e4f2735 IDEMPIERE-4604 Release 8.2
Model generate classes
2020-12-20 09:51:58 +01:00
Carlos Ruiz 00a08236fc IDEMPIERE-4604 Release 8.2
Credits and version number
2020-12-20 09:25:13 +01:00
Carlos Ruiz 36f8a91ae6 IDEMPIERE-4604 Release 8.2
migration scripts
2020-12-20 09:24:39 +01:00
Carlos Ruiz a5d6a23f15
IDEMPIERE-4603 Find * character cause postgresql error (#476) 2020-12-20 07:30:40 +01:00
Carlos Ruiz f81c5bd954
IDEMPIERE-4602 Encrypt passwords on properties files (FHCA-1982) (#472)
* Secure sensitive files containing passwords at the end of build.xml for linux
  * jettyhome/etc/jetty-ssl-context.xml - contains keystore password
  * idempiereEnv.properties, idempiere.properties, utils/myEnvironment.sh - contain database and other passwords
* setup-alt.sh and console-setup-alt.sh don't need to chmod as the ant task already did it
* add port to hazelcast-template.xml (useful in case there are same databases in different ports on the server)
2020-12-20 07:30:15 +01:00
Carlos Ruiz 73588b43f3
IDEMPIERE-1575 Increase some columns length (#475)
AD_Rule.Script -> 4000
AD_ChangeLog.TrxName -> 1000
AD_SysConfig.Value -> 4000
2020-12-20 14:27:00 +08:00
hengsin b80ed34d9c
IDEMPIERE-4599 Remove obsolete org.compiere.interfaces.* interface (#473)
* IDEMPIERE-4599 Remove obsolete org.compiere.interfaces.* interface

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

remove warning.
2020-12-18 14:52:11 +01:00
Diego Ruiz 1ee319be1e
IDEMPIERE-4580 New Credits Tab content (#471) 2020-12-16 20:39:21 +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 2ab2211f81
IDEMPIERE-4268 Web Services : Read miss cross-tenant check (#468)
Extracting from @hengsin pull request 465
Fixes cross tenant readings in MUser MUserDefWin and MWorkflow
2020-12-16 09:08:11 +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
Nicolas Micoud d9f0c43af8
IDEMPIERE-4597 : Make sure ConvertLead process generates an active BPartner (#464) 2020-12-14 14:56:32 +01:00
hengsin 5e977d427c
IDEMPIERE-4287 Cache API not thread safe and inconsistent with context parameter (#466)
- Fix PO immutable exception with Workflow Validate process.
2020-12-14 14:53:55 +01:00
Carlos Ruiz 60007e07e6
IDEMPIERE-4521 Release 8.1 (#462)
Change IRC to mattermost
2020-12-13 17:00:04 +08:00
Carlos Ruiz fd947f4fef
IDEMPIERE-4581 Model generator should isn't dialog it should be window (#463)
* IDEMPIERE-4581 Model generator should isn't dialog it should be window

use shutdown asyn to shutdown framework when close Model generator window

one unhappy thing remain:
when use -console then framework is shutdown but jdk still hang because "pipe-gosh --login --noshutdown" still live (for https://bugs.eclipse.org/bugs/show_bug.cgi?id=362412)
work-around: use -console 1234
by that way we can't access osgi command from console but can use "telnet localhost 1234" to use osgi command

* IDEMPIERE-4581 Model generator should isn't dialog it should be window

Fix problem about program not closing
Improve layout

Co-authored-by: hieplq <hieplq@hasuvimex.vn>
2020-12-13 07:57:33 +08:00
Carlos Ruiz 5da1785572
IDEMPIERE-4596 Cannot create a product and an inventory document in t… (#459)
* IDEMPIERE-4596 Cannot create a product and an inventory document in the same transaction

WIP - commit failing unit test

* IDEMPIERE-4596 Cannot create a product and an inventory document in the same transaction

Implement solution suggested by @hengsin

* minor fix comment
2020-12-12 16:12:31 +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
Carlos Ruiz 3013819d5a
IDEMPIERE-4595 Autofill process parameters with smart defaults (#458)
Implement same callouts as in AD_Column
2020-12-12 06:50:11 +08:00
Carlos Ruiz 9d6de521f2
IDEMPIERE-4268 Web Services : Read miss cross-tenant check (#456)
Extracting from @hengsin pull request 453
2020-12-11 16:48:16 +08:00
Carlos Ruiz f2c5ec429b
IDEMPIERE-4589 BUGS on PERFORMANCE ANALYSIS -> Accounting Rules ->Accounting Setup (#457) 2020-12-11 14:40:58 +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
Carlos Ruiz 4d96ac1f8e
IDEMPIERE-4593 Error completing a Standard Sales Order with Shipper and Calculated Freight Cost Rule (#454) 2020-12-10 13:57:25 +01:00