Commit Graph
312 Commits
Author SHA1 Message Date
Adrian Crum d2297309f7 Fixed forum create.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569871 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 19:34:55 +00:00
Adrian Crum 0c60962acf Fixed entitydef comments per David's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569574 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 23:36:41 +00:00
Adrian Crum d6c7cdcd41 More fixes in the forum feature in the content component. I also added a few comments to indicate what different fields are used for.
The eCommerce component organized forum data one way, and the content component organized it another way. After discussion on the dev ml, I determined that the content component was storing data incorrectly.

This commit is not backwards compatible with existing forum messages. Existing forum messages will have to have the contents of ContentAssoc.contentId and ContentAssoc.contentIdTo swapped before updating to this revision.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@569568 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 23:16:18 +00:00
Adrian Crum c49fd8b584 Some bug fixes for content manager. Add forum/thread/message now works. Update message still doesn't work.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@568733 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 19:20:41 +00:00
Adrian Crum 9024bed533 The forum.properties file was corrupted during the recent commit/revert/commit cycle. My original intention was to move forum.properties from the ecommerce component to the content component to facilitate making the forum feature standalone.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@568697 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 16:51:45 +00:00
David E. Jones e3cc06b406 Undo changes from Adrian Crum in rev 567090; different way of addressing this is being discussed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567316 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 19:04:24 +00:00
Adrian Crum 73290f1b58 Moved the ecommain.css file to the ecommerce component. Existing installations will need to update the stylesheet field in their ProductStore entity.
Moved forum.properties file to the content component.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@567090 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 17:22:04 +00:00
Jacques Le Roux 838fbd115d A patch from Thomas Herzog "use UTF-8 encoding for emails" (https://issues.apache.org/jira/browse/OFBIZ-1083)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@566428 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 00:15:55 +00:00
Adrian Crum 6e977d71be Content Manager menu widget refactor contributed by Mike Wong, OFBIZ-241.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@565951 13f79535-47bb-0310-9956-ffa450edef68
2007-08-14 22:35:09 +00:00
Jacques Le Roux 49ca64b03d A patch from Adrian Crum "FreeMarkerWorker class has a bug in its caching logic" (https://issues.apache.org/jira/browse/OFBIZ-1170)
I applied the NewFreeMarkerWorker.patch. It's commited as CTR, I tested it one week without any problems.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@564530 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 09:45:09 +00:00
Alfred Maxwell Byers 85bd8959db Changed renderSubContentAsText to do a query without "mapKey" if it does not exist.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@563987 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 19:02:15 +00:00
Si Chen c18385a25e Fix a problem where processSubscription and extend subscription by order services were returning error for orders which did not have the End User Customer role created. The more logical thing to do is just to return failure, so that orders which have nothing to do with subscriptions and no end users could still go on
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@561883 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 17:38:27 +00:00
Hans Bakker 54100211c1 added opendoc spreadsheet mimetype
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560861 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 05:01:31 +00:00
Hans Bakker 5619d95432 added gzip mimetype
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560843 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 02:23:39 +00:00
Jacques Le Roux 0a9c7cc4db Usable part of Stefan Huehner's patch "Change all <div class="head1|head2|head3"> to <h1|h2|h3>" (https://issues.apache.org/jira/browse/OFBIZ-587)
110 files are modified
Before this patch was commited there were 
. 110 head1 occurences
. 132 head2 occurences
. 98 head3 occurences
Remain : 
. 52 head1  occurences
. 44 head2  occurences
. 48 head3  occurences



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@560530 13f79535-47bb-0310-9956-ffa450edef68
2007-07-28 11:47:08 +00:00
Adrian Crum 5d600fb457 Improved currency UOM drop-down lists. Patch provided by Bilgin Ibryam, OFBIZ-1153. I tested a handful of instances. Since the same change is made in all places, I will assume the patch works just as well in the screens I didn't check.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557086 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 23:45:33 +00:00
Adrian Crum 9684b69ee5 Moved blog and order component demo data out of the securityext component - OFBIZ-813.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@557077 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 22:27:04 +00:00
Jacopo Cappellato cc4147dd4a Removed old jar
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556842 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 07:57:21 +00:00
Jacopo Cappellato 6ac5a6142d Upgrade to Apache Lucene 2.2.0
Thanks to Michael Brohl for the patch (OFBIZ-1123).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556839 13f79535-47bb-0310-9956-ffa450edef68
2007-07-17 07:54:23 +00:00
Hans Bakker 0b7fa84bf3 add lookup for party and content in the websiteContent webSiteParty forms
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@556218 13f79535-47bb-0310-9956-ffa450edef68
2007-07-14 03:57:57 +00:00
Jacques Le Roux 72684a3064 A 2st patch (ofbiz-642-locale_tz.patch)from Adriam Crum "Make OFBiz more dial-up friendly" (https://issues.apache.org/jira/browse/OFBIZ-642)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@555997 13f79535-47bb-0310-9956-ffa450edef68
2007-07-13 13:48:00 +00:00
Jacopo Cappellato f9ccd14670 Applied patch from Stefan Huehner OFBIZ-730 to fix some very bad conditions that could cause NPE.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550233 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 14:17:31 +00:00
Jacopo Cappellato e8944af650 Sorry for the big commit.
Replaced all the field's titles in form widgets that were explicitly set to empty to ${uiLabelMap.CommonEmptyHeader}


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@550173 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 07:27:29 +00:00
Jacopo Cappellato 4e8e2dac8e Implemented 'Require Password Change' in ecommerce and manager apps: if the new field in the UserLogin entity is set to Y then, before the login, the user will be prompted for a new password.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549406 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 06:20:53 +00:00
Adrian Crum 38fc1662d1 Russian translation of Accounting component, plus some i18n fixes of boolean style selects. Patch contributed by Oleg Andreyev, OFBIZ-1074.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@549139 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 15:41:28 +00:00
Alfred Maxwell Byers c7967749fd Made OUT lists optional in getSubContentWithPerm services.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@548378 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 15:15:40 +00:00
Alfred Maxwell Byers e06ae5eab8 Added two services, getSubContentWithPerm and getSubSubContentWithPerm.
The first gets a list of sub content and does a genericContentPermission check on each one.
The second one uses the list from the first and gets a subcontent record for each one that exists.
It is meant to get the "summary" record for an article.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546949 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 16:23:24 +00:00
Alfred Maxwell Byers 0fcd14c6e3 I found that views the put a prefix on from/thruDate do not work with the simple language "filter-by-date" option.
Rather than mess with the code, I just added an alias for those two fields to ContentAssocViewFrom/To.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546750 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 06:32:23 +00:00
Jacopo Cappellato 7ed37eb27d A bunch of i18n and i10n improvements by Marco Risaliti: OFBIZ-1062 and OFBIZ-1057
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@545461 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 09:06:47 +00:00
Alfred Maxwell Byers 23f6953bfd Some content mods done in the course of trying to get forums to work in ecommerce.
Added two services.

createArticleContent is meant to be a more general version of postBlogEntry.

getSubContentWithPermCheck adds a content permission check inside the loop - returning only records 
  that have the right permission.

Modified CmsEvents.cms to return "success" instead of null.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@544732 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 05:30:17 +00:00
Jacopo Cappellato f4c5f55894 Fixed warnings after upgrade of common* jars related to a deprecated class used to manage file upload.
Added a new folder (runtime/tmp) to store temporary files during upload and added new properties to configure the file upload to the general.properties file.
Issue OFBIZ-942.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543404 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 06:45:10 +00:00
Alfred Maxwell Byers 89263c7c5d There were a couple of places where the multi response column functionality was causing problems.
In createSurveryResponse, it was testing to see if responseAnswer.surveyMultiRespColId was empty, but processSurveyResponseInline
was putting "_NA_" in that field, so I modified the test to also look for "_NA_".

In processSurveyResponseInline, it was testing on surveyMultiRespColumn.surveyMultiRespColId, but surveyMultiRespColumn does not
always exist, so I tested for its existence.

I suppose this is a release branch fix? I was afraid of that. 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@543397 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 05:54:40 +00:00
David E. Jones 07b48643c5 As noted needing to be done by Jacques Le Roux did a search/replace on source=1.4 and changed to 1.5
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541997 13f79535-47bb-0310-9956-ffa450edef68
2007-05-27 15:55:18 +00:00
David E. Jones 18ef0d30c3 A few changes to better handle errors and to log less information that isn't so critical by default, ie use more verbose instead of info; this is based on some production log reviews
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@541022 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 18:47:11 +00:00
Timothy Ruppert 58403e075b Updated Content / DataResource Edit Screens to work for Add since they're being used that way
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539839 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 07:10:14 +00:00
David E. Jones 7d70c41c12 Did a big search/replace to change all xsd file refs from www.ofbiz.org to ofbiz.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@539504 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 15:47:14 +00:00
Hans Bakker 4475daa2e7 sorry, comitted the wrong version, changes in rev 537329 reverted
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537330 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 03:59:35 +00:00
Hans Bakker 690dcd3ecc run only update balances if party found in partyAcctgPreference
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537329 13f79535-47bb-0310-9956-ffa450edef68
2007-05-12 03:49:45 +00:00
Alfred Maxwell Byers 2ff361de78 Added a utility service, buildSurveyQuestionsAndAnswers, that, given a surveyResponseId, returns a list of maps that contain
"question"->SurveyQuestion and "response"->SurveyResponseAnswer pairs.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@537042 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 23:40:46 +00:00
Jacopo Cappellato af2d09f622 Formatting cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536872 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 14:40:49 +00:00
Hans Bakker cd9b621543 jira issue OFBIZ-975 patch providedby nicolas malin
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@536846 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 12:30:26 +00:00
Jacopo Cappellato 7723092596 Applied patch from Guido Amarilla (OFBIZ-912) with checks to prevent NPE for null arrays of CC and BCC addresses.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530980 13f79535-47bb-0310-9956-ffa450edef68
2007-04-21 04:42:51 +00:00
Andrew Zeneski aba4c121bb updated CMS to do simple (single) content purpose and updates
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530530 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 19:54:45 +00:00
Andrew Zeneski c1fb8aced7 updated content permissions to use the purpose associated with the content; not sure why we expected this to be passed in... changed the name of the XML file containing operation data; added default purpose for CMS entry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530518 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 19:00:44 +00:00
Hans Bakker 7e57a368b3 added mimetype text/x-diff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@530219 13f79535-47bb-0310-9956-ffa450edef68
2007-04-19 01:31:24 +00:00
Scott Gray 0723990e34 Changed the EditElectronicText form to support additions as well as updates, the existing form AddElectronicText was not being used.
Fixes bug reported by Michel Dielissen on the mailing list

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527866 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 09:53:07 +00:00
Andrew Zeneski 777656a579 added x509 auto-login event
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527758 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 03:18:38 +00:00
Andrew Zeneski 9425a7371f some changes to CMS nav; not finished
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@527757 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 03:18:01 +00:00
Jacopo Cappellato be8d6f25bd That's incredible, I did another error in the same spot... all in all it's Monday morning.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@524757 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 09:41:06 +00:00
Jacopo Cappellato 31f44124cb Fixed typo in my last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@524756 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 09:37:35 +00:00