Commit Graph
27737 Commits
Author SHA1 Message Date
Michael Brohl ed097f7f83 Fixed: Wrong include file name in accounting.adoc 2020-02-25 22:50:50 +01:00
holivier a88129294d Documented: Content overview doc file migration in asciidoc format
(OFBIZ-11384)

the new file content.adoc is call (via include) from user-manual.adoc
content_IT is migrated too even if there is only 2 lines in it !
2020-02-25 22:31:14 +01:00
holivier 42df37be00 Documented: Add Accounting Glossary in Accounting documentation
(OFBIZ-10626)

Thank to Vaibhav Jain for this added
2020-02-25 22:09:42 +01:00
holivier 615f9c9fba Documented: remove empty help files in Accounting
(OFBIZ-10288)
2020-02-25 22:09:42 +01:00
holivier 7e3268e849 Documented: Add help for main accounting screen at the end of intro
(OFBIZ-10289)
2020-02-25 22:09:42 +01:00
holivier 3e2e71aced Documented: Organization-Gl-Settings Docbook files migration to asciidoc
format
(OFBIZ-11352)

All the help files associated to it are called via include in the main
document
2020-02-25 22:09:42 +01:00
holivier fad7ad0272 Documented: Tax-AUthorities Docbook files migration to asciidoc format
(OFBIZ-10291)

All the help files associated to it are called via include in the main
document
2020-02-25 22:09:42 +01:00
holivier 0f937ead19 Documented: Billing Account Docbook files migration to asciidoc format
(OFBIZ-10293)

All the help files associated to it are called via include in the main
document
2020-02-25 22:09:42 +01:00
holivier 63d1df79b8 Documented: Payment-gateway Docbook files migration to asciidoc format
(OFBIZ-10294)

All the help files associated to it are called via include in the main
document.
Merge (and call included) all helps about payment-gatway-config and
payment-gateway-transaction in this file
2020-02-25 22:09:42 +01:00
holivier 508c5aaf92 Documented: Payments Docbook files migration to asciidoc format
(OFBIZ-10294)

All the help files associated to it are called via include in the main
document
2020-02-25 22:09:42 +01:00
holivier 47353fcdcb Documented: Invoice Docbook files migration to asciidoc format
(OFBIZ-10292)

All the help files associated to it are called via include in the main
document
2020-02-25 22:09:42 +01:00
holivier 2cd22bbcc6 Documented: Global GL Setting Help Docbook file migration to asciidoc
format
(OFBIZ-10297)

All the new files are now included in the Global Gl Setting
documentation presentation, each of the three Help file are included in
the concerning sub-chapter.
2020-02-25 22:09:42 +01:00
holivier 0340b17575 Documented: Financial Account Help Docbook file migration to asciidoc
format
(OFBIZ-10296)

All the new files are now included in the Financial Account
documentation presentation, at the end in a sub-chapter Financial
Account management in User Interface.
2020-02-25 22:09:42 +01:00
holivier a40a23583b Documented: Agreement Help Docbook file migration to asciidoc format
(OFBIZ-10290)

All the new files are now included in the Agreement documentation
presentation, at the end in a sub-chapter Agreement management in User
Interface.
2020-02-25 22:09:42 +01:00
holivier 3ebb9f6bbc Documented: All setup help file in docbook format migration to asciidoc
format
(OFBIZ-11363)

ofbiz-setup.adoc included all setup files and user-documentation.adoc
include ofbiz-setup
2020-02-25 22:04:21 +01:00
Michael Brohl b55279101b Merge pull request #29 from PierreSmits/OFBIZ-10955-FieldType
Improved: field type Integer is missing in definitions.

(OFBIZ-10955)

Thanks Pierre Smits for the contribution.
2020-02-25 21:55:18 +01:00
holivier 13abd8298c Documented : just remove trailing space
(OFBIZ-10251)
2020-02-25 21:28:03 +01:00
holivier f0e4db047d Documented : Migrate Training Howto Help to asciidoc and include in
hr-training.adoc
(OFBIZ-10268)

Included the Howto as a sub-chapter
File in docbook format is deleted
2020-02-25 21:28:03 +01:00
holivier 97d15cbcb0 Documented : Migrate Employee-position Help to asciidoc and include in
hr-employee-positions.adoc
(OFBIZ-10259)

Included all Help about Employee-position screen in a dedicated
sub-chapter "Employee Position management in UI"
Related Help file in docbook format is deleted
2020-02-25 21:28:03 +01:00
holivier 3d4d999e6a Documented : Migrate Employment Help to asciidoc and include in
hr-employment.adoc
(OFBIZ-10261)

Included all Help about Employment screen in a dedicated sub-chapter
"Employment management in UI"
Related Help file in docbook format is deleted
2020-02-25 21:28:03 +01:00
holivier eddb5a7b41 Documented : Migrate Employee Help to asciidoc and include in
hr-employees.adoc
(OFBIZ-10260)

Included all Help about Employee screen in a dedicated sub-chapter
"Employee management in UI"
Related Help file in docbook format is deleted
2020-02-25 21:28:03 +01:00
holivier 8d80909c90 Documented : Migrate Help to asciidoc and include in hr-intro.adoc
(OFBIZ-10256)

remove all related Help file in docbook format
2020-02-25 21:28:03 +01:00
Michael Brohl 8afb711ef3 Fixed: Fluent API Bug in getFieldList().
(OFBIZ-10298)

Thanks Benjamin Jugl for reporting and providing the patch.
2020-02-25 21:15:37 +01:00
Michael Brohl 74db8bde12 Improved: Performance optimization for entities in xml data export.
(OFBIZ-10157)

Thanks Kyra Pritzel-Hentley for reporting and providing the patch.
2020-02-25 20:31:53 +01:00
Michael Brohl f3d3547515 Improved: Convert CategoryContentServices.xml mini lang to groovy.
(OFBIZ-10001)

Thanks Dennis Balkir for reporting and the initial work,
Deepak Dixit for review and Sebastian Berg for the refactored patch.
2020-02-25 20:27:51 +01:00
Pierre Smits 75ed0c48ee Fixed: Field Type definitions
(OFBIZ-10955)

Adding missing field type definition for Apache Derby, MySQL, PostgreSQL
2020-02-25 12:59:58 +01:00
Michael Brohl 59f05e6df1 Improved: Move permission checks to service definitions via permission
service.

(OFBIZ-11357)

Thanks Pawan Verma for the suggestion and Wiebke Pätzold for providing
the patch.
2020-02-25 12:05:34 +01:00
Jacques Le Roux ca9121227a Improved: no functional change
At http://svn.apache.org/viewvc?view=revision&revision=1855675
the javadoc.options block was renamed javadoc but this comment was not updated
Nothing else is needed https://tomcat.apache.org/tomcat-9.0-doc/servletapi/
shows Apache Tomcat 9.0.31 documentation
2020-02-24 21:50:25 +01:00
Pawan Verma 36a94d70df Fixed: Issue in which Agreement Item can't be removed from Agreement
(OFBIZ-11410)

Reason for the issue was incorrect use of service IN parameters for entity-auto delete invoke.

Thanks, Pierre Smits for the report.
2020-02-24 19:04:16 +05:30
Pawan Verma 95af7cf8ba Fixed: Error showing on Allocation Plan screen
(OFBIZ-11338)

Thanks: Yashwant Dhakad for the report and Aman Mishra for the patch.
2020-02-24 17:18:24 +05:30
Jacques Le Roux 0e7d31912b Fixed: Improve ObjectInputStream class (CVE-2019-0189)
Improved: no functional change
(OFBIZ-10837) (OFBIZ-11398)

Steps to generate:
1. Navigate to - catalog/control/EditProdCatalog?prodCatalogId=TestCatalog
2. Click on - CREATE SEO CATEGORY/PRODUCTS
3. The broken page will be displayed

The issue is due to the use of a GString in
createMissingCategoryAndProductAltUrls().

This:
    result.successMessageList = [
        "Categories updated: ${categoriesUpdated}",
        "Products updated: ${productsUpdated}"

As it's common to use such expressions I have added the necessary
org.codehaus.groovy.runtime.GStringImpl groovy.lang.GString
to the white list of classes in listOfSafeObjectsForInputStream in
SafeObjectInputStream.properties

I finally have also decided to use this property as default and commented for
committers to be aware that it should be also put in DEFAULT_WHITELIST_PATTERN
in SafeObjectInputStream class. Because if, for a reason,
listOfSafeObjectsForInputStream is empty OFBiz will still be protected

Thanks: Dikpal Kanungo for reporting
2020-02-24 11:00:51 +01:00
Daniel Watford e76cbd1f34 Improved: Added ModelFormField testing to ensure getting a field's
current container id will return an evaulated FlexibleStringExpander
expression.

(OFBIZ-4035)
2020-02-23 20:32:50 +01:00
Daniel Watford d6132fa534 Documented: change the id Attribute for input fields in the model macro
form renderer from String to FlexibleStringExpander

(OFBIZ-4035)

Document that the id-name attribute for a form widget's field
element can use ${} notation. Also document the default value if id-name is
not set.
2020-02-23 20:28:45 +01:00
Michael Brohl f5a8479c46 Documented: Upgrades the documentation references in
catalina/ofbiz-component.xml to the 9.0 documentation.
2020-02-23 12:45:21 +01:00
Michael Brohl 0d623c077f Upgrade Tomcat from 9.0.29 to 9.0.31
(OFBIZ-11407)

Overriding the new default property secretRequired to be not required
and added the default property "secret" in the commented out section.
2020-02-23 12:23:43 +01:00
Michael Brohl 6e26a9d5f7 Upgrade Tomcat from 9.0.29 to 9.0.31
(OFBIZ-11407)
2020-02-23 12:11:58 +01:00
Michael Brohl 241d49d903 Documented: Themes documentation migration from md to asciidoc
(OFBIZ-11311)

Thanks Olivier Heintz for reporting and providing the patch.
2020-02-22 19:37:37 +01:00
Nicolas Malin dff226ea60 Improved: Refactoring old job process
(OFBIZ-11200)

Before this commit, to purge old job we use the thread job manager to check
if some job need to be run and if the pool is empty, check the old job to purge.

I detected a problem when you have many job's server and more than one pool.
When you have a first pool that run regular job and a second that receive
huge asynchrone services (by persist call), the server who manage the second pool
have rarely the possibility to purge their jobs that, by the way, increase JobSandbox table.

The Server who manage the first pool, call often the purge process, but the table size
generate a long query time to purge few element. Long query time, run often,
this purge process load uselessly the database.

After analyze, I refactoring these following items :

 * When you call JobSandbox table for a purge, use a limit on the query
   with the max thread pool because when you have the database return,
   you purge only with this limit so this help the database to not scan
   the whole table. Other small improvement, do not sort the result
   (no functional gain).

 * Purge by the pool thread is nice, each server can only purge their
   own job (filtered on run_by_instance_id), to help an overloaded server,
   I was rehability purgeOldJobs service that it can run with specific
    parameter to make assistance.

 * Last, all job services are historical on class org.apache.ofbiz.service.ServiceUtil,
   I moved them all in a new dedicate class org.apache.ofbiz.service.job.JobServices
2020-02-22 18:48:32 +01:00
akash ca677644ba Improvement: Print and Export of ViewFacilityInventoryByProduct report into new window
(OFBIZ-10526)

Thanks, Sourabh Punyani and Pierre Smits for your contribution.
2020-02-22 16:45:50 +05:30
Nicolas Malin 2d9a5081fb Fixed: Convert ContactMechServices.xml mini-lang to groovyDSL
(OFBIZ-11358)

Add missing parenthesis to generate success message with elvis syntax
2020-02-22 12:09:04 +01:00
Nicolas Malin a262cdd84a Improved: Convert ContactMechServices.xml mini-lang to groovyDSL
(OFBIZ-11358)

Forgot to load the new label 'PartyNothingToDoHere' introduce with commit
c51f703d36
2020-02-22 12:09:04 +01:00
Michael Brohl 211c1924a5 Provide a FileItem entry in UtilHttp.getMultiPartParameterMap.
(OFBIZ-11346)
2020-02-22 11:57:11 +01:00
Nicolas Malin c51f703d36 Improved: Convert ContactMechServices.xml mini-lang to groovyDSL
(OFBIZ-11358)

Convert all services present on ContactMechService.xml to groovyDSL :
  * createContactMech
  * updateContactMech
  * createPostalAddress
  * updatePostalAddress
  * createTelecomNumber
  * updateTelecomNumber
  * createEmailAddress
  * updateEmailAddress

I reorganized to move service definition from general services.xml file
to dedicate services_contact.xml, and create a new directory groovyScript/contact/
to centralize in future all groovy for contactMech as present on minilang directory
2020-02-22 11:19:40 +01:00
Michael Brohl 30566a6bde Convert Thesaurus services in CommonServices.xml from mini lang to
groovy.
(OFBIZ-11357)

Thanks Wiebke Pätzold for reporting and providing the patch.
2020-02-22 10:29:35 +01:00
Suraj Khurana 9a06b0b254 Merge branch 'trunk' of https://gitbox.apache.org/repos/asf/ofbiz-framework into trunk 2020-02-22 14:38:18 +05:30
Suraj Khurana 1fe4304a8d Fixed: Product Price set based on 'Purchase Price Agreement' isn't honoured while same is used during ordering.
(OFBIZ-7610)

Thanks Ankush Upadhyay for the patch and Swapnil Shah for reporting the ticket.
2020-02-22 14:37:59 +05:30
Jacques Le Roux be3da7119c Fixed: replaceFirst sensible to variable pattern
(OFBIZ-11396)

When using variable pattern with replaceFirst you may cross issues if the
pattern contains specific tokens. For instance on Windows with the path
"C:\projectsASF\Git\ofbiz-framework/" you have inside the token "\p" which has
a special meaning.
2020-02-22 09:41:11 +01:00
akash b6d25093d2 Fixed: Issue while redirecting to Request Detail Screen from View Communication Event
(OFBIZ-9658)

Thanks, Ankit Joshi for your contribution.
2020-02-22 13:29:20 +05:30
Deepak Dixit 0e007d80c2 Added missing GeoAssoc data for Ladakh geo
(OFBIZ-11399)
2020-02-22 13:03:01 +05:30
akash de70b3c9ca Improvement: View Request button should not display when there is no customer request data on Quote Items screen
(OFBIZ-10629)

Thanks, Kumar Rahul and Ritesh Kumar for your contribution.
2020-02-22 13:00:34 +05:30