]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Removed FOSUser attributes removed in alpha4
authorNicolas Lœuillet <nicolas@loeuillet.org>
Mon, 28 Nov 2016 11:44:17 +0000 (12:44 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Mon, 28 Nov 2016 11:44:17 +0000 (12:44 +0100)
See https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Upgrade.md\#200-alpha3-to-200-alpha4

16 files changed:
src/Wallabag/CoreBundle/Resources/translations/messages.da.yml
src/Wallabag/CoreBundle/Resources/translations/messages.de.yml
src/Wallabag/CoreBundle/Resources/translations/messages.en.yml
src/Wallabag/CoreBundle/Resources/translations/messages.es.yml
src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml
src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml
src/Wallabag/CoreBundle/Resources/translations/messages.it.yml
src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml
src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml
src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml
src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml
src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml
src/Wallabag/UserBundle/Form/UserType.php
src/Wallabag/UserBundle/Resources/views/Manage/edit.html.twig
src/Wallabag/UserBundle/Resources/views/Manage/index.html.twig
tests/Wallabag/UserBundle/Controller/ManageControllerTest.php

index 8a20cbe08c531ddc9b5df86204f34c858712f58b..c9e219599612e7a63eb0cc78d536fc3c3bfe60ee 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: '????'
         email_label: 'Emailadresse'
         # enabled_label: 'Enabled'
-        # locked_label: 'Locked'
         # last_login_label: 'Last login'
         # twofactor_label: Two factor authentication
         # save: Save
index 68e9c3333e1e7c3d7ec152cb8d3299837baf6476..b84bd9d395f75e4ae8889a801982cdaa281eb1d6 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: '????'
         email_label: 'E-Mail-Adresse'
         enabled_label: 'Aktiviert'
-        locked_label: 'Gesperrt'
         last_login_label: 'Letzter Login'
         twofactor_label: Zwei-Faktor-Authentifizierung
         save: Speichern
index 9e13ad0ee3e73b5fff9f25bb7c20350ac985c9e3..4b92fe97d37d8ec960edd986052a20549c26c27f 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: '????'
         email_label: 'Email'
         enabled_label: 'Enabled'
-        locked_label: 'Locked'
         last_login_label: 'Last login'
         twofactor_label: Two factor authentication
         save: Save
index b8764876f3e45bb14691a5755bf964b0c0887daa..02ce7e19bd13bb35a0be21a18dfa9b47e0764058 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: '????'
         email_label: 'Email'
         # enabled_label: 'Enabled'
-        # locked_label: 'Locked'
         # last_login_label: 'Last login'
         # twofactor_label: Two factor authentication
         # save: Save
index e1bfcade14ba5963e6dd2e1f4fb496a19f529f01..99c0f71b63a04d65a8282c51d89f4904d01b381c 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: '????'
         email_label: 'نشانی ایمیل'
         # enabled_label: 'Enabled'
-        # locked_label: 'Locked'
         # last_login_label: 'Last login'
         # twofactor_label: Two factor authentication
         # save: Save
index 2e4f4f431f93859109c94c6de177d6036f02977f..5579bf1fad0bbbb5b5da7785aa34cdeee8b6e2a9 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: "Mot de passe en clair"
         email_label: "Adresse courriel"
         enabled_label: "Activé"
-        locked_label: "Bloqué"
         last_login_label: "Dernière connexion"
         twofactor_label: "Double authentification"
         save: "Sauvegarder"
index d84f7dbf98a9b2a9358a298be6d23c8beab50765..92ccef687c89d92eb23b66d403d704ffff5705f8 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: '????'
         email_label: 'E-mail'
         # enabled_label: 'Enabled'
-        # locked_label: 'Locked'
         # last_login_label: 'Last login'
         # twofactor_label: Two factor authentication
         # save: Save
index f2215a07251f5404e44bab50363a845041d35664..9ef3b475425bf74d1642dd4edd01f166a2cf9dae 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: 'Senhal en clar'
         email_label: 'Adreça de corrièl'
         enabled_label: 'Actiu'
-        locked_label: 'Varrolhat'
         last_login_label: 'Darrièra connexion'
         twofactor_label: 'Autentificacion doble-factor'
         save: 'Enregistrar'
index 9e6d3565dd0f455547462c9b0691ad9ae76f0656..9e3726a567b6767a0dbe7694ab039084c8845bd5 100644 (file)
@@ -315,7 +315,7 @@ howto:
         toggle_favorite: Oznacz wpis gwiazdką
         toggle_archive: Oznacz wpis jako przeczytany
         delete: Usuń wpis
-        material_title: Skróty dostępne wyłącznie w motywie Material 
+        material_title: Skróty dostępne wyłącznie w motywie Material
         add_link: Dodaj nowy link
         hide_form: Ukryj obecny formularz (wyszukiwania lub nowego linku)
         arrows_navigation: Nawiguj pomiędzy artykułami
@@ -503,7 +503,6 @@ user:
         plain_password_label: 'Jawne hasło'
         email_label: 'Adres email'
         enabled_label: 'Włączony'
-        locked_label: 'Zablokowany'
         last_login_label: 'Ostatnie logowanie'
         twofactor_label: Autoryzacja dwuetapowa
         save: Zapisz
index 3dd6e7d8a293ba024abdeb89e7cb198b446506ac..abe51305f3a5ce2b93fe3d5723c13845c9bbef1b 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: '????'
         email_label: 'E-mail'
         enabled_label: 'Habilitado'
-        locked_label: 'Travado'
         last_login_label: 'Último login'
         twofactor_label: 'Autenticação de dois passos'
         save: 'Salvar'
index 0386c0b6e84f1ec44fa94ccb225cafc274d0e388..88780b542c398568e71d7a01995cc80a8195a86d 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: '????'
         email_label: 'E-mail'
         # enabled_label: 'Enabled'
-        # locked_label: 'Locked'
         # last_login_label: 'Last login'
         # twofactor_label: Two factor authentication
         # save: Save
index 74601f4e17cbb889a849f7d711c9b7faf673f44a..db0a9bbfe3e5d9308bb4bbaeda1bffeb52d2d3d8 100644 (file)
@@ -503,7 +503,6 @@ user:
         plain_password_label: '????'
         email_label: 'E-posta'
         # enabled_label: 'Enabled'
-        # locked_label: 'Locked'
         # last_login_label: 'Last login'
         # twofactor_label: Two factor authentication
         # save: Save
index cfa677938cadf9f5b266848c19f1a8ea1ea296ce..d8cdbaf95429ba9a74fffb79682fe288da4d1ea7 100644 (file)
@@ -35,10 +35,6 @@ class UserType extends AbstractType
                 'required' => false,
                 'label' => 'user.form.enabled_label',
             ])
-            ->add('locked', CheckboxType::class, [
-                'required' => false,
-                'label' => 'user.form.locked_label',
-            ])
             ->add('twoFactorAuthentication', CheckboxType::class, [
                 'required' => false,
                 'label' => 'user.form.twofactor_label',
index 67843f20182fd5052c35fbcfc173cdbdaa521936..3ffd15f5d4b015b14e59e32034792621fff463a7 100644 (file)
                                     </div>
                                 </div>
 
-                                <div class="row">
-                                    <div class="input-field col s12">
-                                        {{ form_widget(edit_form.locked) }}
-                                        {{ form_label(edit_form.locked) }}
-                                        {{ form_errors(edit_form.locked) }}
-                                    </div>
-                                </div>
-
                                 {% if twofactor_auth %}
                                 <div class="row">
                                     <div class="input-field col s12">
index 996bdb1a02634cea43316e3a9cf375bca962a833..daba29e43ab54171d58b1c56654d074a45a30c7d 100644 (file)
@@ -17,7 +17,6 @@
                                     <th>{{ 'user.form.username_label'|trans }}</th>
                                     <th>{{ 'user.form.email_label'|trans }}</th>
                                     <th>{{ 'user.form.last_login_label'|trans }}</th>
-                                    <th>{{ 'user.form.locked_label'|trans }}</th>
                                     <th>{{ 'user.list.actions'|trans }}</th>
                                 </tr>
                             </thead>
@@ -27,7 +26,6 @@
                                     <td>{{ user.username }}</td>
                                     <td>{{ user.email }}</td>
                                     <td>{% if user.lastLogin %}{{ user.lastLogin|date('Y-m-d H:i:s') }}{% endif %}</td>
-                                    <td>{% if user.locked %}{{ 'user.list.yes'|trans }}{% else %}{{ 'user.list.no'|trans }}{% endif %}</td>
                                     <td>
                                         <a href="{{ path('user_edit', { 'id': user.id }) }}">{{ 'user.list.edit_action'|trans }}</a>
                                     </td>
index 243a4459393e1db6a411a1da0115a56c4f90ca90..4faddfc4da7a6e81616a285e1dc3d882f3c61161 100644 (file)
@@ -49,7 +49,6 @@ class ManageControllerTest extends WallabagCoreTestCase
             'user[username]' => 'test_user',
             'user[email]' => 'test@test.io',
             'user[enabled]' => true,
-            'user[locked]' => false,
         ));
 
         $client->submit($form);