Commit Graph

276 Commits

Author SHA1 Message Date
Carlos Ruiz 48a3e73798
IDEMPIERE-5967 Release 11 Synergy (#2155)
* IDEMPIERE-5967 Release 11 Synergy

* - Script to set version

* - generate model
2023-12-22 15:33:57 +01:00
hieplq 0be0c561c0
IDEMPIERE-5948:change to work with eclipse 2023-09 (#2124) 2023-12-01 15:57:50 +08:00
Carlos Ruiz 12c1e24753
IDEMPIERE-5926 SOAP WebService failing -> Invalid Lookup value (#2101) 2023-11-10 15:10:28 +01:00
hieplq d217eb531e
IDEMPIERE-5903 support multiple webservice project (#2084)
* IDEMPIERE-5903:support multi webservice project (issue 1:There is an endpoint already running on/rest)

https://stackoverflow.com/a/49553239/4037367

* IDEMPIERE-5903:support multi webservice project (reuse resource)

* IDEMPIERE-5903:support multi webservice project (fix comment review)
2023-11-04 20:09:27 +08:00
Zuhri Utama 793ffe6aef
IDEMPIERE-5865 : Cannot Update Always Updatable checked column via Web Service (#2025)
* IDEMPIERE-5865 : Cannot Update Always Updatable checked column via Web Service

* IDEMPIERE-5865 : Cannot Update Always Updatable checked column via Web Service #2
2023-10-12 17:11:09 +08:00
hieplq 1d724b00f2
IDEMPIERE-5855:IDEMPIERE-4183 happen again by update spring library (spring resouce load from web only) (#2010) 2023-09-19 21:00:01 +08:00
Carlos Ruiz 7c8fe24435
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - AD_PInstance (#2003)
- Implement support to run processes on UUID based tables
- Added SvrProcess.getRecord_UU and getRecord_UUs support
- Added TestUUChangeActive process as toolbar button on "Test UU Based Table" window - supports single and multi
- Added AD_PInstance.AD_Table_ID and AD_PInstance.Record_UU
- NOTE: the migration script tries the best to fill AD_PInstance.AD_Table_ID from different sources, but at the end is very possible that some records will be left with empty table
- The MPInstance constructors that don't manage AD_Table_ID were marked as deprecated to ease discovering the missing parts in plugins
2023-09-13 10:59:21 +08:00
Zuhri Utama 236cd6bddc
IDEMPIERE-4735 apply patch from Webservice CreateUpdate. PO passed to Call to WSValidator is not valid (#1948) 2023-07-21 11:22:43 +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
Carlos Ruiz c80d53674a
IDEMPIERE-5567 Support of UUID as Key - Generate Model Classes (FHCA-4195) (#1772)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

New generated model classes with new UUID constructor

* - In order to use UUID constructor M classes must implement the constructor too
- Adding the constructor on MTest and adding a JUnit test to test/show how it works

* - Remove warning caused by changes on this ticket

* - Add UUID constructor to factories

* - Set new UUID constructor in mapped/annotated test classes
- Preparation for the new UUID constructor

* - Add UUID constructor to core model classes
- WARNING: MPaymentBatch(Properties, String, String) already existed with Name as parameter, it was changed to UUID
2023-04-12 11:02:33 +08:00
Carlos Ruiz 51ceaacb43
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1727)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

* - Implement changes to support Model classes with UUID constructor

* - fix issue with tables with single parent key - like AD_Ref_Table

* - Create test table and JUnit test

* - fixes from Heng Sin

* - Improve performance on new methods in MTable
- Minor refinements in ModelClassGenerator
- Regenerate Test X classes
- Change Create Window from Table to receive the parent link as parameter (because tables can have now no keys at all)

* - Implement suggestions from Heng Sin

* - _UU column as primary key constraint for UUID based tables

---------

Co-authored-by: hengsin <hengsin@gmail.com>
2023-03-21 21:30:45 +08:00
Nicolas Micoud 2f07dafa82
IDEMPIERE-5540 : Incorrect automatic parameters for setDocAction WebServices (#1633) 2023-01-24 13:33:44 +01:00
Nicolas Micoud a28b084ee1
IDEMPIERE-5543: Add service type name when role doesn't have access to (#1635)
https://idempiere.atlassian.net/browse/IDEMPIERE-5543
2023-01-14 12:11:44 +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 1d9d504801
IDEMPIERE-5523 Release 10 Peace (#1619)
* IDEMPIERE-5523 Release 10 Peace

* - generate model classes

* - Add release image contributed by Vanessa Castro
2022-12-23 14:27:27 +01:00
Nicolas Micoud 780a16f153
IDEMPIERE-5442 : Fix typos in code - varialbe -> variable (#1517)
https://idempiere.atlassian.net/browse/IDEMPIERE-5442
2022-10-06 11:46:32 +08:00
Zuhri Utama f706d884a7
IDEMPIERE-5429 Rest API Web Service for composite not support JSON (#1497)
* IDEMPIERE-5429 Rest API Web Service for composite not support JSON
2022-09-25 20:00:40 +08:00
hengsin 536eda3546
IDEMPIERE-5427 Upgrade to Tycho 2.7.5 (#1493)
- restore .classpath to remove Tycho Configurator m2e connector
dependency
2022-09-21 14:21:27 +02:00
hengsin 288e96fe8d
IDEMPIERE-5376 CConnection and DB clean up (#1441)
* IDEMPIERE-5376 CConnection and DB clean up

* IDEMPIERE-5376 CConnection and DB clean up

- More clean up
2022-08-13 12:05:52 +02:00
Peter Takács bf32da5738
IDEMPIERE-4523 - Process Audit not mark AD_PInstance.IsProcessing on simple Reports (#1343)
* IDEMPIERE-4523 - Process Audit not mark AD_PInstance.IsProcessing on simple Reports

* IDEMPIERE-4523 - fixed workflow use case
2022-06-02 16:15:39 +08:00
PeterTakacs300 b2b31fb087
IDEMPIERE-3294 - check empty String parameter (#1336)
* IDEMPIERE-3294 - check empty String parameter
2022-05-25 14:48:37 +08:00
igorpojzl 8d5f7768e4
IDEMPIERE-5256 Add Cache to MSession Refactor (#1283) 2022-04-20 19:00:13 +08:00
igorpojzl ef929dfae5
IDEMPIERE-5256 Add Cache to MSession (#1282) 2022-04-07 09:33:41 +08:00
Carlos Ruiz 1a51e92c42
IDEMPIERE-4586 Update translation of Client to Tenant (#1233)
* IDEMPIERE-4586 Update translation of Client to Tenant

* Exclude AD_Ref_List.Name from the update as it impacts too many constants generated in X_ classes

* * update the Updated column too so that it is easier to trace back which records have been updated (as suggested by Heng Sin)

* * Update some additional messages that becomes duplicated (as reported by Nicolas)

* * Add updates to AD_Tab.CommitWarning (as reported by Nicolas)
2022-03-12 16:59:32 +01:00
Carlos Ruiz 0d7f775f1a
IDEMPIERE-5126 Virtual column lazy loading - Generate full model (#1135) 2022-01-16 11:51:25 +01:00
Carlos Ruiz fa62f421b9
iIDEMPIERE-5109 Release 9 Horizon - set master in v10 (#1092) 2021-12-24 17:18:24 +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
Carlos Ruiz 9ae4a2636e
IDEMPIERE-4214 Javadoc: correct warnings on newest java version (#1082)
* iIDEMPIERE-4214 Javadoc: correct warnings on newest java version / fix problem to generate javadoc again

* IDEMPIERE-4214 Javadoc: correct warnings on newest java version / Fix javadoc warnings
2021-12-23 11:44:23 +01:00
hengsin f96d3384e8
IDEMPIERE-5050 Service startup freeze (#1012)
Fix duplicate component definition file for ws modelfactory
2021-11-29 16:50:23 +01:00
Saulo José Gil 9e2922c7c8
IDEMPIERE-5050 Service startup freeze (#996)
* IDEMPIERE-5050 Service startup freeze

Switched all annotation-based factories to asynchronous class scan.

* Deferred MIssue record creation

Log errors on the database after all model factories are initialized.

* Moved webservice model classes over to its own package

Model factories WS_ModelFactory and AnnotationBasedModelFactory were
overlapping on the org.compiere.model package. This produced class
loading problems since the base bundle has no visibility over the
webservices bundle (e.g.: MWebservice).

* Minor changes
2021-11-24 13:57:35 +08:00
hengsin 29f5186d41
IDEMPIERE-5047 iDempiere Server Monitor Improvements (#988) 2021-11-19 16:04:54 +01:00
hengsin 338fecb344
IDEMPIERE-4980 Update model factory of org.idempiere.webservices (#899) 2021-09-27 12:50:59 +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
hengsin df704cb236
IDEMPIERE-4227 Unable to use 2 print format item with the same AD_Column_ID and different formatting (#740)
* IDEMPIERE-4227 Unable to use 2 print format item with the same AD_Column_ID and different formatting

Fix function column
2021-06-28 13:47:20 +02:00
hengsin 1971b4f0dc
IDEMPIERE-4488 Remove .classpath from repository (#607)
* IDEMPIERE-4488 Remove .classpath from repository

* IDEMPIERE-4488 Remove .classpath from repository

add ignore for .classpath

* IDEMPIERE-4488 Remove .classpath from repository

remove ".settings/org.eclipse.jdt.core.prefs"

* IDEMPIERE-4488 Remove .classpath from repository

fix false status report for /bin and .project
2021-03-03 00:02:03 +01:00
hengsin d96199a2b6
IDEMPIERE-4251 Constant definition for all Env Context (#519)
* IDEMPIERE-4251 Constant definition for all Env Context

replace "#Date" with Env.DATE

* IDEMPIERE-4251 Constant definition for all Env Context

replace "#.." with constant at Env

* IDEMPIERE-4251 Constant definition for all Env Context

Merge patch from Carlos
2021-01-12 21:29:50 +08:00
Diego Ruiz da6d6b83aa
IDEMPIERE-4607 Cannot export windows via 2pack if any field has a Fie… (#483)
* IDEMPIERE-4607 Cannot export windows via 2pack if any field has a Field Group

* IDEMPIERE-4607 Implement changes discussed in JIRA - Add a new isList method to DisplayType

* IDEMPIERE-4607 Fixed typo

* IDEMPIERE-4607 Implement default method to return false by default - PR CarlosRuiz
2020-12-26 16:35:50 +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 6390ce20cd IDEMPIERE-4604 Release 8.2
Fix warnings on MANIFEST.MF
2020-12-20 09:53:21 +01:00
Carlos Ruiz 8cf16ba137
IDEMPIERE-4268 Web Services : Read miss cross-tenant check (#425)
Implement cross tenant check on foreign keys for insert and update
2020-12-01 07:16:22 +08: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
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
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
hengsin dd2ef468b0
IDEMPIERE 4287 (#247)
* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
add support to make PO immutable

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- added thread safe Immutable and Copy cache implementation for PO.
- migrate most of PO cache to immutable and copy cache.
- added pos sales order test.

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- add test case for initial client setup and bank statement
- fix error for image editor, location editor, locator editor, initial
client setup, complete bank statement and migrate storage provider.

* IDEMPIERE-4287 Cache API not thread safe and inconsistent with Context
- added ImmutablePOSupport interface. Model class implement this
interface for immutable PO support.
- remove usage of cache for transaction table (rfq, invoice, inventory).
- add getCopy method to some model class to support getting an
updateable copy of PO from the otherwise immutable PO cache.
- the added getCopy method is use to return updateable PO for indirect
PO reference, for e.g MColumn.getAD_Table() and MOrderLine.getProduct.
2020-09-21 14:03:00 +08:00
Carlos Ruiz 20322a2b9d
IDEMPIERE-3665 Webservice 'updateData' prevents settings isProcessed to true (#194)
Moved before save to allow updating isProcessed

Co-authored-by: Silvano Trinchero <strinchero@freepath.it>
2020-07-31 08:05:40 +08:00
Carlos Ruiz 087b6e62d0
IDEMPIERE-4339 Web Services : Automatically fill records on Parameters table (#175)
peer review and tests
2020-07-21 11:41:11 +02:00
Nicolas Micoud b473111bab
Idempiere 4339 (#125)
* IDEMPIERE-4339 : Web Services : Automatically fill records on Parameters table

After saving a new record in WS Security window, linked records in Parameters table are automatically inserted according to the type of the WS.

* IDEMPIERE-4339 : enhancement of the WS security window layout

The 'Method' field has same width as others and Active is on top
When adding records in sub tabs, they remains in detail mode
Columns fields allow to select only 'unused' columns

* Revert "IDEMPIERE-4339 : Web Services : Automatically fill records on Parameters table"

This reverts commit 780c6777877eceeec71554eb524977fdc28e3b65.

* IDEMPIERE-4339 : InsertParameter Process

* IDEMPIERE-4339 : move scripts to 7.1z

* IDEMPIERE-4339 : Web Services : Automatically fill records on Parameters table

following Carlos's advices

Co-Authored-By: Carlos Ruiz <carg67@gmail.com>

* IDEMPIERE-4339 (remove specific columns from migration scripts)

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-07-21 11:38:52 +02:00
Nicolas Micoud 69256ca2a0
IDEMPIERE-4344 : Add a ProcessFactory class to the org.idempiere.webs… (#133)
* IDEMPIERE-4344 : Add a ProcessFactory class to the org.idempiere.webservices package

* IDEMPIERE-4344 : Add a ProcessFactory class to the org.idempiere.webservices package

Changes recommanded by hengsin

Co-Authored-By: hengsin <hengsin@users.noreply.github.com>

Co-authored-by: hengsin <hengsin@users.noreply.github.com>
2020-07-15 18:47:24 +08:00
hieplq beec96b332
IDEMPIERE-4357:ClassLocator.warn: Replicate resource by jetty append lib on standard web folder (#155) 2020-07-04 21:21:49 +08:00