diff options
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/EntryType.php | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php | 1 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/NewUserType.php | 4 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/UserInformationType.php | 2 |
5 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,7 @@ | |||
1 | [![Build Status](https://travis-ci.org/wallabag/wallabag.svg?branch=v2)](https://travis-ci.org/wallabag/wallabag) | ||
2 | [![Code Coverage](https://scrutinizer-ci.com/g/wallabag/wallabag/badges/coverage.png?b=v2)](https://scrutinizer-ci.com/g/wallabag/wallabag/?branch=v2) | ||
3 | [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/wallabag/wallabag/badges/quality-score.png?b=v2)](https://scrutinizer-ci.com/g/wallabag/wallabag/?branch=v2) | ||
4 | |||
1 | # What is wallabag ? | 5 | # What is wallabag ? |
2 | wallabag is a self hostable application allowing you to not miss any content anymore. | 6 | wallabag is a self hostable application allowing you to not miss any content anymore. |
3 | Click, save, read it when you can. It extracts content so that you can read it when you have time. | 7 | Click, save, read it when you can. It extracts content so that you can read it when you have time. |
diff --git a/src/Wallabag/CoreBundle/Form/Type/EntryType.php b/src/Wallabag/CoreBundle/Form/Type/EntryType.php index 839bc25c..0532bf10 100644 --- a/src/Wallabag/CoreBundle/Form/Type/EntryType.php +++ b/src/Wallabag/CoreBundle/Form/Type/EntryType.php | |||
@@ -11,7 +11,7 @@ class EntryType extends AbstractType | |||
11 | public function buildForm(FormBuilderInterface $builder, array $options) | 11 | public function buildForm(FormBuilderInterface $builder, array $options) |
12 | { | 12 | { |
13 | $builder | 13 | $builder |
14 | ->add('url', 'url') | 14 | ->add('url', 'url', array('required' => true)) |
15 | ->add('save', 'submit') | 15 | ->add('save', 'submit') |
16 | ; | 16 | ; |
17 | } | 17 | } |
diff --git a/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php b/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php index 2ee24b8f..9e95eb47 100644 --- a/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php +++ b/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php | |||
@@ -21,6 +21,7 @@ class ForgotPasswordType extends AbstractType | |||
21 | { | 21 | { |
22 | $builder | 22 | $builder |
23 | ->add('email', 'email', array( | 23 | ->add('email', 'email', array( |
24 | 'required' => true, | ||
24 | 'constraints' => array( | 25 | 'constraints' => array( |
25 | new Constraints\Email(), | 26 | new Constraints\Email(), |
26 | new Constraints\NotBlank(), | 27 | new Constraints\NotBlank(), |
diff --git a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php index da30ccd9..a12fff2b 100644 --- a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php +++ b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php | |||
@@ -12,7 +12,7 @@ class NewUserType extends AbstractType | |||
12 | public function buildForm(FormBuilderInterface $builder, array $options) | 12 | public function buildForm(FormBuilderInterface $builder, array $options) |
13 | { | 13 | { |
14 | $builder | 14 | $builder |
15 | ->add('username', 'text') | 15 | ->add('username', 'text', array('required' => true)) |
16 | ->add('password', 'password', array( | 16 | ->add('password', 'password', array( |
17 | 'constraints' => array( | 17 | 'constraints' => array( |
18 | new Constraints\Length(array( | 18 | new Constraints\Length(array( |
@@ -22,7 +22,7 @@ class NewUserType extends AbstractType | |||
22 | new Constraints\NotBlank(), | 22 | new Constraints\NotBlank(), |
23 | ), | 23 | ), |
24 | )) | 24 | )) |
25 | ->add('email', 'text') | 25 | ->add('email', 'email') |
26 | ->add('save', 'submit') | 26 | ->add('save', 'submit') |
27 | ; | 27 | ; |
28 | } | 28 | } |
diff --git a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php index c088fdd0..f0367d14 100644 --- a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php +++ b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php | |||
@@ -12,7 +12,7 @@ class UserInformationType extends AbstractType | |||
12 | { | 12 | { |
13 | $builder | 13 | $builder |
14 | ->add('name', 'text') | 14 | ->add('name', 'text') |
15 | ->add('email', 'text') | 15 | ->add('email', 'email') |
16 | ->add('save', 'submit') | 16 | ->add('save', 'submit') |
17 | ; | 17 | ; |
18 | } | 18 | } |