From a2c3c1ce68c982b7e429668005b803ee256c9db6 Mon Sep 17 00:00:00 2001 From: Cameron Brill Date: Sat, 23 Jan 2021 21:10:51 -0700 Subject: [PATCH 1/7] log approval email to confirm people who's emails are stored. --- hiss/application/admin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hiss/application/admin.py b/hiss/application/admin.py index 6b29874a..bd4f3f97 100644 --- a/hiss/application/admin.py +++ b/hiss/application/admin.py @@ -94,7 +94,9 @@ def approve(_modeladmin, _request: HttpRequest, queryset: QuerySet) -> None: ) + timezone.timedelta(application.wave.num_days_to_rsvp) application.status = STATUS_ADMITTED application.confirmation_deadline = deadline - email_tuples.append(build_approval_email(application, deadline)) + approval_email = build_approval_email(application, deadline) + print(f"approval email built for {approval_email[-1:]}") + email_tuples.append(approval_email) application.save() send_mass_html_mail(email_tuples) From e8834a07af5196c966987d0a19f1d1014f3fe6ea Mon Sep 17 00:00:00 2001 From: Cameron Brill Date: Sat, 23 Jan 2021 21:11:10 -0700 Subject: [PATCH 2/7] changed event dates --- hiss/hiss/settings/customization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hiss/hiss/settings/customization.py b/hiss/hiss/settings/customization.py index 9da9f768..1d35fe8b 100644 --- a/hiss/hiss/settings/customization.py +++ b/hiss/hiss/settings/customization.py @@ -4,7 +4,7 @@ EVENT_NAME = "TAMUhack" EVENT_YEAR = "2021" ORGANIZER_EMAIL = "hello@tamuhack.com" -EVENT_START_DATETIME = timezone.datetime(2020, 1, 25, hour=9, minute=0, second=0) -EVENT_END_DATETIME = timezone.datetime(2020, 1, 26, hour=12, minute=0, second=0) +EVENT_START_DATETIME = timezone.datetime(2020, 1, 30, hour=9, minute=0, second=0) +EVENT_END_DATETIME = timezone.datetime(2020, 1, 31, hour=12, minute=0, second=0) MAX_MEMBERS_PER_TEAM = 4 From 41ae6ba08c85a9e0a6e51eff4f5dcc0ece3388f0 Mon Sep 17 00:00:00 2001 From: Cameron Brill Date: Sat, 23 Jan 2021 21:11:34 -0700 Subject: [PATCH 3/7] Updated approval email --- .../application/emails/approved.html | 205 ++++++++++-------- 1 file changed, 120 insertions(+), 85 deletions(-) diff --git a/hiss/templates/application/emails/approved.html b/hiss/templates/application/emails/approved.html index a879dd17..12acc1b6 100644 --- a/hiss/templates/application/emails/approved.html +++ b/hiss/templates/application/emails/approved.html @@ -1,94 +1,129 @@ -
+
+
+

+ Congratulations, {{ first_name }}! +

-
+

+ You have been accepted to {{ event_name }} {{ event_year}}! We were + impressed by your application and have handpicked you to attend. +

+

+ We hope to see you attend virtually on + January 30 - 31, 2021. +

+

+ Please + RSVP at the link below by January 25, 2020 11:59 p.m. + to confirm your attendance. +

-

Congratulations, {{ first_name }}!

+

+ Check out our website for the full schedule of events! +

-

- You have been accepted to {{ event_name }}! We were impressed by your application and have handpicked you to - attend. -

-

- Please RSVP at the link below by {{ confirmation_deadline }} - to confirm your attendance. -

+

+ In the meantime, feel free to email + {{ organizer_email }} + if you have any questions. +

-

- Please read the following important information before filling out the RSVP form. -

+

+ Required: Sign into your account and RSVP to let us know whether you + will be attending {{ event_name }}. +

+ Login to RSVP -
-
- Event Details: -
-

- January 25th – 26th, 2020 -

-

- Memorial Student Center, Bethancourt Ballroom -

-

- Texas A&M University, College Station -

-
+

+ Thanks! +

-

- Check out our website for the full schedule of events! -

- -

- We will be sending another email closer to the hackathon with more details on what to bring, where to park, - and anything else you might want to know. -

- -

- In the meantime, feel free to email {{ organizer_email }} - if you have any questions. -

- -

Required: Sign into your account and RSVP to let us know whether - you will be attending {{ event_name }}.

- LOG - IN - -

Optional: If you are also - interested in mentoring other hackers at {{ event_name }}, please fill this form out too!

- MENTOR - FORM - -

- Thanks! -

- - - The {{ event_name }} Team - + + The {{ event_name }} Team +
-
+
From 597137756a11707f195a491a970aa0438e916a74 Mon Sep 17 00:00:00 2001 From: Cameron Brill Date: Sat, 23 Jan 2021 21:21:09 -0700 Subject: [PATCH 4/7] Updated confirmation email --- .../application/emails/confirmed.html | 364 +++++++++--------- 1 file changed, 173 insertions(+), 191 deletions(-) diff --git a/hiss/templates/application/emails/confirmed.html b/hiss/templates/application/emails/confirmed.html index 4c3b683a..9714c3c7 100644 --- a/hiss/templates/application/emails/confirmed.html +++ b/hiss/templates/application/emails/confirmed.html @@ -1,194 +1,176 @@ -
- -
-

Hi {{ first_name }}!

- -

- We're so glad you're coming to {{ event_name }}! -

- -

- We're counting down the days and just wanted to provide you with some more details!

- -

- We have tons of workshops, mini-events, great food, and amazing mentors lined up for you.

- -

- Below, you'll find all the information that you need to plan your weekend with us.

- -
-
- Event Details: -
-

- January 25th – 26th, 2020 -

-

- Memorial Student Center, Bethancourt Ballroom -

-

- Texas A&M University, College Station -

-
- -

Check-in

-

You will use - the QR code attached to this email and your Student ID to check-in. Please make sure you have both.

- -

- Once inside the Memorial Student Center (MSC), follow {{ event_name }} signs to the Bethancourt Ballroom on the 2nd floor. -

-

- Here's a sneak peek of our itinerary for the event (full schedule on website): -

- Live Site - -

- Saturday, January 25th: -

- -
    -
  • - 9 AM: Doors open, check-in begins -
  • -
  • - 11 AM: Opening Ceremony begins, walk-ins begin -
  • -
  • - 12 PM: Hacking begins -
  • -
  • - 1 PM: Check-in ends -
  • -
- -

- Sunday, January 26th: -

- -
    -
  • - 12 PM: Hacking Ends -
  • -
  • - 3 PM: Closing Ceremony begins -
  • -
- -

- Please arrive before 10:30 AM to guarantee your spot in line. - We will begin to accept walk-ins after 11 AM through 1PM or until full capacity. -

-

- If you are arriving late, email us at {{ organizer_email }} - if you haven't already done so, or you risk losing your spot. -

- -

- What should you bring? -

- -
    -
  • Student ID (required)
  • -
  • Laptop, charger, dongles
  • -
  • Phone charger
  • -
  • Pillow/blanket
  • -
  • Warm clothing (it might get cold)
  • -
  • Hygienic essentials (we will be providing mouthwash/spray deoderant as well)
  • -
  • Hardware for your hack (optional)
  • -
- -

- What should you NOT bring? -

- -
    -
  • Pets (no matter how cute they are)
  • -
  • Weapons
  • -
  • Soldering Irons
  • -
  • Anything you wouldn't bring on a plane
  • -
  • Behavior that doesn't follow the MLH Code of Conduct
  • -
- -

- We highly encourage you to download any software/tools you may need before the hackathon to take the initial - load off our systems. :) -

- -

Other Important Notes

- -

Please join the {{ event_name }} 2020 Slack Workspace where you can find - important - announcements during the event and interact with participants, mentors, companies, and organizers.

- -

Also join the {{ event_name }} - 2020 Facebook Group where you can find teammates, brainstorm ideas, and meet members from different - student orgs!

- -

Lastly, the - Memorial Student Center is a very important place on campus. As a way of showing respect, we kindly ask that - you follow these rules:

-
    -
  • Wearing hats inside the building is not allowed and seen as disrespectful.
  • -
  • Please do not step on the grass outside/surrounding the MSC.
  • -
- -

- We're super excited for {{ event_name }} and are working hard to make sure it's a perfect weekend for you! - In - the meantime, please don't hesitate to reach out to us at {{ organizer_email }} if - you have any questions. -

- -

- See you soon! :) -

- - - The {{ event_name }} Team - - -

- P.S. Don't be scared if this is your first hackathon! {{ event_name }} is very beginner friendly (prizes for - first - timers, special workshops) while also being challenging enough for experts!

- +
+
+

+ Hi {{ first_name }}! +

+ +

+ We're so glad you're coming to {{ event_name }}! We're countin down the + days and just wanted to provide you with some details! +

+ +

+ We have tons of workshops, mini-events and amazing mentors lined up for + you. +

+ +

+ {{ event_name }} will be held on January 30 - 31, 2021. We have tons of + fun workshops, mini-events, prizes, and amazing mentors lined up for + you. Below, you'll find all the information that you need to plan your + weekend with us. +

+ +

+ The {{event_name}} website is constantly being updated and will have the + most updated information as we get closer to the event. We will be live + streaming the workshops, talks, and activities on Hopin throughout the + entire event. You can also find information about our challenges and + prizes. +

+ +

+ This year, Discord will be the official communication platform during + the event. We will send an invite for the {{event_name}} 2021 Discord + Server to get important announcements during the event and interact with + participants, mentors, and organizers very soon. +

+ +
+ +

+ First time hacker? We have prepared a website with a bunch of resources + you can use to start working on a project during the event. We'll also + have mentors available throughout the event to provide guidance! +

+ Hackathon Guide + +
+ +

+ We're super excited for {{ event_name }} and are working hard to make + sure it's a perfect weekend for you! In the meantime, please don't + hesitate to reach out to us at + hello@tamuhack.com + if you have any questions. +

+ +

+ See you soon! :) +

+ + + The {{ event_name }} Team + + +

+ P.S. Don't be scared if this is your first hackathon! {{ event_name }} + is very beginner friendly (great mentors and resources to get you going) + while also being challenging enough for experts! +

-
+
From 0656ebe129865dd34ff02c9c4480259bb15739f9 Mon Sep 17 00:00:00 2001 From: Cameron Brill Date: Sat, 23 Jan 2021 21:23:53 -0700 Subject: [PATCH 5/7] Log confirmation email send --- hiss/application/emails.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hiss/application/emails.py b/hiss/application/emails.py index d3f7d017..535d54f6 100644 --- a/hiss/application/emails.py +++ b/hiss/application/emails.py @@ -60,4 +60,5 @@ def send_confirmation_email(app: Application) -> None: qr_stream = BytesIO() qr_code.png(qr_stream, scale=5) email.attach("code.png", qr_stream.getvalue(), "text/png") + print(f"sending confirmation email to {app.user.email}") email.send() From a7b18b82f352a496c1819eda4d10068356b1aab3 Mon Sep 17 00:00:00 2001 From: Cameron Brill Date: Sat, 23 Jan 2021 21:38:20 -0700 Subject: [PATCH 6/7] Update approval email to not use confirmations. --- .../application/emails/approved.html | 32 +++---------------- 1 file changed, 4 insertions(+), 28 deletions(-) diff --git a/hiss/templates/application/emails/approved.html b/hiss/templates/application/emails/approved.html index 12acc1b6..5e54583a 100644 --- a/hiss/templates/application/emails/approved.html +++ b/hiss/templates/application/emails/approved.html @@ -34,8 +34,8 @@

margin-bottom: 20px; " > - You have been accepted to {{ event_name }} {{ event_year}}! We were - impressed by your application and have handpicked you to attend. + You have been accepted to {{ event_name }}! We were very impressed by + your application and have handpicked you to attend.

margin-bottom: 20px; " > - Please RSVP at the link below by January 25, 2020 11:59 p.m.We'll be sending out an email soon with the full schedule of events + and more details! - to confirm your attendance. -

- -

- Check out our website for the full schedule of events!

if you have any questions.

-

- Required: Sign into your account and RSVP to let us know whether you - will be attending {{ event_name }}. -

- Login to RSVP -

style=" line-height: 20px; color: #777777; - border-bottom: 1px solid #dedede; padding-bottom: 20px; margin-bottom: 20px; " @@ -89,7 +88,6 @@

line-height: 30px; font-weight: normal; color: #777777; - border-top: 1px solid #dedede; padding-top: 20px; margin-top: 20px; "