Commit Graph
2589 Commits
Author SHA1 Message Date
Hans Bakker d4137b9f46 add the possibility to list portlets by portlet category
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746646 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 08:16:32 +00:00
Hans Bakker 6a4d119dff upgrade fop 0.94 -> 0.95
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746645 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22 07:59:30 +00:00
Jacques Le Roux 1b2a75441e From Marco's comment on dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746435 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 04:39:20 +00:00
David E. Jones 2471cffc96 Addressed more issues with output encoding, based on feedback from Michele Orru in OFBIZ-1959 plus looking for other similar problems in code, and some random testing around; this should catch quite a bit more stuff as there were various places in the form, menu, tree and screen widgets that needed output encoding for data to be presented to the user through a browser; also a few cleanups here and there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746409 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 23:00:36 +00:00
Jacques Le Roux f88e93aef7 Refactored and completed i18n of anywho and whitepages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746377 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 21:46:24 +00:00
David E. Jones ee8708e9b2 No functional changes, just type/generics cleanups
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746303 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 17:41:48 +00:00
David E. Jones 368d99fa2d Changed the canonicalization and encoding to not use the CSS and JavaScript codecs, especially for canonicalization they cause problems with backslashes in strings which we generally want to allow and which generally isn't used in webapp input strings and I don't think we interpret such encodings anywhere so there is no danger nor utility for it; this better resolves the filename/etc problem reported by Jacques, so his temporary fix is now gone
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@746292 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 16:47:31 +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 9494db14ae Fix some bugs and misc. (not sure about functionalities, at least now it does not hang)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745890 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 14:59:58 +00:00
Hans Bakker 2cc045c1f7 correction formatting problems
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745756 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 06:45:36 +00:00
Jacques Le Roux e03ab0e044 Trivials changes while working on https://issues.apache.org/jira/browse/OFBIZ-2000 and dependencies
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745613 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 19:09:51 +00:00
Hans Bakker 10723bd15c allow changing the order of the portal pages, currently only for private pages(click first on 'edit' to make the movement pictures show)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745438 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:55:20 +00:00
Hans Bakker 27775ded91 add a picture to the hyperlink keyword in a form to allow moving records up/down and not showing the sequenceNum field
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745434 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 08:52:59 +00:00
Jacques Le Roux 246090c0a6 BigDecimal in POS (complete). Integration of ofbiz-1945.patch changes (with some modifications) but still not used since it miss some features:
* AutoSave (automatically save current transaction)
* Add a saved sale to the current sale
* Remove a savec sale
* Replace current sale by a saved sale and remove simultaneously the saved sale

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745257 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 21:16:33 +00:00
Jacques Le Roux 36dc3600c3 Indicate clearly the status
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@745025 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17 12:49:22 +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
Hans Bakker a8c6835b35 several small bug fixes in example, portalpages
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744838 13f79535-47bb-0310-9956-ffa450edef68
2009-02-16 07:40:28 +00:00
David E. Jones e71fe34443 Added quick first pass for the sendMailFromTemplateSetting service that uses the new EmailTemplateSetting entity; note that this is still beta as I haven't tested it much, but it shows that concept and can be a basis for further work, possibly including refactor of ProductStoreEmailSetting to use this entity and service but that isn't necessary for other things to use it, etc
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744736 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 19:57:43 +00:00
David E. Jones f27b4eeaaa No functional changes, just reorganizing code: moved email services from content to the framework/common component except the CommunicationEvent related ones which are now in the party component along with other CommunicationEvent resources; changed framework components so that webapp no longer depends on common and common is higher level than the various tool components which was an odd dependency before; one new thing is in here and that is an entity called EmailTemplateSetting which is meant to be a generic version of the ProductStoreEmailSetting entity so we can have configurable email templates without depending on ProductStore, still need to write the service to send email from this (sendMailFromTemplateSetting)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744727 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 19:34:49 +00:00
Hans Bakker b27e4791b1 small corrections on last commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744679 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 15:36:59 +00:00
Hans Bakker f43d2f1ecf improved menu widget for portal pages, reactivated menuitem override and various other improvements
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744675 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 15:10:50 +00:00
Jacques Le Roux 56ce285fc5 This enforces probability
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744657 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 11:48:36 +00:00
Jacques Le Roux 4eacbb164a This allows to use Windows paths from input fields (like from Entity import for instance)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@744652 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15 10:53:16 +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
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
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
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 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 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
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
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