Skip to content

Commit

Permalink
Merge branch 'master' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
dlareau committed Nov 9, 2020
2 parents 7c1255e + 7de9da9 commit 0750998
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Coverage Status](https://coveralls.io/repos/github/dlareau/puzzlehunt_server/badge.svg)](https://coveralls.io/github/dlareau/puzzlehunt_server)

# puzzlehunt_server
A server for running puzzlehunts. This project is mainly used by PuzzlehuntCMU to run their puzzlehunt, but is generic enough to be used for nearly any puzzlehunt. Includes basic features such as per-puzzle pages, automatic answer response, teams, customizable unlocking structure, and admin pages to manange submissions, teams, as well as hunt progress. It also includes automatic team creation from registration, privacy settings for hunts, cool charts, a built in chat, and automatic file fetching and hosting.
A server for running puzzle hunts. This project is mainly used by Puzzlehunt CMU to run their puzzlehunt, but is generic enough to be used for nearly any puzzle hunt. Includes basic features such as per-puzzle pages, automatic answer response, teams, customizable unlocking structure, and admin pages to manange submissions, teams, as well as hunt progress. It also includes automatic team creation from registration, privacy settings for hunts, cool charts, a built in chat, and automatic file fetching and hosting.

Documentation can be found at http://docs.puzzlehunt.club

Expand Down
2 changes: 1 addition & 1 deletion docs/hunt_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ How to Create a Hunt

.. contents:: Table of Contents

This is a guide describing how to set up a new puzzlehunt on the PuzzlehuntCMU
This is a guide describing how to set up a new puzzlehunt on the Puzzle Hunt CMU
server. This guide assumes that the server itself is already set up and that you
already have an account on the server with both "Staff" and "Superuser"
permissions.
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to PuzzlehuntCMU's Server documentation!
Welcome to Puzzle Hunt CMU's Server documentation!
================================================

If you're here as a user, start with the "How to Create a Hunt" and "How to Run
Expand Down
2 changes: 1 addition & 1 deletion huntserver/templates/hunt_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<div class="container" >
<div class="row" >
<div class="content col-md-12" style="padding: 10px;">
<p>This is an archived Puzzlehunt. All parts may not work properly. We apologize for any issues you encounter.</p>
<p>This is an archived puzzle hunt. All parts may not work properly. We apologize for any issues you encounter.</p>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions huntserver/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
<div id='qa'>
<h2>Who are we?</h2>
<p>
We are PuzzlehuntCMU, a group of puzzle enthusiasts from Carnegie Mellon University. We work together to solve Puzzle Hunts such as the <a href="http://www.mit.edu/~puzzle/">MIT mystery hunt</a>, or any of the many tech company puzzlehunts (examples of such companies include Microsoft, APT and Palantir). We also write and host CMU's very own Puzzlehunt once a semester, with the goal of providing a fun-filled experience to as many members of the community as possible.
We are Puzzle Hunt CMU, a group of puzzle enthusiasts from Carnegie Mellon University. We work together to solve Puzzle Hunts such as the <a href="http://www.mit.edu/~puzzle/">MIT mystery hunt</a>, or any of the many tech company puzzle hunts (examples of such companies include Microsoft, APT and Palantir). We also write and host CMU's very own puzzle hunt once a semester, with the goal of providing a fun-filled experience to as many members of the community as possible.
</p>
<h2>What is a Puzzlehunt?</h2>
<h2>What is a puzzle hunt?</h2>
<p>
Very simply put, it's an event where people get together to solve carefully designed puzzles which somehow link together on a larger scale.
<br>
A puzzlehunt is typically characterized by its structure. In addition to several normal puzzles, each round has a meta-puzzle, which requires teams to have solved most of the normal puzzles to even unlock, and often requires solvers to incorporate answers from that round's normal puzzles to make sense of.
A puzzle hunt is typically characterized by its structure. In addition to several normal puzzles, each round has a meta-puzzle, which requires teams to have solved most of the normal puzzles to even unlock, and often requires solvers to incorporate answers from that round's normal puzzles to make sense of.
<br>
Our puzzlehunt's structure changes from semester to semester so as to provide new challenges for solvers.
Our puzzle hunt's structure changes from semester to semester so as to provide new challenges for solvers.
</p>
<h2>Wait that sounds cool, can I participate?</h2>
<p>Yeah, check out our <a href="{% url 'huntserver:current_hunt_info' %}">current hunt page</a>!</p>
Expand Down
2 changes: 1 addition & 1 deletion huntserver/templates/login_selection.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h3> Forgot your password? </h3>
<hr style="border-width:2px; border-color: black;">
<p>
If you are using a university account, please use their services to reset your password.
If you are using a PuzzlehuntCMU account, you can <a href="{% url 'password_reset' %}">reset your password here.</a>
If you are using a Puzzle Hunt CMU account, you can <a href="{% url 'password_reset' %}">reset your password here.</a>
</p>
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions huntserver/templates/previous_hunts.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ <h4>
<li>
{{ hunt.display_start_date|date:" m/d/y " }}
{{ hunt.display_start_date|time:"P" }} -
{% if hunt.display_start_date != hunt.display_end_date %}
{{ hunt.display_end_date|date:" m/d/y " }}
{% endif %}
{{ hunt.display_end_date|time:"P" }}
</li>
<li>{{hunt.puzzle_set.all|length}} Puzzles</li>
Expand Down
2 changes: 1 addition & 1 deletion huntserver/templates/registration/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% block content %}
<div class="container">
<div class="row content">
<p>Please enter your puzzlehunt username and password:<p>
<p>Please enter your Puzzle Hunt CMU username and password:<p>
<form method="post" action="/accounts/login/">
{% csrf_token %}
{{ form|crispy }}
Expand Down
4 changes: 2 additions & 2 deletions huntserver/templates/shib_register.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% block content %}
<div class="container">
<h2>Register for PuzzlehuntCMU</h2>
<h2>Register for Puzzle Hunt CMU</h2>
{% if user_form.subject.errors %}
<ol>
{% for error in user_form.subject.errors %}
Expand All @@ -20,7 +20,7 @@ <h2>Register for PuzzlehuntCMU</h2>
<form method="POST" action="/shib/login">
{% csrf_token %}
<div>
<p>By continuing, you agree to release the following attributes to PuzzlehuntCMU:</p>
<p>By continuing, you agree to release the following attributes to Puzzle Hunt CMU:</p>
{{ user_form.as_p }}
{{ person_form.as_p }}
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% autoescape off %}

We have recieved a password reset request for the user: {{ user.get_username }}
We have received a password reset request for the user: {{ user.get_username }}

If this is your account, and you have requested this password reset, you can
click the link below to initiate the password reset process for your {{ site_name }} account:
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PuzzlehuntCMU Password Reset
Puzzle Hunt CMU Password Reset
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django==2.2.11
Django==2.2.13
decorator==4.1.2
bootstrap-admin==0.4.*
django-debug-toolbar==1.8
Expand Down

0 comments on commit 0750998

Please sign in to comment.