-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nowy system obsługi prac dyplomowych (#818)
Dostarcza nową implementację systemu do obsługi prac dyplomowych. Funkcjonalnie odpowiada ona aktualnie istniejącej w systemie zapisów (chociaż nieznacznie zmienia modele), oprócz tego, że dodaje możliwość drukowania formularzy, które studenci mają dostarczać do dziekanatu. Różnica między implementacjami polega na wyborze technologii. Tamta implementacja składa się z elementu back-endowego opartego na Django-Rest-Framework oraz z front-endu opartego na React. Ta jest bardziej minimalistyczna i używa wbudowanych w Django mechanizmów (dzięki czemu zamyka się w 1/4 ilości kodu).
- Loading branch information
Showing
111 changed files
with
2,011 additions
and
8,447 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
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
import django.dispatch | ||
|
||
student_pulled = django.dispatch.Signal(providing_args=["instance", "user"]) | ||
student_not_pulled = django.dispatch.Signal(providing_args=["instance", "user", "reason"]) | ||
teacher_changed = django.dispatch.Signal(providing_args=["instance", "teacher"]) | ||
student_not_pulled = django.dispatch.Signal( | ||
providing_args=["instance", "user", "reason"]) | ||
teacher_changed = django.dispatch.Signal( | ||
providing_args=["instance", "teacher"]) | ||
thesis_voting_activated = django.dispatch.Signal(providing_args=["instance"]) |
18 changes: 18 additions & 0 deletions
18
...ations/migrations/0006_notificationpreferencesteacher_thesis_voting_has_been_activated.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,18 @@ | ||
# Generated by Django 2.1.13 on 2020-02-27 02:24 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('notifications', '0005_auto_20190929_1436'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='notificationpreferencesteacher', | ||
name='thesis_voting_has_been_activated', | ||
field=models.BooleanField(default=True, verbose_name='Powiadomienie o głosowaniu na pracę dyplomową (dotyczy Komisji Prac Dyplomowych)'), | ||
), | ||
] |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
export default { | ||
bundles: { | ||
"main": [ | ||
"theses-main.tsx", | ||
], | ||
}, | ||
bundles: { | ||
"theses-widget": ["theses-widget.js"] | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.