Commit Graph
311 Commits
Author SHA1 Message Date
Michael Brohl 0027619e9e Manually applied patch from jira issue OFBIZ-5679: Functionality to add WebSitePathAlias records is missing.
This adds a "Create Website Path Alias" menu item to the WebSiteAliases view and allows to edit/delete teh entries.

Thanks Pierre Smits for reporting the issue and Willem Janssen for providing the patch.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1682295 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 18:10:51 +00:00
Jacques Le Roux 23c89bab02 This defines the NotoSans font as default for report and FOP-PDF examples
With NotoSans by default, no need to specify the NotoSans "font-family" to write special characters in examples PDF (including content called from example).
This already worked in reports because of "fop.font.family=NotoSans" in fop.properties. It's also the way to use for custom reports.

I also added <auto-embed/> like we have <auto-detect/> but I'm unsure of what it does exactly (I suppose it embeds the fonts glyphs in the PDF) because the FOP documentation is unclear about it (to say the least). If someone knows better please chime in!

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1675061 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 08:03:41 +00:00
Jacques Le Roux 5d557fac74 I wanted to be sure the degree symbol could be printed with FOP using NoTo fonts and to have this more handy I decided to put a menu link to the FOP fonts file in content from example.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1674586 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 22:45:30 +00:00
Jacques Le Roux 66499403cb Fixes https://issues.apache.org/jira/browse/OFBIZ-5305 "WebAppUtil.getWebappInfoFromWebsiteId throws IllegalArgumentException when web.xml not found"
I finally prefered to add an empty contenimages webapp.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1658622 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 06:14:49 +00:00
Adrian Crum dcecdd25a4 Reorganized the screen widget src folder so classes are more organized.
This commit might break some Groovy scripts. There seemed to be a lot of C&P widget import statements, but there were no widget classes being used in the script, so I removed them. I might have overlooked something though.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1652852 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 21:03:40 +00:00
Jacques Le Roux 464fd93aec Implements "Improve the way FOP handles fonts notably for currency symbols" https://issues.apache.org/jira/browse/OFBIZ-5917
Adds
<auto-detect/>
in the fonts section of our fop.xconf

Adds the Google NotoSans font which is Apache licensed
* http://www.google.com/fonts/specimen/Noto+Sans
* https://www.google.com/get/noto/#/

Uses NotoSans as the default FOP font. For that puts the NotoSans font 4 files in framework/resources/fonts and add <directory>framework/resources/fonts/NotoSansFonts</directory> in fop.xconf
Renders ₹ in content/control/fonts.pdf as we do for €. Other symbols could be added later when needed, backed by Google NotoSans font...
Renders the NotoSans content/control/fonts.pdf  as we do for other main fonts

Adds the rupee symbol (₹) to antisamy-esapi.xml file like we have the euro symbol (€)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647782 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 13:45:03 +00:00
Ashish Vijaywargiya 682d5e14c8 Applied all the patch files from jira issue - OFBIZ-5893 - Use EntityQuery Builder methods in goovy files by replacing Entity Engine methods.
Thanks so much Arun for the contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1646916 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 04:31:20 +00:00
Jacopo Cappellato 5dc38e6d35 Misc cleanups to some groovy scripts (no functional changes).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1621956 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 10:20:21 +00:00
Anil Patel 495dab207d [OFBIZ-5515] Thanks Christian Carlow for reporting the issue and ofbiz.us team for the fix.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618365 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 14:21:28 +00:00
Ashish Vijaywargiya d0566c2968 Applied the patch OFBIZ-4902_application.patch from OFBIZ-4902 - Replace in Freemarker templates the deprecated built-ins: default, exists, if_exists.
Thanks http://ofbiz.us team for providing the patch work.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1618336 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 11:34:57 +00:00
Jacques Le Roux 0757ed8a24 A patch from Gareth Carter for "last index for paging is not calculated correctly" https://issues.apache.org/jira/browse/OFBIZ-5497
The last index (used on the last button) is not calculated correctly in ftl or the renderer classes. It currently users floor which works only for list sizes that are not multiples of the view size. When you have a list size which is a multiple of the view size, it does not subtract 1 for zero based index and therefore the last button goes to the last page + 1

Examples

listSize = 1
viewSize = 10
listSize / viewSize = 0.1
floor(0.1) = 0
This one produces the correct value

listSize = 20
viewSize = 10
listSize / viewSize = 2
floor(2) = 2
Last index should be 1 because of zero based index but never occurs

To reproduce, enter a view with a list and paging functionality, the list size must be a multiple of the view size


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1560176 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 20:53:29 +00:00
Jacopo Cappellato 6071e8d8e0 Extracted from the OFBiz content component the dependencies on Lucene and created a new specialpurpose/lucene component in order to simplify the integration of components based on Lucene/Solr and to simplify the management of conflicts caused by different versions of Solr/Lucene jars.
In this way it will be easier to compare the ootb Lucene integration with custom ones (based on Lucene/Solr/etc...) and to switch between them.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518925 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 09:45:33 +00:00
Erwan de Ferrieres 97d5a93b23 Upgrading to latest stable Apache lucene version
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1405428 13f79535-47bb-0310-9956-ffa450edef68
2012-11-03 21:50:23 +00:00
Hans Bakker 6a48156083 correction of an error introduced in commit r1337665 [2/2]. thank you tukkata for the contribution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1390258 13f79535-47bb-0310-9956-ffa450edef68
2012-09-26 01:46:49 +00:00
Jacopo Cappellato b3c51dfa0f Misc cleanups (no functional changes) to the Lucene integration:
* removed unused imports
* removed unused old methods with duplicated logic
* made some methods private
* improved some debug statements
* formatting adjustments

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1375970 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 10:16:52 +00:00
Jacopo Cappellato dfd54dd328 Fixed some inconsistent use of Lucene Version (now the current Version is set as a static final field of SearchWorker); misc minor code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1374328 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 15:43:30 +00:00
Jacopo Cappellato bf8f4a1308 Removed invalid references to non existing resources.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364247 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 09:54:02 +00:00
Jacopo Cappellato c6ef77ac59 Removed the old and unused "serviceReaderUrls" context-param from all the web applications.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1364217 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 06:33:26 +00:00
Jacopo Cappellato 3756ed0294 Cleaned up some code that was adding the delegator/dispatcher/security/auth objects in the user session rather than the request;
1) removed the request-maps for changeDelegator from components' controller.xml files: they were not used
2) removed CoreEvents.changeDelegator(...): not used (apart from the request-maps removed at #1)
3) removed CoreEvents.changeDispatcher(...): not used
4) cleaned up some code (related to multitenant development): now the objects are set in the request rather than the session

PS: as a consequence this will also fix the issue reported in OFBIZ-4289


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1353681 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 17:46:07 +00:00
Adam Heath 43efe66c75 DEPRECATION: applications/content: GenericValue.getRelated/getRelatedCache variants replaced with a single getRelated variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343511 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:17:44 +00:00
Adam Heath a92d79d341 DEPRECATION: applications/content: getRelatedOne variants replaced with a getRelatedOne variant that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343481 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:12:04 +00:00
Adam Heath 2d512fd498 FORMATTING: Add final trailing newlines.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1343473 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 04:10:28 +00:00
Adam Heath d2dfc93a31 FIX: Replace BeansWrapper.getDefaultInstance() with
FreeMarkerWorker.getDefaultOfbizWrapper(); these were missed in
v1340631.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1341053 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 14:39:59 +00:00
Jacques Le Roux 0819d43345 A patch from Harsha Chadhar for "Remove Survey Question Option not working." https://issues.apache.org/jira/browse/OFBIZ-4878
On trying to delete/remove Survey Question Options for Survey Question Type= Selected Option, the following error is occurred :
Url : https://demo-trunk.ofbiz.apache.org:8443/content/control/removeSurveyQuestionAppl?surveyId=1501&surveyQuestionId=10000&surveyOptionSeqId=00001

Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL parameter [surveyId] passed to secure (https) request-map with uri [removeSurveyQuestionAppl] with an event that calls service [deleteSurveyQuestionAppl]; this is not allowed for security reasons! The data should be encrypted by making it part of the request body (a form field) instead of the request URL. Moreover it would be kind if you could create a Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check before if a sub-task for this error does not exist). If you are not sure how to create a Jira issue please have a look before at http://cwiki.apache.org/confluence/x/JIB2 Thank you in advance for your help.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340657 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 10:13:22 +00:00
Jacques Le Roux 87d84ea506 Adrian suggested to removes all class="tabletext": <<That style was removed from the stylesheet in 2007. All references to it should be removed.>>
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1340386 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 09:35:12 +00:00
Adam Heath b0a3703c6b DEPRECATION: applications/content: findByAnd variants replaced with findByAnd that takes a boolean useCache parameter.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1338406 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 21:00:34 +00:00
Adam Heath d40ce532e1 DEPRECATION: applications/content: findByPrimaryKey variants replaced
with findOne

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1337665 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:18:36 +00:00
Erwan de Ferrieres a7eaf555b8 moving GetMenuContext.groovy to its right location with the other groovy scripts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1327181 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 17:00:59 +00:00
Erwan de Ferrieres 8c0a41e885 tabs to spaces, no functional changes - xml files
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1230481 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 10:51:58 +00:00
Hans Bakker 7245203a92 simplify webanalytics entity and moved from product to content, this entity has nomally only a single record so a conversion program is not provided. After upgrade, save the content of the entitye web_analytics_config and drop it in webtools. Then restart and re-enter the saved record
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1204455 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 11:34:32 +00:00
Hans Bakker fbbda360c4 update of the content -> website -> cms:
1. can not update image 2. do not display mapKey field whan create new successful 3. do not display image and mapkey field when click on tree, all fixed

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1202024 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 03:20:31 +00:00
Jacques Le Roux 75916a2ae6 Changes user role creation as it does not work.
Anyway this whole page seems broken or at least hard to understand how to use. BTW in R9.04 user role creation does not work because of lack of security, seems that nobody is worried about it so far, I let it like that...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1182827 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 13:03:05 +00:00
Jacques Le Roux e475f7b3c7 Missed the </@ofbizContentUrl> macro when calling elrte Editor js scripts
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178178 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 11:02:31 +00:00
Jacques Le Roux e39b17220a Closes "i18n for elrte editor" https://issues.apache.org/jira/browse/OFBIZ-4051
Fixes the i18n elrte Editor issue in Freemarker templates (Content and Ebay)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178175 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 10:42:39 +00:00
Jacques Le Roux 087262557c * Uses rather minified css for elrte Editor
In last commits (1178141, 1178111) I put wrong paths for:
* elrteEditor for css pathes is now elrte-1.3
* missed js in elrte-1.3/js/i18n for i18n files



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178166 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 09:48:05 +00:00
Jacques Le Roux 1a2cc4faf9 In order to try to resolve "i18n for elrte editor" https://issues.apache.org/jira/browse/OFBIZ-4051, 1st update elrte Editor from 1.1 to to 1.3 version
Also removes now useless older jQuery versions I kept so far for a problem nobody cares about anyway

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1178141 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 08:06:49 +00:00
Vikas Mayur 153203cd03 Moved form widgets from webapp to widget folder. Contribution from Deepak Dixit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160233 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 12:14:25 +00:00
Vikas Mayur a9372fbb65 Reverted r1160209 & r1160213 as the files aren't moved correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160226 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 12:03:21 +00:00
Vikas Mayur 157ced6e25 Removed empty folder applications/content/webapp/content/datasetup as the only form widget file it contained is now moved to widget folder.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160213 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:35:17 +00:00
Vikas Mayur d6f433a5e1 Moved form widgets from webapp to widget folder. Contribution from Deepak Dixit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160209 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:30:31 +00:00
Hans Bakker 8f72b469be the help text was dependent on the websiteId which is now removed. changed it to the component name which is a better choice anyway
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1160101 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 03:35:18 +00:00
Hans Bakker 4102bee329 update websiteContactlist entity according Jacopo's comments, added services and screens to website and contactlist to maintain the data, a contribution of 'M', an employee of antwebsystems.com
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159508 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 05:57:25 +00:00
Hans Bakker 53abb5b2ac added an function on the website level: 'SEO' to generate missing seofiendly url's on a catalog, category, product and content level. entities records which have alread a seofriendly alternative url are not touched
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1153034 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 05:56:47 +00:00
Sascha Rodekamp dab9603a73 Filtering and Sorting of WebSite Path Aliases (https://issues.apache.org/jira/browse/OFBIZ-4334) - Patch from Manuela Gruendlinger
When using lots of WebSite Path Aliases, it is quite hard to find a specific Path Alias in a list with about 30 pages. Searching for a path alias and sorting the results would really help here.
Added patch that allows searching for path alias and sorting the list.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1144267 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 11:21:53 +00:00
Hans Bakker 46a16bc572 move the stream request from content to commonext so streaming of image/video can be used in all components related to rev 1140919
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1140933 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 01:20:24 +00:00
Erwan de Ferrieres 591ff804ad Internationalization for help tree
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1136786 13f79535-47bb-0310-9956-ffa450edef68
2011-06-17 06:23:16 +00:00
Hans Bakker 37fac38c97 add a button to content to (re) generate the keywords for all content. The whole keyword implementation was done by Antwebsystems employee Tom
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1130890 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 03:05:23 +00:00
Hans Bakker 47ab1f5302 wrong lookup in content find screen and added field to the list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1104682 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 04:00:40 +00:00
Hans Bakker 77226d187c add search screens using the new content search following the wokreffort pattern
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1102643 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 09:55:48 +00:00
Sascha Rodekamp 446dce1fbb Update - HelpScreen Content Navigation Tree Contexmenu removed. The Context menu is not needed in the HelpScreen, the tree is only for navigation purposes not for updating the content structure. Thanks Erwan for reporting.
http://ofbiz.markmail.org/search/?q=contextual%20menu%20in%20help%20system#query:contextual%20menu%20in%20help%20system+page:1+mid:xi3vhq3qjxbg4jqj+state:results

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1082846 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 08:47:00 +00:00