Commit Graph
12781 Commits
Author SHA1 Message Date
Scott Gray cef6a0fb92 Thought I'd have a go at using the new entity-auto feature
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687676 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 09:53:22 +00:00
Jacques Le Roux 750584e325 A patch from Bilgin Ibryam on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687675 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 09:49:36 +00:00
Hans Bakker 7b219a0e76 change order of project drop down, fix of timesheet display, remove log messages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687663 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 09:30:33 +00:00
Jacques Le Roux a4f59ca86a A patch from Luke Prentice "Sort related entities in ViewGeneric" (https://issues.apache.org/jira/browse/OFBIZ-1921) - OFBIZ-1921
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687614 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 07:43:51 +00:00
Scott Gray fd0e5ee7c0 Reverted some of the recent generics work which seems to be causing the issues reported in the user mailing lists by BJ Freeman and Sharan Foga.
Adam, it would be great if you could take another look at this

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687578 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 06:31:02 +00:00
Adrian Crum df34ed93d5 A small tweak of the FlexibleStringExpander.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687500 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 23:12:39 +00:00
Adrian Crum 3aa803f9bc Small fix for UtilObject. The getByteCount(Object obj) method was returning unusual results for non-serializable objects. I also added an explanatory note in the JavaDoc.
An interesting article on getting the size of Java objects - http://www.javaworld.com/javaworld/javaqa/2003-12/02-qa-1226-sizeof.html?page=1.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687473 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 21:33:52 +00:00
Adrian Crum ead3169d5c FlexibleStringExpander refactor.
1. Improved parsing logic - the entire expression is pre-parsed now.
2. Factory method stores parsed expressions in the cache.
3. Single null/empty expression instance - saves on memory.
4. Class names and variable names shortened to reduce object size.
5. Small performance improvements.

The expression cache is set up with no limit. We'll have to see if that needs to be changed. Larger installations might need to limit the expression cache size.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687422 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 18:50:04 +00:00
Hans Bakker 36b5f59a67 improve custrequest screens, add notes to custrequest items, several fault fixes, project/phase dropdowns changed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687326 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 13:30:25 +00:00
Hans Bakker e3ec802f87 added the ability to add notes to custRequest items
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687293 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 08:53:10 +00:00
Hans Bakker c7fd0326a1 several improvements to the customer request screens
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687279 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 08:03:43 +00:00
Hans Bakker 9fe77d5cbc small adjustment in titles, screenlet conversion, sendemail using primary email address
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687270 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 07:20:38 +00:00
Hans Bakker 559263f78b add contact purpose to demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687267 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 07:15:52 +00:00
Adam Heath 45de0adacc Forgot to remove debug before checking in.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687152 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 20:51:38 +00:00
Adam Heath db2a33fae4 If jsvc is not detected on the path, then implement a shellscript
fallback function.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687150 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 20:43:50 +00:00
Jacques Le Roux df3a5c3b50 Fix number of bugs. This allow to export but there is still bug(s?) in the FO->PDF transformation
Unable to transform FO file: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The content of elements must consist of well-formed character data or markup.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687143 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 20:18:07 +00:00
Jacques Le Roux 50192bae02 A 1st level i18n
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687119 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 18:37:21 +00:00
Jacques Le Roux 43c6ceb5e8 Some French translations
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687090 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 16:34:03 +00:00
Jacques Le Roux 2418240676 Some i18n
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687086 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 16:23:35 +00:00
Ashish Vijaywargiya bb84947204 Minor Improvement in the previous patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687045 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 13:00:11 +00:00
Ashish Vijaywargiya 5f9596c646 Generalized the method for extracting states for selected country from drop down and improved java script for billingSameAsShipping option in billing panel of one page checkout.
Thanks to Jyotsna Rathore and Sumit Pandit in this contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687037 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 12:16:20 +00:00
Hans Bakker a01ebbf197 add status field to customer request and cnvert to screenlet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687011 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 10:13:10 +00:00
Hans Bakker f92c74e22a task to complete only on timesheet, if task has related customer request that status will also be set to complete
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687008 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 09:57:20 +00:00
Hans Bakker ee2bccca97 small adjustments and removel of a duplicate screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686986 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 08:48:13 +00:00
Hans Bakker fb2f483a81 remove log message, enhamce demo data, remove 'set to complete' on the my tasklist, better set that at the timesheet so hours are added too
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686952 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 03:41:47 +00:00
Hans Bakker d6da2516d6 small error correction in project permission services: DemoEmployee could create own timesheet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686944 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 02:55:07 +00:00
Adam Heath c3054529c9 Allow joining of any item, not just string.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686845 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 18:51:08 +00:00
Bilgin Ismet Ibryam e5afabdd62 Add possibility for entering comments for configurable product options. The comments are attached to production runs as notes.
Thanks to Jacopo and BJ for their comments.
Internationalization note: this commit contains new UI labels.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686748 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 13:30:35 +00:00
Ashish Vijaywargiya d94bd4178f Added few WorkEffortType record for an Event.
Patch from Ratnesh Upadhyay

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686737 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 12:32:46 +00:00
Ashish Vijaywargiya d7867af0b0 Patch from JIRA issue https://issues.apache.org/jira/browse/OFBIZ-1910 "Add support of fromDate & thruDate in CustRequestRole entity".
Slight change in Entity name in this commit.
In the attached patch the  name of entity was "CustomerRequestRole" but in this commit the name of new entity is "CustRequestParty"(Looked more close to the data model pattern).

Thanks Bilgin for your valuable Input on this.
I have also written the Migration service for providing the Backward compatibility.

Special thanks to Ratnesh & Jacopo in discussing with me on this work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686731 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 11:47:14 +00:00
Bilgin Ismet Ibryam c1ea34eda8 Copied productDetail screen files to ecommerce, which should allow customized version of these screens for order manager and ecommerce applications.
This was agreed before some time here http://www.nabble.com/New-field-for-WebSite-entity--to14854979.html#a14854979

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686714 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 09:53:13 +00:00
Hans Bakker 8e81f0cf7a corrected some errors in the project permission services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686709 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 09:28:30 +00:00
Scott Gray 3c0f8adf85 typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686695 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 08:29:28 +00:00
Hans Bakker e9243cd0ed correct typo
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686672 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 03:54:52 +00:00
Hans Bakker 910b112f11 corrected wrong view name and cleanup others
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686671 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 03:53:32 +00:00
Adam Heath 5bc7e67662 Iterate the correct list.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686668 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 02:37:10 +00:00
Jacques Le Roux 94591ccc4d Following description added for the workEffortParentId field in rev. 677193 by Jacopo, I added some descriptions here.
But I quickly realized, as David explained, that "We can't document every little thing". 

The best in such case is simply to use he relations view in entity maintenance feature in Webtools to see which fields relate with which entities


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686636 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 19:49:23 +00:00
Bilgin Ismet Ibryam 40d4c4745b Fixed few requests which allow access to main page without authorization check.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686630 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 18:51:26 +00:00
Adrian Crum f7ab19876b Removed availableLocales and availableTimeZones from screen rendering context - they are not needed anymore. Also deleted an unused ftl file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686622 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 16:37:42 +00:00
Hans Bakker e10e240216 only show internal notes to visiting customers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686609 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 13:28:51 +00:00
Hans Bakker 24ed1733b9 enable the internal comm notes to a customer and add demo data for different employee groups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686596 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 09:23:24 +00:00
Hans Bakker 2ce52072e6 refinement security for creating external email and internal comm notes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686595 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 09:16:38 +00:00
Hans Bakker 563dccbe37 missing field name
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686594 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 09:10:39 +00:00
Hans Bakker efe3927216 add missing label and only show option if has access
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686592 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 08:49:18 +00:00
Jacques Le Roux e7905f2c8c Fix the anti-pattern
if (* != null && *.size() > 0) { 
where * is a variable name (String or Collection). Rewritten to
    if (UtilValidate.isNotEmpty(*)) {

Done with Eclipse regex replace feature with
search = if \((\w+) *!= *null *&& *(\w+)\.size\(\) *> *0\) *\{
replace = if (UtilValidate.isNotEmpty($1)) {

And of course some hand-work for imports and cleaning. I compiled and tested with ant run-tests

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686591 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 07:47:18 +00:00
Hans Bakker 57d3cd208c use system userlogin to create role, so everybodu can create a communication event, only remove commevent role if it can be found, spaces for tabs(last change)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686581 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 01:34:06 +00:00
Scott Gray f219aa1c43 Shouldn't have removed this one
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686579 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:08:10 +00:00
Scott Gray c98e7dc59f Removed unnecessary "error" response elements from the controller files, if no event is defined then "success" will always be the response name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686577 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:00:49 +00:00
Adrian Crum adc1d1d145 Collapsible masthead, based upon a patch provided by Bruno Busco - https://issues.apache.org/jira/browse/OFBIZ-1919.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686515 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 15:52:47 +00:00
Jacques Le Roux 21cd086346 French translation
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686442 13f79535-47bb-0310-9956-ffa450edef68
2008-08-16 03:21:25 +00:00