Thread: [Codestriker-user] Newbie question - mail configuration
Brought to you by:
sits
|
From: Andre R. <and...@gm...> - 2008-10-08 15:24:56
|
Hi there. New here, yada yada yada! I'm getting an error while trying to create a new user: "Couldn't set sender to "codestriker": , <codestriker>: sender address must contain a domain" Couldn't find where to set this on codestriker.conf! Thanks for any help you can provide. Andre |
|
From: David S. <dav...@gm...> - 2008-10-08 22:29:53
|
Hi Andre, Your username needs to be an email address - with the domain specified. Cheers, David On Thu, Oct 9, 2008 at 2:24 AM, Andre Rubin <and...@gm...> wrote: > Hi there. > New here, yada yada yada! > I'm getting an error while trying to create a new user: > "Couldn't set sender to "codestriker": , <codestriker>: sender address must > contain a domain" > > Couldn't find where to set this on codestriker.conf! > Thanks for any help you can provide. > > Andre > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Codestriker-user mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codestriker-user > > |
|
From: Andre R. <and...@gm...> - 2008-10-08 22:41:45
|
Where do I set that? Thanks, Andre On Wed, Oct 8, 2008 at 3:09 PM, David Sitsky <dav...@gm...> wrote: > Hi Andre, > > Your username needs to be an email address - with the domain specified. > > Cheers, > David > > On Thu, Oct 9, 2008 at 2:24 AM, Andre Rubin <and...@gm...> wrote: > > Hi there. > > New here, yada yada yada! > > I'm getting an error while trying to create a new user: > > "Couldn't set sender to "codestriker": , <codestriker>: sender address > must > > contain a domain" > > > > Couldn't find where to set this on codestriker.conf! > > Thanks for any help you can provide. > > > > Andre > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Codestriker-user mailing list > > Cod...@li... > > https://lists.sourceforge.net/lists/listinfo/codestriker-user > > > > > |
|
From: David S. <dav...@gm...> - 2008-10-08 23:58:06
|
Can you give more information as to exactly which screen it is you are doing this from? What values are you putting into the fields? Have you set $mailhost in your codestriker.conf? Did you set $mailuser/$mailpasswd at all (if your SMTP server requires authentication?) There also might be more information in Apache's error.log file. Cheers, David On Thu, Oct 9, 2008 at 9:41 AM, Andre Rubin <and...@gm...> wrote: > Where do I set that? > Thanks, > Andre > > On Wed, Oct 8, 2008 at 3:09 PM, David Sitsky <dav...@gm...> wrote: >> >> Hi Andre, >> >> Your username needs to be an email address - with the domain specified. >> >> Cheers, >> David >> >> On Thu, Oct 9, 2008 at 2:24 AM, Andre Rubin <and...@gm...> wrote: >> > Hi there. >> > New here, yada yada yada! >> > I'm getting an error while trying to create a new user: >> > "Couldn't set sender to "codestriker": , <codestriker>: sender address >> > must >> > contain a domain" >> > >> > Couldn't find where to set this on codestriker.conf! >> > Thanks for any help you can provide. >> > >> > Andre >> > >> > ------------------------------------------------------------------------- >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >> > challenge >> > Build the coolest Linux based applications with Moblin SDK & win great >> > prizes >> > Grand prize is a trip for two to an Open Source event anywhere in the >> > world >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> > _______________________________________________ >> > Codestriker-user mailing list >> > Cod...@li... >> > https://lists.sourceforge.net/lists/listinfo/codestriker-user >> > >> > > > |
|
From: Andre R. <and...@gm...> - 2008-10-09 19:08:50
|
When I access codestriker.pl, it asks for a username and password. Since I'm not sure which password it is talking about I click on Create New User. When I try to use my email address it complains that the user already exists. Then I type in my email address in the appropriate box and hit the Reset Password button. That's when I get the aforementioned error. Apache's error log has the same message. My $mailhost, $mailuser, and $mailpasswd are set correctly, with our mail server, my email and pass (that was I why I was asking where does it get the user "codestriker" as sender? Could it be from $dbuser?) Many thanks, Andre On Wed, Oct 8, 2008 at 4:58 PM, David Sitsky <dav...@gm...> wrote: > Can you give more information as to exactly which screen it is you are > doing this from? What values are you putting into the fields? > > Have you set $mailhost in your codestriker.conf? Did you set > $mailuser/$mailpasswd at all (if your SMTP server requires > authentication?) > > There also might be more information in Apache's error.log file. > > Cheers, > David > > On Thu, Oct 9, 2008 at 9:41 AM, Andre Rubin <and...@gm...> wrote: > > Where do I set that? > > Thanks, > > Andre > > > > On Wed, Oct 8, 2008 at 3:09 PM, David Sitsky <dav...@gm...> > wrote: > >> > >> Hi Andre, > >> > >> Your username needs to be an email address - with the domain specified. > >> > >> Cheers, > >> David > >> > >> On Thu, Oct 9, 2008 at 2:24 AM, Andre Rubin <and...@gm...> > wrote: > >> > Hi there. > >> > New here, yada yada yada! > >> > I'm getting an error while trying to create a new user: > >> > "Couldn't set sender to "codestriker": , <codestriker>: sender address > >> > must > >> > contain a domain" > >> > > >> > Couldn't find where to set this on codestriker.conf! > >> > Thanks for any help you can provide. > >> > > >> > Andre > >> > > >> > > ------------------------------------------------------------------------- > >> > This SF.Net email is sponsored by the Moblin Your Move Developer's > >> > challenge > >> > Build the coolest Linux based applications with Moblin SDK & win great > >> > prizes > >> > Grand prize is a trip for two to an Open Source event anywhere in the > >> > world > >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> > _______________________________________________ > >> > Codestriker-user mailing list > >> > Cod...@li... > >> > https://lists.sourceforge.net/lists/listinfo/codestriker-user > >> > > >> > > > > > > |
|
From: David S. <dav...@gm...> - 2008-10-09 21:02:06
|
That sounds strange. Has $mailuser been set to "codestriker" by any chance? Does the same think happen if you try to create a brand new user? Cheers, David On Fri, Oct 10, 2008 at 6:08 AM, Andre Rubin <and...@gm...> wrote: > When I access codestriker.pl, it asks for a username and password. Since I'm > not sure which password it is talking about I click on Create New User. When > I try to use my email address it complains that the user already exists. > Then I type in my email address in the appropriate box and hit the Reset > Password button. That's when I get the aforementioned error. Apache's error > log has the same message. > My $mailhost, $mailuser, and $mailpasswd are set correctly, with our mail > server, my email and pass (that was I why I was asking where does it get the > user "codestriker" as sender? Could it be from $dbuser?) > Many thanks, > > Andre > On Wed, Oct 8, 2008 at 4:58 PM, David Sitsky <dav...@gm...> wrote: >> >> Can you give more information as to exactly which screen it is you are >> doing this from? What values are you putting into the fields? >> >> Have you set $mailhost in your codestriker.conf? Did you set >> $mailuser/$mailpasswd at all (if your SMTP server requires >> authentication?) >> >> There also might be more information in Apache's error.log file. >> >> Cheers, >> David >> >> On Thu, Oct 9, 2008 at 9:41 AM, Andre Rubin <and...@gm...> wrote: >> > Where do I set that? >> > Thanks, >> > Andre >> > >> > On Wed, Oct 8, 2008 at 3:09 PM, David Sitsky <dav...@gm...> >> > wrote: >> >> >> >> Hi Andre, >> >> >> >> Your username needs to be an email address - with the domain specified. >> >> >> >> Cheers, >> >> David >> >> >> >> On Thu, Oct 9, 2008 at 2:24 AM, Andre Rubin <and...@gm...> >> >> wrote: >> >> > Hi there. >> >> > New here, yada yada yada! >> >> > I'm getting an error while trying to create a new user: >> >> > "Couldn't set sender to "codestriker": , <codestriker>: sender >> >> > address >> >> > must >> >> > contain a domain" >> >> > >> >> > Couldn't find where to set this on codestriker.conf! >> >> > Thanks for any help you can provide. >> >> > >> >> > Andre >> >> > >> >> > >> >> > ------------------------------------------------------------------------- >> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >> >> > challenge >> >> > Build the coolest Linux based applications with Moblin SDK & win >> >> > great >> >> > prizes >> >> > Grand prize is a trip for two to an Open Source event anywhere in the >> >> > world >> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> > _______________________________________________ >> >> > Codestriker-user mailing list >> >> > Cod...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/codestriker-user >> >> > >> >> > >> > >> > > > |
|
From: Andre R. <and...@gm...> - 2008-10-09 23:18:59
|
$mailuser is set to my user. The same happens when I create a new user (I double checked mysql and the new user is there). Is it possible that it's not reading the config file at all? I'm using codestriker 1.9.7-rc1. Should I install 1.9.6 and see what happens? Andre On Thu, Oct 9, 2008 at 2:01 PM, David Sitsky <dav...@gm...> wrote: > That sounds strange. Has $mailuser been set to "codestriker" by any > chance? > > Does the same think happen if you try to create a brand new user? > > Cheers, > David > > On Fri, Oct 10, 2008 at 6:08 AM, Andre Rubin <and...@gm...> > wrote: > > When I access codestriker.pl, it asks for a username and password. Since > I'm > > not sure which password it is talking about I click on Create New User. > When > > I try to use my email address it complains that the user already exists. > > Then I type in my email address in the appropriate box and hit the Reset > > Password button. That's when I get the aforementioned error. Apache's > error > > log has the same message. > > My $mailhost, $mailuser, and $mailpasswd are set correctly, with our mail > > server, my email and pass (that was I why I was asking where does it get > the > > user "codestriker" as sender? Could it be from $dbuser?) > > Many thanks, > > > > Andre > > On Wed, Oct 8, 2008 at 4:58 PM, David Sitsky <dav...@gm...> > wrote: > >> > >> Can you give more information as to exactly which screen it is you are > >> doing this from? What values are you putting into the fields? > >> > >> Have you set $mailhost in your codestriker.conf? Did you set > >> $mailuser/$mailpasswd at all (if your SMTP server requires > >> authentication?) > >> > >> There also might be more information in Apache's error.log file. > >> > >> Cheers, > >> David > >> > >> On Thu, Oct 9, 2008 at 9:41 AM, Andre Rubin <and...@gm...> > wrote: > >> > Where do I set that? > >> > Thanks, > >> > Andre > >> > > >> > On Wed, Oct 8, 2008 at 3:09 PM, David Sitsky <dav...@gm...> > >> > wrote: > >> >> > >> >> Hi Andre, > >> >> > >> >> Your username needs to be an email address - with the domain > specified. > >> >> > >> >> Cheers, > >> >> David > >> >> > >> >> On Thu, Oct 9, 2008 at 2:24 AM, Andre Rubin <and...@gm...> > >> >> wrote: > >> >> > Hi there. > >> >> > New here, yada yada yada! > >> >> > I'm getting an error while trying to create a new user: > >> >> > "Couldn't set sender to "codestriker": , <codestriker>: sender > >> >> > address > >> >> > must > >> >> > contain a domain" > >> >> > > >> >> > Couldn't find where to set this on codestriker.conf! > >> >> > Thanks for any help you can provide. > >> >> > > >> >> > Andre > >> >> > > >> >> > > >> >> > > ------------------------------------------------------------------------- > >> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's > >> >> > challenge > >> >> > Build the coolest Linux based applications with Moblin SDK & win > >> >> > great > >> >> > prizes > >> >> > Grand prize is a trip for two to an Open Source event anywhere in > the > >> >> > world > >> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> >> > _______________________________________________ > >> >> > Codestriker-user mailing list > >> >> > Cod...@li... > >> >> > https://lists.sourceforge.net/lists/listinfo/codestriker-user > >> >> > > >> >> > > >> > > >> > > > > > > |
|
From: David S. <dav...@gm...> - 2008-10-10 11:08:25
|
Yeah - try 1.9.6. It sounds like some strange mail configuration issue on your end. Let us know how you go. On Fri, Oct 10, 2008 at 9:03 AM, Andre Rubin <and...@gm...> wrote: > $mailuser is set to my user. > The same happens when I create a new user (I double checked mysql and the > new user is there). > Is it possible that it's not reading the config file at all? I'm using > codestriker 1.9.7-rc1. Should I install 1.9.6 and see what happens? > > Andre > > On Thu, Oct 9, 2008 at 2:01 PM, David Sitsky <dav...@gm...> wrote: >> >> That sounds strange. Has $mailuser been set to "codestriker" by any >> chance? >> >> Does the same think happen if you try to create a brand new user? >> >> Cheers, >> David >> >> On Fri, Oct 10, 2008 at 6:08 AM, Andre Rubin <and...@gm...> >> wrote: >> > When I access codestriker.pl, it asks for a username and password. Since >> > I'm >> > not sure which password it is talking about I click on Create New User. >> > When >> > I try to use my email address it complains that the user already exists. >> > Then I type in my email address in the appropriate box and hit the Reset >> > Password button. That's when I get the aforementioned error. Apache's >> > error >> > log has the same message. >> > My $mailhost, $mailuser, and $mailpasswd are set correctly, with our >> > mail >> > server, my email and pass (that was I why I was asking where does it get >> > the >> > user "codestriker" as sender? Could it be from $dbuser?) >> > Many thanks, >> > >> > Andre >> > On Wed, Oct 8, 2008 at 4:58 PM, David Sitsky <dav...@gm...> >> > wrote: >> >> >> >> Can you give more information as to exactly which screen it is you are >> >> doing this from? What values are you putting into the fields? >> >> >> >> Have you set $mailhost in your codestriker.conf? Did you set >> >> $mailuser/$mailpasswd at all (if your SMTP server requires >> >> authentication?) >> >> >> >> There also might be more information in Apache's error.log file. >> >> >> >> Cheers, >> >> David >> >> >> >> On Thu, Oct 9, 2008 at 9:41 AM, Andre Rubin <and...@gm...> >> >> wrote: >> >> > Where do I set that? >> >> > Thanks, >> >> > Andre >> >> > >> >> > On Wed, Oct 8, 2008 at 3:09 PM, David Sitsky <dav...@gm...> >> >> > wrote: >> >> >> >> >> >> Hi Andre, >> >> >> >> >> >> Your username needs to be an email address - with the domain >> >> >> specified. >> >> >> >> >> >> Cheers, >> >> >> David >> >> >> >> >> >> On Thu, Oct 9, 2008 at 2:24 AM, Andre Rubin <and...@gm...> >> >> >> wrote: >> >> >> > Hi there. >> >> >> > New here, yada yada yada! >> >> >> > I'm getting an error while trying to create a new user: >> >> >> > "Couldn't set sender to "codestriker": , <codestriker>: sender >> >> >> > address >> >> >> > must >> >> >> > contain a domain" >> >> >> > >> >> >> > Couldn't find where to set this on codestriker.conf! >> >> >> > Thanks for any help you can provide. >> >> >> > >> >> >> > Andre >> >> >> > >> >> >> > >> >> >> > >> >> >> > ------------------------------------------------------------------------- >> >> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >> >> >> > challenge >> >> >> > Build the coolest Linux based applications with Moblin SDK & win >> >> >> > great >> >> >> > prizes >> >> >> > Grand prize is a trip for two to an Open Source event anywhere in >> >> >> > the >> >> >> > world >> >> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> >> > _______________________________________________ >> >> >> > Codestriker-user mailing list >> >> >> > Cod...@li... >> >> >> > https://lists.sourceforge.net/lists/listinfo/codestriker-user >> >> >> > >> >> >> > >> >> > >> >> > >> > >> > > > |
|
From: Andre R. <and...@gm...> - 2008-10-11 00:15:21
|
Yeah. Things are working now with 1.9.6! Emails are being sent and all! Thanks, Andre On Fri, Oct 10, 2008 at 4:08 AM, David Sitsky <dav...@gm...> wrote: > Yeah - try 1.9.6. It sounds like some strange mail configuration > issue on your end. Let us know how you go. > > On Fri, Oct 10, 2008 at 9:03 AM, Andre Rubin <and...@gm...> wrote: >> $mailuser is set to my user. >> The same happens when I create a new user (I double checked mysql and the >> new user is there). >> Is it possible that it's not reading the config file at all? I'm using >> codestriker 1.9.7-rc1. Should I install 1.9.6 and see what happens? >> >> Andre >> >> On Thu, Oct 9, 2008 at 2:01 PM, David Sitsky <dav...@gm...> wrote: >>> >>> That sounds strange. Has $mailuser been set to "codestriker" by any >>> chance? >>> >>> Does the same think happen if you try to create a brand new user? >>> >>> Cheers, >>> David >>> >>> On Fri, Oct 10, 2008 at 6:08 AM, Andre Rubin <and...@gm...> >>> wrote: >>> > When I access codestriker.pl, it asks for a username and password. Since >>> > I'm >>> > not sure which password it is talking about I click on Create New User. >>> > When >>> > I try to use my email address it complains that the user already exists. >>> > Then I type in my email address in the appropriate box and hit the Reset >>> > Password button. That's when I get the aforementioned error. Apache's >>> > error >>> > log has the same message. >>> > My $mailhost, $mailuser, and $mailpasswd are set correctly, with our >>> > mail >>> > server, my email and pass (that was I why I was asking where does it get >>> > the >>> > user "codestriker" as sender? Could it be from $dbuser?) >>> > Many thanks, >>> > >>> > Andre >>> > On Wed, Oct 8, 2008 at 4:58 PM, David Sitsky <dav...@gm...> >>> > wrote: >>> >> >>> >> Can you give more information as to exactly which screen it is you are >>> >> doing this from? What values are you putting into the fields? >>> >> >>> >> Have you set $mailhost in your codestriker.conf? Did you set >>> >> $mailuser/$mailpasswd at all (if your SMTP server requires >>> >> authentication?) >>> >> >>> >> There also might be more information in Apache's error.log file. >>> >> >>> >> Cheers, >>> >> David >>> >> >>> >> On Thu, Oct 9, 2008 at 9:41 AM, Andre Rubin <and...@gm...> >>> >> wrote: >>> >> > Where do I set that? >>> >> > Thanks, >>> >> > Andre >>> >> > >>> >> > On Wed, Oct 8, 2008 at 3:09 PM, David Sitsky <dav...@gm...> >>> >> > wrote: >>> >> >> >>> >> >> Hi Andre, >>> >> >> >>> >> >> Your username needs to be an email address - with the domain >>> >> >> specified. >>> >> >> >>> >> >> Cheers, >>> >> >> David >>> >> >> >>> >> >> On Thu, Oct 9, 2008 at 2:24 AM, Andre Rubin <and...@gm...> >>> >> >> wrote: >>> >> >> > Hi there. >>> >> >> > New here, yada yada yada! >>> >> >> > I'm getting an error while trying to create a new user: >>> >> >> > "Couldn't set sender to "codestriker": , <codestriker>: sender >>> >> >> > address >>> >> >> > must >>> >> >> > contain a domain" >>> >> >> > >>> >> >> > Couldn't find where to set this on codestriker.conf! >>> >> >> > Thanks for any help you can provide. >>> >> >> > >>> >> >> > Andre >>> >> >> > >>> >> >> > >>> >> >> > >>> >> >> > ------------------------------------------------------------------------- >>> >> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >>> >> >> > challenge >>> >> >> > Build the coolest Linux based applications with Moblin SDK & win >>> >> >> > great >>> >> >> > prizes >>> >> >> > Grand prize is a trip for two to an Open Source event anywhere in >>> >> >> > the >>> >> >> > world >>> >> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> >> >> > _______________________________________________ >>> >> >> > Codestriker-user mailing list >>> >> >> > Cod...@li... >>> >> >> > https://lists.sourceforge.net/lists/listinfo/codestriker-user >>> >> >> > >>> >> >> > >>> >> > >>> >> > >>> > >>> > >> >> > |
|
From: David S. <dav...@gm...> - 2008-10-11 00:37:17
|
Strange - can you try 1.9.7 again, this time with $admin_users commented out in your codestriker.conf file? Cheers, David On Sat, Oct 11, 2008 at 11:15 AM, Andre Rubin <and...@gm...> wrote: > Yeah. Things are working now with 1.9.6! Emails are being sent and all! > > Thanks, > > > Andre > > On Fri, Oct 10, 2008 at 4:08 AM, David Sitsky <dav...@gm...> wrote: >> Yeah - try 1.9.6. It sounds like some strange mail configuration >> issue on your end. Let us know how you go. >> >> On Fri, Oct 10, 2008 at 9:03 AM, Andre Rubin <and...@gm...> wrote: >>> $mailuser is set to my user. >>> The same happens when I create a new user (I double checked mysql and the >>> new user is there). >>> Is it possible that it's not reading the config file at all? I'm using >>> codestriker 1.9.7-rc1. Should I install 1.9.6 and see what happens? >>> >>> Andre >>> >>> On Thu, Oct 9, 2008 at 2:01 PM, David Sitsky <dav...@gm...> wrote: >>>> >>>> That sounds strange. Has $mailuser been set to "codestriker" by any >>>> chance? >>>> >>>> Does the same think happen if you try to create a brand new user? >>>> >>>> Cheers, >>>> David >>>> >>>> On Fri, Oct 10, 2008 at 6:08 AM, Andre Rubin <and...@gm...> >>>> wrote: >>>> > When I access codestriker.pl, it asks for a username and password. Since >>>> > I'm >>>> > not sure which password it is talking about I click on Create New User. >>>> > When >>>> > I try to use my email address it complains that the user already exists. >>>> > Then I type in my email address in the appropriate box and hit the Reset >>>> > Password button. That's when I get the aforementioned error. Apache's >>>> > error >>>> > log has the same message. >>>> > My $mailhost, $mailuser, and $mailpasswd are set correctly, with our >>>> > mail >>>> > server, my email and pass (that was I why I was asking where does it get >>>> > the >>>> > user "codestriker" as sender? Could it be from $dbuser?) >>>> > Many thanks, >>>> > >>>> > Andre >>>> > On Wed, Oct 8, 2008 at 4:58 PM, David Sitsky <dav...@gm...> >>>> > wrote: >>>> >> >>>> >> Can you give more information as to exactly which screen it is you are >>>> >> doing this from? What values are you putting into the fields? >>>> >> >>>> >> Have you set $mailhost in your codestriker.conf? Did you set >>>> >> $mailuser/$mailpasswd at all (if your SMTP server requires >>>> >> authentication?) >>>> >> >>>> >> There also might be more information in Apache's error.log file. >>>> >> >>>> >> Cheers, >>>> >> David >>>> >> >>>> >> On Thu, Oct 9, 2008 at 9:41 AM, Andre Rubin <and...@gm...> >>>> >> wrote: >>>> >> > Where do I set that? >>>> >> > Thanks, >>>> >> > Andre >>>> >> > >>>> >> > On Wed, Oct 8, 2008 at 3:09 PM, David Sitsky <dav...@gm...> >>>> >> > wrote: >>>> >> >> >>>> >> >> Hi Andre, >>>> >> >> >>>> >> >> Your username needs to be an email address - with the domain >>>> >> >> specified. >>>> >> >> >>>> >> >> Cheers, >>>> >> >> David >>>> >> >> >>>> >> >> On Thu, Oct 9, 2008 at 2:24 AM, Andre Rubin <and...@gm...> >>>> >> >> wrote: >>>> >> >> > Hi there. >>>> >> >> > New here, yada yada yada! >>>> >> >> > I'm getting an error while trying to create a new user: >>>> >> >> > "Couldn't set sender to "codestriker": , <codestriker>: sender >>>> >> >> > address >>>> >> >> > must >>>> >> >> > contain a domain" >>>> >> >> > >>>> >> >> > Couldn't find where to set this on codestriker.conf! >>>> >> >> > Thanks for any help you can provide. >>>> >> >> > >>>> >> >> > Andre >>>> >> >> > >>>> >> >> > >>>> >> >> > >>>> >> >> > ------------------------------------------------------------------------- >>>> >> >> > This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> >> >> > challenge >>>> >> >> > Build the coolest Linux based applications with Moblin SDK & win >>>> >> >> > great >>>> >> >> > prizes >>>> >> >> > Grand prize is a trip for two to an Open Source event anywhere in >>>> >> >> > the >>>> >> >> > world >>>> >> >> > http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> >> >> > _______________________________________________ >>>> >> >> > Codestriker-user mailing list >>>> >> >> > Cod...@li... >>>> >> >> > https://lists.sourceforge.net/lists/listinfo/codestriker-user >>>> >> >> > >>>> >> >> > >>>> >> > >>>> >> > >>>> > >>>> > >>> >>> >> > |
|
From: David S. <dav...@gm...> - 2008-10-11 04:01:46
|
Sorry - this was my bad.
You can easily fix this if you edit lib/Codestriker/AddNewUser.pm, and
change two lines:
$smtp->mail("codestriker");
and a bit further down:
$smtp->datasend("From: codestriker\n");
On my system, it wasn't a problem to use codestriker, but obviously on
yours this is an issue. I'll make this configurable in the next
release so you can set the email address to use when codestriker sends
out these kind of "admin" emails.
As an example, you could make them (set the domain part right for your system):
$smtp->mail("codestriker\@myhost.com");
and a bit further down:
$smtp->datasend("From: codestriker\@myhost.com\n");
Please let me know if that fixes thing for you.
Cheers,
David
|
|
From: Andre R. <and...@gm...> - 2008-10-22 00:14:39
|
Hi David,
I've downloaded 1.9.7-rc3 and this is working now. Thanks!
A question regarding this version's user management. Right now, anyone
can access codestriker.pl and create a new account. Is there a way to
let only admins create a new account for users? I'm thinking this
shouldn't be too hard to implement, but my pearl skills are close to
nil, so I have no idea how. :)
Thanks,
Andre
On Fri, Oct 10, 2008 at 9:01 PM, David Sitsky <dav...@gm...> wrote:
> Sorry - this was my bad.
>
> You can easily fix this if you edit lib/Codestriker/AddNewUser.pm, and
> change two lines:
>
> $smtp->mail("codestriker");
>
> and a bit further down:
>
> $smtp->datasend("From: codestriker\n");
>
> On my system, it wasn't a problem to use codestriker, but obviously on
> yours this is an issue. I'll make this configurable in the next
> release so you can set the email address to use when codestriker sends
> out these kind of "admin" emails.
>
> As an example, you could make them (set the domain part right for your system):
>
> $smtp->mail("codestriker\@myhost.com");
>
> and a bit further down:
>
> $smtp->datasend("From: codestriker\@myhost.com\n");
>
> Please let me know if that fixes thing for you.
>
> Cheers,
> David
>
|
|
From: David S. <dav...@gm...> - 2008-10-22 00:21:11
|
Hi Andre,
That's an interesting use case - in theory you just need to update the
appropriate Method classes in lib/Codestriker/Http/Method to have the
following in them:
sub requires_admin {
return 1;
}
See CreateProjectMethod.pm as an example. This indicates that only
the admin user can perform this method.
In this case, you'd probably want the AddNewUserMethod,
CreateNewUserMethod and NewPasswordMethod methods to be admin only.
Cheers,
David
On Wed, Oct 22, 2008 at 11:14 AM, Andre Rubin <and...@gm...> wrote:
> Hi David,
>
> I've downloaded 1.9.7-rc3 and this is working now. Thanks!
>
> A question regarding this version's user management. Right now, anyone
> can access codestriker.pl and create a new account. Is there a way to
> let only admins create a new account for users? I'm thinking this
> shouldn't be too hard to implement, but my pearl skills are close to
> nil, so I have no idea how. :)
>
> Thanks,
>
>
> Andre
>
> On Fri, Oct 10, 2008 at 9:01 PM, David Sitsky <dav...@gm...> wrote:
>> Sorry - this was my bad.
>>
>> You can easily fix this if you edit lib/Codestriker/AddNewUser.pm, and
>> change two lines:
>>
>> $smtp->mail("codestriker");
>>
>> and a bit further down:
>>
>> $smtp->datasend("From: codestriker\n");
>>
>> On my system, it wasn't a problem to use codestriker, but obviously on
>> yours this is an issue. I'll make this configurable in the next
>> release so you can set the email address to use when codestriker sends
>> out these kind of "admin" emails.
>>
>> As an example, you could make them (set the domain part right for your system):
>>
>> $smtp->mail("codestriker\@myhost.com");
>>
>> and a bit further down:
>>
>> $smtp->datasend("From: codestriker\@myhost.com\n");
>>
>> Please let me know if that fixes thing for you.
>>
>> Cheers,
>> David
>>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Codestriker-user mailing list
> Cod...@li...
> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>
|
|
From: Andre R. <and...@gm...> - 2008-10-22 01:00:23
|
Thanks for the prompt answer David.
That worked for blocking non admins to create a new user... but how do
I access codestriker.pl?action=create_new_user after I log in as an
admin?
Thanks again,
Andre
On Tue, Oct 21, 2008 at 5:21 PM, David Sitsky <dav...@gm...> wrote:
> Hi Andre,
>
> That's an interesting use case - in theory you just need to update the
> appropriate Method classes in lib/Codestriker/Http/Method to have the
> following in them:
>
> sub requires_admin {
> return 1;
> }
>
> See CreateProjectMethod.pm as an example. This indicates that only
> the admin user can perform this method.
>
> In this case, you'd probably want the AddNewUserMethod,
> CreateNewUserMethod and NewPasswordMethod methods to be admin only.
>
> Cheers,
> David
>
> On Wed, Oct 22, 2008 at 11:14 AM, Andre Rubin <and...@gm...> wrote:
>> Hi David,
>>
>> I've downloaded 1.9.7-rc3 and this is working now. Thanks!
>>
>> A question regarding this version's user management. Right now, anyone
>> can access codestriker.pl and create a new account. Is there a way to
>> let only admins create a new account for users? I'm thinking this
>> shouldn't be too hard to implement, but my pearl skills are close to
>> nil, so I have no idea how. :)
>>
>> Thanks,
>>
>>
>> Andre
>>
>> On Fri, Oct 10, 2008 at 9:01 PM, David Sitsky <dav...@gm...> wrote:
>>> Sorry - this was my bad.
>>>
>>> You can easily fix this if you edit lib/Codestriker/AddNewUser.pm, and
>>> change two lines:
>>>
>>> $smtp->mail("codestriker");
>>>
>>> and a bit further down:
>>>
>>> $smtp->datasend("From: codestriker\n");
>>>
>>> On my system, it wasn't a problem to use codestriker, but obviously on
>>> yours this is an issue. I'll make this configurable in the next
>>> release so you can set the email address to use when codestriker sends
>>> out these kind of "admin" emails.
>>>
>>> As an example, you could make them (set the domain part right for your system):
>>>
>>> $smtp->mail("codestriker\@myhost.com");
>>>
>>> and a bit further down:
>>>
>>> $smtp->datasend("From: codestriker\@myhost.com\n");
>>>
>>> Please let me know if that fixes thing for you.
>>>
>>> Cheers,
>>> David
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Codestriker-user mailing list
>> Cod...@li...
>> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>>
>
|
|
From: David S. <dav...@gm...> - 2008-10-22 02:10:17
|
If you click on the "Log in" link at the top, then click on "create
new account" - won't that do the job?
Cheers,
David
On Wed, Oct 22, 2008 at 12:00 PM, Andre Rubin <and...@gm...> wrote:
> Thanks for the prompt answer David.
>
> That worked for blocking non admins to create a new user... but how do
> I access codestriker.pl?action=create_new_user after I log in as an
> admin?
>
> Thanks again,
>
>
> Andre
>
> On Tue, Oct 21, 2008 at 5:21 PM, David Sitsky <dav...@gm...> wrote:
>> Hi Andre,
>>
>> That's an interesting use case - in theory you just need to update the
>> appropriate Method classes in lib/Codestriker/Http/Method to have the
>> following in them:
>>
>> sub requires_admin {
>> return 1;
>> }
>>
>> See CreateProjectMethod.pm as an example. This indicates that only
>> the admin user can perform this method.
>>
>> In this case, you'd probably want the AddNewUserMethod,
>> CreateNewUserMethod and NewPasswordMethod methods to be admin only.
>>
>> Cheers,
>> David
>>
>> On Wed, Oct 22, 2008 at 11:14 AM, Andre Rubin <and...@gm...> wrote:
>>> Hi David,
>>>
>>> I've downloaded 1.9.7-rc3 and this is working now. Thanks!
>>>
>>> A question regarding this version's user management. Right now, anyone
>>> can access codestriker.pl and create a new account. Is there a way to
>>> let only admins create a new account for users? I'm thinking this
>>> shouldn't be too hard to implement, but my pearl skills are close to
>>> nil, so I have no idea how. :)
>>>
>>> Thanks,
>>>
>>>
>>> Andre
>>>
>>> On Fri, Oct 10, 2008 at 9:01 PM, David Sitsky <dav...@gm...> wrote:
>>>> Sorry - this was my bad.
>>>>
>>>> You can easily fix this if you edit lib/Codestriker/AddNewUser.pm, and
>>>> change two lines:
>>>>
>>>> $smtp->mail("codestriker");
>>>>
>>>> and a bit further down:
>>>>
>>>> $smtp->datasend("From: codestriker\n");
>>>>
>>>> On my system, it wasn't a problem to use codestriker, but obviously on
>>>> yours this is an issue. I'll make this configurable in the next
>>>> release so you can set the email address to use when codestriker sends
>>>> out these kind of "admin" emails.
>>>>
>>>> As an example, you could make them (set the domain part right for your system):
>>>>
>>>> $smtp->mail("codestriker\@myhost.com");
>>>>
>>>> and a bit further down:
>>>>
>>>> $smtp->datasend("From: codestriker\@myhost.com\n");
>>>>
>>>> Please let me know if that fixes thing for you.
>>>>
>>>> Cheers,
>>>> David
>>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Codestriker-user mailing list
>>> Cod...@li...
>>> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>>>
>>
>
|
|
From: Andre R. <and...@gm...> - 2008-10-22 18:51:32
|
No, it says 'This function requires admin access.'
And I'm just querying usertable and the user I'm using has admin = 1;
Another thing I realized is that there's no notion of logging out (I
thought that by clicking Log In it would automatically log out, but it
doesn't seem so). How's codestriker knows who's logged in? I even
restarted Apache and it kept my previous user logged in. How can I
check which user is logged in?
Thanks again,
Andre
On Tue, Oct 21, 2008 at 7:03 PM, David Sitsky <dav...@gm...> wrote:
> If you click on the "Log in" link at the top, then click on "create
> new account" - won't that do the job?
>
> Cheers,
> David
>
> On Wed, Oct 22, 2008 at 12:00 PM, Andre Rubin <and...@gm...> wrote:
>> Thanks for the prompt answer David.
>>
>> That worked for blocking non admins to create a new user... but how do
>> I access codestriker.pl?action=create_new_user after I log in as an
>> admin?
>>
>> Thanks again,
>>
>>
>> Andre
>>
>> On Tue, Oct 21, 2008 at 5:21 PM, David Sitsky <dav...@gm...> wrote:
>>> Hi Andre,
>>>
>>> That's an interesting use case - in theory you just need to update the
>>> appropriate Method classes in lib/Codestriker/Http/Method to have the
>>> following in them:
>>>
>>> sub requires_admin {
>>> return 1;
>>> }
>>>
>>> See CreateProjectMethod.pm as an example. This indicates that only
>>> the admin user can perform this method.
>>>
>>> In this case, you'd probably want the AddNewUserMethod,
>>> CreateNewUserMethod and NewPasswordMethod methods to be admin only.
>>>
>>> Cheers,
>>> David
>>>
>>> On Wed, Oct 22, 2008 at 11:14 AM, Andre Rubin <and...@gm...> wrote:
>>>> Hi David,
>>>>
>>>> I've downloaded 1.9.7-rc3 and this is working now. Thanks!
>>>>
>>>> A question regarding this version's user management. Right now, anyone
>>>> can access codestriker.pl and create a new account. Is there a way to
>>>> let only admins create a new account for users? I'm thinking this
>>>> shouldn't be too hard to implement, but my pearl skills are close to
>>>> nil, so I have no idea how. :)
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> Andre
>>>>
>>>> On Fri, Oct 10, 2008 at 9:01 PM, David Sitsky <dav...@gm...> wrote:
>>>>> Sorry - this was my bad.
>>>>>
>>>>> You can easily fix this if you edit lib/Codestriker/AddNewUser.pm, and
>>>>> change two lines:
>>>>>
>>>>> $smtp->mail("codestriker");
>>>>>
>>>>> and a bit further down:
>>>>>
>>>>> $smtp->datasend("From: codestriker\n");
>>>>>
>>>>> On my system, it wasn't a problem to use codestriker, but obviously on
>>>>> yours this is an issue. I'll make this configurable in the next
>>>>> release so you can set the email address to use when codestriker sends
>>>>> out these kind of "admin" emails.
>>>>>
>>>>> As an example, you could make them (set the domain part right for your system):
>>>>>
>>>>> $smtp->mail("codestriker\@myhost.com");
>>>>>
>>>>> and a bit further down:
>>>>>
>>>>> $smtp->datasend("From: codestriker\@myhost.com\n");
>>>>>
>>>>> Please let me know if that fixes thing for you.
>>>>>
>>>>> Cheers,
>>>>> David
>>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Codestriker-user mailing list
>>>> Cod...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>>>>
>>>
>>
>
|
|
From: David S. <dav...@gm...> - 2008-10-22 22:36:22
|
I'm confused with what you are trying to do.
Which user are you talking about (new or admin user) and which screen
are you going to? Please tell me the steps you are doing.
Yes - I haven't done a log out yet - basically your cookie remembers
you login name. If you want to change users, just go to the login
screen again and enter the new user you want to become.
Cheers,
David
On Thu, Oct 23, 2008 at 5:51 AM, Andre Rubin <and...@gm...> wrote:
> No, it says 'This function requires admin access.'
>
> And I'm just querying usertable and the user I'm using has admin = 1;
>
> Another thing I realized is that there's no notion of logging out (I
> thought that by clicking Log In it would automatically log out, but it
> doesn't seem so). How's codestriker knows who's logged in? I even
> restarted Apache and it kept my previous user logged in. How can I
> check which user is logged in?
>
> Thanks again,
>
>
> Andre
>
> On Tue, Oct 21, 2008 at 7:03 PM, David Sitsky <dav...@gm...> wrote:
>> If you click on the "Log in" link at the top, then click on "create
>> new account" - won't that do the job?
>>
>> Cheers,
>> David
>>
>> On Wed, Oct 22, 2008 at 12:00 PM, Andre Rubin <and...@gm...> wrote:
>>> Thanks for the prompt answer David.
>>>
>>> That worked for blocking non admins to create a new user... but how do
>>> I access codestriker.pl?action=create_new_user after I log in as an
>>> admin?
>>>
>>> Thanks again,
>>>
>>>
>>> Andre
>>>
>>> On Tue, Oct 21, 2008 at 5:21 PM, David Sitsky <dav...@gm...> wrote:
>>>> Hi Andre,
>>>>
>>>> That's an interesting use case - in theory you just need to update the
>>>> appropriate Method classes in lib/Codestriker/Http/Method to have the
>>>> following in them:
>>>>
>>>> sub requires_admin {
>>>> return 1;
>>>> }
>>>>
>>>> See CreateProjectMethod.pm as an example. This indicates that only
>>>> the admin user can perform this method.
>>>>
>>>> In this case, you'd probably want the AddNewUserMethod,
>>>> CreateNewUserMethod and NewPasswordMethod methods to be admin only.
>>>>
>>>> Cheers,
>>>> David
>>>>
>>>> On Wed, Oct 22, 2008 at 11:14 AM, Andre Rubin <and...@gm...> wrote:
>>>>> Hi David,
>>>>>
>>>>> I've downloaded 1.9.7-rc3 and this is working now. Thanks!
>>>>>
>>>>> A question regarding this version's user management. Right now, anyone
>>>>> can access codestriker.pl and create a new account. Is there a way to
>>>>> let only admins create a new account for users? I'm thinking this
>>>>> shouldn't be too hard to implement, but my pearl skills are close to
>>>>> nil, so I have no idea how. :)
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>> Andre
>>>>>
>>>>> On Fri, Oct 10, 2008 at 9:01 PM, David Sitsky <dav...@gm...> wrote:
>>>>>> Sorry - this was my bad.
>>>>>>
>>>>>> You can easily fix this if you edit lib/Codestriker/AddNewUser.pm, and
>>>>>> change two lines:
>>>>>>
>>>>>> $smtp->mail("codestriker");
>>>>>>
>>>>>> and a bit further down:
>>>>>>
>>>>>> $smtp->datasend("From: codestriker\n");
>>>>>>
>>>>>> On my system, it wasn't a problem to use codestriker, but obviously on
>>>>>> yours this is an issue. I'll make this configurable in the next
>>>>>> release so you can set the email address to use when codestriker sends
>>>>>> out these kind of "admin" emails.
>>>>>>
>>>>>> As an example, you could make them (set the domain part right for your system):
>>>>>>
>>>>>> $smtp->mail("codestriker\@myhost.com");
>>>>>>
>>>>>> and a bit further down:
>>>>>>
>>>>>> $smtp->datasend("From: codestriker\@myhost.com\n");
>>>>>>
>>>>>> Please let me know if that fixes thing for you.
>>>>>>
>>>>>> Cheers,
>>>>>> David
>>>>>>
>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> Codestriker-user mailing list
>>>>> Cod...@li...
>>>>> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>>>>>
>>>>
>>>
>>
>
|
|
From: Andre R. <and...@gm...> - 2008-10-22 23:58:37
|
Hi David,
Sorry, last email wasn't to clear!
I log in as admin, I click Log In, then 'create a new account'; I
still get the message: "This function requires admin access."
Thanks,
Andre
On Wed, Oct 22, 2008 at 3:36 PM, David Sitsky <dav...@gm...> wrote:
> I'm confused with what you are trying to do.
>
> Which user are you talking about (new or admin user) and which screen
> are you going to? Please tell me the steps you are doing.
>
> Yes - I haven't done a log out yet - basically your cookie remembers
> you login name. If you want to change users, just go to the login
> screen again and enter the new user you want to become.
>
> Cheers,
> David
>
> On Thu, Oct 23, 2008 at 5:51 AM, Andre Rubin <and...@gm...> wrote:
>> No, it says 'This function requires admin access.'
>>
>> And I'm just querying usertable and the user I'm using has admin = 1;
>>
>> Another thing I realized is that there's no notion of logging out (I
>> thought that by clicking Log In it would automatically log out, but it
>> doesn't seem so). How's codestriker knows who's logged in? I even
>> restarted Apache and it kept my previous user logged in. How can I
>> check which user is logged in?
>>
>> Thanks again,
>>
>>
>> Andre
>>
>> On Tue, Oct 21, 2008 at 7:03 PM, David Sitsky <dav...@gm...> wrote:
>>> If you click on the "Log in" link at the top, then click on "create
>>> new account" - won't that do the job?
>>>
>>> Cheers,
>>> David
>>>
>>> On Wed, Oct 22, 2008 at 12:00 PM, Andre Rubin <and...@gm...> wrote:
>>>> Thanks for the prompt answer David.
>>>>
>>>> That worked for blocking non admins to create a new user... but how do
>>>> I access codestriker.pl?action=create_new_user after I log in as an
>>>> admin?
>>>>
>>>> Thanks again,
>>>>
>>>>
>>>> Andre
>>>>
>>>> On Tue, Oct 21, 2008 at 5:21 PM, David Sitsky <dav...@gm...> wrote:
>>>>> Hi Andre,
>>>>>
>>>>> That's an interesting use case - in theory you just need to update the
>>>>> appropriate Method classes in lib/Codestriker/Http/Method to have the
>>>>> following in them:
>>>>>
>>>>> sub requires_admin {
>>>>> return 1;
>>>>> }
>>>>>
>>>>> See CreateProjectMethod.pm as an example. This indicates that only
>>>>> the admin user can perform this method.
>>>>>
>>>>> In this case, you'd probably want the AddNewUserMethod,
>>>>> CreateNewUserMethod and NewPasswordMethod methods to be admin only.
>>>>>
>>>>> Cheers,
>>>>> David
>>>>>
>>>>> On Wed, Oct 22, 2008 at 11:14 AM, Andre Rubin <and...@gm...> wrote:
>>>>>> Hi David,
>>>>>>
>>>>>> I've downloaded 1.9.7-rc3 and this is working now. Thanks!
>>>>>>
>>>>>> A question regarding this version's user management. Right now, anyone
>>>>>> can access codestriker.pl and create a new account. Is there a way to
>>>>>> let only admins create a new account for users? I'm thinking this
>>>>>> shouldn't be too hard to implement, but my pearl skills are close to
>>>>>> nil, so I have no idea how. :)
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>>
>>>>>> Andre
>>>>>>
>>>>>> On Fri, Oct 10, 2008 at 9:01 PM, David Sitsky <dav...@gm...> wrote:
>>>>>>> Sorry - this was my bad.
>>>>>>>
>>>>>>> You can easily fix this if you edit lib/Codestriker/AddNewUser.pm, and
>>>>>>> change two lines:
>>>>>>>
>>>>>>> $smtp->mail("codestriker");
>>>>>>>
>>>>>>> and a bit further down:
>>>>>>>
>>>>>>> $smtp->datasend("From: codestriker\n");
>>>>>>>
>>>>>>> On my system, it wasn't a problem to use codestriker, but obviously on
>>>>>>> yours this is an issue. I'll make this configurable in the next
>>>>>>> release so you can set the email address to use when codestriker sends
>>>>>>> out these kind of "admin" emails.
>>>>>>>
>>>>>>> As an example, you could make them (set the domain part right for your system):
>>>>>>>
>>>>>>> $smtp->mail("codestriker\@myhost.com");
>>>>>>>
>>>>>>> and a bit further down:
>>>>>>>
>>>>>>> $smtp->datasend("From: codestriker\@myhost.com\n");
>>>>>>>
>>>>>>> Please let me know if that fixes thing for you.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> David
>>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Codestriker-user mailing list
>>>>>> Cod...@li...
>>>>>> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>>>>>>
>>>>>
>>>>
>>>
>>
>
|
|
From: David S. <dav...@gm...> - 2008-10-24 01:04:26
|
Great - glad to hear it!
On Fri, Oct 24, 2008 at 11:50 AM, Andre Rubin <and...@gm...> wrote:
> That did it!
>
> Thanks for all the help David!
>
>
> Andre
>
> On Thu, Oct 23, 2008 at 5:08 PM, David Sitsky <dav...@gm...> wrote:
>> Maybe for the AddNewUserMethod, you should disable admin and authentication..
>>
>> Cheers,
>> David
>>
>> On Fri, Oct 24, 2008 at 10:48 AM, Andre Rubin <and...@gm...> wrote:
>>> Hi David,
>>>
>>> It does let me go to the create new user form, but when I type the
>>> user's email address and submit, it gets me back to the login page (no
>>> email was sent, and new user not in database).
>>>
>>> But we're getting closer now! :)
>>>
>>>
>>> Andre
>>>
>>> On Thu, Oct 23, 2008 at 3:26 PM, David Sitsky <dav...@gm...> wrote:
>>>> Ah - I think I know what it might be. You probably need to define:
>>>>
>>>> sub requires_authentication {
>>>> return 1;
>>>> }
>>>>
>>>> For CreateNewUserMethod and AddNewUserMethod.
>>>>
>>>> Please let me know if that works..
>>>>
>>>> I should make the above method return 1 if requures_admin is true..
>>>>
>>>> Cheers,
>>>> David
>>>>
>>>> On Fri, Oct 24, 2008 at 3:34 AM, Andre Rubin <and...@gm...> wrote:
>>>>> Well, I double checked all the steps. I'm not sure what I'm doing
>>>>> wrong. Tried on FF and Chrome. Cookie is set to the user that is
>>>>> admin. In the cookie, '@' was converted to '%40' (i've never played
>>>>> around with cookies, but I'm assuming this is right). Queried db in
>>>>> mysql to double check the admin=1 value. Cleared the cookies, tried
>>>>> again. Same thing.
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>> Andre
>>>>>
>>>>> On Wed, Oct 22, 2008 at 10:35 PM, David Sitsky <dav...@gm...> wrote:
>>>>>> Hi Andre,
>>>>>>
>>>>>> That doesn't sound right. Have you tried using another browser
>>>>>> entirely (or clearing out the cookie)? You must be a different user
>>>>>> logged in.. I guess the cookie will confirm this.
>>>>>>
>>>>>> Cheers,
>>>>>> David
>>>>>>
>>>>>> On Thu, Oct 23, 2008 at 10:58 AM, Andre Rubin <and...@gm...> wrote:
>>>>>>> Hi David,
>>>>>>>
>>>>>>> Sorry, last email wasn't to clear!
>>>>>>> I log in as admin, I click Log In, then 'create a new account'; I
>>>>>>> still get the message: "This function requires admin access."
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>>
>>>>>>> Andre
>>>>>>>
>>>>>>> On Wed, Oct 22, 2008 at 3:36 PM, David Sitsky <dav...@gm...> wrote:
>>>>>>>> I'm confused with what you are trying to do.
>>>>>>>>
>>>>>>>> Which user are you talking about (new or admin user) and which screen
>>>>>>>> are you going to? Please tell me the steps you are doing.
>>>>>>>>
>>>>>>>> Yes - I haven't done a log out yet - basically your cookie remembers
>>>>>>>> you login name. If you want to change users, just go to the login
>>>>>>>> screen again and enter the new user you want to become.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> David
>>>>>>>>
>>>>>>>> On Thu, Oct 23, 2008 at 5:51 AM, Andre Rubin <and...@gm...> wrote:
>>>>>>>>> No, it says 'This function requires admin access.'
>>>>>>>>>
>>>>>>>>> And I'm just querying usertable and the user I'm using has admin = 1;
>>>>>>>>>
>>>>>>>>> Another thing I realized is that there's no notion of logging out (I
>>>>>>>>> thought that by clicking Log In it would automatically log out, but it
>>>>>>>>> doesn't seem so). How's codestriker knows who's logged in? I even
>>>>>>>>> restarted Apache and it kept my previous user logged in. How can I
>>>>>>>>> check which user is logged in?
>>>>>>>>>
>>>>>>>>> Thanks again,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Andre
>>>>>>>>>
>>>>>>>>> On Tue, Oct 21, 2008 at 7:03 PM, David Sitsky <dav...@gm...> wrote:
>>>>>>>>>> If you click on the "Log in" link at the top, then click on "create
>>>>>>>>>> new account" - won't that do the job?
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> David
>>>>>>>>>>
>>>>>>>>>> On Wed, Oct 22, 2008 at 12:00 PM, Andre Rubin <and...@gm...> wrote:
>>>>>>>>>>> Thanks for the prompt answer David.
>>>>>>>>>>>
>>>>>>>>>>> That worked for blocking non admins to create a new user... but how do
>>>>>>>>>>> I access codestriker.pl?action=create_new_user after I log in as an
>>>>>>>>>>> admin?
>>>>>>>>>>>
>>>>>>>>>>> Thanks again,
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Andre
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Oct 21, 2008 at 5:21 PM, David Sitsky <dav...@gm...> wrote:
>>>>>>>>>>>> Hi Andre,
>>>>>>>>>>>>
>>>>>>>>>>>> That's an interesting use case - in theory you just need to update the
>>>>>>>>>>>> appropriate Method classes in lib/Codestriker/Http/Method to have the
>>>>>>>>>>>> following in them:
>>>>>>>>>>>>
>>>>>>>>>>>> sub requires_admin {
>>>>>>>>>>>> return 1;
>>>>>>>>>>>> }
>>>>>>>>>>>>
>>>>>>>>>>>> See CreateProjectMethod.pm as an example. This indicates that only
>>>>>>>>>>>> the admin user can perform this method.
>>>>>>>>>>>>
>>>>>>>>>>>> In this case, you'd probably want the AddNewUserMethod,
>>>>>>>>>>>> CreateNewUserMethod and NewPasswordMethod methods to be admin only.
>>>>>>>>>>>>
>>>>>>>>>>>> Cheers,
>>>>>>>>>>>> David
>>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Oct 22, 2008 at 11:14 AM, Andre Rubin <and...@gm...> wrote:
>>>>>>>>>>>>> Hi David,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I've downloaded 1.9.7-rc3 and this is working now. Thanks!
>>>>>>>>>>>>>
>>>>>>>>>>>>> A question regarding this version's user management. Right now, anyone
>>>>>>>>>>>>> can access codestriker.pl and create a new account. Is there a way to
>>>>>>>>>>>>> let only admins create a new account for users? I'm thinking this
>>>>>>>>>>>>> shouldn't be too hard to implement, but my pearl skills are close to
>>>>>>>>>>>>> nil, so I have no idea how. :)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Andre
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Oct 10, 2008 at 9:01 PM, David Sitsky <dav...@gm...> wrote:
>>>>>>>>>>>>>> Sorry - this was my bad.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> You can easily fix this if you edit lib/Codestriker/AddNewUser.pm, and
>>>>>>>>>>>>>> change two lines:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> $smtp->mail("codestriker");
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> and a bit further down:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> $smtp->datasend("From: codestriker\n");
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On my system, it wasn't a problem to use codestriker, but obviously on
>>>>>>>>>>>>>> yours this is an issue. I'll make this configurable in the next
>>>>>>>>>>>>>> release so you can set the email address to use when codestriker sends
>>>>>>>>>>>>>> out these kind of "admin" emails.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> As an example, you could make them (set the domain part right for your system):
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> $smtp->mail("codestriker\@myhost.com");
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> and a bit further down:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> $smtp->datasend("From: codestriker\@myhost.com\n");
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please let me know if that fixes thing for you.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Cheers,
>>>>>>>>>>>>>> David
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> -------------------------------------------------------------------------
>>>>>>>>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>>>>>>>>>>>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>>>>>>>>>>>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>>>>>>>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Codestriker-user mailing list
>>>>>>>>>>>>> Cod...@li...
>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/codestriker-user
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
|