-
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 pull request #338 from sparcs-kaist/develop
Release v2.0.0
- Loading branch information
Showing
48 changed files
with
1,895 additions
and
311 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 3.2.9 on 2022-02-26 11:52 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0032_board_is_anonymous'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='board', | ||
name='group_id', | ||
field=models.IntegerField(default=1, verbose_name='그룹 ID'), | ||
), | ||
] |
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 3.2 on 2022-03-09 14:35 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0033_board_group_id'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='board', | ||
name='banner_image', | ||
field=models.ImageField(blank=True, default=None, null=True, upload_to='board/banner_images', verbose_name='게시판 배너 이미지'), | ||
), | ||
] |
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,23 @@ | ||
# Generated by Django 3.2 on 2022-03-09 14:42 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0034_board_banner_image'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='board', | ||
name='en_banner_description', | ||
field=models.TextField(blank=True, default=None, null=True, verbose_name='게시판 배너에 삽입되는 영문 소개'), | ||
), | ||
migrations.AddField( | ||
model_name='board', | ||
name='ko_banner_description', | ||
field=models.TextField(blank=True, default=None, null=True, verbose_name='게시판 배너에 삽입되는 국문 소개'), | ||
), | ||
] |
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 3.2 on 2022-03-09 14:54 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0035_board_banner_description'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='board', | ||
name='banner_image', | ||
field=models.ImageField(default='default_banner.png', upload_to='board_banner_images', verbose_name='게시판 배너 이미지'), | ||
), | ||
] |
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 3.2.9 on 2022-03-14 15:50 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0036_alter_board_banner_image'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='board', | ||
name='banner_url', | ||
field=models.TextField(blank=True, default=None, null=True, verbose_name='게시판 배너를 클릭 시에 이동하는 링크'), | ||
), | ||
] |
44 changes: 44 additions & 0 deletions
44
apps/core/migrations/0038_rename_is_anonymous_to_name_type.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,44 @@ | ||
# Generated by Django 3.2.9 on 2022-04-04 13:49 | ||
|
||
import apps.core.models.board | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0037_board_banner_url'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='article', | ||
old_name='is_anonymous', | ||
new_name='name_type', | ||
), | ||
migrations.AlterField( | ||
model_name='article', | ||
name='name_type', | ||
field=models.SmallIntegerField(default=apps.core.models.board.BoardNameType['REGULAR'], verbose_name='익명 혹은 실명 여부'), | ||
), | ||
migrations.RenameField( | ||
model_name='board', | ||
old_name='is_anonymous', | ||
new_name='name_type', | ||
), | ||
migrations.AlterField( | ||
model_name='board', | ||
name='name_type', | ||
field=models.SmallIntegerField(db_index=True, default=apps.core.models.board.BoardNameType['REGULAR'], help_text='게시판의 글과 댓글들이 익명 혹은 실명이도록 합니다.', verbose_name='익명/실명 게시판'), | ||
), | ||
migrations.RenameField( | ||
model_name='comment', | ||
old_name='is_anonymous', | ||
new_name='name_type', | ||
), | ||
migrations.AlterField( | ||
model_name='comment', | ||
name='name_type', | ||
field=models.SmallIntegerField(default=apps.core.models.board.BoardNameType['REGULAR'], verbose_name='익명 혹은 실명'), | ||
), | ||
] |
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,43 @@ | ||
# Generated by Django 3.2.9 on 2022-05-05 16:34 | ||
|
||
import apps.core.models.communication_article | ||
import datetime | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
from django.utils.timezone import utc | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0038_rename_is_anonymous_to_name_type'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='board', | ||
name='is_school_communication', | ||
field=models.BooleanField(db_index=True, default=False, help_text='학교 소통 게시판 글임을 표시', verbose_name='학교와의 소통 게시판'), | ||
), | ||
migrations.CreateModel( | ||
name='CommunicationArticle', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('created_at', models.DateTimeField(db_index=True, default=django.utils.timezone.now, verbose_name='생성 시간')), | ||
('updated_at', models.DateTimeField(auto_now=True, db_index=True, verbose_name='수정 시간')), | ||
('deleted_at', models.DateTimeField(db_index=True, default=datetime.datetime(1, 1, 1, 0, 0, tzinfo=utc), verbose_name='삭제 시간')), | ||
('response_deadline', models.DateTimeField(default=datetime.datetime(1, 1, 1, 0, 0, tzinfo=utc), verbose_name='답변 요청 기한')), | ||
('confirmed_by_school_at', models.DateTimeField(default=datetime.datetime(1, 1, 1, 0, 0, tzinfo=utc), verbose_name='학교측 문의 확인 시각')), | ||
('answered_at', models.DateTimeField(default=datetime.datetime(1, 1, 1, 0, 0, tzinfo=utc), verbose_name='학교측 답변을 받은 시각')), | ||
('school_response_status', models.SmallIntegerField(default=apps.core.models.communication_article.SchoolResponseStatus['BEFORE_UPVOTE_THRESHOLD'], verbose_name='답변 진행 상황')), | ||
('article', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='communication_article', to='core.article', verbose_name='게시물')), | ||
], | ||
options={ | ||
'verbose_name': '소통 게시물', | ||
'verbose_name_plural': '소통 게시물 목록', | ||
'ordering': ('-created_at',), | ||
'abstract': False, | ||
}, | ||
), | ||
] |
28 changes: 28 additions & 0 deletions
28
apps/core/migrations/0040_alter_communication_article_field.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,28 @@ | ||
# Generated by Django 3.2.9 on 2022-05-05 17:37 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0039_add_communication_article'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='communicationarticle', | ||
name='id', | ||
), | ||
migrations.AlterField( | ||
model_name='board', | ||
name='access_mask', | ||
field=models.IntegerField(default=222, verbose_name='접근 권한 값'), | ||
), | ||
migrations.AlterField( | ||
model_name='communicationarticle', | ||
name='article', | ||
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='communication_article', serialize=False, to='core.article', verbose_name='게시물'), | ||
), | ||
] |
17 changes: 17 additions & 0 deletions
17
apps/core/migrations/0041_remove_communicationarticle_confirmed_by_school_at.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,17 @@ | ||
# Generated by Django 3.2.9 on 2022-05-12 16:15 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0040_alter_communication_article_field'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='communicationarticle', | ||
name='confirmed_by_school_at', | ||
), | ||
] |
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,27 @@ | ||
# Generated by Django 3.2.9 on 2022-05-26 12:53 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0041_remove_communicationarticle_confirmed_by_school_at'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='board', | ||
name='access_mask', | ||
), | ||
migrations.AddField( | ||
model_name='board', | ||
name='read_access_mask', | ||
field=models.SmallIntegerField(default=222, verbose_name='읽기 권한'), | ||
), | ||
migrations.AddField( | ||
model_name='board', | ||
name='write_access_mask', | ||
field=models.SmallIntegerField(default=218, verbose_name='쓰기 권한'), | ||
), | ||
] |
Oops, something went wrong.