-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Blur Table for Anonymous Users, Unify Students and Teachers (#…
…51) * feature: Hide groups if configured * feature: Remove teacher entity * fix: Urls * fix: Redirects * fix: Reformat HTML * fix: Undefined issue * fix: Margins and params * fix: PEP8 * feature: Quick access to submission history * feature: Non email-based logins are allowed * fix: Buttons visibility, logout button
- Loading branch information
1 parent
969cd09
commit 5a538b4
Showing
32 changed files
with
1,195 additions
and
1,341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
"TASK_BASE_URL": "http://sovietov.com/kispython", | ||
"FINAL_TASKS": null, | ||
"ENABLE_REGISTRATION": false, | ||
"HIDE_GROUPS": false, | ||
"IMAP_LOGIN": "[email protected]", | ||
"IMAP_PASSWORD": "CHANGE_ME", | ||
"ENABLE_LKS_OAUTH": false, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
webapp/alembic/versions/20240514.22-12.students_as_teachers.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
""" | ||
Revision ID: 0ed9e0bfabcb | ||
Revises: 30b579748cec | ||
Create Date: 2024-05-14 22:12:06.014972 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = '0ed9e0bfabcb' | ||
down_revision = '30b579748cec' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
op.add_column("students", sa.Column("teacher", sa.Boolean, nullable=True)) | ||
op.drop_table("teachers") | ||
|
||
|
||
def downgrade(): | ||
op.drop_column("students", "teacher") | ||
op.create_table( | ||
'teachers', | ||
sa.Column("id", sa.Integer, primary_key=True, nullable=False), | ||
sa.Column("login", sa.String, nullable=False), | ||
sa.Column("password_hash", sa.String, nullable=False), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ | |
</div> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
{% endblock %} |
Oops, something went wrong.