# change mirror to ubuntu.osuosl.org first
sudo apt-get update
sudo apt-get install build-essential libreadline-dev libssl-dev zlib1g-dev libxml2-dev libxslt-dev
| Esto es para gestión, para que lo analicen. | |
| TSF - SharePoint - Herramienta de Gestión | |
| //-------------------------------------- | |
| Para mejorar tiempos de programación (y en general del proceso de desarrollo general): | |
| - Al iniciar proyectos nuevos, realizar un analisis de requerimientos, basados en el documento de análisis y los bocetos de diseño. El documento de análisis deberá cubrir todos los requerimientos del sprint actual y minimizar las ambiguedades de modo de no comenzar a programar antes de tiempo, lo cual todos sabemos produce deterioro en el sistema en etapas tempranas. | |
| - El documento de requerimientos deberá estar actualizado, cualquier cambio en el modelo deberá estar expresado en el código y viceversa. A esto idealmente lo deberá hacer el equipo de producción del proyecto. |
| ->add('publishedAt', 'datetime', [ | |
| 'datetimepicker' => true, | |
| 'widget' => 'single_text' | |
| ]) |
| <?php | |
| namespace Replagal\Bundle\SectionBundle\Tests\Controller; | |
| use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | |
| /** | |
| * Class RESTControllerTest | |
| * @package Replagal\Bundle\SectionBundle\Tests\Controller | |
| */ |
| Convenciones sobre traducciones en symfony2. | |
| Se utilizarán claves para crear mensajes traducibles, no se admitirán frases. | |
| Las claves deben escribirse en ingles y utilizando notación underscore. | |
| Para proyectos se utilizará el dominio por defecto (messages y validators). | |
| En bundles reutilizabes se utilizará el underscore del bundle en cuestión. | |
| Por ejemplo para WebFactoryUserBundle utilizamos web_factory_user. | |
| Se utilizará el formato yml dada su estructura de facil lectura y organización. |
| #!/bin/bash | |
| # Put this file at: .git/hooks/post-checkout | |
| # and make it executable | |
| # You can install it system wide too, see http://stackoverflow.com/a/2293578/685587 | |
| PREV_COMMIT=$1 | |
| POST_COMMIT=$2 | |
| GIT_DIR=$(git rev-parse --git-dir) |
| string | |
| defaultOperator="like", operators={"eq", "neq", "like", "nlike", "rlike", "llike", "isNull", "isNotNull"} | |
| number | |
| defaultOperator="eq", operators={"eq", "neq", "lt", "lte", "gt", "gte", "btw", "btwe", "isNull", "isNotNull"} | |
| boolean |
| assetic: | |
| filters: | |
| cssrewrite: | |
| apply_to: "\.css$" | |
| less: | |
| node: %node% | |
| node_paths: %node_paths% |
| {# se pone _ luego el id del campo y por ultimo label, widget, errors o row #} | |
| {% block _dinamico_bundle_contactbundle_message_email_errors %} | |
| {% endblock %} | |
| As of Symfony 2.1 (it may work as well for 2.0 but not sure) to apply theme for collection you do this way: | |
| Lets say we have a collection of products (we have multiple Product entities) |
I have managed to install this… and make it work. I implemented it for Facebook and Google, but you can extend it. My solution it is mostly as described in #116, with a bit of more code presented. The key aspects that lack in the #116 presentation (IMO) are:
oauth_user_provider in the security.yml with your custom created serviceHere are the steps:
routing.yml I have added all the routes for both bundles.config.yml mostly as it is presented in the HWIOAuthBundle.security.yml mostly as it is presented in the HWIOAuthBundle (though my routes are using /login pattern, not /connect). Also, the oauth_user_provider is set for my custom service.