Commit Graph

54 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
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
Carlos Ruiz 3975bacc99 release 7.1 process - change validation for required java version, according to
https://groups.google.com/d/msg/idempiere/8Jc5pdWqKoo/oyeQqu0dCAAJ
2019-11-25 09:58:38 +01:00
Heng Sin Low f46b8afb5c IDEMPIERE-4098 CLogger usage pattern clean up 2019-11-12 20:49:55 +08:00
Carlos Ruiz 9ee5a3aa37 IDEMPIERE-3100 DB error when test mail at install process 2019-02-20 16:04:03 +01:00
Carlos Ruiz 3ea6a2a17d IDEMPIERE-3887 Setup / Console-setup improvements 2019-02-09 14:26:45 +01:00
Carlos Ruiz 1b2007ed3b IDEMPIERE-3876 Encoding and line delimiter issues / convert sources to unix line delimiter 2019-01-21 15:37:14 +01:00
Carlos Ruiz 15b9588912 IDEMPIERE-3820 Remove unnecessary legacy code requiring JDK instead of JRE 2018-11-16 14:03:16 -02:00
Carlos Ruiz 0cf7b3b04f IDEMPIERE-3795 Oracle user System is 'fixed' on the code / Implement JVM variable -DADEMPIERE_DB_SYSTEM_USER to indicate a different user than system(oracle) or postgres(postgresql) - useful for AWS / fix problem with oracle stopping installation even if the database exists if the system password is not provided 2018-11-07 11:05:39 -02:00
hieplq c75b678db5 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (sync launch/check jvm version) 2018-10-27 23:02:52 +07:00
hieplq af75e7911f IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (deprecated constant of swing) 2018-10-24 11:21:10 +07:00
hieplq 155810c3f1 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:25:50 +07:00
hieplq 1b05e022d0 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:15:07 +07:00
hieplq 9957ffa06c IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:09:51 +07:00
hieplq b7aada7a1b IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with static value
2018-10-24 09:02:12 +07:00
hieplq d17e9db662 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (keystore/check java version) 2018-10-17 08:30:01 +07:00
Carlos Ruiz 4008e59986 IDEMPIERE-3451 - after change from 72f4c205ac50 - the db port and db name are not correctly read from the actual properties configured 2017-10-24 18:16:29 +02:00
Carlos Ruiz 58df7a7405 IDEMPIERE-3451 IDEMPIERE_JAVA_OPTIONS property not work - general changes in setup process
- enable back the ability to configure the IDEMPIERE_JAVA_OPTIONS in idempiereEnv.properties and preserve it between setups (as suggested in patch from Vinicius and Eduardo)
- fix a minor issue on Console Setup - not assuming correctly the default database type
- implement update-prd.sh - so other products can be updated (not just org.adempiere.server.product)
2017-08-26 19:21:17 +02:00
Carlos Ruiz 611ca54e63 IDEMPIERE-2664 DB Extensibility issues / fix issue on dev merging 2015-06-24 20:46:15 -05:00
Carlos Ruiz a3ba251b49 hg merge release-2.1 (merge release2.1 into development) 2015-06-24 20:43:40 -05:00
Carlos Ruiz 8af2d100dc IDEMPIERE-2664 DB Extensibility issues 2015-06-22 17:18:34 -05:00
hieplq 71e60b3f41 IDEMPIERE-2544:to more warning compiler hidden good warning
generic type warning
2015-03-29 14:45:41 +07:00
hieplq 502cddbc9d IDEMPIERE-2503:Keytool change package name in java8 2015-03-07 10:38:48 +07:00
Heng Sin Low 0b2fbe27ae IDEMPIERE-2245 Platform Upgrade for r3. 2014-10-13 11:05:19 +08:00
Carlos Ruiz 862976f54c IDEMPIERE-1500 Bad Danish translation of the iDempiere installer / Thanks to Flemming Birch 2013-11-18 08:18:24 -05:00
Carlos Ruiz ac93bd4473 IDEMPIERE-638 Check log level before calling logging method / log.info / Thanks to Richard Morales 2013-02-27 20:58:38 -05:00
Richard Morales ce7938424e IDEMPIERE-638 Check log level before calling logging method / log.fine 2013-02-25 19:00:59 -05:00
Richard Morales a6b7473ff4 IDEMPIERE-638 Check log level before calling logging method / log.finest 2013-02-25 14:00:29 -05:00
Richard Morales e0b18312f8 IDEMPIERE-638 Check log level before calling logging method / log.config 2013-02-25 12:29:10 -05:00
Heng Sin Low f4da72ef50 IDEMPIERE-359 Add OSGi Service support for existing extension point. 1) Separate osgi service and equinox extension locator API. Service.locator() for OSGi service and EquinoxExtensionLocator.instance() for equinox extension. 2) Use OSGi service for all singleton component ( all factories and most services ) and equinox extension for others ( UI object, Process instance and PIPO handlers). 2013-02-13 16:15:43 +08:00
Carlos Ruiz 7e98b67a2b IDEMPIERE-77 Start on the left, Cancel on the right / Revert changes for installer from changeset 367d6f7 / Implement correct fix 2013-01-21 21:44:42 -08:00
Carlos Ruiz 4d83adf841 IDEMPIERE-455 Discover and fix FindBugs problems / Pattern OS_OPEN_STREAM / Fix problem created closing the stream before reading it 2012-12-11 20:18:20 -05:00
Richard Morales d42b5a12c3 IDEMPIERE-455 Discover and fix FindBugs problems / Pattern HE_EQUALS_USE_HASHCODE 2012-12-11 19:14:19 -05:00
Richard Morales d9afbe2768 IDEMPIERE-455 Discover and fix FindBugs problems / Pattern OS_OPEN_STREAM 2012-12-11 16:48:34 -05:00
Richard Morales 1e30b56290 IDEMPIERE-455 Discover and fix FindBugs problems / Eclipse Warning : Is never used 2012-12-06 15:00:04 -05:00
Richard Morales f8a4523e49 IDEMPIERE-455 Discover and fix FindBugs problems / Pattern: PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS 2012-12-05 16:44:51 -05:00
Richard Morales a486d1317c IDEMPIERE-308 Performance: Replace use of StringBuffer and String concatenation with StringBuilder / findbugs fb-contrib pattern LSYC_LOCAL_SYNCHRONIZED_COLLECTION 2012-12-05 12:09:37 -05:00
Richard Morales 529089a426 IDEMPIERE-183 Fixed generic type warning 2012-12-04 11:24:23 -05:00
Heng Sin Low 2dfa60b73e IDEMPIERE-359 Add OSGi Service support for existing extension point 2012-11-06 11:39:23 +08:00
Carlos Ruiz 221f5e6522 IDEMPIERE-472 Allow postgresql connection via SSL / Minor 2012-10-26 14:34:34 -05:00
Carlos Ruiz e2c0220862 IDEMPIERE-472 Allow postgresql connection via SSL / Peer review 2012-10-26 13:46:55 -05:00
Juan David Arboleda e99ca7f076 IDEMPIERE-472 Allow postgresql connection via SSL 2012-10-26 13:46:05 -05:00
David Peñuela 549f7c3249 IDEMPIERE-77 Start on the left, Cancel on the right 2012-10-11 14:00:08 -05:00
Heng Sin Low 668e61686f IDEMPIERE-166 Rebranding of logo and product name 2012-06-06 22:13:34 +08:00
Carlos Ruiz adbdb038ab Maintain spanish translations 2012-02-07 09:04:53 -05:00
Carlos Ruiz 66602d43e8 Implement issue #1 Allow localhost on installation
http://hg.idempiere.com/idempiere/issue/1/allow-localhost-on-installation
2011-04-22 19:25:07 -05:00
Heng Sin Low 73deaa8a69 Fixed db type drop down not working after migration to equinox extension. Improve development setup to auto involve tomcat configuration ant script. 2010-11-29 15:41:28 +08:00
Heng Sin Low af5cd44af8 Implemented db configuration as extension. Remove JVM type checking. 2010-11-29 01:59:28 +08:00