Commit Graph

135 Commits

Author SHA1 Message Date
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 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 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
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
Carlos Ruiz f4337b1b2a
IDEMPIERE-4354 add missing import (#160) 2020-07-04 12:14:53 +02:00
Nicolas Micoud 211d288f47
IDEMPIERE-4354 : Web Services : setDocAction error message not transl… (#151)
* IDEMPIERE-4354 : Web Services : setDocAction error message not translated

Translation of the error message

* IDEMPIERE-4354 : translate full message
2020-07-04 11:53:48 +02:00
Carlos Ruiz 37e82005b5
IDEMPIERE-4329 Cleanup eclipse warnings (#107)
* IDEMPIERE-4329 Cleanup eclipse warnings

Clean unused imports

* IDEMPIERE-4329 Cleanup eclipse warnings

Clean some additional warnings
Make org.adempiere.base to respect the Warnings/Errors level configuration from workspace

* IDEMPIERE-4329 Cleanup eclipse warnings

One more unused import caused by the previous commit
2020-06-09 12:26:36 +02:00
Nicolas Micoud ed7952945a
IDEMPIERE-4313 : WebServices : Yes-No output values not consistent be… (#85)
* IDEMPIERE-4313 : WebServices : Yes-No output values not consistent between Read and Query

* Update code using Carlos's suggestion
2020-05-29 14:49:55 +02:00
Nicolas Micoud 8b6d4e5d19
IDEMPIERE-4303 : 4303 Web Services : Inconsistency for username (doesn't use LDAPUser) that could lead to not reuse previous sessions (#77)
Fix inconsistency with 'standard' Login method to get the username (LDAPUser / Name)
2020-05-24 20:02:17 +02:00
Carlos Ruiz 94169c0af4
IDEMPIERE-4260 Web Services : Query should use MRole.addAccessSQL with RO (#20)
Co-authored-by: Nicolas Micoud <nmicoud@tgi.fr>
2020-04-30 16:01:49 +02:00
Carlos Ruiz 281912af45 IDEMPIERE-2767 Web Services not working with UUID / peer review - implement the same for ModelGetList AD_Reference_ID 2020-04-22 23:32:50 +02:00
Diego Ruiz 7e91d03ac0 IDEMPIERE-2767 Web Services not working with UUID 2020-04-22 23:32:18 +02:00
Carlos Ruiz b719e45c8f IDEMPIERE-2767 Web Services not working with UUID / peer review 2020-04-17 19:48:38 +02:00
Diego Ruiz a88ef127d4 IDEMPIERE-2767 Web Services not working with UUID 2020-04-17 19:48:14 +02:00
Carlos Ruiz ac5a3e7024 IDEMPIERE-4244 Web Services Query : using User Org Access doesn't retrieve records 2020-04-15 14:47:29 +02:00
Nicolas Micoud d368c2583a IDEMPIERE-4239 Web Services : AD_User_OrgAccess table is not used on login 2020-04-11 15:01:45 +02:00
HideakiHagiwara 154d8fb0de IDEMPIERE-4231 2020-04-05 13:04:11 +02:00
hieplq 296154af6e IDEMPIERE-4183:Web services is loading spring schema resources from spring web site (after update spring to osgi) 2020-02-19 21:06:32 +01:00
Carlos Ruiz 77a8e349b9 IDEMPIERE-460 Integrate and migrate 3e services
Fix old errors on integration, reporting wrong return type, is not xml but html, and fix some messages in Polish
2020-01-04 18:12:26 +01:00
Carlos Ruiz 36ca02f16d IDEMPIERE-4097 AD_Reference Caching validation 2019-11-13 11:36:21 +01:00
Heng Sin Low f46b8afb5c IDEMPIERE-4098 CLogger usage pattern clean up 2019-11-12 20:49:55 +08:00
Andy Conn 4b6f146344 https://idempiere.atlassian.net/browse/IDEMPIERE-3132 2016-06-24 23:49:25 -04:00
Carlos Ruiz 7753c90af0 hg merge release-6.2 (merge release6.2 into default) 2019-04-27 14:18:37 +02:00
hieplq 29f4a4b830 Jetty vulnerability
https://webtide.com/indexing-listing-vulnerability-in-jetty/

https://www.eclipse.org/lists/jetty-dev/msg03298.html
2019-04-23 19:48:36 +07:00
Heng Sin Low bf2b531267 IDEMPIERE-3946 Upgrade to Tycho 1.4.0 2019-04-11 20:22:24 +08:00
Carlos Ruiz 0a0ad7027c IDEMPIERE-3926 Restrict roles in login by type 2019-03-21 16:04:26 -03:00
Carlos Ruiz b8678da0d1 Backed out changeset bbf1c2b204a5 IDEMPIERE-3946 revert tycho 1.4.0 from release 6.2 2019-04-11 19:05:28 +02:00
Heng Sin Low 83c876bc7a IDEMPIERE-3946 Upgrade to Tycho 1.4.0 2019-04-11 20:22:24 +08:00
Carlos Ruiz 50943b09dd hg merge release-6.1 (merge release6.1 into default) 2018-12-26 17:19:01 +01:00
hieplq cfa2705b25 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:29:49 +07:00
hieplq 0e5becb6c8 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:28:04 +07:00
hieplq 52a4a836c8 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:26:40 +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 bb6005c5c2 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:23:59 +07:00
hieplq 733ad1c89f IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:17:22 +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
Carlos Ruiz 2fce02d02e IDEMPIERE-2944 Preserve iDempiere session between sucessive webservice calls / integrate peer review from hengsin
AP2-330 Web services loggin. Fix thread safety.
2018-07-30 16:24:05 +02:00
Carlos Ruiz 48b927327a IDEMPIERE-2944 Preserve iDempiere session between sucessive webservice calls / found the previous sessions was not being closed properly 2018-07-27 11:36:11 +02:00
Heng Sin Low 4c644268e1 IDEMPIERE-2944 AP2-330 Web services logging. Access to csMap is not thread safe. ctxMap should not cache full context of previous service execution. 2018-07-23 15:52:58 +08:00
Carlos Ruiz 3f1026519f IDEMPIERE-2944 Preserve iDempiere session between sucessive webservice calls / fix Context Lost issue 2018-07-09 14:43:18 +02:00
Carlos Ruiz 72b21f1df1 IDEMPIERE-2944 Preserve iDempiere session between sucessive webservice calls / fix login when using email - as reported by Pritesh Shah 2018-05-15 10:23:51 +02:00
Carlos Ruiz 5dbdbc93aa IDEMPIERE-3534 Webservice error - Cannot Access 2017-10-31 17:30:55 +01:00