Commit Graph

29 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 00a08236fc IDEMPIERE-4604 Release 8.2
Credits and version number
2020-12-20 09:25:13 +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 2753acac56 IDEMPIERE-4521 Release 8.1 - RC
Change references in files
2020-11-03 21:59:12 +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 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
Carlos Ruiz 3ae8fb7f68 release 7.1 process - set version in code 2019-11-21 22:36:08 +01:00
Carlos Ruiz 21815b81c2 IDEMPIERE-1900 iDempiere Debian Installer - adapt to latest changes on postgresql contrib and ubuntu 2019-04-26 10:56:27 +02:00
Carlos Ruiz bd00fdc42c Improvement for the service scripts - when the log grows too quickly, reading just last 9 lines is not enough 2019-04-19 19:20:05 +02:00
Carlos Ruiz 3e95a30340 IDEMPIERE-1900 iDempiere Debian Installer - adapt to 6.2 and ubuntu 18.04 2019-02-09 16:36:35 +01:00
Carlos Ruiz e466f9d9a5 Fix debian installer control prerequisites for 6.2 2019-02-08 12:56:39 +01:00
Carlos Ruiz 6ef649afa2 Backed out changeset 76cb3821607f - wrong changes committed by mistake 2019-02-08 13:10:18 +01:00
Carlos Ruiz 6d82731dc5 Fix debian installer control prerequisites for 6.2 2019-02-08 12:56:39 +01:00
Carlos Ruiz a33cf4bec5 Preparing release 6.2 2019-01-05 23:34:22 +01:00
hieplq c0005f0246 IDEMPIERE-3833:Detected idempiere service running 2018-11-29 15:28:24 +07:00
hieplq 785acb06be IDEMPIERE-3833:Detected idempiere service running 2018-11-29 15:11:48 +07:00
Carlos Ruiz ee4303d453 set version to 6.1 2018-11-04 14:47:53 -02:00
Carlos Ruiz d527b6279f Detected that when the server crashes because of Out Of Memory the init.d scripts are not able to terminate it properly / fix to look for the server using org.adempiere.server.application instead of the IDEMPIERE_HOME 2018-06-18 11:36:40 +02:00
Carlos Ruiz d6908fc065 Point to version 5.1 2017-10-31 23:03:48 +01:00
Carlos Ruiz 7b3feb61b1 IDEMPIERE-3238 WebUIServlet deprecated? init.d/idempiere script not getting log message 2016-11-12 14:39:20 +01:00
Carlos Ruiz 536fd017e6 set version 4.1 in credits 2016-10-30 20:23:55 +01:00
Carlos Ruiz 38b12af349 IDEMPIERE-3023 Update Dead Sessions when Server Shutdown 2016-06-05 15:20:59 -05:00
Carlos Ruiz d5e390c829 IDEMPIERE-3023 Update Dead Sessions when Server Shutdown 2016-05-30 23:24:51 -05:00
Carlos Ruiz 4335b8384f IDEMPIERE-1900 iDempiere Debian Installer / fix reference to jetty 2015-10-31 15:59:44 -05:00
Carlos Ruiz dca4656a56 Upgrade version references to 3.1 2015-10-30 20:39:48 -05:00
Carlos Ruiz fcf6daeb5f IDEMPIERE-1900 iDempiere Debian Installer / thanks to David Braude for reporting https://groups.google.com/d/msg/idempiere/hqmXe1fn0tA/C5B2zj3maJsJ 2015-02-23 09:21:20 -05:00
Heng Sin Low 0b2fbe27ae IDEMPIERE-2245 Platform Upgrade for r3. 2014-10-13 11:05:19 +08:00
Carlos Ruiz bd8bdb6cc9 IDEMPIERE-1900 iDempiere Debian Installer 2014-04-14 13:06:49 -05:00