Commit Graph

469 Commits

Author SHA1 Message Date
Carlos Ruiz c694fb00da
IDEMPIERE-5877 Include .sh scripts in windows installer - chmod +x (#2052) 2023-10-11 23:01:30 +08:00
Carlos Ruiz 64b9415ded
IDEMPIERE-5877 Include .sh scripts in windows installer (#2044)
* IDEMPIERE-5877 Include .sh scripts in windows installer

* - adapt build.xml for windows running with git bash
- adapt getVar.sh for windows - as there is no .idpass in windows
2023-10-05 16:13:12 +08:00
hengsin 3ffdd2be0c
IDEMPIERE-5346 SSO Support (#2038)
* IDEMPIERE-5346 SSO Support

- add OIDC support to core
2023-10-03 20:26:03 +02:00
Carlos Ruiz cf140bc75f
IDEMPIERE-5868 RUN_MonitoredSyncDB ordered by timestamp can have issues (#2030) 2023-09-30 11:46:57 +08:00
hengsin 890862de47
IDEMPIERE-4416 invalidating a purchase order doesn't remove connectio… (#1942)
* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- refactoring, make MiniTableImpl usable outside of test

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- refactoring, move business and sql logic from Match to model class.
- add more unit test

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- set M_InOut.C_Order_ID to null

* IDEMPIERE-4416 invalidating a purchase order doesn't remove connection to receipt

- update unit test for setting of M_InOut.C_Order_ID to null.
2023-07-31 15:20:26 +02:00
Carlos Ruiz c85cc9fe7a
IDEMPIERE-5816 Upgrade Hazelcast version (FHCA-4436) (#1955)
* IDEMPIERE-5816 Upgrade Hazelcast version (FHCA-4436)

* - fix on discovery of service using UUID
2023-07-29 08:34:20 +08:00
Carlos Ruiz b7b0b16476
IDEMPIERE-5750 Error when switching to tab when choosing a language other than English (#1920)
* IDEMPIERE-5750 Error when switching to tab when choosing a language other than English

* - avoid usage of AdempiereIdGenerator.escapeId when not ZkUnitTest
2023-07-01 20:24:58 +08:00
Carlos Ruiz 83c98b9679
IDEMPIERE-5448 2023 June Platform Update (#1909) 2023-06-24 22:25:33 +08:00
Carlos Ruiz 86207d12ab
IDEMPIERE-5448 2023 June Platform Update (#1901) 2023-06-21 20:53:48 +08:00
hengsin 9c7713fa8d
IDEMPIERE-5448 2023 June Platform Update (#1531)
* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- upgrade to tycho 3.1.0-SNAPSHOT
- set maven compiler source and target level to 11
- upgrade to junit 5.9.1

* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- Change tycho version to 3.0.3

* IDEMPIERE-5448 2023 June Platform Update

* IDEMPIERE-5448 2023 June Platform Update

- Explicitly set target, source and release level to JavaSE 11

* IDEMPIERE-5448 2023 June Platform Update

- Use 3.0.5-SNAPSHOT to fix stack overflow error.

* IDEMPIERE-5448 2023 June Platform Update

- Change source, target and release level to JDK 17
- Update target platform name to idempiere-230620

* IDEMPIERE-5448 2023 June Platform Update

- Fix LogFactory ClassNotFound exception with Eclipse 2023-06
2023-06-21 13:44:18 +02:00
Orlando Curieles 7a9ce71835
IDEMPIERE-5634 Docker standarization (#1740) 2023-03-20 17:11:36 +01:00
Carlos Ruiz dd7b63aa0d
IDEMPIERE-5523 Release 10 Peace (#1624)
- move master to release-11 development build
2022-12-24 00:20:49 +01:00
Carlos Ruiz 393d9926dd
IDEMPIERE-5523 Release 10 Peace (#1622)
- point to new seeds
2022-12-23 23:11:19 +01:00
hengsin 92cdb06129
IDEMPIERE-5402 Replace Jfree Chart with Billboard (#1463)
- replace jfreechart with https://github.com/naver/billboard.js
2022-09-07 00:36:43 +02:00
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