Commit Graph

88 Commits

Author SHA1 Message Date
Carlos Ruiz 82e38002f7
IDEMPIERE-4670 RUN_ImportIdempiere can call RUN_SyncDB and sign-database (#552) 2021-01-25 14:14:08 +08:00
Carlos Ruiz 91c5510bbf
IDEMPIERE-4634 idempiere service scripts still generating myEnvironment.sav as root (#513) 2021-01-08 17:00:59 +01:00
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 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
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 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 a8fb42cf70 Fix oracle datapump scripts 2018-11-20 19:09:23 -02:00
Carlos Ruiz 291c9b4182 IDEMPIERE-3849 RUN_MonitoredSyncDB.sh - add flag Error=true to ease log monitoring 2019-03-26 15:23:58 -03: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
Carlos Ruiz 4e5174fb5f IDEMPIERE-3849 RUN_MonitoredSyncDB.sh 2019-01-05 00:46:51 +01:00
Carlos Ruiz 825ce9a205 IDEMPIERE-3849 RUN_MonitoredSyncDB.sh 2018-12-16 02:47:17 +01:00
Carlos Ruiz 19b1e6e1f8 More on helper linux scripts to generate iDempiere seed 2018-11-21 10:13:35 -02:00
Carlos Ruiz 991b3d12b4 Fix oracle datapump scripts 2018-11-20 18:39:36 -02:00
Carlos Ruiz abd2b70243 Fix oracle datapump scripts 2018-11-20 17:26:55 -02: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 21a89ab521 IDEMPIERE-3824 Implement apply packin from folder from command line 2018-11-19 12:58:57 -02:00
Carlos Ruiz 63472d7ca9 IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied / safe error message when folder does not exist 2018-11-19 12:39:07 -02:00
Carlos Ruiz 28171cda7a IDEMPIERE-3821 Adapt RUN_ImportIdempiere.sh to allow amazon postgresql RDS 2018-11-16 14:36:07 -02:00
Carlos Ruiz 66d147281e Helper linux scripts to generate iDempiere seed 2018-11-15 09:16:53 -02:00
Carlos Ruiz 4ef7c629f4 Helper linux scripts to generate iDempiere seed - just useful for release, not for backup 2018-11-14 14:45:40 -02:00
Carlos Ruiz 679cffb72d IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied / add optional folder parameter to process out of migration 2018-11-09 21:33:47 -02:00
Carlos Ruiz faac96eb39 IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied / Fix issue with oracle migration script 2018-11-07 11:18:38 -02: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 490adbe45d IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied / make script silent if no SQL files in folder 2018-03-16 09:23:48 -03:00
Carlos Ruiz b8f0aa4bd8 IDEMPIERE-3655 Improve installer to include migration scripts and syncApplied 2018-03-14 18:13:08 -03:00
Carlos Ruiz d6908fc065 Point to version 5.1 2017-10-31 23:03:48 +01:00
Carlos Ruiz 2ab22ddd87 Deprecate postgresql 8.4 - postgresql 10 was released and 8 is not supported since some time ago 2017-10-24 20:06:57 +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 8c099ff144 Fix oracle datapump scripts 2017-02-28 13:35:29 +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 9d73baea76 IDEMPIERE-1554 scriptable Translation import 2015-12-22 22:22:06 -05:00
Carlos Ruiz 4335b8384f IDEMPIERE-1900 iDempiere Debian Installer / fix reference to jetty 2015-10-31 15:59:44 -05:00