Commit Graph
15773 Commits
Author SHA1 Message Date
Hans Bakker 2feb0cd91d allow safe html in blog services
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021729 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 10:23:11 +00:00
Hans Bakker 5ad9d60310 correction on rev 1006104
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021719 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 09:54:00 +00:00
Hans Bakker e2bef93c5e make layout of the payment 'out' screen consistent with payment 'in', only show payment 'out' types on payment 'out' screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021706 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 09:29:07 +00:00
Jacopo Cappellato 08ad03d350 Added missing sorting to the agreement products screens (and reports): this was making maintenance of price lists very difficult. Thanks to Giorgio Tomaselli for the bug report.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021650 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 07:54:42 +00:00
Jacques Le Roux b345b97933 Makes consistent with component-load
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021526 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 21:53:43 +00:00
Jacques Le Roux 1610fce6df A patch from Sascah Rodekamp "Server Hit Bin, counterHit receive delegator" (https://issues.apache.org/jira/browse/https://issues.apache.org/jira/browse/OFBIZ-3984) - OFBIZ-3984
Patch to improve the delegator call in the countHit method.
The method got the delegator name from the session and got, with this delegator name over the delegator factory, the delegator.
But when the delegator name was not available in the session the method crashes.
I try to get the delegator from the request, and if their is no delegator object I go the factory way.

I think it's a little bit saver to get a delegator object this way

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021344 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 13:43:38 +00:00
David E. Jones b848c3cee6 Small change to allow a null/empty productStoreId in the Product Store Ship Setup screen
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1021337 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 13:20:20 +00:00
Hans Bakker cf88b9b338 when generate invoice fom timesheet combine invoice items with the same description and item amounts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006104 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 02:27:39 +00:00
Adam Heath 60fea5797a Increase Standards-Version to 3.9.1.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006053 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:13:37 +00:00
Adam Heath 33914bb5d0 Don't install framework/appserver/templates into the debian packages.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006052 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:13:33 +00:00
Adam Heath cc9f891e65 Remove Apache-2.0 license text from copyright, instead referring to the
shared one in /usr/share/common-licenses.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006048 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:01:32 +00:00
Adam Heath 23fa4f75cc Protect sourcing of /etc/default/rcS, it is a conffile that might be
removed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006047 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:01:27 +00:00
Adam Heath 907fed1812 Skip rc.ofbiz.for.debian file and .pc dirs, so they don't get installed
anymore.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006046 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:01:22 +00:00
Adam Heath cfd621d6ee Fix ofbiz package description, to mention meta-package.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006045 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:01:18 +00:00
Adam Heath b68890e196 Make all ^=+$ lines the same length.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006044 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:01:13 +00:00
Adam Heath ed306ece58 Add some changelog entry points describing various debian build-system
tweaks that have occurred previously.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006043 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:01:09 +00:00
Adam Heath cdca933db8 Set date to UNRELEASED; this more closely represents the intent of
building a package from trunk.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006042 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:01:04 +00:00
David E. Jones 7137a8f81f Changed store shipping setup Geo drop-downs to lookup screens to better handle the case where a system has a more complete set of Geos, like an imported zip code database, etc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1006041 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 22:00:04 +00:00
Erwan de Ferrieres 2b0bf1c8cc Avoiding error when trying to edit a portalPage with no portlets
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005875 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 16:01:42 +00:00
Jacques Le Roux 7a9a644f08 New Price Rules screen.
I tried to make it look better by having only one Value column but I found that a field inserted by Prototype was not taken into account when submitted. As it's not possible to rename a DOM element I finally gave up and used use-when + hide/show instead. I will see if we can do better with jQuery...
I kept the old Screen + Groovy + FTL files, not for nostalgics, but in case someone has to quickly deal with fields with a lot of values (to avoid drop-down saturation). Then the Id will still be used. Note that it's also possible to do so with the new screen: you need only to put the field type in setPriceRulesCondEventJs.ftl and at top of getAssociatedPriceRulesConds service implementation in order to handle it as an Id with an input field (like it's done OOTB for Quantity and List Price)

I'd like to use the same mechanism for Promo Rules. I will do that later, hopefully before merging jQuery...

BTW, I like the now clear separation with Ajax onComplete event.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005861 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:33:03 +00:00
Adam Heath f6dc585134 Fix checking of combined schema.tableName; the schema needed to be
normalized.  This fixes oracle at startup, so that it doesn't wrongly
thing that no tables are defined in the database.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005628 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 20:46:45 +00:00
Adam Heath d0850f76d5 fix getSchemaName, to change the case of the defined schema, based on
the database metadata settings.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005627 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 20:46:39 +00:00
Adam Heath 1bfa9fffdb In getColumnInfo, getReferenceInfo, and getIndexInfo, replace all the
blocks that fetched the scheme name with the helper method
getSchemaName.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005626 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 20:46:33 +00:00
Adam Heath 0191592447 Optimize checkDb() call, to not continually recalculate the tableName.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005625 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 20:46:28 +00:00
Adam Heath 2f8aa04d7c Fix updateByCondition, it was converting the condition to sql without
passing any of the values thru the prepared statement; this meant that
toString() was being called, instead of the correct setFoo method.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005624 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 20:46:22 +00:00
Adam Heath 5b99ca0b75 Replace 2 cases of string addition with StringBuilder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005622 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 20:46:17 +00:00
Jacques Le Roux be27d50635 Clarifies, improves and generalize getDependentDropdownValues.js.
* Now it's possible to also hide the drop-down field title
* Clarify the inputField usage (now a boolean)
* Allows to use allow-empty="true" on main field (of course dependent field as well if needed). For that onComplete is used and generalizes
* longer Fade duration (from 1.5 to 2.5) to let enough time to read...

An example of hide+hideField use with setCountryStatesEventJs.ftl.
I should "soon" commit the new Price Rules screen which uses the inputField parameter for the Quantity condition

Any functional changes as setCountryStatesEventJs.ftl and the getDependentDropdownValues optional parameters are not used OOTB


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1005395 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 10:16:46 +00:00
Hans Bakker 47ecb48c98 when creating an invoice item from a customer request concatenate name, description and number
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004599 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 10:05:41 +00:00
Hans Bakker 07ba069d46 spelling error
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004530 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 06:14:40 +00:00
Hans Bakker e1ce7ee8c7 move the WorkEffortAndTimeEntry from asset maint to workeffort because can be used in other specialized components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004527 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 05:36:03 +00:00
Erwan de Ferrieres be976edc82 missing data for French overseas departments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004408 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 20:33:25 +00:00
Erwan de Ferrieres 4de902af7a title was missing in renderDisplayField macro
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004391 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 20:17:06 +00:00
Erwan de Ferrieres 18ea53528a Simplifying bottom border on the header row for invoice report
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004386 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 20:12:58 +00:00
David E. Jones 8c6f5defdf Added error message for when entity name is wrong instead of an NPE
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004343 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 18:05:26 +00:00
David E. Jones d5c20ce0bb Fixed bug in getPostalAddressPostalCodeGeoId method so it doesn't try to modify and save GenericValue objects coming from the cache
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004281 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 15:14:16 +00:00
Jacques Le Roux e7bdf3d27e This comment is not true anymore (you can set things using POP/IMAP transfer menu option in your GMail account).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004238 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 13:54:25 +00:00
Hans Bakker 78ab8826bf allow safe html is description and name of workeffort
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004155 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 09:13:31 +00:00
Hans Bakker ca1c8d4e40 enable blog demo data again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004149 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 08:57:05 +00:00
Jacques Le Roux ad6c8a8341 Deprecates renderTemplateFromString from Scott's remark on dev ML.
I also removed a wrong @Override annotation for OFBizTemplateExceptionHandler

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004148 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 08:55:13 +00:00
Jacques Le Roux efab8fd3f8 Fixes https://issues.apache.org/jira/browse/OFBIZ-3934 - OFBIZ-3934 " paymentMethodTypeId: Found this error when changing the records to show in the paginated list."
It was missing a paginate-target, hence the default target was used and, as it's updatePaymentMethodType, a security issue was raised when changes have occurred before the pagination. There are maybe other cases like this that will pop up from time to time...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1004139 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 08:11:38 +00:00
Jacques Le Roux 8372d0cf87 A patch from Sascha Rodekamp "Additional parameter for FreeMarker to tell if it should load ftl files from cache or not" (https://issues.apache.org/jira/browse/OFBIZ-3970) - OFBIZ-3970
This patch allows you to tell FreeMarker if it should load the ftl files from cache or not as extension for the method description. If you have a few screens which shouldn't use the cache you can configure them separately. The use case is loading content with templates which are stored in the DB and can be modified during the runtime (CMS). 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003943 13f79535-47bb-0310-9956-ffa450edef68
2010-10-03 10:03:14 +00:00
Jacques Le Roux f71fb7e47f Related to OFBIZ-3969
I committed Sascha's patch in trunk at r1003836, but I finally reverted it as I'm not sure the EcommerceUiLabels will be there in all cases. And I guess if it's there, there should be a reason... I must say I did not take the time to dig it further... Also looks like Sascha's use case is specific (no English Labels) and OFBiz OOTB is not specific.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003909 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:24:11 +00:00
Jacques Le Roux 4af9a3ace7 A patch from Sascha Rodekamp "sendMailFrom Screen don't need to load uiLabels" (https://issues.apache.org/jira/browse/OFBIZ-3969) - OFBIZ-3969
Sascha: I noticed an issue in the sendOrderNotificationScreen method. There is no need of loading uiLabels in the method, because the labels will be loaded in the screen (which will be used for the email). The point is, when someone (for whatever reason) don't add English uiLabels and the service try to access the default English labels the an exception will be thrown . This can be simply avoided.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003836 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 17:14:51 +00:00
Anil Patel e051abddf6 Bug fix, use delegator getter method instead of variable to avoid getting uninitialized object.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003829 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 16:35:54 +00:00
Adam Heath d86f36d72a Fix axiom/axis paths after recent updated(svn revision 1001810).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003717 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 00:04:26 +00:00
Adam Heath 3d385599f0 Fix display of telecomContactMechId TelecomNumber entity, when the
areaCode has not been given.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003712 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 23:50:54 +00:00
Adam Heath b30d2a55fa Add management of telecomContactMechId into CartShipInfo; it's been in
the database since the beginning of time, but nothing has ever been able
to set it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003711 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 23:50:49 +00:00
Jacques Le Roux bf3bf43d48 Improves performance of regexp, from an Adam's advice on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003655 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 21:16:32 +00:00
Jacques Le Roux 07f9cdda68 A patch from Amit Sharma "Missing states of Mexico country" (https://issues.apache.org/jira/browse/OFBIZ-3975) - OFBIZ-3975
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003597 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 17:59:47 +00:00
Jacques Le Roux 8efd5d6b16 Excerpt from a BJ's patch at "Message: In field [headerString] less-than (<) and greater-than (>) symbols are not allowed.In field [messageId] less-than (<) and greater-than (>) symbols are not allowed." (https://issues.apache.org/jira/browse/OFBIZ-2544) - OFBIZ-2544
I kept only the replacing lines (there were conflicts)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1003596 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 17:59:13 +00:00