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
===============================================================================
This commit is contained in:
@@ -663,13 +663,15 @@ table td.user_without_privilege {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#code_of_conduct_list li {
|
||||
margin-top:5px;
|
||||
margin:5px 0 15px 25px;
|
||||
}
|
||||
ol.nested_sublist{
|
||||
.nested_sublist {
|
||||
margin: 5px 0 10px 25px;
|
||||
font-size:80%;
|
||||
}
|
||||
|
||||
.nested_sublist li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* ASCII art and code */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user