Draft: Resolve "Instructions can be linked to a document as remarks by the group"
Closes #174
Merge request reports
Activity
added prio::1 source::customer type::feature workflow::discussing labels
assigned to @hansegucker
added 7 commits
-
6846cec1...5a84fa83 - 6 commits from branch
master
- 721c03d3 - Merge branch 'master' into 174-instructions-can-be-linked-to-a-document-as-remarks-by-the-group
-
6846cec1...5a84fa83 - 6 commits from branch
added 2 commits
added 36 commits
-
721c03d3...564895ee - 35 commits from branch
master
- ca376d51 - Merge branch 'master' into 174-instructions-can-be-linked-to-a-document-as-remarks-by-the-group
-
721c03d3...564895ee - 35 commits from branch
added 150 commits
-
ca376d51...b2e79686 - 149 commits from branch
master
- a55279d4 - Merge branch 'master' into 174-instructions-can-be-linked-to-a-document-as-remarks-by-the-group
-
ca376d51...b2e79686 - 149 commits from branch
added 3 commits
-
72775aa9...0552868d - 2 commits from branch
master
- 282a206f - Merge branch 'master' into 174-instructions-can-be-linked-to-a-document-as-remarks-by-the-group
-
72775aa9...0552868d - 2 commits from branch
added 1 commit
- c0a45082 - Add filter for instructions and redesign instructons list view
removed workflow::discussing label
assigned to @nik and unassigned @hansegucker
requested review from @fph
added 36 commits
-
ea972e84...346bd83a - 35 commits from branch
master
- 6a53d555 - Merge branch 'master' into 174-instructions-can-be-linked-to-a-document-as-remarks-by-the-group
-
ea972e84...346bd83a - 35 commits from branch
@hansegucker open for discussion
- aleksis/apps/alsijil/admin.py 0 → 100644
345 350 homework = models.CharField(verbose_name=_("Homework"), max_length=200, blank=True) 346 351 group_note = models.CharField(verbose_name=_("Group note"), max_length=200, blank=True) 347 352 353 done_instructions = models.ManyToManyField( 354 "Instruction", 355 blank=True, 356 null=True, 357 related_name="documentations", 358 verbose_name=_("Done instructions"), 359 ) 512 525 verbose_name_plural = _("Group role assignments") 513 526 514 527 528 class Instruction(SchoolTermRelatedExtensibleModel): 529 name = models.CharField(max_length=255, verbose_name=_("Name")) 530 icon = models.CharField(max_length=50, blank=True, choices=ICONS, verbose_name=_("Icon")) 531 pdf_file = models.FileField( 532 upload_to="instructions/", 533 verbose_name=_("PDF file"), 534 validators=[FileExtensionValidator(["pdf"])], 535 ) Something to consider:
We have a long-standing feature request in Core to introduce agreements: AlekSIS-Core#157
I think that we should maybe combine this, and therefore move the "instruction" model to the core as "agreement".
Rationale: An agreement is an agreement, independent of the formal procedure of agreement. An agreement can be displayed on registration, or before being allowed to perform a specific action, or it can be given as an instruction. In the end, it is still an agreement that is tracked.
Example of where this overlaps:
- A privacy policy must be displayed when self-registering (e.g. for parents), and it also needs to be given as an instruction when students join the school (because they probably got their accoutns fully provisioned, and they need more personal counseling to understand it than parents)
@hansegucker open for discussion
The main difference seems to be a formal one: Instructions are something students and/or parents are not free to agree or disagree with, they are just instructed about a certain formal procedure or law.
Of course they are. If they don't, they cannot use the features guarded by the instruction, e.g. take part in a chemistry class. There will probably be consequences, like expulsion from school, but ultimately, that is no different from disagreeing with a privacy statement and thus being exempt from using a website.
added 23 commits
-
9ebacf89...40c6c049 - 22 commits from branch
master
- bc8fcb2e - Merge branch 'master' into 174-instructions-can-be-linked-to-a-document-as-remarks-by-the-group
-
9ebacf89...40c6c049 - 22 commits from branch
added 7 commits
-
bc8fcb2e...702a110d - 6 commits from branch
master
- 002fa18c - Merge branch 'master' into 174-instructions-can-be-linked-to-a-document-as-remarks-by-the-group
-
bc8fcb2e...702a110d - 6 commits from branch
added 11 commits
-
002fa18c...1d7b1976 - 10 commits from branch
master
- 16842af6 - Merge branch 'master' into 174-instructions-can-be-linked-to-a-document-as-remarks-by-the-group
-
002fa18c...1d7b1976 - 10 commits from branch
added 63 commits
-
16842af6...60df77b5 - 62 commits from branch
master
- 46670c45 - Merge branch 'master' into 174-instructions-can-be-linked-to-a-document-as-remarks-by-the-group
-
16842af6...60df77b5 - 62 commits from branch
added 1 commit
- 40d9344c - Make instruction frontend compatible with new Vue frontend