Skip to content

Commit

Permalink
Close #102 Close #103 Close #104 added links to external Christmas li…
Browse files Browse the repository at this point in the history
…ght website; update success message; trim passcode field (#105)
  • Loading branch information
almostengr authored Dec 13, 2023
1 parent bb1d042 commit 5fd3746
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion website/docs/details.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ played in the order that they have been requested.
* Over 200 Feet of electrical wire
* 36 channels
* On average, about 330 songs are played per night
* Custom software interfaces with the National Weather Service for weather information
* Custom software that interfaces with the National Weather Service for weather information and Twitter to share show information

## Other Information

Expand Down
8 changes: 6 additions & 2 deletions website/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
meta: none
---

## Ground Rules and Information
## Show Rules and Information

* Show runs from November 24, 2023 to December 31, 2023. Sunday through Thursday from 5:30 PM (17:30) to 10 PM (22:00). Friday and Saturday from 5:30 PM (17:30) to 11 PM (23:00).
* Tune your radio to 90.3 FM to hear the music. Please keep the radio at a reasonable volume.
Expand All @@ -18,5 +18,9 @@ meta: none
## As Seen On

<a target="_blank" href="https://www.tackylighttour.com/christmas-lights/hp-light-show" title= "HP Light Show Christmas lights">
<img src="https://www.tackylighttour.com/images/1/AsSeenOn_728x90.png" height='90' width='728' alt='Christmas Lights' />
<img src="/images/tackylighttour.jpg" height='90' width='728' alt='Tacky Light Tour' />
</a>

<a target="_blank" href="https://www.christmaslightfinder.com/displays/display-details/?id=4278" title="Original Christmas Light Finder">
<img src="/images/christmaslightfinder.jpg" alt="Christmas Light Finder" />
</a>
Binary file added website/theme/images/christmaslightfinder.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/theme/images/christmaslightfinder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/theme/images/tackylighttour.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/theme/images/tackylighttour.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions website/theme/jukeboxapi.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function getCodeForToday(): string

public function validateCode(): void
{
$validCodeForToday = strtoupper($this->getCodeForToday());
$validCodeForToday = strtoupper(trim($this->getCodeForToday()));
if ($this->code !== $validCodeForToday) {
throw new Exception("Invalid code. Please listen to the show announcement for the code.", 400);
}
Expand Down Expand Up @@ -142,7 +142,7 @@ public function addRequestToQueue(int $songsAhead): void
$statement->bind_param("sss", $this->sequenceName, $this->ipAddress, $this->ipAddress);
$statement->execute();

$message = "Your request has been submitted. There are " . $songsAhead . " song(s) ahead of your request.";
$message = "Your request has been submitted. It will play after the current selection ends. There are " . $songsAhead . " song(s) ahead of your request.";
$response = new JsonResponse(201, $message);
$response->toJsonEncode();
}
Expand Down

0 comments on commit 5fd3746

Please sign in to comment.