Plugg update#527
Open
georgelgeback wants to merge 27 commits intomainfrom
Open
Conversation
…rred to as associated_img. Not perfect though
…tching to a many-many relation
… calls to backend. (e.g. program now "owns" specialisations, not the other way around)
…ting after file write problem. Allow None type duplicate course codes.
…rents are deleted. Better test separation
…ted to previous course_id obligatory refactor.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Essentially done once copilot changes are considered. About 1500 LOC are just tests, so this is actually only a 2500 LOC PR :). We'll probably need to create some directories in the prod and stage environments(?), course documents and associated images needed somewhere new to go.
Programs own some number of program years, and connect to some number of specialisations (teknisk fysik)
Program years are specific years in the obligatory segment of a specific program (årskurs 1)
Specialisations can be shared between programs (bildanalys)
Courses can be shared between different programs and specialisations (lineär algebra)
Course documents can be divided into a bunch of categories and such, but belong only to one course
We also now send error codes (like 404) instead of just error messages, as a response when something goes wrong.