Commit Graph

455 Commits

Author SHA1 Message Date
hengsin 4e1515f52a
IDEMPIERE-5301 2022-05 Platform Update (#1347)
* IDEMPIERE-5301 2022-05 Platform Update
2022-06-01 13:57:17 +08:00
Carlos Ruiz 3950477c6c
IDEMPIERE-5228 Too verbose oracle / add -S to sqlplus to make it less verbose (#1275) 2022-04-02 08:54:28 +08:00
Carlos Ruiz 2a9a6f5dd2
IDEMPIERE-5228 Too verbose oracle/AfterImport.sql (#1246)
* IDEMPIERE-5228 Too verbose oracle/AfterImport.sql #resolve

* - minor output improvement
2022-03-22 13:11:47 +08:00
Carlos Ruiz d193a7306f
IDEMPIERE-5187 PostgreSQL 9.6 EOL (#1178) 2022-02-12 14:05:20 +08:00
hengsin 0db580a7a0
IDEMPIERE-5163 2022-01 Platform update (#1142) 2022-01-25 15:58:06 +01:00
hengsin 1a47a1959d
IDEMPIERE-5137 Login page reload continuously using http (#1110)
* IDEMPIERE-5137 Login page reload continuously using http

add https check to index.zul

* IDEMPIERE-5137 Login page reload continuously using http

- add jetty-http-forwarded.xml for reverse proxy configuration
2022-01-05 21:23:38 +08:00
Carlos Ruiz 9b5bbdd85a
IDEMPIERE-4723 Clean up iDempiere's code / clean db folder (#1106)
* IDEMPIERE-4723 Clean up iDempiere's code / clean db folder

* fix pom.xml to not download obsolete ddlutils libraries
2022-01-04 10:50:41 +08:00
Carlos Ruiz 0e31c91e35
IDEMPIERE-5137 Login page reload continuously using http - improve message in the Debian installer (#1107) 2022-01-04 10:46:16 +08:00
Carlos Ruiz fa62f421b9
iIDEMPIERE-5109 Release 9 Horizon - set master in v10 (#1092) 2021-12-24 17:18:24 +01:00
Carlos Ruiz e1253b153c
IDEMPIERE-5109 Release 9 Horizon (#1091) 2021-12-24 16:41:17 +01:00
Carlos Ruiz 2debce73fb
IDEMPIERE-5109 Release 9 Horizon - Seed databases (#1090) 2021-12-24 15:27:27 +01:00
Carlos Ruiz adba43ced0
IDEMPIERE-5109 Release 9 Horizon (#1088)
* IDEMPIERE-5109 Release 9 Horizon

- Fill UUID in missing AD_TreeNodeMM_UU

* - IDEMPIERE-1052 - set as Search for High Volume tables

* - Fix supported versions in SECURITY.md

* - Script to set the Version number

* - Set credits and image

* - script to clean trailing space from elements

* - Set entity type EXT for Web Service tables

* - IDEMPIERE-4214 Javadoc: correct warnings on newest java version

* - Improvements to model generator classes

* - Model classes

* - Folders script maintenance new version
2021-12-24 18:05:32 +08:00
hengsin 5469bddbda
IDEMPIERE-5035 Update of Dependency (November 2021) (#972) 2021-11-10 17:36:38 +01:00
hengsin c43cefd0c9
IDEMPIERE-5016 idempiere-rest plugin doesn't start with iDempiere 8.2z (master) #83 (#949)
* IDEMPIERE-5016 idempiere-rest plugin doesn't start with iDempiere 8.2z (master) #83

* IDEMPIERE-5016 idempiere-rest plugin doesn't start with iDempiere 8.2z (master) #83
2021-10-26 17:53:44 +02:00
hengsin b9239b2578
IDEMPIERE-4933 Platform update for 9.x (#916)
* IDEMPIERE-4933 Platform update for 9.x

Fix launch configuration

* IDEMPIERE-4933 Platform update for 9.x

Fix Run_SyncTerm and Run_PostMigration script
2021-10-11 19:56:56 +02:00
Carlos Ruiz 12c7c20c23
IDEMPIERE-4989 RUN_SyncDB ordered by timestamp can have issues (#911)
Change SyncDB to apply ordered by folder+timestamp (before was just timestamp)
2021-10-08 16:30:25 +08:00
hengsin 398333e645
IDEMPIERE-4933 Platform update for 9.x (#910)
Fix jasper report compilation error cause by manifest issue of common
digester bundle.
2021-10-06 15:37:28 +02:00
hengsin 4b8af33c4e
IDEMPIERE-4955 Add Rest+Json support to iDempiere Web Services (#873) 2021-09-14 13:51:00 +02:00
hengsin ae5a665dd8
IDEMPIERE-4933 Platform update for 9.x (#857)
* IDEMPIERE-4933 Platform update for 9.x

- WIP

* IDEMPIERE-4933 Platform update for 9.x

- project to repackaged some osgi bundles from maven

* IDEMPIERE-4933 Platform update for 9.x

- Fix target platform error

* IDEMPIERE-4933 Platform update for 9.x

* IDEMPIERE-4933 Platform update for 9.x

- minor eclipse setting fix
2021-09-04 16:12:10 +02:00
Carlos Ruiz 378e8fb2f3
IDEMPIERE-4602 Encrypt passwords on properties files (FHCA-1982) (#847)
Fix installation issue with getVar.sh wrong initial permission
2021-08-22 21:03:51 +02:00
hengsin ac01e77a40
IDEMPIERE-4880 Replace iText PDF with OpenPDF (#837) 2021-08-17 18:44:32 +02:00
hengsin f5dc3ba2c8
IDEMPIERE-4059 Print format editor (#794) 2021-07-26 14:42:29 +02:00
hengsin d7153575e6
IDEMPIERE-4824 Boolean Logic Expression Enhancements (#716)
* IDEMPIERE-4824 Boolean Logic Expression Enhancements

* IDEMPIERE-4824 Boolean Logic Expression Enhancements

Fix handling of conditional variable (i.e @VariableName:DefaultValue@)

* IDEMPIERE-4824 Boolean Logic Expression Enhancements

Fix unit test launch configuration
2021-06-10 23:08:22 +08:00
Carlos Ruiz a4f67eb852
IDEMPIERE-4782 Multi-factor authentication (FHCA-2034) (#705)
* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

Implement suggestions from Heng Sin

* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

Fix security warning advised by github/CodeQL

* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

Implement an incremental delay in zk when the validation code is wrong (to avoid brute-force attacks)
As suggested by Ricardo Santana:
* ensures one-time only use of an OTP
* Log failures in AuthFailure.log

* IDEMPIERE-4782 Multi-factor authentication (FHCA-2034)

* Log failures in AuthFailure.log - add case for login with email
* Implement incremental delay also for login panel
2021-06-08 19:49:46 +08:00
hengsin b928043646
IDEMPIERE-4801 Add IMediaView interface and Keikai implementation (#700)
* IDEMPIERE-4801 Add IMediaView interface and Keikai implementation

* IDEMPIERE-4801 Add IMediaView interface and Keikai implementation

- Fixed some dependency issues
- Uses guava mediatype class

* minor - fix NPE when empty CSV

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-05-29 11:54:12 +02:00
hengsin a79be8aad8
IDEMPIERE-4749 Allow to use OAuth2 libraries on plugins (#668)
* IDEMPIERE-4749 Allow to use OAuth2 libraries on plugins

- move oauth libraries and dependency to target platform
- require Tycho 2.3.0+ and Eclipse 2021-03+

* IDEMPIERE-4749 Allow to use OAuth2 libraries on plugins

Fix launch configuration.
2021-04-28 14:59:50 +02:00
Carlos Ruiz 408841a68d
IDEMPIERE-3101 implement OAuth2 for mail (gmail, outlook and other mail system) (#611)
* Fixing broken setup scripts in server
2021-03-06 12:42:48 +01:00
hengsin 3beccdf38e
IDEMPIERE-4722 Remove constraint that idempiere source folder must be… (#606)
* IDEMPIERE-4722 Remove constraint that idempiere source folder must be used as Eclipse workspace

use project_loc of org.adempiere.base instead of workspace_loc
integrate additional fix from Carlos
2021-03-02 20:51:20 +08:00
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 070ce8e7da
IDEMPIERE-4668 update*.bat not included in windows installers (#549) 2021-01-23 14:13:23 +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
hengsin fadc540557
IDEMPIERE-4635 Model Generator launch configuration broken (#515)
* IDEMPIERE-4635 Model Generator launch configuration broken

* IDEMPIERE-4635 Model Generator launch configuration broken

fix other launch configuration
2021-01-08 16:56:21 +01:00
Carlos Ruiz 3f29970844
IDEMPIERE-4620 Improvements for Setup programs (#514)
Allow passing the log parameter from command line in setup programs
2021-01-06 20:07:05 +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 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