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
|
|
|
|
|
2020-11-23 11:24:17 +00:00
|
|
|
TARGET_AUDIENCES = [
|
2016-06-20 23:58:27 +00:00
|
|
|
(TARGET_USER, "User"),
|
|
|
|
(TARGET_BUSINESS, "Business"),
|
|
|
|
(TARGET_COMMUNITY, "Community"),
|
|
|
|
(TARGET_DEVELOPER, "Developer"),
|
2015-10-16 17:53:02 +00:00
|
|
|
]
|
|
|
|
|
2020-11-23 11:24:17 +00:00
|
|
|
target_audience = models.IntegerField(choices=TARGET_AUDIENCES)
|
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):
|
|
|
|
|
2020-11-23 11:24:17 +00:00
|
|
|
target_audience = models.IntegerField(choices=Proposal.TARGET_AUDIENCES,
|
2017-07-02 12:28:29 +00:00
|
|
|
default=Proposal.TARGET_DEVELOPER)
|
2016-06-20 23:42:51 +00:00
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "miniconf proposal"
|
2019-09-28 06:03:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
class MiniconfSessionProposal(Proposal):
|
|
|
|
|
|
|
|
FORMAT_SHORT_PRESENTATION = 1
|
2020-11-23 11:24:17 +00:00
|
|
|
FORMAT_LONG_PRESENTATION = 2
|
2019-09-28 06:03:41 +00:00
|
|
|
|
|
|
|
TALK_FORMATS = [
|
2020-11-23 11:24:17 +00:00
|
|
|
(FORMAT_SHORT_PRESENTATION, "Short Presentation (15 or 20 min)"),
|
|
|
|
(FORMAT_LONG_PRESENTATION, "Long Presentation (45 min)"),
|
2019-09-28 06:03:41 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(
|
|
|
|
choices=TALK_FORMATS,
|
|
|
|
default=FORMAT_LONG_PRESENTATION,
|
|
|
|
help_text="Please indicate your preferred talk length in the private abstract field below."
|
|
|
|
)
|
|
|
|
|
|
|
|
ticket_acknowledgement = models.BooleanField(
|
|
|
|
default=False,
|
2020-11-23 13:50:54 +00:00
|
|
|
help_text="I understand that I may be required to purchase a conference ticket "
|
2020-11-23 11:24:17 +00:00
|
|
|
"as linux.conf.au miniconfs are unfunded community run events."
|
2019-09-28 06:03:41 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
abstract = True
|
|
|
|
|
2020-11-23 11:24:17 +00:00
|
|
|
|
|
|
|
class GlamProposal(MiniconfSessionProposal):
|
|
|
|
|
|
|
|
require_approval = models.BooleanField(
|
|
|
|
default=False,
|
|
|
|
help_text="Do you require further approval from your employer or institution "
|
|
|
|
"before you can confirm your availability to present?"
|
|
|
|
)
|
|
|
|
|
|
|
|
@property
|
|
|
|
def is_glam_miniconf(self):
|
|
|
|
return True
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "GO GLAM Miniconf Proposal"
|
|
|
|
|
|
|
|
|
|
|
|
class KernelProposal(MiniconfSessionProposal):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Kernel Miniconf Proposal"
|
|
|
|
|
|
|
|
|
|
|
|
class OpenHardwareProposal(MiniconfSessionProposal):
|
|
|
|
|
|
|
|
TARGET_HARDWARE = 1
|
|
|
|
TARGET_FIRMWARE = 2
|
|
|
|
TARGET_COMMUNITY = 3
|
|
|
|
TARGET_OTHER = 4
|
|
|
|
|
|
|
|
TARGET_AUDIENCES = [
|
|
|
|
(TARGET_HARDWARE, "Hardware"),
|
|
|
|
(TARGET_FIRMWARE, "Firmware"),
|
|
|
|
(TARGET_COMMUNITY, "Community"),
|
|
|
|
(TARGET_OTHER, "Other"),
|
|
|
|
]
|
|
|
|
|
|
|
|
LEVEL_BEGINNER = 1
|
|
|
|
LEVEL_INTERMEDIATE = 2
|
|
|
|
LEVEL_ADVANCED = 3
|
|
|
|
|
|
|
|
EXPERIENCE_LEVEL = [
|
|
|
|
(LEVEL_BEGINNER, "Beginner"),
|
|
|
|
(LEVEL_INTERMEDIATE, "Intermediate"),
|
|
|
|
(LEVEL_ADVANCED, "Advanced"),
|
|
|
|
]
|
|
|
|
|
|
|
|
FORMAT_PRESENTATION = 1
|
|
|
|
FORMAT_TUTORIAL = 2
|
|
|
|
FORMAT_HANDS_ON = 3
|
|
|
|
|
|
|
|
TALK_FORMATS = [
|
|
|
|
(FORMAT_PRESENTATION, "Presentation"),
|
|
|
|
(FORMAT_TUTORIAL, "Tutorial"),
|
|
|
|
(FORMAT_HANDS_ON, "Hands-on"),
|
|
|
|
]
|
|
|
|
|
|
|
|
target_audience = models.IntegerField(
|
|
|
|
choices=TARGET_AUDIENCES,
|
|
|
|
help_text="What is the main focus for your session? If Other, please provide detail in the private abstract.",
|
|
|
|
)
|
|
|
|
|
|
|
|
experience_level = models.IntegerField(
|
|
|
|
choices=EXPERIENCE_LEVEL,
|
|
|
|
help_text="What level of experience will your session be pitched at? Note: We are aiming for a range of session skill levels."
|
|
|
|
)
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(
|
|
|
|
choices=TALK_FORMATS,
|
|
|
|
default=FORMAT_PRESENTATION,
|
|
|
|
help_text="Will your session be a presentation, tutorial or hands-on (e.g how to use KiCAD or some other tooling)?"
|
|
|
|
)
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name = "Open Hardware Miniconf Proposal"
|
|
|
|
|
|
|
|
|
|
|
|
class SysAdminProposal(MiniconfSessionProposal):
|
|
|
|
|
|
|
|
FORMAT_SHORT_PRESENTATION = 1
|
|
|
|
|
|
|
|
TALK_FORMATS = [
|
|
|
|
(FORMAT_SHORT_PRESENTATION, "Short Presentation (15 or 20 min)"),
|
|
|
|
]
|
|
|
|
|
|
|
|
talk_format = models.IntegerField(
|
|
|
|
choices=TALK_FORMATS,
|
|
|
|
default=FORMAT_SHORT_PRESENTATION,
|
|
|
|
help_text="Talks at the System Administration Miniconf will be short presentations."
|
|
|
|
)
|
|
|
|
|
2020-11-23 13:50:54 +00:00
|
|
|
local_timezone = models.CharField(
|
|
|
|
max_length=100,
|
|
|
|
blank=False,
|
|
|
|
default="",
|
|
|
|
help_text="What is your local timezone that you will be presenting from?"
|
|
|
|
)
|
|
|
|
|
|
|
|
tech_check = models.BooleanField(
|
|
|
|
"AV Tech Check",
|
|
|
|
default=False,
|
|
|
|
help_text="Will you be available for an 'AV Tech Check' on 5 January 2021?"
|
|
|
|
)
|
|
|
|
|
|
|
|
@property
|
|
|
|
def is_sysadmin_miniconf(self):
|
|
|
|
return True
|
|
|
|
|
2020-11-23 11:24:17 +00:00
|
|
|
class Meta:
|
|
|
|
verbose_name = "System Administration Miniconf Proposal"
|