-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into robin/redesign-imagecard
- Loading branch information
Showing
54 changed files
with
23,170 additions
and
17,883 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 +1 @@ | ||
* @emilte @evgiz | ||
* @emilte @evgiz @Mathias-a |
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 |
---|---|---|
|
@@ -6,3 +6,5 @@ | |
.env | ||
**/.history | ||
*.sqlite3 | ||
Dockerfile | ||
.dockerignore |
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
Large diffs are not rendered by default.
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
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
52 changes: 52 additions & 0 deletions
52
backend/samfundet/migrations/0039_remove_recruitmentadmission_interview_location_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,52 @@ | ||
# Generated by Django 4.2.3 on 2023-10-07 22:02 | ||
|
||
from django.conf import settings | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('samfundet', '0038_alter_recruitmentadmission_interview_location_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='recruitmentadmission', | ||
name='interview_location', | ||
), | ||
migrations.RemoveField( | ||
model_name='recruitmentadmission', | ||
name='interview_time', | ||
), | ||
migrations.RemoveField( | ||
model_name='recruitmentadmission', | ||
name='room', | ||
), | ||
migrations.AddField( | ||
model_name='recruitmentposition', | ||
name='shared_interview_positions', | ||
field=models.ManyToManyField(blank=True, help_text='Positions with shared interview', to='samfundet.recruitmentposition'), | ||
), | ||
migrations.AlterField( | ||
model_name='recruitmentposition', | ||
name='interviewers', | ||
field=models.ManyToManyField(blank=True, help_text='Interviewers for the position', related_name='interviewers', to=settings.AUTH_USER_MODEL), | ||
), | ||
migrations.CreateModel( | ||
name='Interview', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('interview_time', models.DateTimeField(blank=True, help_text='The time of the interview', null=True)), | ||
('interview_location', models.CharField(blank=True, help_text='The location of the interview', max_length=255, null=True)), | ||
('notes', models.TextField(blank=True, help_text='Notes for the interview', null=True)), | ||
('room', models.ForeignKey(blank=True, help_text='Room where the interview is held', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='interviews', to='samfundet.interviewroom')), | ||
], | ||
), | ||
migrations.AddField( | ||
model_name='recruitmentadmission', | ||
name='interview', | ||
field=models.ForeignKey(blank=True, help_text='The interview for the admission', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='admissions', to='samfundet.interview'), | ||
), | ||
] |
102 changes: 102 additions & 0 deletions
102
backend/samfundet/migrations/0040_alter_notification_options_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,102 @@ | ||
# Generated by Django 4.2.6 on 2023-10-14 04:06 | ||
|
||
from django.conf import settings | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import django.utils.timezone | ||
import jsonfield.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('contenttypes', '0002_remove_content_type_name'), | ||
('samfundet', '0039_remove_recruitmentadmission_interview_location_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='notification', | ||
options={'ordering': ('-timestamp',), 'verbose_name': 'Notification', 'verbose_name_plural': 'Notifications'}, | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='action_object_content_type', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='notify_action_object', to='contenttypes.contenttype', verbose_name='action object content type'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='action_object_object_id', | ||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='action object object id'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='actor_content_type', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='notify_actor', to='contenttypes.contenttype', verbose_name='actor content type'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='actor_object_id', | ||
field=models.CharField(max_length=255, verbose_name='actor object id'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='data', | ||
field=jsonfield.fields.JSONField(blank=True, null=True, verbose_name='data'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='deleted', | ||
field=models.BooleanField(db_index=True, default=False, verbose_name='deleted'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='description', | ||
field=models.TextField(blank=True, null=True, verbose_name='description'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='emailed', | ||
field=models.BooleanField(db_index=True, default=False, verbose_name='emailed'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='level', | ||
field=models.CharField(choices=[('success', 'success'), ('info', 'info'), ('warning', 'warning'), ('error', 'error')], default='info', max_length=20, verbose_name='level'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='public', | ||
field=models.BooleanField(db_index=True, default=True, verbose_name='public'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='recipient', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='notifications', to=settings.AUTH_USER_MODEL, verbose_name='recipient'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='target_content_type', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='notify_target', to='contenttypes.contenttype', verbose_name='target content type'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='target_object_id', | ||
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='target object id'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='timestamp', | ||
field=models.DateTimeField(db_index=True, default=django.utils.timezone.now, verbose_name='timestamp'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='unread', | ||
field=models.BooleanField(db_index=True, default=True, verbose_name='unread'), | ||
), | ||
migrations.AlterField( | ||
model_name='notification', | ||
name='verb', | ||
field=models.CharField(max_length=255, verbose_name='verb'), | ||
), | ||
] |
Oops, something went wrong.