Commit Graph
269 Commits
Author SHA1 Message Date
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Jacques Le Roux 47a23c8778 Fix a bug reported by Ján Valkovic on user ML about about service CreateLead informations in Webtools (actions is not the same as actionsAndSet)
in Webtools, in the ECA section of services info, the I have added a column for fields set.

In availableservices.ftl, I have also replaced
<td><b>${uiLabelMap.WebtoolsIsService}</b> ${condition.isService?default(uiLabelMap.CommonNA)}</td>
by
<#if condition.isService?has_content>
  <td><b>${uiLabelMap.WebtoolsIsService}</b> ${condition.isService}</td>
  <td colspan="2">&nbsp;</td>
</#if>

I think we don't need to show informations (actually always NA) about attributes not used. But as I was not sure everybody would agree, I only did this one as an example. So What do you think, should we do it for all occurrences ?



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808786 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 07:21:52 +00:00
Scott Gray ef7663888d Switched FindGeneric.groovy back to using findCountByCondition rather than eli.getResultSizeAfterPartialList()
I found on my local machine that for every 100,000 rows in the result set getResultSizeAfterPartialList would take an additional 5-7 seconds to execute.
findCountByCondition was taking roughly 2 seconds at most to count 700,000 records

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@807859 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 00:41:57 +00:00
Hans Bakker 966b32d5af The 'new' help system
A new help system is implemented which is compatible with the current system which uses the ofboz.docs.org site to store the data.

The new help system has a number of advantages over the old version:
1. complete multilanguage without config xml files, using the locale.
2. Having an automatic multilevel index of all help pages using the ContentAssoc entity
3. Using the content manager for retrieval.
4. Template driven, aware of the different visual themes.
5. A first step towards the storage of OFBiz documentation within the OFBiz system itself.
6. Easy update via normal svn in seed data.
7. Aware of portlets on (userdefined) Portal pages.
8. Create awareness of the capabilities of the content component

The reason of this development was the requirement to provide user documents to the customers of Antwebsystems Co.Ltd

Some of the possible extensions could be:
1. a search function
2. print all or specific help files in PDF format
3. make the help screens work better with the business theme
4. Explain how help can be extended
5. In the help screen be able to send a message to the local support team
6. But most of all, create more help content!


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804546 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 02:04:17 +00:00
Adrian Crum 8b4acdd137 Small fixup for last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792297 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 20:30:44 +00:00
Adrian Crum 5c16b67075 Cleaned up cluttered and confusing FindGeneric screen in WebTools.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792295 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 20:28:01 +00:00
Jacopo Cappellato 6d28d63653 Fixed bug (wrong position of a <context-param> element) reported by Vadiraj Deshpande in OFBIZ-2704.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791436 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 10:49:23 +00:00
Scott Gray dec24b29f2 Sorry for the big commit, got a bit carried away.
Added override and deprecated annotations wherever they were missing
Removed the use of any deprecated classes/methods (except OutputFormat in UtilXml)
A few other random generics and misc. cleanups

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@791212 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 10:01:19 +00:00
Jacques Le Roux 5aa6b34228 A patch from Marco Risaliti : "Cannot login to Webtools" (https://issues.apache.org/jira/browse/OFBIZ-2582) - OFBIZ-2582
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@785764 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 19:27:31 +00:00
David E. Jones 776d75659c Added divs since it looks like in the bizznesstime theme that h2 no longer causes a newline; also fixed serial warning in ServiceEcaRule
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780597 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 08:51:12 +00:00
Adrian Crum c0333a71d9 Fixed a bug in Label Manager - reported by Jacques on dev ml.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777587 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 15:47:54 +00:00
Adrian Crum 67849c3edd Small fixup for previous commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777172 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 16:50:25 +00:00
Adrian Crum 02705185ea Refactored the Webtools Label Manager - due to a multitude of problems. Most notably:
1. Not thread safe.
2. Server files were being read/written without multi-user synchronization
3. Reads all UI labels into memory, then stores them in static memory, PLUS
4. Finds all references of those labels in project files and store those references in static memory (!!!)
5. Doesn't follow best practices for UI layout

It's amazing the original code worked. Even more amazing is the fact that this code made it into the project.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@776988 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 07:26:22 +00:00
Jacques Le Roux 4a6c5cfd6c Revert r772941 at David's demand: <<The dynamic dates represented here do not copyright the files that the code is in, they copyright what the code produces, and that is constantly changing so the dynamic date is appropriate."
On my side, I tried to find legal informations but did not find anything clear.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@773211 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 12:09:09 +00:00
Jacques Le Roux c1d75da437 See http://markmail.org/message/znytl2y4inpmxbdo (David Goodenough's advice on copyright update)
extract : "My understanding of the Berne Convention rules for Copyright (which covers most jurisdictions - even the USA now), is that the copyright period only gets extended when the copyrighted item gets updated."

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772941 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 11:15:08 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Jacques Le Roux 31c97bf343 A patch from BJ Freeman "Explaination of where the data is in ModelInduceFromDb.jsp" (https://issues.apache.org/jira/browse/OFBIZ-2432) - OFBIZ-2432
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772914 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:15:54 +00:00
Jacques Le Roux 1f5eb1e084 I missed some files in the 1st commit for BizznessTime theme.
I will do 2 commits to not push (backport) the new BizznessTime theme as default in R9.04 as long as we are not sure of its quality in trunk.
Putting it as default in trunk should help to strengthen it (hoping reports from users)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771073 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 16:19:04 +00:00
Jacques Le Roux a35a032c3a A patch from Ritika Somani "Add Tiny Text Box for Entity Name Search" (https://issues.apache.org/jira/browse/OFBIZ-2273) - OFBIZ-2273
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@768616 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 22:12:50 +00:00
David E. Jones 6b6955adf0 Fixed bug reported by BJ Freeman in Jira issue #OFBIZ-2319 where export of view entities to a file (not to browser) was failing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766431 13f79535-47bb-0310-9956-ffa450edef68
2009-04-19 07:08:11 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux 771c3715f8 A patch from Divesh Dutta "Secure URLs in Freemarker templates files" https://issues.apache.org/jira/browse/OFBIZ-2260
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762863 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 17:36:29 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Bilgin Ismet Ibryam 7e7c1f375a Added an optional "name" attribute to event element in controller.xml This attribute is used only (also required) in events inside
firstvisit, after-login, before-logout, preprocessor and postprocessor elements. Events with same name will be overridden and only the last one will be executed. Overriding works also in cases when a controller.xml includes other controller files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761220 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:47:48 +00:00
Jacques Le Roux 77a2ff1d9f 21th set of changes explained in https://issues.apache.org/jira/browse/OFBIZ-2243
In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements

We are near the end...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759684 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 14:02:55 +00:00
Jacques Le Roux efd4862041 10th set of changes explained in https://issues.apache.org/jira/browse/OFBIZ-2243
In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements
Some hyperlink tag are still not well indented (3 spaces instead of 4), I gave up :/



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759515 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 17:36:08 +00:00
David E. Jones cb68d8bd03 Changed performance test script to use framework entities instead of applications entities
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757692 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 09:22:06 +00:00
David E. Jones 86e8e431d7 Removed old webtools workflow engine pages from webtools to a skeleton (non-functional) webapp in the specialpurpose/workflow component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757689 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 08:52:49 +00:00
David E. Jones 606d48b458 Moved EditCustomTimePeriods page from webtools to accounting in the Global GL Settings tab, plus fixed the groovy script so that screen would actually work, general framework independence changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757683 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 08:11:22 +00:00
David E. Jones 4a1705a315 Removed some more references to applications stuff from framework, including small cleanup of service engine to get rid of WebAppDispatcher and use new factory method in GenericDispatcher, and changed AvailableServices.groovy to get the real dispatcher list instead of a hard-coded one; also updated eclipse classpath file for new webslinger stuff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@757671 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 06:27:03 +00:00
Jacques Le Roux 3dd56b670a Marco's LabelsReferences8.patch : "New tool to get labels information." (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755394 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 21:01:43 +00:00
Jacques Le Roux 53205d825c I forgot to check svn properties, updated
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754756 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 21:21:23 +00:00
Jacques Le Roux cb89b01690 LabelsReferences6.patch from Marco : "New tool to get labels information." (https://issues.apache.org/jira/browse/OFBIZ-2070) - OFBIZ-2070
+ 2 French translations (test), the Labels Manager is now really cool to use, thanks Marco!



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754649 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 10:36:41 +00:00
Jacques Le Roux c3318ad613 CommonEmptyHeader is empty by definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751414 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 13:14:59 +00:00
Bruno Busco 859b9f2f14 Completed the WebToolsMessageXX and WebToolsNoteXX labels update to OFBiz naming standard pattern.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751340 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 23:59:21 +00:00
Bruno Busco bbdb83947c Applyed the standard naming pattern to a first set of WebToolsMessageXX labels.
All strings that are splitted into multiple labels but always rendered concatenated have been replaced with a single label.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751308 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 19:22:00 +00:00
Bruno Busco a36cb4dd3e Changed WebSiteId parameter description to be more general
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:19:07 +00:00
Jacques Le Roux eff308b37a A patch from Bruno Busco "Now the VisualTheme is changeable from the Webtools also." (https://issues.apache.org/jira/browse/OFBIZ-2229) - OFBIZ-2229
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750799 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:53:21 +00:00
Jacques Le Roux 0f121e0183 Add some informations for duplicated labels in Labels Manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750632 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05 22:17:09 +00:00
Jacques Le Roux ccadfbacbb LabelReferences4.patch from Marco "New tool to get labels information" https://issues.apache.org/jira/browse/OFBIZ-2070 OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@748732 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27 23:01:41 +00:00
Jacques Le Roux e4074b45a4 A simpler solution than Eric DE MAULDE's "Error in log view layout" https://issues.apache.org/jira/browse/OFBIZ-2202 OFBIZ-2202
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746911 13f79535-47bb-0310-9956-ffa450edef68
2009-02-23 08:08:17 +00:00
David E. Jones 116e53b0d4 Changed order of form fields so that freemarker template URL isn't so confusing, no reason it should be first as it is the less commonly used
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746290 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 16:45:30 +00:00
Jacques Le Roux ae94a956b3 Marco's LabelReferences3.patch from "New tool to get labels information" https://issues.apache.org/jira/browse/OFBIZ-2070 - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744842 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 07:51:34 +00:00
Jacques Le Roux d5dc2d53ab Marco's LabelReferences2.patch from "New tool to get labels information" https://issues.apache.org/jira/browse/OFBIZ-2070 - OFBIZ-2070
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744635 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 08:42:06 +00:00
David E. Jones b159af592c A number of cleanups for double encoding, encoding that is not wanted (like for surveys, 2 places used toString() and others didn't so were fine), using always there nowTimestamp
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744574 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 21:52:16 +00:00
Jacques Le Roux 469a538600 A enhanced patch from Arun Patidar "While Depressing Next/Previous link in webtools component, Records are not shown even if they are present there." https://issues.apache.org/jira/browse/OFBIZ-2184 - OFBIZ-2184
No need to encode, else double encoding since last changes, I changes all the occurences. I will see if there are other cases in *.groovy files


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744085 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:31:08 +00:00
David E. Jones c1cf18c5a2 Removed response.encodeUrl and funny URL patterns not using @ofbizUrl; resolves issues between those and the new general html encoding
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742860 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 05:45:40 +00:00
Jacques Le Roux 2d295a8641 Marco's artifact_cleaning_framework.patch " Artifact cleaning after recent changes on xsd files" (https://issues.apache.org/jira/browse/OFBIZ-2137) - OFBIZ-2137
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@740114 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 21:40:50 +00:00