-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project logic #101
Merged
Merged
Project logic #101
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
d683231
fix: merge conflicts
francisvaut d260cd5
fix: creating project
BramMeir bde63b8
fix: merge conflicts
francisvaut 6584480
chore: added course context to project serializer
EwoutV cbb5cb5
chore: deadline project not in past
francisvaut 4e5ef09
chore: deadline project before start_date
francisvaut f79616b
chore: project submission status
francisvaut 90147f3
merge
francisvaut 6a30431
fix: merge conflicts
francisvaut d9e8917
chore: enhance submission status
francisvaut 6dc562a
fix: merge conflicts
francisvaut 6b9408b
chore: locked groups
francisvaut 9364a34
chore: extra test for locked groups
francisvaut 0db0959
fix: linting errors
francisvaut fbdec72
fix: conflicting migrations
francisvaut 17d74a9
Revert "fix: linting errors"
francisvaut 65094ab
fix: should fix server tests problem
francisvaut add8e53
build: migrate when testing
francisvaut 835c3d5
fix: merge makemigrations
francisvaut bbf3847
Merge branch 'development' into project-logic
francisvaut bb9029c
fix: conflicting migrations from development
francisvaut 892aeea
chore: automatically create groups when creating project
francisvaut ddc7159
fix: spelling and function name
francisvaut 44516cf
fix: extra group in test
francisvaut File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
PUID=1000 | ||
PGID=1000 | ||
TZ="Europe/Brussels" | ||
|
||
DATADIR="./data" | ||
|
||
BACKEND_DIR="./backend" | ||
|
||
FRONTEND_DIR="./frontend" | ||
|
||
REDIS_IP="192.168.90.10" | ||
REDIS_PORT=6379 | ||
REDIS_PASSWORD="oqOsNX1PXGOX5soJtKkw" |
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,6 @@ | ||
.tool-versions | ||
.env | ||
.venv | ||
data/* | ||
data/nginx/ssl/* | ||
data/postres* | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# Ignore unused imports | ||
ignore = F401 | ||
|
||
max-line-length = 120 | ||
max-line-length = 125 | ||
|
||
max-complexity = 10 | ||
|
||
|
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,13 @@ | ||
FROM python:3.11.4 | ||
|
||
RUN apt update && apt install -y gettext libgettextpo-dev && pip install --upgrade pip | ||
|
||
WORKDIR /code | ||
|
||
ENV PYTHONDONTWRITEBYTECODE=1 | ||
ENV PYTHONUNBUFFERED=1 | ||
|
||
COPY requirements.txt /code/ | ||
RUN pip install -r requirements.txt | ||
|
||
COPY . /code/ |
18 changes: 18 additions & 0 deletions
18
backend/api/migrations/0006_project_locked_groups_alter_project_start_date_and_more.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 5.0.2 on 2024-03-12 20:25 | ||
|
||
import django.utils.timezone | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("api", "0005_alter_project_max_score"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="project", | ||
name="locked_groups", | ||
field=models.BooleanField(default=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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Generated by Django 5.0.2 on 2024-03-13 06:39 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("api", "0006_project_locked_groups_alter_project_start_date_and_more"), | ||
("api", "0006_project_score_visible_alter_project_start_date_and_more"), | ||
] | ||
|
||
operations = [] |
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you make this even longer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
last time i promise