diff options
author | tilly-Q <nattilypigeonfowl@gmail.com> | 2013-09-08 18:26:37 -0400 |
---|---|---|
committer | tilly-Q <nattilypigeonfowl@gmail.com> | 2013-09-08 18:26:37 -0400 |
commit | 25625107b6c7805b474ad7da976171991b259e58 (patch) | |
tree | d1c408eb9e3eb77593a13193d8fcb3fc5b6c4380 /mediagoblin/tests/test_persona.py | |
parent | 8e91df87349b91611a4dfcf3f2640cb540307144 (diff) | |
download | mediagoblin-25625107b6c7805b474ad7da976171991b259e58.tar.lz mediagoblin-25625107b6c7805b474ad7da976171991b259e58.tar.xz mediagoblin-25625107b6c7805b474ad7da976171991b259e58.zip |
This was a quick update, I mostly worked on the transition from using the old
User table columns (is_admin, status, email_verified) and making sure that
their functionality is instead completely handled by privileges. I also worked
on the meta pages which I hope to finish soon. I set up migrations to ensure
the default privileges are given to users that should have them. Lastly, I made
it so that banned users can log out.
===============================================================================
Made Sure the Vestigial Columns of the User Table were not being Used
===============================================================================
--\ mediagoblin/auth/views.py
--\ mediagoblin/db/models.py
--\ mediagoblin/templates/mediagoblin/base.html
--\ mediagoblin/templates/mediagoblin/moderation/user.html
--\ mediagoblin/templates/mediagoblin/user_pages/collection_lis$
--\ mediagoblin/templates/mediagoblin/user_pages/user.html
--\ mediagoblin/tests/test_auth.py
--\ mediagoblin/tests/test_persona.py
--\ mediagoblin/user_pages/views.py
===============================================================================
Wrote the Migrations to Set up the Default Privileges
===============================================================================
--\ mediagoblin/db/migrations.py
--\ mediagoblin/gmg_commands/users.py
===============================================================================
Work on the Meta Pages
===============================================================================
--\ mediagoblin/meta/routing.py
--\ mediagoblin/meta/views.py
--\ mediagoblin/static/css/base.css
--\ mediagoblin/templates/mediagoblin/meta/terms_of_service.html
===============================================================================
Small Changes
===============================================================================
--\ mediagoblin/templates/mediagoblin/base.html
--| Benevolently made it so that banned users can log out
===============================================================================
X X X X X X X X X X X X X X X X X X X X
===============================================================================
Diffstat (limited to 'mediagoblin/tests/test_persona.py')
-rw-r--r-- | mediagoblin/tests/test_persona.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mediagoblin/tests/test_persona.py b/mediagoblin/tests/test_persona.py index 919877c9..3e9bf22f 100644 --- a/mediagoblin/tests/test_persona.py +++ b/mediagoblin/tests/test_persona.py @@ -112,8 +112,6 @@ class TestPersonaPlugin(object): # Get user and detach from session test_user = mg_globals.database.User.query.filter_by( username=u'chris').first() - test_user.email_verified = True - test_user.status = u'active' test_user.save() test_user = mg_globals.database.User.query.filter_by( username=u'chris').first() |