[symfony-users] Re: spyc performance

2007-03-19 Thread Fabien POTENCIER
Hi Vlad, Speed is really not a real issue. In production mode, symfony caches all its configuration files in PHP, so parsing only occurs on the very first request. The really issue is YAML conformance. As of now, the Spyc library only parses very simple YAML files. As François said, it is

[symfony-users] symfony 1.0.1 released

2007-03-19 Thread Fabien POTENCIER
We released symfony 1.0.0 just a month ago. Time for another release. symfony 1.0.1 is a bug fix only release. The symfony 1.0 branch only contains bug fixes (no new features). Here are all bugs fixed in this release: - r3624: fixed security.yml case sensitivity - r3599: fixed sfYaml::load()

[symfony-users] Re: symfony 1.0.1 released

2007-03-19 Thread Fabien POTENCIER
... Michael On 19 Mrz., 20:11, Fabien POTENCIER [EMAIL PROTECTED] wrote: We released symfony 1.0.0 just a month ago. Time for another release. symfony 1.0.1 is a bug fix only release. The symfony 1.0 branch only contains bug fixes (no new features). Here are all bugs fixed

[symfony-users] Re: sfTestBrowser - redirect loses session variables?

2007-03-23 Thread Fabien POTENCIER
Hi Amit, Can you fill a ticket for this problem? Thanks, Fabien [EMAIL PROTECTED] wrote: Hi, I noticed same thing happens with flash variables too. When I set flash variable and redirect it, tests fail but I can see the variable value if I access using the browser. Can anyone guide?

[symfony-users] Re: Arrays becoming Objects from the action to the template

2007-04-02 Thread Fabien POTENCIER
You have output escaping turned on, so every variable passed to the template is escaped. In symfony escaping is done by decorating every variable in an object. In your case this object is an instance of sfOutputEscaperArrayDecorator which acts as an array. An instance of this class acts as

[symfony-users] Re: Sharing code between applications

2007-04-02 Thread Fabien POTENCIER
When you want to share code between applications / projects, your best bet is to create a plugin. It is very simple, you mainly have to move your directories under the plugins/ directory. Fabien Jonathan Franks wrote: I've just written a very simple image gallery that I want to reuse

[symfony-users] Re: changing the module to load inside a filter

2007-06-05 Thread Fabien POTENCIER
You can try something like this (not tested) in your filter: $context = $this-getContext(); $controller = $context-getController(); $actionInstance = $controller-getAction($moduleName, $actionName); $actionInstance-initialize($context); $context-getActionStack()-addEntry($moduleName,

[symfony-users] Re: Symfony cache + PHP fatal error

2007-06-05 Thread Fabien POTENCIER
It looks like the TagHelper is not loaded in your case. This is weird because this helper is loaded by default by symfony. Can you tell us a bit more about your cache usage. Fabien Kiril Angov wrote: Hello list, my time came to ask for help :) I just enabled caching for the first time

[symfony-users] Re: Symfony cache + PHP fatal error

2007-06-05 Thread Fabien POTENCIER
*Fatal error*: Call to undefined function content_tag() in */usr/local/pear/symfony/helper/JavascriptHelper.php* on line *700* Thanks for taking the time, Kupo Fabien POTENCIER wrote: It looks like the TagHelper is not loaded in your case. This is weird because this helper is loaded

[symfony-users] Re: changing the module to load inside a filter

2007-06-09 Thread Fabien POTENCIER
To remove the action from the stack: $this-getContext()-getActionStack()-popEntry(); Fabien Lukas Kahwe Smith wrote: Fabien POTENCIER wrote: You can try something like this (not tested) in your filter: $context = $this-getContext(); $controller = $context-getController

[symfony-users] Re: changing the module to load inside a filter

2007-06-09 Thread Fabien POTENCIER
I don't think there is any side effect. Lukas Kahwe Smith wrote: Fabien POTENCIER wrote: To remove the action from the stack: $this-getContext()-getActionStack()-popEntry(); Yeah .. I was just wondering if there are any surprising side effects there (since you mentioned

[symfony-users] Re: sfSimpleBlogPlugin update

2007-06-11 Thread Fabien POTENCIER
They have nothing in common. sfSimpleBlogPlugin is the plugin François wrote for Sensio and we released it as an open-source plugin some months ago. Fabien Matthias Nothhaft wrote: Fabien POTENCIER wrote: Hi, I've just released a new version of the sfSimpleBlogPlugin plugin. This plugin

[symfony-users] Re: output escaping note

2007-06-12 Thread Fabien POTENCIER
Matthias, No need to document it, this is already well documented in the book. Here is the relevant part: Escaping Strategy The escaping_strategy setting determines the way variables are output by default. The following are the possible values: * bc (backward compatible mode):

[symfony-users] Re: JS injection in www.askeet.com

2007-06-13 Thread Fabien POTENCIER
This is not a symfony problem. This is just because askeet was done a long time ago and output escaping was not enabled. Fabien Sid Bachtiar wrote: What was the cause? will there be a patch for Symfony version 1.0? On 6/14/07, Fabien POTENCIER [EMAIL PROTECTED] wrote: fixed Thanks

[symfony-users] Re: JS injection in www.askeet.com

2007-06-13 Thread Fabien POTENCIER
requirment. is there any loop holes which i need to be fixed in my askeet. Thanx. On Jun 14, 9:37 am, Fabien POTENCIER [EMAIL PROTECTED] project.com wrote: This is not a symfony problem. This is just because askeet was done a long time ago and output escaping was not enabled. Fabien Sid

[symfony-users] Re: Deployment Method

2007-06-19 Thread Fabien POTENCIER
Yes, the symfony sync command can only sync your projects over ssh. The task is really a simple one for now. Fabien Matthias N. wrote: On 15 Jun., 18:54, g0d br [EMAIL PROTECTED] wrote: that's how i do: # symfony freeze # symfony sync production go # symfony unfreeze But this only

[symfony-users] Re: Create Secured PDF Files Now !! Do wnload free Adobe® Reader® 8 software

2007-06-20 Thread Fabien POTENCIER
This user is now banned. Please don't respond to spam... Stefan Koopmanschap wrote: Darn, we get spammed now overhere. Is there a way to get rid of spam on Google Groups? Stefan On Jun 20, 1:36 pm, niku [EMAIL PROTECTED] wrote: Hi, :: Download Latest Version of Adobe Reader 8.0

[symfony-users] symfony 1.0.4 released

2007-06-20 Thread Fabien POTENCIER
I've just released symfony 1.0.4. As for every 1.0.X release, there is no new feature, just some bug fixes. Here are all bugs fixed in this release: * r4286: fixed sfBrowser keeps previous Dom is response is not XHTML (#1853) * r4282: fixed sfValidatorManager refuses zero values as null values

[symfony-users] New Plugin: sfCSRFPlugin - Automatically protect your code from CSRF attacks

2007-06-25 Thread Fabien POTENCIER
Hi all, A quick note to introduce my newest plugin. The sfCSRFPlugin provides protection against Cross Site Request Forgeries. As always, the source code is available in the symfony repository, and you can check its wiki page at http://trac.symfony-project.com/trac/wiki/sfCSRFPlugin For

[symfony-users] Re: Page 8 of Askeet tutorial may have been hacked

2007-06-27 Thread Fabien POTENCIER
This is a cache problem. Askeet tutorial hasn't been hacked. andyjeffries wrote: It was confirmed by a number of users on IRC just now on #symfony (and a few other devs near me). It's not now so I guess they've fixed it :-) Be nice for an official answer though

[symfony-users] Re: correct way to return an imagine from an action...

2007-06-28 Thread Fabien POTENCIER
$response = $this-getResponse(); $response-setContentType('image/jpeg'); $response-setContent($data[0]['Version'][0]['small_logo_data']); $response-sendHttpHeaders(); $response-sendContent(); return sfView::NONE; As far the routing rule is concerned, you can type something like this in your

[symfony-users] Re: Batch scripts use 'sfWebRequest'?

2007-06-28 Thread Fabien POTENCIER
This is not the way it works right now. Factories are per-environment. Tristan Rivoallan wrote: On 6/28/07, Fabien POTENCIER [EMAIL PROTECTED] wrote: There is now 'batch' environment in symfony by default. Perhaps we can create one. i think this is not the right solution. i want

[symfony-users] Re: I18N and sfI18nExtractPlugin

2007-07-07 Thread Fabien POTENCIER
Lukas Kahwe Smith wrote: Hi, I think it would be a good idea to store a bit of information when automatically adding (and deleting) translations. It would be great to add the location(s) of where the translation key was found (inside the comments, but maybe in a dedicated column).

[symfony-users] Re: symfony propel-load-data cli

2007-07-19 Thread Fabien POTENCIER
I will be included in symfony 1.1. We will try to release a first beta by the end of August. Fabien Marco Catunda wrote: Hi, This sounds is good. Would you know when we see it in production tag? -- Marco Catunda 2007/7/19, Francois Zaninotto [EMAIL PROTECTED]: Hi, A

[symfony-users] Re: Naming of form fields between init-admin and generate-crud?

2007-07-25 Thread Fabien POTENCIER
It's just because the generate-crud is really about simple code generation. So, we don't want to add too much complexity in the crud generation. Fabien Stefan Koopmanschap wrote: Hi, While working on a job, I noticed that there is a huge difference in the naming of the form fields

[symfony-users] Re: performances of 'partial' and 'slots'

2007-07-25 Thread Fabien POTENCIER
The slots are very fast. The slot() function is just a wrapper around ob_start(). The end_slot() is a wrapper to ob_get_clean(). And when you include_slot() later, it just outputs the slot content. So, slots are very very fast. On the other hand, partials are a bit slower because they involve

[symfony-users] Re: symfony site

2007-07-25 Thread Fabien POTENCIER
We use akismet Thierry wrote: Yes by the looks of it looks like you really need a nice captcha, or throw in akismet --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this

[symfony-users] Re: sfCommandLogger error?

2007-08-04 Thread Fabien POTENCIER
I think it's an autoloading problem. Remove all the sf_* files you have in your temp directory (/tmp on *nix). Fabien Jay Klehr wrote: I recently updated symfony to the most recent trunk (as of this writing), which includes the new Symfony CLI stuff (and no more pake). However, when I

[symfony-users] Re: sfConfig::get('sf_app_module_dir') inside a pake task

2007-08-22 Thread Fabien POTENCIER
In your batch, before initializing the database, you need to load th symfony configuration: define('SF_ROOT_DIR',realpath(dirname(__file__).'/..')); define('SF_APP', 'frontend'); define('SF_ENVIRONMENT', 'dev'); define('SF_DEBUG', true);

[symfony-users] Re: GPLed plugins

2007-09-20 Thread Fabien POTENCIER
Hi all, Here is my thoughts. I (as in the symfony project sponsor) only want to host (package files and subversion repositories) plugins released under a MIT/BSD/LGPL/... license on the symfony-project.com website. People can release plugins under other licenses (GPL or whatever) if they

[symfony-users] Re: GPLed plugins

2007-09-20 Thread Fabien POTENCIER
sufficient to me as this already requires an extra step, which I presume implies that the developer knows what he/she is doing. Therefor adding another command-line option seems not necessary to me. All the best, grtz BjornW Matthias Nothhaft wrote: Fabien POTENCIER schrieb: Hi all

[symfony-users] Re: Load session

2007-09-21 Thread Fabien POTENCIER
You can configure the session to not auto_start and start it by yourself when you're ready. Just change the factories.yml configuration and add a auto_start entry like this: all: storage: param: auto_start: false Fabien Sébastien CAS wrote: Hi all, I have a GET

[symfony-users] Re: Symfony coders needed

2007-09-25 Thread Fabien POTENCIER
symfony-forge.com is not abandoned. It will definitely become the official repository for symfony plugins and we will migrate all the plugins soon. We just need some more time... Fabien Kiril Angov wrote: Nicolas Perriault wrote: Jon Busby a écrit : I agree. I could do with coders

[symfony-users] Re: symfony-jobs Google Group

2007-09-25 Thread Fabien POTENCIER
I really don't think that this is a good idea. Why do we need yet another communication channel. We already have a forum, a wiki, a bunch of mailing-lists, and IRC channel... I think we have all the tools. Why force the users to subscribe to yet another mailing-list? I like the idea of a

[symfony-users] We are migrating the symfony website...

2007-09-28 Thread Fabien POTENCIER
We are migrating the symfony websites to a new server. Please be patient as we need to migrate the subversion repository, the PEAR channel, the symfony website, the symfony forums, ... If everything works as expected, we will be back in about 10 minutes... But you know, ... we will have some

[symfony-users] Re: We are migrating the symfony website...

2007-09-28 Thread Fabien POTENCIER
This is fixed now. I deleted a spam ticket BUT I forgot to delete related table entries. Damn sqlite, it has no integrity constraints and it reuses primary keys. Fabien Lukas Kahwe Smith wrote: Phoop wrote: Congratulations! It is very fast now, pages are lightning fast. Even trac is

[symfony-users] Re: Unoffical SVN mirror

2007-09-30 Thread Fabien POTENCIER
We use FSFS storage backend and 5 minutes is not an issue. We're experiencing some slowdown since the server move. We're working on this issue. Fabien Ian P. Christian wrote: Adriaan van Natijne wrote: I was told that Subversion was only capable of handeling one transaction and others had

[symfony-users] Yet another Yahoo! website with symfony

2007-10-02 Thread Fabien POTENCIER
If you're not subscribed to the symfony blog feed, we have a great news for the community: http://www.symfony-project.com/blog/2007/10/02/delicious-preview-built-with-symfony By the way, consider subscribing to the blog feed as we will have more exiting announcements in the coming weeks.

[symfony-users] Re: phing package

2007-10-03 Thread Fabien POTENCIER
Phing is packaged with symfony (svn and PEAR package), so you don't need to install it. Even if you install Phing, symfony will use the bundled one. -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99

[symfony-users] Re: Forums Downloading

2007-10-03 Thread Fabien POTENCIER
Myke Hines wrote: I can't seem to download any attachments in the forum. http://www.symfony-project.com/forum/index.php/m/35118/?srch=extjs#msg_35118 Can this be fixed? Looks like fudforum hardcodes absolute pathes to the files in the database. It's fixed now. -- Fabien Potencier

[symfony-users] Re: Admin init (but not generation)

2007-10-04 Thread Fabien POTENCIER
inrila wrote: Hello guys, The following question. I know that propel-init-admin works only as init, but not as generation. It makes very simple and powerful structure, but that also means that I do not really can change actions (only by checking them in the cache, and using code from the

[symfony-users] Re: Re : [symfony-users] Re: Symfony - Forge

2007-10-11 Thread Fabien POTENCIER
Hi all, The symfony-forge.com website will be the official repository for all the symfony plugins. Jonathan Wage is doing a great work tweaking the website backend right now. We expect to move the svn and trac from symfony-project.com to symfony-forge.com really soon now. Fabien -- Fabien

[symfony-users] Re: sfBasicSecurityUser timeout issue

2007-10-26 Thread Fabien POTENCIER
I think you're right. You can make the change in symfony 1.0 and 1.1 Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80 80 Ian P. Christian wrote: I'm not sure if I should post this here

[symfony-users] Re: Can sfFinder class be used in php scripting

2007-11-13 Thread Fabien POTENCIER
You have to include the sfFinder class with a require. A simple PHP script can't autoload classes. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80 80 pal wrote: Hello Everyone, When

[symfony-users] Re: Symfony branches 1.0

2007-11-14 Thread Fabien POTENCIER
Everything must be fixed now. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80 80 [EMAIL PROTECTED] wrote: This morning I update lib/symfony from http://svn.symfony-project.com/branches

[symfony-users] Re: sf1.1 - sfValidator question

2007-12-24 Thread Fabien POTENCIER
values, instead of cleaned values. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80 80 Ian P. Christian wrote: Hi all, I'm working with the new sf1.1 form/validation stuff, and I've just

[symfony-users] Re: sfValidator (sf1.1)

2008-01-05 Thread Fabien POTENCIER
of unit tests to validate all the changes I made to make this possible, this new feature was a lot of work, so I hope everything still works fine. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80

[symfony-users] Re: AW: [symfony-users] Re: sfValidator (sf1.1)

2008-01-05 Thread Fabien POTENCIER
Why sfValidatorZip is called on the post validator and not on the country directly? Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80 80 Abröll wrote: Hi Fabian, I have tested

[symfony-users] Re: Symfonians, yet another place for the Symfony community

2008-01-20 Thread Fabien POTENCIER
I've just registered and surfed around and I'm quite impressed. It's really a great website! Thanks, Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80 80 Nicolas Perriault wrote: Hi

[symfony-users] Re: Django

2008-02-04 Thread Fabien POTENCIER
Django is just awesome. I think it's the best python framework... and some features of symfony 2.0 are inspired by Django ;-) Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80 80 Thierry

[symfony-users] sfConfiguration... and some refactoring

2008-02-05 Thread Fabien POTENCIER
. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http://www.sensiolabs.com/ http://www.symfony-project.com/ Sensio Labs Tél: +33 1 40 99 80 80 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony

[symfony-users] Re: use event template.filter_parameters to set a helper object in sf 1.1?

2008-02-08 Thread Fabien POTENCIER
It's not really possible right now. That will be possible with the introduction of the sfConfiguration object. see http://groups.google.com/group/symfony-devs/browse_thread/thread/be068549d262dfe5 for reference. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer http

[symfony-users] Re: Help the core team save time!

2008-02-09 Thread Fabien POTENCIER
Fabian Lange wrote: Hi, I agree with Carl, I have made patches for many 1 char typo tickets, but I also could have commited these directly. However I of course understand why only few people get commit access. So here my two proposals: - find a trusted person who has not time or

[symfony-users] Re: Help the core team save time!

2008-02-09 Thread Fabien POTENCIER
Carl Vondrick wrote: On Friday, February 08, 2008, Dustin Whittle wrote: If we all work together, we can save Fabien Francois a lot of time so they can spend it on more important things (like family!).. What is the process for commit access to a branch? I sometimes run into random

[symfony-users] Re: Help the core team save time!

2008-02-09 Thread Fabien POTENCIER
Fabian, I think you can also lead the ticket triaging process as you participated in the process specification some time ago: http://trac.symfony-project.com/wiki/TicketWorkflow Time to recruit volunteers for this as well! Fabien Fabian Lange wrote: Hi, I agree with Carl, I have made

[symfony-users] Re: Help the core team save time!

2008-02-09 Thread Fabien POTENCIER
Carl Vondrick wrote: On Saturday, February 09, 2008, Fabian Lange wrote: Trac sends updates to all people participating in a ticket. So the easiest way to notify them is to add a comment to the ticket. All who worked previously on the ticket will get that comment as notification mail I

[symfony-users] Re: Multiple apps vs single app

2008-03-03 Thread Fabien POTENCIER
Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Nicolas Perriault wrote: On Mon, Mar 3, 2008 at 1:25 PM, Rytis Daugirdas [EMAIL PROTECTED] wrote: For example, routing.yml becomes a monster for a bigger

[symfony-users] Re: Call to undefined method sfWebResponse::setParameter.

2008-04-07 Thread Fabien POTENCIER
Marijn wrote: Hi everybody, I just started using symfony a month ago so I figured I better move to 1.1 now, I really don't feel like learning about stuff that will be deprecated in a month or two ;-) I had a simple filter that would place all my JavaScripts to the bottom of the page

[symfony-users] Re: cache without layout - setLayout and addStyleSheet

2008-04-09 Thread Fabien POTENCIER
This is a known bug in symfony 1.0: http://trac.symfony-project.com/ticket/2685 Fabien pihentagy wrote: Hi all! I have pages without layout cache turned on. I also have a filter, which dynamically changes the layout and the used stylesheet. I thought, that they cannot interference,

[symfony-users] Re: csrf_token required

2008-04-10 Thread Fabien POTENCIER
Do you use the 1.1 beta 2 or /branches/1.1? Do you use the code generated by the generate-crud CLI or have you modified something? It will easier to help you out if you can post the generated code as I've just tested the generate-crud on a brand new project and it works for me. Thanks,

[symfony-users] Re: Re-using a 1.1 form on the same template

2008-04-10 Thread Fabien POTENCIER
You definitely need to create 5 separate forms in your actions as one default value is different for each as you've said (changing a field value in the template is not a good thing IMO). To have unique ids, and to be able to validate/save your forms, you need to change the name format of each

[symfony-users] Re: Re : [symfony-users] Re: problems generation of form in 1.1b2

2008-04-10 Thread Fabien POTENCIER
not the /trunk, but /branches/1.1. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Loïc Vernet wrote: Ok, thanks Fabien, i will use the trunk then. Loïc. - Message d'origine De

[symfony-users] Re: Symfony 1.1 embedForm

2008-04-11 Thread Fabien POTENCIER
Dmitry Nesteruk wrote: I have to form. The registration form and the address form. I am trying to embed this forms. $this-form = new sfsRegistrationForm(); $this-form-embedForm('address', new sfsAddressForm()); Both forms have own validation. I added bind $this-form-bind(

[symfony-users] Re: symfony cc problem

2008-04-11 Thread Fabien POTENCIER
This has been fixed in 1.1 beta3 Fabien Joe Kelsey wrote: I have a symfony project with three apps: sales, tracking and admin. I have been working on it for a while, and I thought that something to do before I start releasing it is to clear the cache. I tried: symfony cc PHP Fatal

[symfony-users] Re: symfony1.1 web debug output looks ugly

2008-04-16 Thread Fabien POTENCIER
Do you use syck? Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Christian Hammers wrote: Hello I'm playing aroung with symfony 1.1 and the web debug javascript thing shows e.g. the vars config

[symfony-users] Re: Symfony 1.1DEV - sfMySQLSessionStorage

2008-04-17 Thread Fabien POTENCIER
There was 2 problem. The first one in symfony: fixed in r8505. The second one in your configuration: your table columns do not match your configuration in factories.yml (session_* and sess_*) Fabien Joao wrote: I had Symfony 1.0 working with MySQL Session storage, now on 1.1Dev is not

[symfony-users] Re: Symfony 1.1DEV - sfMySQLSessionStorage

2008-04-17 Thread Fabien POTENCIER
Oops, sorry about that. in r8506, both MySQL and Creole session storage must be fixed. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 [EMAIL PROTECTED] wrote: Dear Francois, now you broke my

[symfony-users] Re: Symfony 1.1 beta 3 and generate-crud

2008-04-17 Thread Fabien POTENCIER
Hi Marijn, This has just been fixed in r8508. You need to regenerate your forms with propel:build-forms for the fix to take effect. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Marijn wrote

[symfony-users] Re: File upload in Symfony 1.1

2008-04-18 Thread Fabien POTENCIER
Also, there was a bug if you use file upload in a Propel form and it was fixed in r8535. Fabien Andreas Gehrke wrote: Ahhh. Very nice. Thank you! On 17 Apr., 15:30, Joao [EMAIL PROTECTED] wrote: - actions.class.php -- if ($this-form-isValid()) { $file =

[symfony-users] Re: how can I add a section to the debug toolbar?

2008-04-18 Thread Fabien POTENCIER
You can't add a new section in sf 1.0 or 1.1. Perhaps a good enhancement for sf 1.2. Can you create a ticket and describe what you want to be able to do. Thanks, Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1

[symfony-users] Re: Symfony 1.1 beta 3 and generate-crud

2008-04-18 Thread Fabien POTENCIER
... and so why it's loaded twice. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Marijn wrote: Hi everybody, Is anybody facing the same problems with the CLI from the latest beta build? Should I file

[symfony-users] Re: Upgrading to symfony 1.1: Slowness and slots

2008-04-22 Thread Fabien POTENCIER
Jonathan Wage wrote: After troubleshooting it further I narrowed it down to the debug toolbar being on, and having variables in templates or components that are very large in memory. If I turn off the debug toolbar then it works fine, or if I completely remove the objects from being set to

[symfony-users] Re: Problem with forms edition in symfony 1.1

2008-04-28 Thread Fabien POTENCIER
Yohan 'rouKs' G. wrote: code public function executeEdit(sfWebRequest $request) { $this-news = NewsPeer::retrieveByPK($this- getRequestParameter('id')); $this-id = $this-getRequestParameter('id'); This should be: $this-id = $request-getParameter('news[id]'); as all

[symfony-users] Re: symfony 1.1 tasks

2008-05-03 Thread Fabien POTENCIER
Jonathan Wage wrote: Hello, I have some symfony tasks for the sfDoctrinePlugin that group together multiple tasks. sfPropelPlugin does this too. The issue I am running in to is where you forward arguments from the main calling task, to the children tasks and the option value being

[symfony-users] Re: Uploading files in symfony 1.1

2008-05-07 Thread Fabien POTENCIER
When binding the form, you have to pass the files specifically: $this-form-bind($request-getParameter('photoform'), $request-getFiles('photoform')); Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80

[symfony-users] Re: User guide for symfony 1.1 form framework?

2008-05-08 Thread Fabien POTENCIER
We will publish a tutorial on the new form framework really soon now. Fabien Sid Bachtiar wrote: Does anyone know where I can get the user guide (or documentation/tutorial) for symfony 1.1 form framework? I've been googling in the last two days with not much luck.

[symfony-users] Re: the future of the admin generator??

2008-05-08 Thread Fabien POTENCIER
Jonathan Bryan wrote: Well, I am playing with it and as far as I can tell, it hasn't changed since symfony 1. For instance, it seems to be using the old form system. The admin generator will be rewritten to use the new form framework for symfony 1.2. Fabien That's why I'm asking what

[symfony-users] Re: What was the reason for taking Helpers out of 1.1?

2008-05-08 Thread Fabien POTENCIER
Helpers are available in symfony 1.1 Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 James wrote: Hello, I haven't started developing on 1.1 yet and probably won't for some time, but I am

[symfony-users] Re: What was the reason for taking Helpers out of 1.1?

2008-05-08 Thread Fabien POTENCIER
POTENCIER wrote: Helpers are available in symfony 1.1 Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 James wrote: Hello, I haven't started developing on 1.1 yet and probably won't for some

[symfony-users] Re: Uploading files in symfony 1.1

2008-05-09 Thread Fabien POTENCIER
Ian P. Christian wrote: Fabien POTENCIER wrote: When binding the form, you have to pass the files specifically: $this-form-bind($request-getParameter('photoform'), $request-getFiles('photoform')); This isn't the first, or even second time I've seen this question, it's been on IRC

[symfony-users] Re: Why setAttribute() and not autocompletable / verifiable setters/getters?

2008-05-13 Thread Fabien POTENCIER
Christian Hammers wrote: Hello I'm trying to lean symfony1.1 forms and am slowed down because the usual ctrl-space auto completion of my IDE (eclipse) does not reveal which options an object accepts. Example: $this-widgetSchema['tax']-setAttribute('size', 3); instead of

[symfony-users] Re: Symfony 1.1 pear upgrade not working

2008-05-13 Thread Fabien POTENCIER
Keith wrote: I am unable to upgrade to Symfony 1.1.0 rc1 following the provided documentation. I type: pear upgrade symfony/symfony-beta You must type pear upgrade symfony/symfony-1.1.0RC1. As stable is = to stable, PEAR will always install the latest version, which happen to be the

[symfony-users] Re: timeout issue

2008-05-15 Thread Fabien POTENCIER
Mohammad Ali Safari wrote: Hi Ali and Thomas I tried what you guys suggested and it worked perfectly. I had this problem for over 1 year and could never resolve it without your help; greatly appreciated. As you pointed out the issue was session.gc_maxlifetime and session.save_path

[symfony-users] Re: http://pear.symfony-project.com/get/symfony-1.1.0.tgz http status 404

2008-05-15 Thread Fabien POTENCIER
1.1.0 is not yet release. Try http://pear.symfony-project.com/get/symfony-1.1.0RC1.tgz Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Dejan Spasic wrote: Trying to install the symfony rc1 via pear

[symfony-users] Re: Indentation while defining a multiple line string in YAML

2008-06-04 Thread Fabien Potencier
try home_en_slot3: value: test1: component: sfSimpleCMS/latestPages -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 isleshocky77 wrote: Listing 5-3 of http://www.symfony

[symfony-users] Re: symfony plugin-install OLD VERSIONS!!

2008-06-11 Thread Fabien Potencier
format). Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 xanders wrote: nobody with the same problem? On Jun 4, 3:25 pm, xanders [EMAIL PROTECTED] wrote: When using symfonyplugin-installhttp

[symfony-users] Re: pear.symfony-project.org is Down

2008-06-15 Thread Fabien Potencier
It's not down. The URL is http://pear.symfony-project.com/ (notice the .com at the end, not .org) Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Dean Glazeski wrote: It appears that the pear

[symfony-users] Re: symfony 1.1 propel unique validator?

2008-06-29 Thread Fabien Potencier
Try: $this-validatorSchema-setPostValidator(new sfValidatorPropelUnique(array('model' = 'sfGuardUser', 'column' = array('Username'; Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 [EMAIL

[symfony-users] Re: Two forms on same page with PostValidator on one of them ( symfony 1.1 )

2008-06-29 Thread Fabien Potencier
It can't work that way. When a user submit a form, it only submits 1 form, not both. So, you need a way to determine which one has been posted and then only bind this one. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org

[symfony-users] Re: Why is there no way to install that 1.0.x version using pear?

2008-06-29 Thread Fabien Potencier
It's documented on the installation page: http://www.symfony-project.org/installation/1_0 And in the release notes for the 1.0.17: http://www.symfony-project.org/blog/2008/06/29/symfony-1-0-17-is-out Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony

[symfony-users] Re: Symfony 1.1, as a transition release...

2008-06-30 Thread Fabien Potencier
Andreas Hucks wrote: Hi, first, a big thank you very much to the devs for your effort with symfony so far. I started converting my own plugins that I use for my projects for 1.1. Only in the last days I started noticing from the list and some blog posts 1.1 is considered a transition

[symfony-users] Re: Volunteer wanted for updating i18n files

2008-07-02 Thread Fabien Potencier
is here: http://babel.edgewall.org/browser/trunk/scripts/import_cldr.py and it's pretty easy to adapt/convert it to PHP. If someone want to work on this task, I can help him/her to get started. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony

[symfony-users] Re: Propel error after upgrading to 1.1

2008-07-02 Thread Fabien Potencier
Try to remove the : after root: dsn: mysql://[EMAIL PROTECTED]/test Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Sid Bachtiar wrote: I got this error after upgrading my project

[symfony-users] Re: Propel error after upgrading to 1.1

2008-07-02 Thread Fabien Potencier
fixed. Thanks, Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Piers Warmers wrote: Hi Fabien, I was going to send through a patch/ticket later today, but there is a small error in the task

[symfony-users] Re: Validation of Requests in 1.1

2008-07-12 Thread Fabien Potencier
The validation framework is not tied to the form framework. You can use it by itself to validate any kind of data. Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Daniel Stevens wrote: I've been

[symfony-users] Re: Older symfony version download

2008-07-15 Thread Fabien Potencier
-- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Ridvan Lakas ng Bayan S. Baluyos wrote: Hi list, Where can I download old sandbox of symfony? I need the symfony 1.0.1 version. Thanks, Ridvan

[symfony-users] Re: installing sfGuard plugin

2008-08-18 Thread Fabien Potencier
For symfony 1.0: symfony plugin-install http://plugins.symfony-project.org/sfGuardPlugin For symfony 1.1: symfony plugin:install sfGuardPlugin Fabien Sumedh wrote: Hi friends, I am getting error while installing sfGuard plugin... What is the mistake I am making here? $ symfony

[symfony-users] Re: new plugins page??

2008-08-19 Thread Fabien Potencier
Lee Bolding wrote: Hey all, I've been away for a month or so, and have just had a look at the plugins page (http://www.symfony-project.org/plugins/) Boy, has that changed since I last saw it! It looks a lot more organised now, but from what I can see, a whole bunch of plugins are

[symfony-users] Re: functional tests: click() with ambiguous link names?

2008-09-01 Thread Fabien Potencier
klemens_u wrote: Hi all! @functional tests / sfTestBrowser: Is there a solution to let click() distinguish between two links with the same name? As of symfony 1.2, yes: $browser-click('/', array('foo' = 'bar'), 1); 1 is the position of the link in the page. Fabien :-) Klemens

[symfony-users] Re: Making project creation easier

2008-09-06 Thread Fabien Potencier
Hi Kriss, Kris Wallsmith wrote: Hi Tom, I agree that there's more to setting up a project than what the generate:project command accomplishes, but this is probably different for each developer. For me, I add a number of svn properties (ignore, externals), modify the rsync ignore

  1   2   3   >