From cafccb917e152cce1532a836a758ae3225473b8d Mon Sep 17 00:00:00 2001 From: Eduardo Santos Date: Tue, 8 Apr 2014 13:01:36 -0300 Subject: [PATCH] Correçõs na configuração e remoção de limite de tamanho dos campos --- app/config/config.yml | 19 ++++++++++++++++++- app/config/config_dev.yml | 18 ------------------ src/Cacic/CommonBundle/Resources/config/validation.yml | 14 -------------- 3 files changed, 18 insertions(+), 33 deletions(-) diff --git a/app/config/config.yml b/app/config/config.yml index 5cbe3e1..aadcfb8 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -140,6 +140,23 @@ fm_elfinder: driver: elfinder.driver.filesystem path: downloads +jms_translation: + configs: + app: + dirs: [%kernel.root_dir%, %kernel.root_dir%/../app] + output_dir: %kernel.root_dir%/Resources/translations + ignored_domains: [routes] + excluded_names: [*TestCase.php, *Test.php] + excluded_dirs: [cache, data, logs] + #extractors: [alias_of_the_extractor] + src: + dirs: [%kernel.root_dir%, %kernel.root_dir%/../src] + output_dir: %kernel.root_dir%/../src/Cacic/CommonBundle/Resources/translations + ignored_domains: [routes] + excluded_names: [*TestCase.php, *Test.php] + excluded_dirs: [Common, Entity, Form] + #extractors: [alias_of_the_extractor] + services: twig.text_extension: class: Twig_Extensions_Extension_Text @@ -150,4 +167,4 @@ services: cacic_demo.command.demo_command: class: Cacic\CommonBundle\Command\DemoCommand tags: - - { name: console.command } + - { name: console.command } \ No newline at end of file diff --git a/app/config/config_dev.yml b/app/config/config_dev.yml index 7862ddd..8dbf07b 100644 --- a/app/config/config_dev.yml +++ b/app/config/config_dev.yml @@ -24,21 +24,3 @@ assetic: #swiftmailer: # delivery_address: me@example.com - - -jms_translation: - configs: - app: - dirs: [%kernel.root_dir%, %kernel.root_dir%/../app] - output_dir: %kernel.root_dir%/Resources/translations - ignored_domains: [routes] - excluded_names: [*TestCase.php, *Test.php] - excluded_dirs: [cache, data, logs] - #extractors: [alias_of_the_extractor] - src: - dirs: [%kernel.root_dir%, %kernel.root_dir%/../src] - output_dir: %kernel.root_dir%/../src/Cacic/CommonBundle/Resources/translations - ignored_domains: [routes] - excluded_names: [*TestCase.php, *Test.php] - excluded_dirs: [Common, Entity, Form] - #extractors: [alias_of_the_extractor] \ No newline at end of file diff --git a/src/Cacic/CommonBundle/Resources/config/validation.yml b/src/Cacic/CommonBundle/Resources/config/validation.yml index 4cff108..4b54394 100644 --- a/src/Cacic/CommonBundle/Resources/config/validation.yml +++ b/src/Cacic/CommonBundle/Resources/config/validation.yml @@ -79,44 +79,30 @@ Cacic\CommonBundle\Entity\Rede: properties: nmRede: - NotNull: ~ - - Length: - max: 30 teMascaraRede: - NotBlank: ~ - Length: max: 20 teServCacic: - NotBlank: ~ - - Length: - max: 20 teServCacic: - NotBlank: ~ teServUpdates: - NotBlank: ~ - - Length: - max: 20 teServUpdates: - NotBlank: ~ nuPortaServUpdates: - NotBlank: ~ - - Length: - max: 5 nuLimiteFtp: - NotBlank: ~ - Length: max: 5 nmUsuarioLoginServUpdates: - NotBlank: ~ - - Length: - max: 20 nmUsuarioLoginServUpdatesGerente: - NotBlank: ~ - - Length: - max: 20 tePathServUpdates: - NotBlank: ~ - - Length: - max: 20 nuTelefone1: - Length: max: 11 -- libgit2 0.21.2