Re: Configuring LDAP with OFBiz
Hi Abhishek, Yes true, modifying both the files you mentioned will ensure that the details will be saved from both store-front and backoffice. But, how is the actual implementation logic written. I suppose it cannot be done only with OFBiz Mini-Lang in the xml files. Should a separate service be written for example in Java (using JLDAP). Can you throw some light on the implementation and some sample code. Thank you once again for your time. Your inputs are really taking me forward. Regards, Naveen Kumar B.V On Sun, Nov 28, 2010 at 12:16 PM, Abhishake Agarwal abhishake.agar...@gmail.com wrote: Hi, Also if you want party userlogin created from ofbiz backoffice should be stored in ldap, you should also modify ofbiz/applications/party/ script/org/ofbiz/party/customer/CustomerEvents.xml Regards, Abhishake On Sun, Nov 28, 2010 at 11:40 AM, Abhishake Agarwal abhishake.agar...@gmail.com wrote: Hi, I think you have to use : ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml Regards, Abhishake On Sun, Nov 28, 2010 at 1:22 AM, Naveen Kumar B V naveen.whishwo...@gmail.com wrote: Hi Abhishek, Thanks for your reply, that gives me some hope that while user registration, details can be stored in LDAP also. When i tried to figure out how to do this, i found CustomerEvents.xml file in 3 locations as below: * ofbiz/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml * * ofbiz/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml * * ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml * * * Can you help me in identifying which is the file to be modified so that user details can be stored in LDAP, also how do we actually specify other details related to LDAP like Distinguished Name(DN), Organizational Unit(OU), username, password, LDAP location, etc Some sample code.. to do this.. would really be helping me.. Thanks Regards, Naveen Kumar B.V On Sun, Nov 28, 2010 at 12:36 AM, Abhishake Agarwal abhishake.agar...@gmail.com wrote: Hi, You have to modify createCustomer events in CustomerEvents.xml to store user details in LDAP when user gets registered. Regards, Abhishake On Sat, Nov 27, 2010 at 11:26 PM, Naveen Bahatam naveen.baha...@whishworks.com wrote: Hi Adrian, Thanks for your reply. If at all the users data is to be stored in LDAP, when the user is getting registered, or for password updations, can you tell me how can it be done.??. Is it possible with the current implementation in OFBiz, or should we write a service to perform such an operation. And yes, i will make sure to post these questions on user mailing list. Thank you once again. Regards, Naveen Kumar B.V On 26 November 2010 21:20, Adrian Crum adrian.c...@yahoo.com wrote: The current LDAP integration is used for authentication only. User data is not stored in LDAP. By the way, this type of question should be posted on the user mailing list. -Adrian --- On Fri, 11/26/10, Naveen Bahatam naveen.baha...@whishworks.com wrote: From: Naveen Bahatam naveen.baha...@whishworks.com Subject: Configuring LDAP with OFBiz To: dev@ofbiz.apache.org Date: Friday, November 26, 2010, 2:27 AM Hi, I have understood configuring LDAP with OFBiz by editing two properties file as below: *jndiLdap.properties file:* * * # OFBiz LDAP Authentication Settings # JNDI LDAP settings. Change the following line to # point to your LDAP server. java.naming.provider.url=ldap://localhost:389 java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory java.naming.security.authentication=simple com.sun.jndi.ldap.connect.timeout=5000 # Distinguished Name template. This is used as a default if # UserLogin.userLdapDn is empty. # The %u placeholder will be replaced by the user's login name, # then the resulting string will be used to authenticate the user. ldap.dn.template=cn=%u,dc=example,dc=com # The following property controls whether the user's OFBiz password # is synchronized with the user's LDAP password. ldap.synchronize.passwords=true *security.properties file:* # -- Use LDAP for user authentication? -- security.ldap.enable=true # -- Fail login if LDAP authentication fails? -- security.ldap.fail.login=true * * * Can anyone help me how to synchronize the details in LDAP and OFbiz database.* * * *Doubt:* *When
End of month : Main New features
Please devs, don't forget to add your changes in Main New features with shorts explanations https://cwiki.apache.org/confluence/display/OFBIZ/Main+New+Features BTW it's finally great to see that, yes we have less new features, but also more fixes! Thanks Jacques
Re: svn commit: r1039651 [38/38] - in /ofbiz/branches/jquery: ./ applications/accounting/config/ applications/accounting/src/org/ofbiz/accounting/thirdparty/authorizedotnet/ applications/commonext/con
Hi Bruno, It's fixed at r1039859 Before I fixes also some duplicates introduced before r1039651 (the commit below), fixed at r1039858 For those interested and able to fix there is one in German the others seems related to r1039651 (the commit below) Jacques From: Bruno Busco bruno.bu...@gmail.com There are some value tags outside of the property tags in this commit. For instance this below: @@ -59,16 +65,22 @@ value xml:lang=itCognome mancante/value value xml:lang=thภรุณาภรà¸à¸ นามสภุลขà¸à¸‡à¸—่าน/ value value xml:lang=zhç¼ºå°‘ä½ çš„å§“/value +value xml:lang=zh_TWç¼ºå°‘å§“æ° (Lastname)/value /property property key=MyPortalMyOrders value xml:lang=enMy Orders/value +value xml:lang=zh_TW我的訂單/value /property +value xml:lang=zh_TW我的任務/value +value xml:lang=zh_TW我的時間/value +value xml:lang=zh_TWæ–°çš„è¨Šæ ¯/value property key=MyPortalNewRegistration value xml:lang=enNew Registration /value value xml:lang=frNouvel enregistrement/value value xml:lang=itNuovo utente/value value xml:lang=thลงทะเบียน /value value xml:lang=zh新注册/value +value xml:lang=zh_TW新的註冊/value /property property key=MyPortalPicCaptcha value xml:lang=enCode Captcha/value 2010/11/27 jler...@apache.org Modified: ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/messagelist.ftl URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/messagelist.ftl?rev=1039651r1=1039650r2=1039651view=diff == --- ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/messagelist.ftl (original) +++ ofbiz/branches/jquery/specialpurpose/ecommerce/webapp/ecommerce/customer/messagelist.ftl Sat Nov 27 10:59:21 2010 @@ -17,7 +17,7 @@ specific language governing permissions under the License. -- -#macro showMessage communicationEvent isSentMessage +#macro showMessage communicationEvent isSentMessage index #if communicationEvent.partyIdFrom?has_content #assign partyNameFrom = Static[org.ofbiz.party.party.PartyHelper].getPartyName(delegator, communicationEvent.partyIdFrom, true) #else/ @@ -34,12 +34,16 @@ under the License. tddiv class=tabletext${communicationEvent.subject?default()}/div/td tddiv class=tabletext${communicationEvent.entryDate}/div/td td align=right - form method=post action=@ofbizUrlreadmessage/@ofbizUrl name=ecomm_read_mess + form method=post action=@ofbizUrlreadmessage/@ofbizUrl name=ecomm_read_mess${index} input name=communicationEventId value=${communicationEvent.communicationEventId} type=hidden/ /form - a href=javascript:document.ecomm_read_mess.submit()${uiLabelMap.EcommerceRead}/a + a href=javascript:document.ecomm_read_mess${index}.submit()${uiLabelMap.EcommerceRead}/a + #if isSentMessage -a href=@ofbizUrlnewmessage?communicationEventId=${communicationEvent.communicationEventId}/@ofbizUrl class=buttontext${uiLabelMap.PartyReply}/a + form method=post action=@ofbizUrlnewmessage/@ofbizUrl name=ecomm_sent_mess${index} +input name=communicationEventId value=${communicationEvent.communicationEventId} type=hidden/ + /form + a href=javascript:document.ecomm_sent_mess${index}.submit()${uiLabelMap.PartyReply}/a /#if /td /tr @@ -70,10 +74,10 @@ under the License. /tr trtd colspan=5hr //td/tr #list receivedCommunicationEvents?if_exists as receivedCommunicationEvent - @showMessage communicationEvent=receivedCommunicationEvent isSentMessage=false/ + @showMessage communicationEvent=receivedCommunicationEvent isSentMessage=false index=receivedCommunicationEvent_index/ /#list #list sentCommunicationEvents?if_exists as sentCommunicationEvent - @showMessage communicationEvent=sentCommunicationEvent isSentMessage=true/ + @showMessage communicationEvent=sentCommunicationEvent isSentMessage=true index=sentCommunicationEvent_index/ /#list /#if /table Propchange: ofbiz/branches/jquery/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/Facilities.groovy -- --- svn:mergeinfo (original) +++ svn:mergeinfo Sat Nov 27 10:59:21 2010 @@ -1,3 +1,3 @@ /incubator/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/actions/Facilities.groovy:418499-490456
[jira] Commented: (OFBIZ-4031) Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup
[ https://issues.apache.org/jira/browse/OFBIZ-4031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964525#action_12964525 ] Jacques Le Roux commented on OFBIZ-4031: Hi Dukian, At [r1039651|http://svn.apache.org/viewvc?rev=1039859view=rev] I have fixed some errors in your patch. There are annoying because AFAIK we have noways to spot them automatically: * The are not reported as errors by XSD when you load the file in an XML editor * The Label manager does not report them * The patch is 93074 lines and 5MB * It's hard to scan this kind of errors in a patch even a small one Could you please have a look to ensure that there are no other value tags outside of the property tags introduced with your changes, thanks! There were also some duplicates, look for them at [r1039858|http://svn.apache.org/viewvc?rev=1039858view=rev]. Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup --- Key: OFBIZ-4031 URL: https://issues.apache.org/jira/browse/OFBIZ-4031 Project: OFBiz Issue Type: Improvement Affects Versions: SVN trunk Reporter: dukian Assignee: Jacques Le Roux Fix For: SVN trunk Attachments: OFBIZ-4031_zh_TW.patch.zip -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-4035) change the id Attribute for input fields in the model macro form renderer from String to FlexibleStringExapander
[ https://issues.apache.org/jira/browse/OFBIZ-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964531#action_12964531 ] Sascha Rodekamp commented on OFBIZ-4035: Hey Scott, thanks for you're review and comments. I will take you're comments and keep on working on this stuff, i thik it's a good improvment (i used need it in some places) But you're right, we should change it everywhere not only in the one place. Thanks Have a good sunday Sascha change the id Attribute for input fields in the model macro form renderer from String to FlexibleStringExapander Key: OFBIZ-4035 URL: https://issues.apache.org/jira/browse/OFBIZ-4035 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Affects Versions: SVN trunk Reporter: Sascha Rodekamp Fix For: SVN trunk Attachments: OFBIZ-4035_ModelFormField.java.patch hi there, here a little useful improvement. i changed the ID Field of an input field in in the macro form renderer from a normal String to a flexible String expander. The advantage is that i can use ${} variables in the id description, that helps me for example creating automatically unique id's. Cheers Sascha -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (OFBIZ-4036) encode-output does not working for display tag description
[ https://issues.apache.org/jira/browse/OFBIZ-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964545#action_12964545 ] Bruno Busco commented on OFBIZ-4036: Thank you Scott, I also backported to R10.4 at revision: 1039878. encode-output does not working for display tag description -- Key: OFBIZ-4036 URL: https://issues.apache.org/jira/browse/OFBIZ-4036 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Bruno Busco Assignee: Scott Gray Fix For: SVN trunk I want to show some HTML text in a form field. I used this code below: field name=carCount title=${uiLabelMap.FMC_CarCount} encode-output=false display description=${carCountLink} / /field The carCountLink is a string containing some HTML code. The HTML code itself is shown in the form field instead of being processed as HTML and renderd accordingly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-4031) Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup
[ https://issues.apache.org/jira/browse/OFBIZ-4031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] dukian updated OFBIZ-4031: -- Attachment: chk_r1039859.txt chk_files.txt trans_chk.py sorry for my mistake. I just arrange a program to check this problem(trans_chk.py). It will take care each property set, and checks tag value is inside or outside. And prepare all change file names in r1039574 to a text file: chk_files.txt, and execute following command under OFBiz directory: {quote} $ cat ../chk_files.txt | xargs python ~/trans_chk.py chk_r1039574.txt {quote} I run above command under r1039574 and r1039859, and results as attachment. It seems some probelms in specialpurpose/ecommerce/config/EcommerceUiLabels.xml. please check it, thanks :-) Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup --- Key: OFBIZ-4031 URL: https://issues.apache.org/jira/browse/OFBIZ-4031 Project: OFBiz Issue Type: Improvement Affects Versions: SVN trunk Reporter: dukian Assignee: Jacques Le Roux Fix For: SVN trunk Attachments: chk_files.txt, chk_r1039859.txt, OFBIZ-4031_zh_TW.patch.zip, trans_chk.py -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: svn commit: r1039887 - /ofbiz/site/doap_OFBiz.rdf
FYI: for the PMC info we need to update https://svn.apache.org/repos/asf/infrastructure/site-tools/trunk/projects/data_files/ofbiz.rdf But I have no rights for this. I will ask on site-...@apache.org Jacques From: jler...@apache.org Author: jleroux Date: Sun Nov 28 14:39:40 2010 New Revision: 1039887 URL: http://svn.apache.org/viewvc?rev=1039887view=rev Log: Adds some languages and releases information. Also modify the link to the repository page in wiki. I have tried to add PMC information but it's not quite clear to me Modified: ofbiz/site/doap_OFBiz.rdf Modified: ofbiz/site/doap_OFBiz.rdf URL: http://svn.apache.org/viewvc/ofbiz/site/doap_OFBiz.rdf?rev=1039887r1=1039886r2=1039887view=diff == --- ofbiz/site/doap_OFBiz.rdf (original) +++ ofbiz/site/doap_OFBiz.rdf Sun Nov 28 14:39:40 2010 @@ -8,7 +8,7 @@ !-- === - Copyright (c) 2006 The Apache Software Foundation. + Copyright (c) 2006-2010 The Apache Software Foundation. All rights reserved. === @@ -30,6 +30,9 @@ mailing-list rdf:resource=https://cwiki.apache.org/confluence/x/L4B2; / download-page rdf:resource=http://ofbiz.apache.org/download.html; / programming-languageJava/programming-language +programming-languageGroovy/programming-language +programming-languageJavaScript/programming-language +programming-languageXML/programming-language category rdf:resource=http://projects.apache.org/category/web-framework; / category rdf:resource=http://projects.apache.org/category/database; / category rdf:resource=http://projects.apache.org/category/network-server; / @@ -37,8 +40,8 @@ category rdf:resource=http://projects.apache.org/category/http; / repository SVNRepository -location rdf:resource=http://svn.apache.org/viewvc/ofbiz/trunk// -browse rdf:resource=http://svn.apache.org/repos/asf/ofbiz/trunk/ +location rdf:resource=http://svn.apache.org/repos/asf/ofbiz/trunk// +browse rdf:resource=https://cwiki.apache.org/confluence/x/BYB2/ /SVNRepository /repository maintainer @@ -47,6 +50,20 @@ foaf:mbox rdf:resource=mailto:jone...@apache.org/ /foaf:Person /maintainer - +release +Version +nameOld unofficial and not maintained/name +created2007-04-01/created +revision4.0/revision +/Version +/release +release +Version +nameLast stable/name +created2009-04-01/created +revision9.04/revision +/Version +/release +shortdesc xml:lang=enThe Open For Business Project (Apache OFBiz) is an open source enterprise automation software project/shortdesc /Project /rdf:RDF
[jira] Commented: (OFBIZ-4031) Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup
[ https://issues.apache.org/jira/browse/OFBIZ-4031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964563#action_12964563 ] Jacques Le Roux commented on OFBIZ-4031: Thanks Dukian, According to your py program (sounds good to me), there was only one error remaining. It's fixed at r If you want to check more I have not removed the culprit lines but commented them out with one these comments !-- error introduced with 1039574, OFBIZ-4031 -- !-- duplicate -- Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup --- Key: OFBIZ-4031 URL: https://issues.apache.org/jira/browse/OFBIZ-4031 Project: OFBiz Issue Type: Improvement Affects Versions: SVN trunk Reporter: dukian Assignee: Jacques Le Roux Fix For: SVN trunk Attachments: chk_files.txt, chk_r1039859.txt, OFBIZ-4031_zh_TW.patch.zip, trans_chk.py -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (OFBIZ-4031) Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup
[ https://issues.apache.org/jira/browse/OFBIZ-4031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964563#action_12964563 ] Jacques Le Roux edited comment on OFBIZ-4031 at 11/28/10 11:36 AM: --- ***EDIT** forgot the revision number Thanks Dukian, According to your py program (sounds good to me), there was only one error remaining. It's fixed at r1039892 If you want to check more I have not removed the culprit lines but commented them out with one these comments !-- error introduced with 1039574, OFBIZ-4031 -- !-- duplicate -- was (Author: jacques.le.roux): Thanks Dukian, According to your py program (sounds good to me), there was only one error remaining. It's fixed at r If you want to check more I have not removed the culprit lines but commented them out with one these comments !-- error introduced with 1039574, OFBIZ-4031 -- !-- duplicate -- Add Traditional Chinese translation for applications, ecommerce, and ofbizsetup --- Key: OFBIZ-4031 URL: https://issues.apache.org/jira/browse/OFBIZ-4031 Project: OFBiz Issue Type: Improvement Affects Versions: SVN trunk Reporter: dukian Assignee: Jacques Le Roux Fix For: SVN trunk Attachments: chk_files.txt, chk_r1039859.txt, OFBIZ-4031_zh_TW.patch.zip, trans_chk.py -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [jira] Closed: (OFBIZ-4006) jQuery Test and Bug fixing
Other opinions? Jacques From: Bruno Busco bruno.bu...@gmail.com I would prefer to have the release branch before the merge with jQuery. -Bruno 2010/11/27 Jacopo Cappellato jacopo.cappell...@hotwaxmedia.com We may want to create a new release branch (before or after the merge with jQuery?) and officially release 10.04. Jacopo On Nov 27, 2010, at 10:57 AM, Jacques Le Roux wrote: Yes, there is no hurry to merge jQuery, and a branch before could be a good idea indeed. This could be an answer for removing or not all Prototype/Dojo from the trunk. With this branch people could rely on it for Prototype/Dojo. Those interested by the trunk are already leaving on the leading-edge and should not worry too much. On the other hand maybe some would prefer to have jQuery in the next release? And also should we wait 11.xx? 11.01 would be okay for me... BTW for those interested please be sure to check this thread (Bilgin noticed that I mixed 2 subjects in it: jQuery docs and demo and removing Prototype/Dojo from the trunk or not) http://markmail.org/message/mpdywy4ymkjddrpr Jacques From: Bruno Busco bruno.bu...@gmail.com What about creating a new release branch before merging the jquery ? -Bruno 2010/11/26 Jacques Le Roux jacques.le.r...@les7arts.com Hi Rohit, Hopefully before new year, but we will need more testing, could you help? Thanks Jacques From: rohit rohitksur...@yahoo.com hi, when can we expect the jQuery branch to be merged with the truck, it that expected at all... thanks rohit -- View this message in context: http://ofbiz.135035.n4.nabble.com/jira-Created-OFBIZ-4006-jQuery-Test-and-Bug-fixing-tp3016706p3060540.html Sent from the OFBiz - Dev mailing list archive at Nabble.com.
[jira] Created: (OFBIZ-4037) Moving the user SignUp feature from MyPortal to the Framework
Moving the user SignUp feature from MyPortal to the Framework - Key: OFBIZ-4037 URL: https://issues.apache.org/jira/browse/OFBIZ-4037 Project: OFBiz Issue Type: Improvement Components: framework Affects Versions: SVN trunk Reporter: Bruno Busco Hi Devs! In the attached patch I have reworked the feature that allows a new user to SignUp for an account. This feature is actually only available when logging in at the MyPortal application. Well, IMO it should be centrally available so that the login screen is exactly the same regardless of the application. The Captcha feature is already implemented (captcha.java) partially in the framework and so this patch should be seen as a clean up also. I added full internationalization of all labels and created some labels in the CommonUiLabels.xml file. I would like some review so that I could then commit if nobody finds something wrong. By the way, there is for sure some improvement that could be done at a later stage: - Eliminate the labels that have been created in the CommonUiLabels from Party and MyPortal - Add an encription of the Captcha code so that it will not be easily broken by robots. Thank you for any comment you could provide. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-4037) Moving the user SignUp feature from MyPortal to the Framework
[ https://issues.apache.org/jira/browse/OFBIZ-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruno Busco updated OFBIZ-4037: --- Attachment: ofbiz_signup.patch Moving the user SignUp feature from MyPortal to the Framework - Key: OFBIZ-4037 URL: https://issues.apache.org/jira/browse/OFBIZ-4037 Project: OFBiz Issue Type: Improvement Components: framework Affects Versions: SVN trunk Reporter: Bruno Busco Attachments: ofbiz_signup.patch Hi Devs! In the attached patch I have reworked the feature that allows a new user to SignUp for an account. This feature is actually only available when logging in at the MyPortal application. Well, IMO it should be centrally available so that the login screen is exactly the same regardless of the application. The Captcha feature is already implemented (captcha.java) partially in the framework and so this patch should be seen as a clean up also. I added full internationalization of all labels and created some labels in the CommonUiLabels.xml file. I would like some review so that I could then commit if nobody finds something wrong. By the way, there is for sure some improvement that could be done at a later stage: - Eliminate the labels that have been created in the CommonUiLabels from Party and MyPortal - Add an encription of the Captcha code so that it will not be easily broken by robots. Thank you for any comment you could provide. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
using ivy when downloading postgres driver
Hi all, I've managed to use ivy (http://ant.apache.org/ivy/) to download the postgreSQL driver, instead of using a direct download link. Before adding it to the trunk, I'd like to have your thoughts on this. Regards, -- Erwan de FERRIERES www.nereide.biz
Re: using ivy when downloading postgres driver
why not use ./ant download-PG-JDBC = BJ Freeman Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=52 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Erwan de FERRIERES sent the following on 11/28/2010 7:21 AM: Hi all, I've managed to use ivy (http://ant.apache.org/ivy/) to download the postgreSQL driver, instead of using a direct download link. Before adding it to the trunk, I'd like to have your thoughts on this. Regards,
Re: using ivy when downloading postgres driver
Le 28/11/2010 21:10, BJ Freeman a écrit : why not use ./ant download-PG-JDBC just what I said in my mail, this is a direct download from the PG website, and this is not using maven repos. And then less extensibility in the future. What I've done is replacing what is under the ant target, not the target itself. = BJ Freeman Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=52 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Erwan de FERRIERES sent the following on 11/28/2010 7:21 AM: Hi all, I've managed to use ivy (http://ant.apache.org/ivy/) to download the postgreSQL driver, instead of using a direct download link. Before adding it to the trunk, I'd like to have your thoughts on this. Regards, -- Erwan de FERRIERES www.nereide.biz
buildbot failure in ASF Buildbot on ofbiz-trunk
The Buildbot has detected a new failure of ofbiz-trunk on ASF Buildbot. Full details are available at: http://ci.apache.org/builders/ofbiz-trunk/builds/807 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: isis_ubuntu Build Reason: Build Source Stamp: [branch ofbiz/trunk] 1040016 Blamelist: lektran BUILD FAILED: failed compile_1 sincerely, -The Buildbot
Re: buildbot failure in ASF Buildbot on ofbiz-trunk
Looks like a problem with buildbot, the tests pass on my local. Regards Scott HotWax Media http://www.hotwaxmedia.com On 29/11/2010, at 6:48 PM, build...@apache.org wrote: The Buildbot has detected a new failure of ofbiz-trunk on ASF Buildbot. Full details are available at: http://ci.apache.org/builders/ofbiz-trunk/builds/807 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: isis_ubuntu Build Reason: Build Source Stamp: [branch ofbiz/trunk] 1040016 Blamelist: lektran BUILD FAILED: failed compile_1 sincerely, -The Buildbot smime.p7s Description: S/MIME cryptographic signature
Re: Configuring LDAP with OFBiz
Hi, I would have prefer to call the service from minilang through bsh script which can be embedded in minilang. You cab refer: http://www.opensourcestrategies.com/ofbiz/ofbiz_minilang_cookbook.txt Regards, Abhishake On Sun, Nov 28, 2010 at 2:07 PM, Naveen Kumar B V naveen.whishwo...@gmail.com wrote: Hi Abhishek, Yes true, modifying both the files you mentioned will ensure that the details will be saved from both store-front and backoffice. But, how is the actual implementation logic written. I suppose it cannot be done only with OFBiz Mini-Lang in the xml files. Should a separate service be written for example in Java (using JLDAP). Can you throw some light on the implementation and some sample code. Thank you once again for your time. Your inputs are really taking me forward. Regards, Naveen Kumar B.V On Sun, Nov 28, 2010 at 12:16 PM, Abhishake Agarwal abhishake.agar...@gmail.com wrote: Hi, Also if you want party userlogin created from ofbiz backoffice should be stored in ldap, you should also modify ofbiz/applications/party/ script/org/ofbiz/party/customer/CustomerEvents.xml Regards, Abhishake On Sun, Nov 28, 2010 at 11:40 AM, Abhishake Agarwal abhishake.agar...@gmail.com wrote: Hi, I think you have to use : ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml Regards, Abhishake On Sun, Nov 28, 2010 at 1:22 AM, Naveen Kumar B V naveen.whishwo...@gmail.com wrote: Hi Abhishek, Thanks for your reply, that gives me some hope that while user registration, details can be stored in LDAP also. When i tried to figure out how to do this, i found CustomerEvents.xml file in 3 locations as below: * ofbiz/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml * * ofbiz/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml * * ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml * * * Can you help me in identifying which is the file to be modified so that user details can be stored in LDAP, also how do we actually specify other details related to LDAP like Distinguished Name(DN), Organizational Unit(OU), username, password, LDAP location, etc Some sample code.. to do this.. would really be helping me.. Thanks Regards, Naveen Kumar B.V On Sun, Nov 28, 2010 at 12:36 AM, Abhishake Agarwal abhishake.agar...@gmail.com wrote: Hi, You have to modify createCustomer events in CustomerEvents.xml to store user details in LDAP when user gets registered. Regards, Abhishake On Sat, Nov 27, 2010 at 11:26 PM, Naveen Bahatam naveen.baha...@whishworks.com wrote: Hi Adrian, Thanks for your reply. If at all the users data is to be stored in LDAP, when the user is getting registered, or for password updations, can you tell me how can it be done.??. Is it possible with the current implementation in OFBiz, or should we write a service to perform such an operation. And yes, i will make sure to post these questions on user mailing list. Thank you once again. Regards, Naveen Kumar B.V On 26 November 2010 21:20, Adrian Crum adrian.c...@yahoo.com wrote: The current LDAP integration is used for authentication only. User data is not stored in LDAP. By the way, this type of question should be posted on the user mailing list. -Adrian --- On Fri, 11/26/10, Naveen Bahatam naveen.baha...@whishworks.com wrote: From: Naveen Bahatam naveen.baha...@whishworks.com Subject: Configuring LDAP with OFBiz To: dev@ofbiz.apache.org Date: Friday, November 26, 2010, 2:27 AM Hi, I have understood configuring LDAP with OFBiz by editing two properties file as below: *jndiLdap.properties file:* * * # OFBiz LDAP Authentication Settings # JNDI LDAP settings. Change the following line to # point to your LDAP server. java.naming.provider.url=ldap://localhost:389 java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory java.naming.security.authentication=simple com.sun.jndi.ldap.connect.timeout=5000 # Distinguished Name template. This is used as a default if # UserLogin.userLdapDn is empty. # The %u placeholder will be replaced by the user's login name, # then the resulting string will be used to authenticate the user. ldap.dn.template=cn=%u,dc=example,dc=com # The following property controls whether the user's OFBiz password
[jira] Commented: (OFBIZ-1262) Complete the support for VAT (Value-Added-Tax)
[ https://issues.apache.org/jira/browse/OFBIZ-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964638#action_12964638 ] David E. Jones commented on OFBIZ-1262: --- I don't know that the work I've done can replace these changes, or that I'll be doing any work that will replace them. The work I did was to make various calculations more accurate, but there is still an issue where in certain cases we just can't get the calculated total based on prices without tax included to exactly match the total based on a calculation based on prices with tax included. What that means is that the only solution seems to be to do the calculation based on prices with tax included, and then calculate how much of that should be taken out as tax. There just doesn't seem to be any way to avoid that, and that will eventually need to be implemented (preferably based on existing settings on the ProductStore and the ProductPrice records to see if there are prices with tax included). Complete the support for VAT (Value-Added-Tax) -- Key: OFBIZ-1262 URL: https://issues.apache.org/jira/browse/OFBIZ-1262 Project: OFBiz Issue Type: Improvement Components: order, specialpurpose/ecommerce Affects Versions: SVN trunk Reporter: Marco Risaliti Assignee: David E. Jones Priority: Minor Fix For: SVN trunk Attachments: CalculateVatTax2.patch, ecommerceEu.zip I have tried to implement a different of VAT Tax calculation without total change the actual calculation of tax for USA. I have add a new field into the ProductStore to understand if for a store the vat tax has to be calculated (calculateVatTax). The old field showPricesWithVatTax it will be used only if the calculateVatTax will be set to yes for show the prices with tax included or excluded. I have created a sample application (ecommerceEu) to show how it's working. For the moment I have used only two product with vat tax calculated (GZ-1000 and GZ-1001). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: buildbot failure in ASF Buildbot on ofbiz-trunk
Yes, [java] org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.base.container.NamingServiceContainer (Unable to locate naming service (Port already in use: 1099; nested exception is: [java] java.net.BindException: Address already in use)) Jacques From: Scott Gray scott.g...@hotwaxmedia.com Looks like a problem with buildbot, the tests pass on my local. Regards Scott HotWax Media http://www.hotwaxmedia.com On 29/11/2010, at 6:48 PM, build...@apache.org wrote: The Buildbot has detected a new failure of ofbiz-trunk on ASF Buildbot. Full details are available at: http://ci.apache.org/builders/ofbiz-trunk/builds/807 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: isis_ubuntu Build Reason: Build Source Stamp: [branch ofbiz/trunk] 1040016 Blamelist: lektran BUILD FAILED: failed compile_1 sincerely, -The Buildbot smime.p7s Description: S/MIME cryptographic signature
Re: Configuring LDAP with OFBiz
Then I'd prefer to use Groovy than BSH and please, as already requested by Adrian, use users ML than dev ML for such dicussions Thanks Jacques From: Abhishake Agarwal abhishake.agar...@gmail.com Hi, I would have prefer to call the service from minilang through bsh script which can be embedded in minilang. You cab refer: http://www.opensourcestrategies.com/ofbiz/ofbiz_minilang_cookbook.txt Regards, Abhishake On Sun, Nov 28, 2010 at 2:07 PM, Naveen Kumar B V naveen.whishwo...@gmail.com wrote: Hi Abhishek, Yes true, modifying both the files you mentioned will ensure that the details will be saved from both store-front and backoffice. But, how is the actual implementation logic written. I suppose it cannot be done only with OFBiz Mini-Lang in the xml files. Should a separate service be written for example in Java (using JLDAP). Can you throw some light on the implementation and some sample code. Thank you once again for your time. Your inputs are really taking me forward. Regards, Naveen Kumar B.V On Sun, Nov 28, 2010 at 12:16 PM, Abhishake Agarwal abhishake.agar...@gmail.com wrote: Hi, Also if you want party userlogin created from ofbiz backoffice should be stored in ldap, you should also modify ofbiz/applications/party/ script/org/ofbiz/party/customer/CustomerEvents.xml Regards, Abhishake On Sun, Nov 28, 2010 at 11:40 AM, Abhishake Agarwal abhishake.agar...@gmail.com wrote: Hi, I think you have to use : ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml Regards, Abhishake On Sun, Nov 28, 2010 at 1:22 AM, Naveen Kumar B V naveen.whishwo...@gmail.com wrote: Hi Abhishek, Thanks for your reply, that gives me some hope that while user registration, details can be stored in LDAP also. When i tried to figure out how to do this, i found CustomerEvents.xml file in 3 locations as below: * ofbiz/applications/order/script/org/ofbiz/order/customer/CustomerEvents.xml * * ofbiz/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml * * ofbiz/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml * * * Can you help me in identifying which is the file to be modified so that user details can be stored in LDAP, also how do we actually specify other details related to LDAP like Distinguished Name(DN), Organizational Unit(OU), username, password, LDAP location, etc Some sample code.. to do this.. would really be helping me.. Thanks Regards, Naveen Kumar B.V On Sun, Nov 28, 2010 at 12:36 AM, Abhishake Agarwal abhishake.agar...@gmail.com wrote: Hi, You have to modify createCustomer events in CustomerEvents.xml to store user details in LDAP when user gets registered. Regards, Abhishake On Sat, Nov 27, 2010 at 11:26 PM, Naveen Bahatam naveen.baha...@whishworks.com wrote: Hi Adrian, Thanks for your reply. If at all the users data is to be stored in LDAP, when the user is getting registered, or for password updations, can you tell me how can it be done.??. Is it possible with the current implementation in OFBiz, or should we write a service to perform such an operation. And yes, i will make sure to post these questions on user mailing list. Thank you once again. Regards, Naveen Kumar B.V On 26 November 2010 21:20, Adrian Crum adrian.c...@yahoo.com wrote: The current LDAP integration is used for authentication only. User data is not stored in LDAP. By the way, this type of question should be posted on the user mailing list. -Adrian --- On Fri, 11/26/10, Naveen Bahatam naveen.baha...@whishworks.com wrote: From: Naveen Bahatam naveen.baha...@whishworks.com Subject: Configuring LDAP with OFBiz To: dev@ofbiz.apache.org Date: Friday, November 26, 2010, 2:27 AM Hi, I have understood configuring LDAP with OFBiz by editing two properties file as below: *jndiLdap.properties file:* * * # OFBiz LDAP Authentication Settings # JNDI LDAP settings. Change the following line to # point to your LDAP server. java.naming.provider.url=ldap://localhost:389 java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory java.naming.security.authentication=simple com.sun.jndi.ldap.connect.timeout=5000 # Distinguished Name template. This is used as a default if # UserLogin.userLdapDn is empty. # The %u placeholder will be replaced by the user's login name, # then the resulting string will be used to authenticate the user. ldap.dn.template=cn=%u,dc=example,dc=com # The following property controls whether the user's OFBiz