Here is updated patch which uses only struts 2 actions: http://www.jroller.com/resources/s/sedat/forgetPasswordPatchRollerTrunk20070520ver3.jar
In this patch, I add 2 new files: org.apache.roller.ui.core.struts2.ForgetPassword and its corresponding jsp page web-inf/jsps/core/struts2/ForgetPassword.jsp Sedat --- sedat ciftci <[EMAIL PROTECTED]> wrote: > Ok. When I write the forget password patch, I do not > write any struts2 actions; I write my actions in > org.apache.roller.ui.core.struts.actions.UserNewAction > (struts1) and it works. Then, they have to be moved > to > a struts2 action class, don't they? > Sedat > > --- Allen Gilliland <[EMAIL PROTECTED]> wrote: > > > All the struts1 actions are effectively EOLed as > far > > as I'm concerned, > > so we aren't going to fix any problems in that > > class. As long as the > > register action is correct then that's fine. > > > > -- Allen > > > > > > sedat ciftci wrote: > > > Here is the updated patch for the forget > password > > > feature: > > > > > > http://www.jroller.com/resources/s/sedat/forgetPasswordPatchRollerTrunk20070520ver2.jar > > > > > > (change the extension of the file from .jar to > > .zip to > > > open file) > > > > > > Note: While I updating this patch (for current > > trunk), > > > I notice that in the add method of > > > > > > org.apache.roller.ui.core.struts.actions.UserNewAction, > > > the property related with the user activation > via > > > email is read from RollerConfig (boolean > > > activationEnabled = > > > > > > RollerConfig.getBooleanProperty("user.account.activation.enabled"); > > > ). This must be read from RollerRuntimeConfig as > > it is > > > writen in save method of > > > org.apache.roller.ui.core.struts2.Register > > (boolean > > > activationEnabled = > > > > > > RollerRuntimeConfig.getBooleanProperty("user.account.activation.enabled");) > > > > > > Sedat > > > > > > --- sedat ciftci <[EMAIL PROTECTED]> wrote: > > > > > >> I put a property in RollerRunTime Config and I > > just > > >> notice that in order to read that property, I > > have > > >> to > > >> use RollerRuntimeConfig.getProperty() method (I > > used > > >> RollerConfig.getProperty() method). I will > update > > >> the > > >> patch, resend it and notify you. > > >> Sedat > > >> > > >> --- Dave <[EMAIL PROTECTED]> wrote: > > >> > > >>> Cool! That's great news Sedat. > > >>> > > >>> I'll try to find some time this week to take a > > >> look > > >>> at the patch. > > >>> > > >>> Thanks, > > >>> - Dave > > >>> > > >>> > > >>> > > >>> On 5/20/07, sedat ciftci > <[EMAIL PROTECTED]> > > >>> wrote: > > >>>> Hello, > > >>>> > > >>>> With this new feature, when a user forgets > > >>> his/her > > >>>> password, he/she enters the user name and > email > > >>>> address of his/her account. If those values > are > > >>>> matched, then a password request mail is sent > > to > > >>> the > > >>>> user to confirm this password request. If > user > > >>> clicks > > >>>> the link in this sent mail, a new password is > > >>>> generated randomly and sent to the user. > > >>>> > > >>>> I wrote the patch related with this feature > > >> for > > >>>> current roller trunk and you can download it > > >> from > > >>> this > > >>>> link: > > >>>> > > > > > > http://www.jroller.com/resources/s/sedat/forgetPasswordPatchRollerTrunk20070520ver1.jar > > >>>> (change the extension of the file from .jar > to > > >>> .zip to > > >>>> open) > > >>>> > > >>>> Sedat > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > > > > > ____________________________________________________________________________________Get > > >>> the Yahoo! toolbar and be alerted to new email > > >>> wherever you're surfing. > > > > > > http://new.toolbar.yahoo.com/toolbar/features/mail/index.php > > >> > > >> > > >> > > >> > > > > > > ____________________________________________________________________________________Choose > > >> the right car based on your needs. Check out > > Yahoo! > > >> Autos new Car Finder tool. > > >> http://autos.yahoo.com/carfinder/ > > >> > > > > > > > > > > > > > > > ____________________________________________________________________________________Fussy? > > Opinionated? Impossible to please? Perfect. Join > > Yahoo!'s user panel and lay it on us. > > > http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 > > > > > > > > > > > > ____________________________________________________________________________________Be > a better Globetrotter. Get better travel answers > from someone who knows. Yahoo! Answers - Check it > out. > http://answers.yahoo.com/dir/?link=list&sid=396545469 > ____________________________________________________________________________________You snooze, you lose. Get messages ASAP with AutoCheck in the all-new Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
