• Giorgos Kazelidis's avatar
    - Defined __str__() methods for all the application models · 95a43695
    Giorgos Kazelidis authored
    - Removed the last_login field from the User model, inserted it to the Registry model (a User instance retains now one last_login value for each Platform instance that is associated with it via the corresponding Registry instance) and modified the emission arguments of the user_logged_in signal for logged-in User instances
    - Constrained the email fields of the User/Admin models and user profile edit/recovery forms to a maximum length of 100 characters
    - Constrained the username and password fields of the login form to a minimum length of 8 characters
    - Omitted the redundant ECE-NTUA platform from the test Platform instances that are used to populate the usermerge_platform table of usermergeDB
    - Omitted the username format check {piYYbSSS with SSS <> 000} of the login form for the Novice and Grader platforms as there can exist valid usernames for them that are not in the aforementioned format
    - Enabled the Django admin site, registered all the application models to it and provided instructions on accessing it
    - Defined the User_login_required() and Admin_login_required() decorators and used them for enhanced access control in the majority of views
    - Reduced the database queries made in recover_user_profile() view to enhance its performance
    - Added the production_logs folder to the .gitignore file
    95a43695
Name
Last commit
Last update
..
migrations Loading commit data...
static Loading commit data...
templates Loading commit data...
__init__.py Loading commit data...
admin.py Loading commit data...
apps.py Loading commit data...
auth.py Loading commit data...
backends.py Loading commit data...
decorators.py Loading commit data...
forms.py Loading commit data...
helper.py Loading commit data...
middleware.py Loading commit data...
models.py Loading commit data...
populateDB.py Loading commit data...
tests.py Loading commit data...
urls.py Loading commit data...
validators.py Loading commit data...
views.py Loading commit data...