2015-10-16 17:53:02 +00:00
|
|
|
from django.db import models
|
|
|
|
|
|
|
|
from symposion.proposals.models import ProposalBase
|
|
|
|
|
|
|
|
|
|
|
|
class Proposal(ProposalBase):
|
|
|
|
|
2016-06-20 23:58:27 +00:00
|
|
|
TARGET_USER = 1
|
|
|
|
TARGET_BUSINESS = 2
|
|
|
|
TARGET_COMMUNITY = 3
|
|
|
|
TARGET_DEVELOPER = 4
|
|
|
|
|
|
|
|
TARGET_AUIDENCES = [
|
|
|
|
(TARGET_USER, "User"),
|
|
|
|
(TARGET_BUSINESS, "Business"),
|
|
|
|
(TARGET_COMMUNITY, "Community"),
|
|
|
|
(TARGET_DEVELOPER, "Developer"),
|
2015-10-16 17:53:02 +00:00
|
|
|
]
|
|
|
|
|
2016-06-20 23:58:27 +00:00
|
|
|
target_audience = models.IntegerField(choices=TARGET_AUIDENCES)
|
2015-10-16 17:53:02 +00:00
|
|
|
|
|
|
|
recording_release = models.BooleanField(
|
|
|
|
default=True,
|
2017-07-02 01:43:23 +00:00
|
|
|
help_text="I allow Linux Australia to release any recordings of "
|
2016-06-20 23:58:27 +00:00
|
|
|
"presentations covered by this proposal, under the <a "
|
|
|
|
"href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> "
|
|
|
|
"Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"
|
|
|
|
)
|
|
|
|
|
|
|
|
materials_release = models.BooleanField(
|
|
|
|
default=True,
|
2017-07-02 01:43:23 +00:00
|
|
|
help_text="I allow Linux Australia to release any other material "
|
2016-06-20 23:58:27 +00:00
|
|
|
"(such as slides) from presentations covered by this proposal, under "
|
|
|
|
"the <a "
|
|
|
|
"href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> "
|
|
|
|
"Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"
|
2015-10-16 17:53:02 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
abstract = True
|
|
|
|
|
|
|
|
|
|
|
|
class TalkProposal(Proposal):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "talk proposal"
|
2016-06-20 23:42:51 +00:00
|
|
|
|
2017-03-05 07:34:15 +00:00
|
|
|
|
2016-06-20 23:42:51 +00:00
|
|
|
class TutorialProposal(Proposal):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "tutorial proposal"
|
|
|
|
|
2017-03-05 07:34:15 +00:00
|
|
|
|
2017-07-02 12:28:29 +00:00
|
|
|
class MiniconfProposal(Proposal):
|
|
|
|
|
|
|
|
target_audience = models.IntegerField(choices=Proposal.TARGET_AUIDENCES,
|
|
|
|
default=Proposal.TARGET_DEVELOPER)
|
2016-06-20 23:42:51 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "miniconf proposal"
|
2017-09-20 12:50:39 +00:00
|
|
|
|
|
|
|
|
2018-10-03 08:19:22 +00:00
|
|
|
class DocsProposal(Proposal):
|
|
|
|
TALK_FORMATS = [
|
|
|
|
(1, "Presentation (40-45 min)"),
|
|
|
|
(2, "Short Presentation (20-30 min)"),
|
|
|
|
(3, "Lightning Talk (5-10 min)")
|
|
|
|
]
|
|
|
|
|
2018-10-18 07:30:50 +00:00
|
|
|
TARGET_USER = 1
|
|
|
|
TARGET_BUSINESS = 2
|
|
|
|
TARGET_COMMUNITY = 3
|
|
|
|
TARGET_DEVELOPER = 4
|
|
|
|
TARGET_WRITER = 4
|
|
|
|
|
|
|
|
TARGET_AUIDENCES = [
|
|
|
|
(TARGET_USER, "User"),
|
|
|
|
(TARGET_BUSINESS, "Business"),
|
|
|
|
(TARGET_COMMUNITY, "Community"),
|
|
|
|
(TARGET_DEVELOPER, "Developer"),
|
|
|
|
(TARGET_WRITER, "Writer"),
|
|
|
|
]
|
|
|
|
|
|
|
|
target_audience = models.IntegerField(choices=TARGET_AUIDENCES, default=TARGET_USER)
|
2018-10-03 08:19:22 +00:00
|
|
|
talk_format = models.IntegerField(
|
|
|
|
choices=TALK_FORMATS,
|
|
|
|
help_text="Please indicate your preferred talk length in the private abstract field below.")
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Docs Down Under Miniconf Proposal"
|
|
|
|
|
|
|
|
|
2017-09-20 12:50:39 +00:00
|
|
|
class SysAdminProposal(Proposal):
|
|
|
|
|
|
|
|
TYPE_SHORT_PRESENTATION = 1
|
|
|
|
TYPE_LIGHTNING_TALK = 2
|
|
|
|
|
|
|
|
TALK_FORMATS = [
|
|
|
|
(TYPE_SHORT_PRESENTATION, "Short Presentation (15-25 min)"),
|
|
|
|
(TYPE_LIGHTNING_TALK, "Lightning Talk (5-10 min)"),
|
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(
|
|
|
|
choices=TALK_FORMATS,
|
|
|
|
help_text="Please indicate your preferred talk length in the private abstract field below.")
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "System Administration Miniconf Proposal"
|
|
|
|
|
|
|
|
|
|
|
|
class KernelProposal(Proposal):
|
2018-10-18 07:30:50 +00:00
|
|
|
TALK_FORMATS = [
|
|
|
|
(1, "Presentation (40-45 min)"),
|
|
|
|
(2, "Short Presentation (20-30 min)"),
|
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(
|
|
|
|
choices=TALK_FORMATS,
|
|
|
|
default=1,
|
|
|
|
help_text="Please indicate your preferred talk length in the private abstract field below.")
|
2017-09-20 12:50:39 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Kernel Miniconf Proposal"
|
|
|
|
|
|
|
|
|
2018-10-24 06:34:58 +00:00
|
|
|
class SecurityProposal(Proposal):
|
2018-10-24 07:14:01 +00:00
|
|
|
TALK_FORMATS = [
|
|
|
|
(1, "Presentation (40-45 min)"),
|
|
|
|
(2, "Short Presentation (20-30 min)"),
|
|
|
|
(3, "Lightning Talk (5-10 min)")
|
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(
|
|
|
|
choices=TALK_FORMATS,
|
|
|
|
help_text="Please indicate your preferred talk length in the private abstract field below.")
|
2018-10-24 06:34:58 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Security, Identity and Privacy Miniconf Proposal"
|
|
|
|
|
|
|
|
|
2017-09-20 12:50:39 +00:00
|
|
|
class GamesProposal(Proposal):
|
|
|
|
|
|
|
|
TYPE_PRESENTATION = 1
|
2018-10-05 19:43:50 +00:00
|
|
|
TYPE_SHORT_PRESENTATION = 2
|
|
|
|
TYPE_DEMONSTRATION = 3
|
|
|
|
TYPE_OTHER = 4
|
2017-09-20 12:50:39 +00:00
|
|
|
|
|
|
|
TALK_FORMATS = [
|
2018-10-05 19:43:50 +00:00
|
|
|
(TYPE_PRESENTATION, "Presentation (long)"),
|
|
|
|
(TYPE_PRESENTATION, "Presentation (short)"),
|
2017-09-20 12:50:39 +00:00
|
|
|
(TYPE_DEMONSTRATION, "Demonstration"),
|
|
|
|
(TYPE_OTHER, "Other"),
|
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(choices=TALK_FORMATS)
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Games and FOSS Miniconf Proposal"
|
|
|
|
|
|
|
|
|
|
|
|
class OpenHardwareProposal(Proposal):
|
|
|
|
|
|
|
|
TYPE_NORMAL_PRESENTATION = 1
|
|
|
|
TYPE_LIGHTNING_TALK = 2
|
|
|
|
|
|
|
|
TALK_FORMATS = [
|
|
|
|
(TYPE_NORMAL_PRESENTATION, "Presentation (20 min)"),
|
|
|
|
(TYPE_LIGHTNING_TALK, "Lightning Talk (5 min)"),
|
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(choices=TALK_FORMATS)
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Open Hardware Miniconf Proposal"
|
2017-09-22 02:48:09 +00:00
|
|
|
|
|
|
|
|
|
|
|
class OpenEdProposal(Proposal):
|
2018-10-23 08:15:08 +00:00
|
|
|
TALK_FORMATS = [
|
|
|
|
(1, "Presentation (40-45 min)"),
|
|
|
|
(2, "Short Presentation (20-30 min)"),
|
|
|
|
(3, "Lightning Talk (5-10 min)")
|
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(
|
|
|
|
choices=TALK_FORMATS,
|
|
|
|
help_text="Please indicate your preferred talk length in the private abstract field below.")
|
|
|
|
|
|
|
|
# Can't delete an inherited field
|
|
|
|
target_audience = models.IntegerField(blank=True, null=True)
|
2017-09-22 02:48:09 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Open Education Miniconf Proposal"
|
|
|
|
|
|
|
|
|
|
|
|
class DevDevProposal(Proposal):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Developers Developers Miniconf Proposal"
|
|
|
|
|
|
|
|
|
|
|
|
class ArtTechProposal(Proposal):
|
|
|
|
|
2017-10-15 08:04:26 +00:00
|
|
|
TYPE_TECH = 1
|
|
|
|
TYPE_DEMO = 2
|
|
|
|
TYPE_LIGHTNING = 3
|
|
|
|
|
|
|
|
TALK_FORMATS = [
|
|
|
|
(TYPE_TECH, "Tech talk (45 min)"),
|
|
|
|
(TYPE_DEMO, "Demonstration (20min)"),
|
|
|
|
(TYPE_LIGHTNING, "Lightning Talk (10min)"),
|
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(
|
|
|
|
choices=TALK_FORMATS,
|
|
|
|
default=TYPE_TECH,
|
|
|
|
)
|
|
|
|
|
|
|
|
EXHIBIT_YES = 1
|
|
|
|
EXHIBIT_NO = 2
|
|
|
|
|
|
|
|
EXHIBIT_STATUS = [
|
2018-10-16 07:46:28 +00:00
|
|
|
(EXHIBIT_YES, "I am willing and able to exhibit my project on Thursday, January 24th"),
|
2017-10-15 08:04:26 +00:00
|
|
|
(EXHIBIT_NO, "I'm unable to exhibit my project")
|
|
|
|
]
|
|
|
|
|
|
|
|
can_exhibit = models.IntegerField(
|
|
|
|
choices=EXHIBIT_STATUS,
|
|
|
|
default=EXHIBIT_YES,
|
|
|
|
)
|
|
|
|
|
|
|
|
exhibition_requirements = models.TextField(
|
|
|
|
blank=True,
|
|
|
|
default="",
|
|
|
|
)
|
|
|
|
|
2017-10-23 10:18:17 +00:00
|
|
|
TARGET_NA = 1
|
|
|
|
|
|
|
|
TARGET_AUDIENCES = [
|
|
|
|
(TARGET_NA, "N/A"),
|
|
|
|
]
|
|
|
|
|
|
|
|
target_audience = models.IntegerField(choices=TARGET_AUDIENCES, default=TARGET_NA)
|
|
|
|
|
2017-09-22 02:48:09 +00:00
|
|
|
class Meta:
|
|
|
|
verbose_name = "Art+Tech Miniconf Proposal"
|