Commit Graph

422 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 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
Carlos Ruiz df47a79531
IDEMPIERE-4618 Obfuscate ADEMPIERE_KEYSTOREPASS as suggested by jetty (#494) 2020-12-31 10:04:39 +08: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 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 00a08236fc IDEMPIERE-4604 Release 8.2
Credits and version number
2020-12-20 09:25:13 +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 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
hieplq 1558d4d6dc
IDEMPIERE-4537 java.lang.NoClassDefFoundError: org/apache/commons/math3/util/ArithmeticUtils - xls reporting (#406) 2020-11-24 11:58:57 +01:00
Carlos Ruiz d76f731571
IDEMPIERE-4531 WARN: oeja.AnnotationParser scanned from multiple loca… (#364)
* IDEMPIERE-4531 WARN: oeja.AnnotationParser scanned from multiple locations

* IDEMPIERE-4531 WARN: oeja.AnnotationParser scanned from multiple locations
2020-11-09 23:13:25 +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 d454b03407
IDEMPIERE-4521 Release 8.1 - RC (#355)
Fixes for debian installer in ubuntu 20.04
2020-11-04 23:30:50 +01:00
Carlos Ruiz dd44226ee2 IDEMPIERE-4521 Release 8.1 - RC
Change pom to download from new version
2020-11-03 21:59:12 +01:00
Carlos Ruiz 6487fe9cdc IDEMPIERE-4521 Release 8.1 - RC
More reference changes
2020-11-03 21:59:12 +01:00
Carlos Ruiz 210e54b05f IDEMPIERE-4521 Release 8.1 - RC
Change versions in pom and manifest files
2020-11-03 21:59:12 +01:00
Carlos Ruiz 2753acac56 IDEMPIERE-4521 Release 8.1 - RC
Change references in files
2020-11-03 21:59:12 +01:00
hieplq 6e96c43303
IDEMPIERE-4492 fix for rest api (#343)
* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 update atmosphere to 2.5.15

* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 (update configuration)

update to default jetty configuration
delete unused configuration (alpn, http2,..)

* IDEMPIERE-4492 update orbit eclipse repository to 4.17

* IDEMPIERE-4492 update orbit eclipse repository to 4.17 (on parent pom)

* IDEMPIERE-4492 update jasper to 6.15.0

* IDEMPIERE-4492 update jasper to 6.15.0 (IDEMPIERE-4504)

get rid of bundle "org.w3c.dom.events version 3.0.0" by use old version of org.w3c.dom.smil

note: on target platform a bundle has multi version then tycho can pickup correct version define on feature (tab included plugins, field version)
but on eclipse when sync launching from .product it don't respect that value, always set highest version to bundle
workaround: on target platform manual un-select bundle org.w3c.dom.smil 1.0.1

* IDEMPIERE-4492 update atmosphere to 2.6.4

* IDEMPIERE-4492 refine target platform

use targetplatform-dsl to generate target platform https://github.com/eclipse-cbi/targetplatform-dsl
   + don't need to care update bundle version when update repository
   + at moment org.idempiere.eclipse.platform-feature include some feature form eclipse repository
     so target has to include that feature so target platform will include all bundler request by feature and bundle request by plugins of that feature and so on (ever optional
     so it make target content has more plugins than what we use on project
     next step will convert include feature to include plugins to define only what we used

* IDEMPIERE-4492 refine target platform (continue)

don't include framework feature, use include plugins to void load transitive dependency so minimize target flatform
remove some unused feature from idempiere product

* IDEMPIERE-4492 update c3p0 and database jdbc (patch from Carlos)

* IDEMPIERE-4492 improve target platform (continue)

provide test bundle require to repository for use on offline
remove some unused bundle
also fix for IDEMPIERE-4475

* IDEMPIERE-4492 improve target platform (continue IDEMPIERE-4475)

add launch for unittest
add more require bundle for unit test

* IDEMPIERE-4492 fix for rest api

refer:https://github.com/eclipse-ee4j/jersey/issues/3588#issuecomment-720033467

* IDEMPIERE-4492 fix for rest api

refer:https://github.com/eclipse-ee4j/jersey/issues/3588#issuecomment-720033467
2020-11-01 13:22:11 +01:00
hieplq d2a2e3d19f
Idempiere 4492 improve target platform (continue) (#335)
* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 update atmosphere to 2.5.15

* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 (update configuration)

update to default jetty configuration
delete unused configuration (alpn, http2,..)

* IDEMPIERE-4492 update orbit eclipse repository to 4.17

* IDEMPIERE-4492 update orbit eclipse repository to 4.17 (on parent pom)

* IDEMPIERE-4492 update jasper to 6.15.0

* IDEMPIERE-4492 update jasper to 6.15.0 (IDEMPIERE-4504)

get rid of bundle "org.w3c.dom.events version 3.0.0" by use old version of org.w3c.dom.smil

note: on target platform a bundle has multi version then tycho can pickup correct version define on feature (tab included plugins, field version)
but on eclipse when sync launching from .product it don't respect that value, always set highest version to bundle
workaround: on target platform manual un-select bundle org.w3c.dom.smil 1.0.1

* IDEMPIERE-4492 update atmosphere to 2.6.4

* IDEMPIERE-4492 refine target platform

use targetplatform-dsl to generate target platform https://github.com/eclipse-cbi/targetplatform-dsl
   + don't need to care update bundle version when update repository
   + at moment org.idempiere.eclipse.platform-feature include some feature form eclipse repository
     so target has to include that feature so target platform will include all bundler request by feature and bundle request by plugins of that feature and so on (ever optional
     so it make target content has more plugins than what we use on project
     next step will convert include feature to include plugins to define only what we used

* IDEMPIERE-4492 refine target platform (continue)

don't include framework feature, use include plugins to void load transitive dependency so minimize target flatform
remove some unused feature from idempiere product

* IDEMPIERE-4492 update c3p0 and database jdbc (patch from Carlos)

* IDEMPIERE-4492 improve target platform (continue)

provide test bundle require to repository for use on offline
remove some unused bundle
also fix for IDEMPIERE-4475

* IDEMPIERE-4492 improve target platform (continue IDEMPIERE-4475)

add launch for unittest
add more require bundle for unit test
2020-10-31 13:48:16 +01:00
hieplq 58258ad506
Idempiere-4492 update library (eclipse-4.17, jasper 6-15, jetty-9.4.33, atmosphere-2.6.4) (#331)
* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 update atmosphere to 2.5.15

* IDEMPIERE-4492 update jetty to 9.4.33.v20201020 (update configuration)

update to default jetty configuration
delete unused configuration (alpn, http2,..)

* IDEMPIERE-4492 update orbit eclipse repository to 4.17

* IDEMPIERE-4492 update orbit eclipse repository to 4.17 (on parent pom)

* IDEMPIERE-4492 update jasper to 6.15.0

* IDEMPIERE-4492 update jasper to 6.15.0 (IDEMPIERE-4504)

get rid of bundle "org.w3c.dom.events version 3.0.0" by use old version of org.w3c.dom.smil

note: on target platform a bundle has multi version then tycho can pickup correct version define on feature (tab included plugins, field version)
but on eclipse when sync launching from .product it don't respect that value, always set highest version to bundle
workaround: on target platform manual un-select bundle org.w3c.dom.smil 1.0.1

* IDEMPIERE-4492 update atmosphere to 2.6.4

* IDEMPIERE-4492 refine target platform

use targetplatform-dsl to generate target platform https://github.com/eclipse-cbi/targetplatform-dsl
   + don't need to care update bundle version when update repository
   + at moment org.idempiere.eclipse.platform-feature include some feature form eclipse repository
     so target has to include that feature so target platform will include all bundler request by feature and bundle request by plugins of that feature and so on (ever optional
     so it make target content has more plugins than what we use on project
     next step will convert include feature to include plugins to define only what we used

* IDEMPIERE-4492 refine target platform (continue)

don't include framework feature, use include plugins to void load transitive dependency so minimize target flatform
remove some unused feature from idempiere product

* IDEMPIERE-4492 update c3p0 and database jdbc (patch from Carlos)
2020-10-31 06:53:36 +08:00
Carlos Ruiz 2d40c5104a
IDEMPIERE-4441 More fixes to the SyncDB command (#278)
Oracle fix - actual script is ignoring SP2 error messages
Postgresql improvement to show the SQL command that throws error
2020-09-28 12:32:29 +02:00
Carlos Ruiz 51844316df
IDEMPIERE-4441 More shellcheck (#254)
Fix issue caused by previous commit - RUN_SyncDB broken
2020-09-14 21:03:55 +02:00
Carlos Ruiz 970936d08c
IDEMPIERE-4441 FreeBSD find utility requires a target directory in postgresql/SyncDB.sh (#245)
Verify all scripts with shellcheck
https://www.shellcheck.net/
2020-09-08 19:37:00 +02:00
hieplq 595e0df99c
Idempiere-4298:support update jdk (jdk 12 13 14) (#69)
* IDEMPIERE-4298: remove Bundle-RequiredExecutionEnvironment

when build by tycho value of Bundle-RequiredExecutionEnvironment and jdt need to compatibility
in case we use Bundle-RequiredExecutionEnvironment = 11 then can't build by jdk != 11
so stick on fix value isn't good

eclipse now also support Require-Capability, so don't need Bundle-RequiredExecutionEnvironment anymore

* IDEMPIERE-4298:support update jdk (jdk 12 13 14)

default environment still jdk-11 but you can build for any jdk by below command

export JAVA_HOME=path to jdk
mvn verify -Djdk.version=11

in case on JAVA_HOME is jdk 14 then can set jdk.version for 11, 12, 13, 14 and same for other jdk

at moment java 14 just support on eclipse 2020-03 with install plugin
Java 14 Support for Eclipse 2020-03 (4.15)
2020-05-20 11:18:31 +08:00
Carlos Ruiz 9009a3c4a7
IDEMPIERE-4294 Cannot install wildcard certificate #resolve IDEMPIERE-4294 (#65)
Solve java.lang.IllegalStateException: KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory.
2020-05-18 12:01:32 +02:00
hengsin 9d937aa328
IDEMPIERE-4267 Remove org.adempiere.report.jasper.webapp (#33)
* IDEMPIERE-4267 Remove org.adempiere.report.jasper.webapp

Remove org.adempiere.report.jasper.webapp project.
Use reportfilename.md5 to get remote md5 hash.
Use hex instead of base64 for md5 hash.
Copy standalone.jrxml to org.adempiere.report.jasper/test folder.

* IDEMPIERE-4267 Remove org.adempiere.report.jasper.webapp

Remove org.adempiere.report.jasper.fragment.test project
Added space checking for the default hash created by the md5sum command
line tool.
2020-05-06 13:08:58 +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
hengsin 0b3d1415b5 IDEMPIERE-4199 Clean up org.adempiere.extend 2020-04-02 19:27:07 +08:00
Carlos Ruiz 0fd31674bb Merge release-7.1 into master 2020-03-09 16:09:32 +01:00
Carlos Ruiz 2e7f2cdb26 IDEMPIERE-3821 Adapt RUN_ImportIdempiere.sh to allow amazon postgresql RDS / tested with aurora postgresql 11.6 2020-03-09 16:08:29 +01:00
Carlos Ruiz 3a0f1d36b0 Merge release-7.1 into master 2020-03-07 12:08:07 +01:00
Carlos Ruiz a60a4a8845 minor - add external tool eclipse launchers as helpers 2020-03-02 13:49:00 +01:00
Carlos Ruiz 6ab7fff658 Merge release-7.1 into master 2020-02-08 13:19:03 +01:00
hengsin b8cc9cf2b4 IDEMPIERE-4168 Move Webstore out of core 2020-02-07 11:01:05 +08:00
hengsin 2c084ac9da IDEMPIERE-4164 idempiere binary doesn't start. Fix vmArgs in server.product 2020-02-04 15:35:01 +08:00
hengsin 3dd7349c99 Merge release-7.1 into master 2020-02-04 11:00:07 +08:00
hengsin fc79f86973 IDEMPIERE-4160 The POM for woodstox:wstx-asl:jar:3.2.7 is missing 2020-02-01 16:39:11 +08:00
hengsin 3cc17d25fd IDEMPIERE-4158 Move Swing Client out of core. Drop restlet dependency, drop webstart and applet stuffs and some minor dependency adjustments. 2020-01-29 08:00:36 +08:00
Deepak Pansheriya 503ca8eb62 IDEMPIERE-2924: Adding XLSX Export support (#6) 2020-01-04 15:19:48 +01:00
Carlos Ruiz b3d1144e65 Fix swing launcher, and change launchers to the new eclipse 2019-12 format 2019-12-30 23:39:20 +01:00
Carlos Ruiz cf379fca3c IDEMPIERE-4136 Upgrading Jasper report
Fix launchers with the new versions of bundles, and changes to the new
eclipse 2019-12 format
2019-12-29 14:01:41 +01:00
Carlos Ruiz 04c13ea9c3 Merge release-7.1 into master 2019-12-29 00:04:54 +01:00
Deepak Pansheriya 41f2bc1b03 IDEMPIERE-4136: Fixing console-setup errors. (#5) 2019-12-28 15:52:55 +01:00
Carlos Ruiz 7bae19dbbc Merge branch 'IDEMPIERE-4136' of https://github.com/dpansheriya/idempiere 2019-12-26 13:20:24 +01:00
Deepak Pansheriya f13bcd6de9 IDEMPIERE-4136: Upgrading Jasper report to version 6.11.0 2019-12-25 20:28:37 +05:30
hengsin c6e1ea7748 IDEMPIERE-4138 Move fitnesse integration from core 2019-12-25 21:46:01 +08:00
hieplq ce48eda1e5 IDEMPIERE-4013:remove Conscrypt/alpn setting from .product
iDempiere should not require Conscrypt
2019-12-23 11:33:47 +01:00
Carlos Ruiz b4be53cbaf Merge release-7.1 2019-12-12 12:38:45 +01:00
Carlos Ruiz f847b9c367 IDEMPIERE-4013 iDempiere should not require Conscrypt / apply same change on .bat that it was applied on .sh 2019-12-12 11:41:39 +01:00
Carlos Ruiz d0d64b9772 Rename and configure .gitignore 2019-12-06 19:13:33 +01:00
Carlos Ruiz 9eda617e8d Rename and configure .gitignore / fix problem with server.product.launch 2019-12-06 19:08:14 +01:00