Commit Graph
9641 Commits
Author SHA1 Message Date
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
David E. Jones 11bc29b4a6 Changed these back to have LoginWorker.makeLoginUrl return a StringWrapper so it doesn't get encoded, and the @ofbizUrl and @ofbizContentUrl tags back to not decode because it is important that various encoded parameters remain encoded so the browser does not interpret the characters as part of the URL
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744573 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 21:50:43 +00:00
Bruno Busco 32e70a513b Added seed data to have a WebSite entity for every webapp.
The new WebSite entity sets a relation to a VisualThemeSet so that when selecting a VisualTheme, only applicable VisualThemes are available in the VisualTheme Lookup screen.
More work is needed (i.e. move the OrderEntry WebSite from demo to seed) but I need to be sure this is a good direction.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744518 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 16:42:49 +00:00
Marco Risaliti 8a3e5a7f52 A lot of hardcoded labels cleaning and changes some wrong references into humanres and marketing components
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744509 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 15:54:35 +00:00
Bruno Busco 0d8142409b Fixed MyPage webSiteId value
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744503 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 14:40:00 +00:00
Bruno Busco 87958df45c Added webSiteId definition for every webapp.
This will be used to link online help pages to OFBiz screens.
The webSiteId will also be used to associate VisualThemeSets to webapps.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744502 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 14:35:56 +00:00
Jacques Le Roux e4863b951b Fix a bug
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744483 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 11:30:47 +00:00
David E. Jones b4c3b96da5 Fixed issue reported by Ashish Nagar where the condition was checking for the same character twice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744420 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 08:23:13 +00:00
David E. Jones 1a5c2de3c5 Changed LoginWorker.makeLoginUrl back to returning a String and implemented a more general solution for the @ofbizUrl and @ofbizContentUrl tags so that they do decoding and are now tolerant of encoded URLs just in case it happens; this should be a more general fix and avoid the problem more; also a few cleanups like resolving warnings
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744418 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14 08:17:05 +00:00
Marco Risaliti e39f705523 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744265 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 22:22:34 +00:00
David E. Jones f8351887b9 Changed LoginWorker.makeLoginUrl to return a StringWrapper so it does not get html encoded in FTL; decided to do it here instead of in each FTL file because based on a search it appears that this is ONLY used in FTL files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744232 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 20:35:04 +00:00
David E. Jones 80b9e4e2cc Changed LRUMap.get to be synchronized to hopefully resolve issue reported by Philippe Mouawad in Jira #OFBIZ-2186; comments in code discuss why this is needed; get is ONLY synchronized for the LRUMap, and not for caches where there is no size limit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744205 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 18:25:50 +00:00
David E. Jones ba3a806edf Changed a couple of services to allow any html (ie not filter for HTML) as they are for incoming XML; related to issue #OFBIZ-2189
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744177 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 17:03:35 +00:00
Jacques Le Roux b04697bdf6 Fix a bug reported on user ML by Amit Sharma
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744088 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:47:02 +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
Jacques Le Roux 01cce258d5 This fix "Encoding issue in screenFop" https://issues.apache.org/jira/browse/OFBIZ-2183 - OFBIZ-2183
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744061 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 10:58:24 +00:00
David E. Jones 29d2f40e84 Fixed issue reported by Hans Bakker which shows up in the strange situation for the content/views/Xxx URLs because they chain to a request with no event, and that was causing the overrideViewUrl to not get set to be picked up later when it is time to render the view; that is now fixed and the WebSite -> CMS tab is working again in the Content Manager
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744020 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 07:38:18 +00:00
Hans Bakker 8c3bf300e4 fix NPE error reported by BJ Freeman in the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743998 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 05:45:22 +00:00
David E. Jones 17bdfd7cf2 Implemented servlet to handle custom catalog URLs, ie for categories and products; there is a servlet to process the URLs and a method to generate them; added a couple of examples to use the static method to generate the URLs, used in sidedeepcategory and in productsummary which are the major places, and can be moved to use in more places over time; these URLs should be far more search engine and user friendly
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743985 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 04:57:11 +00:00
David E. Jones 6c7938c134 Small change to suppress warning
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743984 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 04:50:55 +00:00
David E. Jones 26ad14469a Fixed bug when there is not security element, certain values were not getting initialized; also fixed bug caused when default-request is not specified
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743822 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 18:15:35 +00:00
Jacques Le Roux 3ce4fd80e8 Found typo while updating http://docs.ofbiz.org/display/OFBIZ/Mini-Language+Guide
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743717 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 13:02:56 +00:00
Hans Bakker 2a8d8edea4 small correction
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743657 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 08:45:11 +00:00
Hans Bakker daebecd9d5 created a new attribute on the menu widget: portal-page. With this change the example component is now changed back to use the menu widget again however also serving the portal page buttons
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743639 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 07:26:16 +00:00
Hans Bakker 12ae876822 primarykey definition on the wrong place
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743637 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 07:20:01 +00:00
Hans Bakker 1aa2d0af61 do not display portalpage button when the portalPagename is empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743605 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 02:53:19 +00:00
Adrian Crum 86b75fa340 Oops, I meant to clean up this code before committing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743440 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 18:22:19 +00:00
Adrian Crum 8db1e5be50 Added util:urlExists(String url) function to the UEL functions. This should be helpful for testing if a file exists before trying using it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743436 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 18:19:11 +00:00
Adrian Crum 79439bb454 Expanded the comments in the locale-related general.properties settings. Hopefully this will help clear up confusion about what the properties do. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743407 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 17:12:09 +00:00
Hans Bakker c2cc7aa885 If the portalpage name is deleted the page does not show in the menu. This will enable the possibility to remove system pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743248 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 06:45:41 +00:00
Hans Bakker 8d417276ac The MyPortal component has now at least the functionality of the old mypage component with the portal functions included. Mypage is now taken off the menu and will be removed the coming weeks when no big problems arise
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743245 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 06:22:53 +00:00
Hans Bakker cf0b7986c1 sort portal pages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743213 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 04:26:24 +00:00
David E. Jones b8707a26f8 Applied patch from Bruno Busco in Jira #OFBIZ-2172 with basics for VisualThemeSet; still not possible to change themes in ecommerce (should probably be supported on the back end instead of the front end, ie in the catalog manager and not by a customer in ecommerce, or perhaps only allowed in ecommerce if a flag on the ProductStore says its okay; also does not yet filter selectable themes in the back-end/manager applications
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743202 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 03:19:19 +00:00
Hans Bakker 541e72feb5 correction on last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743199 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 03:00:30 +00:00
Jacques Le Roux 8e54581455 Ooops, this does not make sense, sorry
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743102 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 21:04:56 +00:00
Jacques Le Roux bb5d178b08 Here are some complements for r743056
I don't know what to think for 
    sendMailMultiPart bodyParts (actually I did not look further, I think it should be done earlier - if ever - at this stage it's too late)
    sendMailFromScreen bodyParameters 
I don't think it's needed for 
    createEmailContent plainBody
    updateEmailContent plainBody

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743100 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 21:02:06 +00:00
Jacques Le Roux fa548b9be2 This should fix most of the sent emails issues for now. To be double checked please...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743056 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 18:46:17 +00:00
Jacques Le Roux 56a7b15d30 Revert r743038, Actually r743038 does not fix this error (I mixed up with sendMailDated in log)
So I tried using allow-html="safe" and after allow-html="any" in sendMail service definition but none is working (of course the default allow-html="none" is also not working)

I will trace to see where it should be encoded..


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743044 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 18:30:29 +00:00
Jacques Le Roux 7386b8d763 Fix an issue in sendmail when special chars where used but not encoded
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743038 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 18:11:01 +00:00
Hans Bakker 1f1e7bb4e4 update/display portlet sequence corrected, also seed data corrected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@743000 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 15:48:08 +00:00
David E. Jones 5dd06ae942 Fixed NPE when a request doesn't have an event that was causing the ArtifactInfo stuff to not successfully load
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742996 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 15:32:41 +00:00
David E. Jones 276dbd183b Fixed changes from rev 742983 that caused a double question mark (?) for request-redirect responses with redirect-parameter sub-elements by changing the code for the case without redirect-parameter sub-elements to have a question mark, which was missing
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742991 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 15:16:00 +00:00
Jacques Le Roux 9d66f0e167 Get rid of unused stuff
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742989 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 15:08:18 +00:00
Jacques Le Roux 02d30e60fe A patch from Arun Patidar "Fixed the bug when response type is 'request-redirect' and query string is available." (https://issues.apache.org/jira/browse/OFBIZ-2179) - OFBIZ-2179
Not sure it's the best fix as maybe it fixes only the effect and not the cause, but at least for now it works!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742983 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 14:36:21 +00:00
Marco Risaliti 6ed9530275 Add again the label AccountingFixedAssetCalendar wrongly removed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742961 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 13:29:11 +00:00
Jacques Le Roux e46e3c34e4 A patch from Marco Ruocco "Error using the UtilDateTime.addDaysToTimestamp method" (https://issues.apache.org/jira/browse/OFBIZ-2177) - OFBIZ-2177
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742933 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 10:47:01 +00:00
Hans Bakker 62a15d6ff6 add orginal hours to task and project and correct totals amount
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742902 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 09:15:18 +00:00
Hans Bakker 9faa38c7d1 add task actual total column for all participants to timesheet
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742892 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 08:46:22 +00:00
Hans Bakker 67c271393e some more demo data and descriptions
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742874 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 07:36:12 +00:00
David E. Jones 50240bf17f Fixed issue with general html encoding in edit portal page template, reported by Hans
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@742866 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 06:43:05 +00:00