Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
casassg authored Dec 24, 2017
2 parents fe6fd0e + 7811ec7 commit 088caad
Show file tree
Hide file tree
Showing 5 changed files with 263 additions and 204 deletions.
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<br>
<p align="center">
<img alt="HackAssistant" src="https://avatars2.githubusercontent.com/u/33712329?s=200&v=4" width="200"/>
<img alt="HackCU" src="https://github.com/HackCU/splash-page/blob/master/img/hackcu_black.png" width="200"/>
</p>
<br>


[![Maintainability](https://api.codeclimate.com/v1/badges/dcf8e46541dbab5eb64f/maintainability)](https://codeclimate.com/github/HackAssistant/registration/maintainability)
[![Build Status](https://travis-ci.org/HackAssistant/registration.svg?branch=master)](https://travis-ci.org/HackAssistant/registration)

📝 Hackathon registration server. Originally [HackUPC/backend](https://github.com/hackupc). With collaboration from [HackCU](https://github.com/hackcu)
📝 Registration for hackathons. Forked from [HackAssistant/registration](HackAssistant/registration)

## Features

Expand All @@ -25,7 +25,6 @@
- Flexible email backend (SendGrid is the default and recommended supported backend) 📮
- (Optional) Automated slack invites on confirm

**Demo**: http://registration.gerard.space (updated from master automatically. Running on Heroku free dyno)

## Setup

Expand Down Expand Up @@ -243,7 +242,7 @@ If you need extra labels for your hackathon, you can change the model and add yo
# Want to Contribute?
Read these [guidelines](.github/CONTRIBUTING.md) carefully.

By making a contribution, in any form (including, but not limited to, Issues and Pull Requests), you agree to abide by the [Code of Conduct](.github/CODE_OF_CONDUCT.md). Report any incidents to [email protected] and appropriate action will be taken against the offender after investigation.
By making a contribution, in any form (including, but not limited to, Issues and Pull Requests), you agree to abide by the [Code of Conduct](.github/CODE_OF_CONDUCT.md). Report any incidents to [email protected] and appropriate action will be taken against the offender after investigation.

# License

Expand Down
32 changes: 18 additions & 14 deletions app/hackathon_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,37 @@

from django.utils import timezone

HACKATHON_NAME = 'HackAssistant'
HACKATHON_NAME = 'HackCU'
# What's the name for the application
HACKATHON_APPLICATION_NAME = 'HackAssistant registration'
HACKATHON_APPLICATION_NAME = 'HackCU registration'
# Hackathon timezone
TIME_ZONE = 'MST'
# This description will be used on the html and sharing meta tags
HACKATHON_DESCRIPTION = 'HackAssistant is an organization to mantain ' \
'a few open-source projects related with hackathon management'
HACKATHON_DESCRIPTION = 'Apply now! HackCU is a student organization ' \
'at the University of Colorado at Boulder who brings together ' \
'people for our annual technology and design events, HackCU and Local Hack Day. ' \
'We are the largest hackathon in the Rocky Mountain Region, and ' \
'our mission is to foster learning, designing, ' \
'and building in order to turn student\'s ideas into a reality!'
# Domain where application is deployed, can be set by env variable
HACKATHON_DOMAIN = os.environ.get('DOMAIN', 'localhost:8000')
# Hackathon contact email: where should all hackers contact you. It will also be used as a sender for all emails
HACKATHON_CONTACT_EMAIL = 'contact@gerard.space'
HACKATHON_CONTACT_EMAIL = 'contact@hackcu.org'
# Hackathon logo url, will be used on all emails
HACKATHON_LOGO_URL = 'https://hackcu.org/img/hackcu_black.png'
HACKATHON_LOGO_URL = 'https://hackcu.org/img/white_logo.png'

HACKATHON_OG_IMAGE = 'https://hackcu.org/img/hackcu_ogimage870x442.png'
# (OPTIONAL) Track visits on your website
# HACKATHON_GOOGLE_ANALYTICS = 'UA-7777777-2'
# (OPTIONAL) Hackathon twitter user
HACKATHON_TWITTER_ACCOUNT = 'casassaez'
HACKATHON_TWITTER_ACCOUNT = 'hackcu'
# (OPTIONAL) Hackathon Facebook page
HACKATHON_FACEBOOK_PAGE = 'casassaez'
HACKATHON_FACEBOOK_PAGE = 'hackcu'
# (OPTIONAL) Github Repo for this project (so meta)
HACKATHON_GITHUB_REPO = 'https://github.com/hackassistant/registration/'
HACKATHON_GITHUB_REPO = 'https://github.com/hackcu/registration/'

# (OPTIONAL) Applications deadline
# HACKATHON_APP_DEADLINE = timezone.datetime(2018, 2, 24, 3, 14, tzinfo=timezone.pytz.timezone(TIME_ZONE))
HACKATHON_APP_DEADLINE = timezone.datetime(2018, 2, 24, 3, 14, tzinfo=timezone.pytz.timezone(TIME_ZONE))
# (OPTIONAL) When to arrive at the hackathon
HACKATHON_ARRIVE = 'Registration opens at 3:00 PM and closes at 6:00 PM on Friday October 13th, ' \
'the opening ceremony will be at 7:00 pm.'
Expand All @@ -41,9 +45,9 @@
# HACKATHON_LIVE_PAGE = 'https://gerard.space/live'

# (OPTIONAL) Regex to automatically match organizers emails and set them as organizers when signing up
REGEX_HACKATHON_ORGANIZER_EMAIL = '^.*@gerard\.space$'
REGEX_HACKATHON_ORGANIZER_EMAIL = '^.*@hackcu\.org$'
# (OPTIONAL) Send 500 errors to email while on production mode
# HACKATHON_DEV_EMAILS = ['[email protected]', ]
HACKATHON_DEV_EMAILS = ['[email protected]', ]

# Reimbursement configuration
REIMBURSEMENT_ENABLED = True
Expand All @@ -66,5 +70,5 @@

# (OPTIONAL) Logged in cookie
# This allows to store an extra cookie in the browser to be shared with other application on the same domain
LOGGED_IN_COOKIE_DOMAIN = '.gerard.space'
LOGGED_IN_COOKIE_KEY = 'hackassistant_logged_in'
LOGGED_IN_COOKIE_DOMAIN = '.hackcu.org'
LOGGED_IN_COOKIE_KEY = 'hackcu_logged_in'
1 change: 1 addition & 0 deletions app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
</head>



<body>
{% if messages %}
<script>
Expand Down
Loading

0 comments on commit 088caad

Please sign in to comment.