[symfony-users] Write logs by datem, and not stored all into prod.log or dev.log

2011-05-26 Thread kassel
Hi, how i can stored logs by date, every day write a new log-date.log, becose it could be easly to mantain. Thanks -- Best Regards -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed t

[symfony-users] [SF2]self encoder into authentication

2011-04-17 Thread kassel
Hi, i need to implement self encoder, or basic help into MessageDigestPasswordEncoder, the reason in th BD exists and the password used is only md5 without salt, so the password generated is only like this: $pwd=md5($_REQUEST["password"]); so i've got two options : -use MessageDigestPasswordEncode

[symfony-users] Re: [SF2] Pre-execute under SF2

2011-04-17 Thread kassel
Hi All, At last i need not to repeat some methods in some diferents actions, and at las inyect data under the wiew?, like in SF 1.4 exists preExecute there is Something under SF2 Thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

[symfony-users] Re: Session in symfony2

2011-04-12 Thread kassel
Great On 12 abr, 12:50, symfonyMan wrote: > Yes, > > i changed my routing and it work good. > > for my secured pages i have /account/member/*,  for change email > action i did just /changeEmail thats why it don't work. > > now i have /account/member/changeEmail. > > I am moroccan ;) > > thanks >

[symfony-users] Re: Forms and Entity Annotation Validation...

2011-04-12 Thread kassel
Hi, as i undertood i've got the same problem, the annotations dont wark, and even email work. Any idea Thanks On 18 mar, 00:02, j_stout wrote: > Basically I just got a small understanding on a service, but still no > clue how they pertain to forms.  Also there is no documentation on > adding val

[symfony-users] Form ignore annotation

2011-04-12 Thread kassel
Hi I'm try to make that type of form http://symfony.com/doc/2.0/book/forms/overview.html using ContactRequest with annotation. But the form before send is not really validation,. even email validation i put that code inside config.yml validation:{ enabled: true, annotations: true } What i'

[symfony-users] One to one relation ship

2011-04-11 Thread kassel
Hi, I only wants to modify tthe orm .xml generated from Doctrine to make one-to-one relation ship, between to tables, i read that tuto but i can't resolve at all how it works. http://www.doctrine-project.org/docs/orm/2.0/en/tutorials/working-with-indexed-associations.html Any help Thanks -- If

[symfony-users] Re: after authenttication get user data from session

2011-04-11 Thread kassel
Hi, at last founded find by token(). Thanks On 10 abr, 21:52, kassel wrote: > Hi > How i get the user data storaged into session, i've sow all user is in > session but how can get id for example?? > i've saw i can get it by : > $session->get("_security_main

[symfony-users] after authenttication get user data from session

2011-04-10 Thread kassel
Hi How i get the user data storaged into session, i've sow all user is in session but how can get id for example?? i've saw i can get it by : $session->get("_security_main") but it's serialized thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfon

[symfony-users] Re: Symfony2 authentication with User Entity

2011-04-08 Thread kassel
es using same values, it creates a new encoderPassword Different. WHY?, seems i didn't understood something Thnks On Apr 8, 9:11 pm, kassel wrote: > I've watching more carefully the token echo, and show thet's the value > credentials is NULL. > Why?, > "credentials":&qu

[symfony-users] Re: the means of:@orm:Entity(repositoryClass="Acme\MyBundle\Entity\UserRepository")

2011-04-08 Thread kassel
Yes from there i'm read, and i need to undertood wht's do it, exactly or approximatle thsnks On Apr 8, 10:28 pm, Christophe COEVOET wrote: > Le 08/04/2011 22:22, kassel a crit :> Hi all, > > I've want to know the means of > > @orm:Entity(repositoryClass=&qu

[symfony-users] the means of:@orm:Entity(repositoryClass="Acme\MyBundle\Entity\UserRepository")

2011-04-08 Thread kassel
Hi all, I've want to know the means of @orm:Entity(repositoryClass="Acme\MyBundle\Entity\UserRepository") at Entity header Thnks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to

[symfony-users] Re: Don't get security token

2011-04-08 Thread kassel
Well Denis, as yopu say the problem must be in other side then i put my swap user code : http://pastebin.com/umpsuHa6 As you see implements the UserInterface and use Entity SwapUserEntitty, but i don't understard te Entity, Thanks, sorry for my poor english On Apr 8, 9:57 pm, Dennis Jacobfeue

[symfony-users] Re: Symfony2 authentication with User Entity

2011-04-08 Thread kassel
]=> > string(3) "ats" > ["roles":"Symfony\Component\Security\Core\Authentication\Token\AbstractToken":private]=> > array(0) { } > ["authenticated":"Symfony\Component\Security\Core\Authentication\Token\AbstractToken":private]=> &

[symfony-users] Re: Symfony2 authentication with User Entity

2011-04-08 Thread kassel
ed here: > > http://symfony.com/doc/2.0/book/security/users.html#roles > > <http://symfony.com/doc/2.0/book/security/users.html#roles>So your role > should be ROLE_ADMON > > 2011/4/8 kassel > > > Hi, i founded the exception > > its here: &g

[symfony-users] Re: Symfony2 authentication with User Entity

2011-04-08 Thread kassel
7;s NULL What i make bad? thnks On Apr 8, 12:50 pm, kassel wrote: > Hi every, i'm using the same tuto, and gives an > "AuthenticationServiceException", and when i look at the bootom saw > i'm  authenticated by anonymous, and got not Roles. > My Global user

[symfony-users] Execption in form_login Autentication: AuthenticationServiceException

2011-04-08 Thread kassel
Hi, thats my first post and too my first SF2 app. And needto configura a authentication area, i'm based into that tuto: http://www.dobervich.com/2011/03/21/symfony2-blog-application-tutorial-part-v-intro-to-security/ Seem easy but not, it gives me that exception: exception 'Symfony\Component\Secur

[symfony-users] Re: Symfony2 authentication with User Entity

2011-04-08 Thread kassel
Hi every, i'm using the same tuto, and gives an "AuthenticationServiceException", and when i look at the bootom saw i'm authenticated by anonymous, and got not Roles. My Global user Class implements UserInterface and it this: id; } /** * Set name * * @param string $name