Le 17/06/2011 02:16, Apostolos Karakoussis a écrit :
I am having trouble setting up a firewall. I am using beta4 so far.
Here is my security.yml:
[code]
security:
providers:
user_db:
entity: { class: mytest\TestBundle\Entity\Account,
property: email }
encoders:
On Jun 17, 2011, at 10:20 AM, Christophe COEVOET wrote:
Le 17/06/2011 02:16, Apostolos Karakoussis a écrit :
I am having trouble setting up a firewall. I am using beta4 so far.
which basically tells to use hashing with sha1, without encoding as
base64 on the database. Since the whole
There seems to be different practices:
SonataAdminBundle
/ src / Sonata / AdminBundle
KnpLab's menu bundle:
/ src / Knplabs / Bundle / MenuBundle
FOSUserBundle:
/ vendor / bundles / FOS / UserBundle
I would have thought all bundles meant for distribution should go into
vendor/bundles, and
Thank you for your answer.
I updated today to Beta5 and now it works without changing anything.
Andreas
--
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 the Google
Groups
Hi,
I have a major problem with my routings, i've just upgraded to
Symfony2 Beta5, and suddenly something just didnt work no more..
I have deleted my cache, just in case of that i havent checked..
Then i saw the error:
1. in kernel.root_dir/cache/dev/appdevUrlMatcher.php at line 406 - +
Hi everyone,
I am using Sonata UserBundle to manage users and groups in AdminBundle. My
question is how to set the translationDomain to what I need in order to
translations.
I was thinking if there's a way to set this from my app config ... is this
possible ?
I know from the docs about placing
Hi,
Thanks fabian.. for peoples information it will be fixed by this
patch, and will properly come in the next release:
https://github.com/symfony/symfony/commit/c536797cc9ee81986210cbcfbaf6c8337dfdad9e
Best regards,
Michael Holm
On Fri, Jun 17, 2011 at 1:55 PM, Fabien Potencier
Is someone having this issue?
2011/6/16 Gustavo Adrian comfortablynum...@gmail.com
Hi all,
I wanted to ask you guys if you've found a definitive way to handle mime
type detection issues. I recently implemented file upload handling in my app
with Symfony 2 and I'm having problems detecting,
Hi,
Sure.. im trying to find a way to make a form with a collection of
models, i mean:
i have the models:
- attributes
- filters
- filter_attributes
now what i want is a form with all the filter attributes i can change
at once.. that i no problem, i can just make a form on the filter, and
then
Hey Gantulga,
Thanks for reply.
I don't want to pass the id value in URL.
I have a form which contains the id value in hidden field.
I can get the post id values like this way:
$params = $request-getParameter('form_name');
$id = $params['id'];
But i am not comfortable with hard-coding the
Hi,
what I'm trying to achieve is, that after a user has successfully
logged in, set the locale of the session.
I made a listener for onSecurityInteractiveLogin, there I have access
to the user object, but I can't access the session container (can I?)
The login_check action is never really
I think you should create a separate form for Address entity and embed
it in the user form, see
http://symfony.com/doc/current/book/forms.html#embedded-forms
On 16 juin, 19:31, Aaron DM amai...@gmail.com wrote:
Hello,
I was wondering how I would accomplish this.
I want to create a single
Hi everyone.
I'm having a rather odd problem which I suspect is either a bug or
more likely I'm trying to do things the wrong way.I'd appreciate if
you can shed a little light on the proper way to address this. Let me
describe the issue.
We have a container with the following ORM definition:
Hi Gantulga,
Thanks again.
I have two criteria for fetch the object.
e.g- where username='xxx' and id ='3';
I couldn't understand the sf_format in the routing rule /
comment/:name/:date.:sf_format
How $this-getRoute()-getObject() return an object with form's posts
values?
I don't have
Hi,
i must do a link to a file because it must be downloadable.
I think that there is too way to do it :
1st) directly in my Twig template. But in that case, how to generate the url
to the file that is stored in my Bundle :
myBundle/Resources/public/files/myFile.zip ?
2nd) i can use a new
Hey mate,
Give this a shot, don't have ability to test right now though sorry.
delete VendorBundle:Photo p, bp LEFT JOIN p.bedrooms bp LEFT JOIN
bp.bedroom b where b.id http://b.id = 13
The following queries are valid though
|if user chose to delete related rows as well, then:
DELETE
p,
Hi,
I was wondering if there is a native way to map relationnal fields to
entity's sub'object properties.
For example, with an entity Customer, can I deal with $customer-
address, where address is an instance of Address, and map the
properties of my address directly with columns of my database,
I had the same problem as you, and solved it thanks to Christophe COEVET
response, today.
As he said to me You are requiring the authentication for the url of the
Ajax call done to load the web debug toolbar
In fact, the route _wdt defined in routing_dev.yml is covered by some of
your
Something like this:
if($this-isNew())
{
$this-validatorSchema['password']-setOption(required, true);
}
else
{
$this-validatorSchema['password']-setOption(required, true);
}
Or in one line:
$this-validatorSchema['password']-setOption(required, ($this-isNew());
How I can make required
Hi Everybody,
I develop a project on symfony and I need to associate a module :
botte
to a subdomain adress botte.domain.com, somebody know how can I do
please ?
thank you,
have a good day.
--
If you want to report a vulnerability issue on symfony, please send it to
security at
That was it. Thanks, Christophe.
2011/6/15 Christophe COEVOET s...@notk.org
Le 14/06/2011 16:30, Christophe Bord a écrit :
Hi all,
I was testing the security section from the current documentation but i ran
into some trouble.
http://symfony.com/doc/current/book/security.html
yes same problem here.
I'm on ubuntu too.
I' think it's a problem bound to proprietary file types.
Take a look at /etc/mime.types for mime supported by your system.
For me the problem comes with .doc documents. It says that it is a
application/vnd.ms-office instead of ms-word
This is why
Hi folks
Is there any way to get the form reference object in custom post
validator class?
class myPostValidator extends sfValidatorBase {
public function configure($options = array(), $messages = array())
{
}
protected function doClean($values)
{
// How to get form object here ?
HOURA !
I've fix the problem !
Here is my entire Class
namespace X\ModelBundle\Tests\DataFixtures;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use X\ModelBundle\Entity\BAdresseEnlevement;
use X\ModelBundle\DataFixtures\ORM\Load01PurgeData;
class Load01PurgeDataTest extends
You are using the latest version of Symfony?
Over the last week was some commits with fixes mapping of errors
--
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 the Google
Groups
I use
$builder-add('fecha_creacion', 'birthday',
array('widget' = 'choice',
'pattern'='dd/MM/',
'format'=3));
but you have to fix
symfony/component/form/extension/core/type/datetype.php
in line 96 intead of
$pattern =
Thanks for your response, but, *$this* hasn't method named *getService* .
.PHP Fatal error: Call to undefined method
BOD\ModelBundle\Tests\DataFixtures\Load01PurgeDataTest::getService() in
/home/xxxwww/xxx/src/BOD/ModelBundle/Tests/DataFixtures/ORM/Load01PurgeDataTest.php
Maybe we don't use
Hi Stefan,
thank you very much for your reply.
Have you registered your custom AuthenticationProvider as service? If
yes, with which tag key?
Regards,
Roberto.
On Jun 9, 10:02 am, Stefan Reek stefanr...@gmail.com wrote:
I have been working on a custom authentication manager as well.
To figure
Could you please check the encoding of your source files? Also check the
content-encoding headers sent by your web server :)
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
2011/6/16 Lajos Cseppentő cseppen...@gmail.com
Hello everybody,
My problem is the next:
I am new
Whoa that's it! Thanks, not sure how I missed that - I even looked over the
documentation :S
--
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 the Google
Groups symfony users
Hi,
Yes you can.. just put it in as an argument:
arguments: [@session]
then get the session class in the constructor of the class..
http://symfony.com/doc/current/book/service_container.html
Best regards,
Michael Holm
On Thu, Jun 16, 2011 at 8:33 PM, Flo fpfeif...@gmail.com wrote:
Hi,
Le 17/06/2011 15:29, Benjamin RICHARD a écrit :
Hi,
in my template i do this :
{% stylesheets '@MyBundle/Resources/public/css/main.css'
output='css/main.css' %}
link href={{ asset_url }} type=text/css rel=stylesheet /
{% endstylesheets %}
when i access to the controller in dev mode, it
Thanks for the tip! Yes, this topic is a real headache. I had this type of
issue on centos too (although I don't remember with which filetypes). For
now I'm handling this problem in the insecure way.. using the mime and
extension sent by the browser, and marking the file as insecure in that
case.
On Thu, Jun 16, 2011 at 4:24 AM, waldo2188 waldo2...@gmail.com wrote:
Thanks for your response, but, *$this* hasn't method named *getService* .
Oh, sorry about that. I forgot that I had defined the getService method :/.
From your other response, it looks like you figured it out though, sorry
Any suggestions on how to make this work? As part of my functional tests I
am trying to verify if address_book module, index page contains text
address book (it does). However sfTesterReponse-checkElement checks
entire text of the page. And if I do check('address_book/index', 'address
Hello Everyone,
I am starting down the road of functional testing with Symfony and am
wondering what is considered the best practice for simulating
authentication. My app uses form-based authentication. The cook book
contains a piece on simulating HTTP authentication, but I couldn't
find
I tried creating the client with a fully-qualified url and with the
route only and get the same error.
This is the error I get when running phpunit:
There was 1 error:
1) ARN\UserBundle\Tests\Controller\UserControllerTest::testLoginAction
InvalidArgumentException: The current node list is
Hi devs,
Is there any plugin exists for blog integration in symfony 1.4
application?
I found a plugin sfSimpleBlogPlugin, but it works with Propel with
symfony 1.1.
-Imran
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
Hello,
With Apostrophe there is a blog plugin.
www.apostrophe-now.com
But you might need to use Apostrophe to use the plugin.
Regards,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Sat, Jun 18, 2011 at
39 matches
Mail list logo