[symfony-users] Re: Symfony API and eclipse autocompletion

2007-08-29 Thread david . bravo

En estos momentos estoy fuera de la oficina, estaré de vuelta el día 10 de 
Septiembre.

Para cualquier cuestión urgente de índole técnica, por favor ponte en contacto 
con nuestro equipo en el mail [EMAIL PROTECTED] Para cualquier cuestión 
comercial urgente, ponte en contacto con Jose Luis Arístegui ([EMAIL 
PROTECTED]) o el teléfono 91 680 19 77.



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfSimpleCMS Routing

2007-08-29 Thread Francois Zaninotto
This is being discussed in the forum. To avoid double posting, please refer
to this discussion:

http://www.symfony-project.com/forum/index.php/mv/msg/8309/33998/

François

2007/8/28, Ant Cunningham [EMAIL PROTECTED]:


 I cant seem to get my routes to work with this plugin. Pretty much the
 entire site will be controlled by sfSimpleCMS. What I want to happen is
 for
 sfSimpleCMS to serve the site on the front end without any prepending to
 the
 slug - /cms/:slug  would be just /:slug instead while sfSimpleCMSAdmin
 should use /admin/:action/*. This is further complicated by the need to
 have an url for sfMediaLibrary (/admin/media/:action/*) and sfGuard
 administration (/admin/users/:action/*) plus the need to be able to
 potentially use modules outside of sfSimpleCMS.

 I think part of my problem is confusion about how a typical implementation
 of this plugin works. For instance... should both modules be activated in
 one app, or should you move them to separate apps? Should I be using
 sfSimpleCMS or should I be using its embed component from other modules?

 Finally all this trouble has shed light on another basic question I should
 know the answer to but don't. How do you access different applications
 without using the script name? how do you set up /admin to go
 backend_prod.php while / or /frontend goes to frontend_prod.php? Ive read
 the chapter on routing about 4 times now and this still isnt all that
 clear
 to me...

 thanks!



 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Prevent simultaneous logins with the same username in symfony

2007-08-29 Thread Haris Zukanović

I wish to prevent different users from logging in using the same
username (sharing the username). Where would I best solve this in symfony?

TIA
-- 
Haris Zukanovic



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Prevent simultaneous logins with the same username in symfony

2007-08-29 Thread Matthias Nothhaft

Haris Zukanović schrieb:
 I wish to prevent different users from logging in using the same
 username (sharing the username). Where would I best solve this in symfony?

Do you want to prevent one user from logging in simultaneously multiple
times?

Why?

Hm.. I would not prevent that. What if a user's machine crashed and he
wants to login after a reboot? How do you want to distinguish between
expiration and 'other problems'?

Regards,
Matthias


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Prevent simultaneous logins with the same username in symfony

2007-08-29 Thread Matthias Nothhaft

Lukas Kahwe Smith schrieb:
 Matthias Nothhaft wrote:
 Haris Zukanović schrieb:
 I wish to prevent different users from logging in using the same
 username (sharing the username). Where would I best solve this in symfony?
 Do you want to prevent one user from logging in simultaneously multiple
 times?

 Why?

 Hm.. I would not prevent that. What if a user's machine crashed and he
 wants to login after a reboot? How do you want to distinguish between
 expiration and 'other problems'?
 
 the common approach is to simply kill all previous sessions and create 
 the new session. at any rate, you will need to probably store your 
 sessions in a database (or at the very least a mapping table 
 session-user id), so that you can easily find the previous sessions you 
 need to kill.

and you do this check / kill on each user login!?
seems to make sense to make sure that the system is clean..
I'll put it on my todo list  :-)

Regards,
Matthias






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] csI18nRoutingPlugin release / Translatable URLs

2007-08-29 Thread Christian Schaefer
hi all,

after using it for quite a while now I finally found the time to add a
bit of documentary and ship this little plugin.

it basically allows you to specify several urls per route. that is one
url per route and culture.

consider the following example:

homepage:
  url:
de:   /startseite
en:   /homepage
fr:   /pagedaccueil
  params: [ module: home, action: index ]


the full readme is here:
http://symfon.ical.ly/trac/wiki/csI18nRoutingPlugin


I attached the pear package version to this mail though it might get
filtered. just pm me to get it or download and install from svn.


hope this proves useful to someone.



cheers
/christian

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



csI18nRoutingPlugin-0.1.0.tgz
Description: GNU Zip compressed data


[symfony-users] Re: csI18nRoutingPlugin release / Translatable URLs

2007-08-29 Thread Tristan Rivoallan

On 8/29/07, Christian Schaefer [EMAIL PROTECTED] wrote:

 it basically allows you to specify several urls per route. that is one
 url per route and culture.

really great plugin. i also totally agree with the cs prefixing. It
makes much more sense than prefixing everything with sf (imho)

++
tristan

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: csI18nRoutingPlugin release / Translatable URLs

2007-08-29 Thread Christian Schaefer

hey thanks tritan!

yeah I though a personal prefix kinda makes sense whereas sf might look
cool but gives the wrong impression imho.

let me know if this plugin is of use to you. ;)

cheers
/christian

Tristan Rivoallan wrote:
 On 8/29/07, Christian Schaefer [EMAIL PROTECTED] wrote:
 
 it basically allows you to specify several urls per route. that is one
 url per route and culture.
 
 really great plugin. i also totally agree with the cs prefixing. It
 makes much more sense than prefixing everything with sf (imho)
 
 ++
 tristan
 
  
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] automated code audit

2007-08-29 Thread Jack Bates

I'm working on an automated code audit, to check our code conforms to
symfony's code standards. I'm currently implementing it as a unit
test, so we check our code with:

symfony test-unit audit

I wonder if any code already exists for checking symfony's code
standards?

Thanks, Jack


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: automated code audit

2007-08-29 Thread Tristan Rivoallan

hi,

On 8/29/07, Jack Bates [EMAIL PROTECTED] wrote:

 I wonder if any code already exists for checking symfony's code
 standards?

pear's codesniffer can provide a very good basis for implementing this.

http://pear.php.net/package/PHP_CodeSniffer

i guess it should not take too long to adapt bundled PEAR standards
sniffer to comply with symfony standards.

++
tristan

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: csI18nRoutingPlugin release / Translatable URLs

2007-08-29 Thread Piers Warmers
Yep,

We're working a number of different plugins which we hope to release  
in the next 2-3 weeks.

We will be using our own preffix and repositories.

Very nice plugin.

- Piers


On 30/08/2007, at 1:54 AM, Christian Schaefer wrote:


 hey thanks tritan!

 yeah I though a personal prefix kinda makes sense whereas sf might  
 look
 cool but gives the wrong impression imho.

 let me know if this plugin is of use to you. ;)

 cheers
 /christian

 Tristan Rivoallan wrote:
 On 8/29/07, Christian Schaefer [EMAIL PROTECTED] wrote:

 it basically allows you to specify several urls per route. that  
 is one
 url per route and culture.

 really great plugin. i also totally agree with the cs prefixing. It
 makes much more sense than prefixing everything with sf (imho)

 ++
 tristan





 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Prevent simultaneous logins with the same username in symfony

2007-08-29 Thread Kiril Angov

Well, in your session storage (database table) you can have session_id, 
user_id, session_data, timestamp. Then when I user logs in you can clean 
all the records which are not equal to the current session_id + user_id 
where user_id = current user_id.

Kupo

Matthias Nothhaft wrote:
 Lukas Kahwe Smith schrieb:
   
 Matthias Nothhaft wrote:
 
 Haris Zukanović schrieb:
   
 I wish to prevent different users from logging in using the same
 username (sharing the username). Where would I best solve this in symfony?
 
 Do you want to prevent one user from logging in simultaneously multiple
 times?

 Why?

 Hm.. I would not prevent that. What if a user's machine crashed and he
 wants to login after a reboot? How do you want to distinguish between
 expiration and 'other problems'?
   
 the common approach is to simply kill all previous sessions and create 
 the new session. at any rate, you will need to probably store your 
 sessions in a database (or at the very least a mapping table 
 session-user id), so that you can easily find the previous sessions you 
 need to kill.
 

 and you do this check / kill on each user login!?
 seems to make sense to make sure that the system is clean..
 I'll put it on my todo list  :-)

 Regards,
 Matthias






 

   


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---