Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ServerCore/Pages/Events/CreateDemo.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public async Task<IActionResult> OnPostAsync()
if (teamLoneWolf != null)
{
_context.TeamMembers.Add(new TeamMembers() { Team = teamLoneWolf, Member = demoCreatorUser });

if (!EventHelper.EventRequiresActivePlayerRegistration(Event))
{
await EventHelper.RegisterPlayerForEvent(_context, Event, demoCreatorUser);
Expand Down
2 changes: 1 addition & 1 deletion ServerCore/Pages/Player/Details.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@
</div>
<div>
<a asp-page="./Edit" asp-route-id="@Model.PlayerInEvent.ID">Edit</a> |
<a asp-page="/Teams/List">Find a Team or View My Team</a>
<a asp-page="/Teams/Signup">Find a Team or View My Team</a>
</div>
4 changes: 2 additions & 2 deletions ServerCore/Pages/Puzzles/Play.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
</style>

@if (Model.Event.AllowBlazor && canUsePresence && Model.Team != null)
@if (canUsePresence && Model.Team != null)
{
<script>
window.showPresence = (allPresence) => {
Expand Down Expand Up @@ -167,7 +167,7 @@ else
Answer
</th>
}
else if (Model.Event.AllowBlazor && canUsePresence)
else if (canUsePresence)
{
<th>
Who's here
Expand Down
4 changes: 2 additions & 2 deletions ServerCore/Pages/Resources/PH21New/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<p style="font-size:20px; font-weight:bold; text-align: center">A brief <a href="https://aka.ms/ph21closing" target="_blank">closing presentation</a> will begin shortly after 5PM on Sunday, May 2. The stream will open at 5PM.</p>
<br />
<p style="font-size:16px; font-weight:bold; text-align: center; color: red">Puzzlehunt 21 will run virtually on May 1-2, 2021.</p>
<p style="font-size:16px; font-weight:bold; text-align: center; color: red">Due to the changes made to Puzzlehunt 21, all teams must re-register!!!<br />If desired, you can access the original event registration <a href="https://puzzlehunt.azurewebsites.net/ph21orig/play/Teams/List">here</a>.</p>
<p style="font-size:16px; font-weight:bold; text-align: center; color: red">Due to the changes made to Puzzlehunt 21, all teams must re-register!!!<br />If desired, you can access the original event registration <a href="https://puzzlehunt.azurewebsites.net/ph21orig/play/Teams/Signup">here</a>.</p>
<br />
<p style="text-align: center">The <a asp-page="/EventSpecific/FAQ">FAQ</a> and <a asp-page="/EventSpecific/Rules">Rules</a> are live. <b><a asp-page="/Teams/List">Registration is active!</a></b></p>
<p style="text-align: center">The <a asp-page="/EventSpecific/FAQ">FAQ</a> and <a asp-page="/EventSpecific/Rules">Rules</a> are live. <b><a asp-page="/Teams/Signup">Registration is active!</a></b></p>
</div>
4 changes: 2 additions & 2 deletions ServerCore/Pages/Resources/nipd2020/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@

<div class="pd2020-container-card">
<h3>HOW TO SIGN UP</h3>
<p>If you don&rsquo;t have a team yet, you can <b><a asp-page="/Teams/List">create a team using the link here</a></b>. Teams will consist of 4-6 players with all levels of puzzle experience; each team must contain at least one FTE. Since this year&rsquo;s event is 100% virtual, your team doesn&rsquo;t even need to be in the same place geographically. Once you&rsquo;ve made a team, you can invite specific people to join you or leave your team open for anyone to join.</p>
<p>If you don&rsquo;t have a team yet, you can <b><a asp-page="/Teams/Signup">create a team using the link here</a></b>. Teams will consist of 4-6 players with all levels of puzzle experience; each team must contain at least one FTE. Since this year&rsquo;s event is 100% virtual, your team doesn&rsquo;t even need to be in the same place geographically. Once you&rsquo;ve made a team, you can invite specific people to join you or leave your team open for anyone to join.</p>

<p>If you want to join a team and haven&rsquo;t been specifically invited by anyone, you can <b><a asp-page="/Teams/List">find the list of teams looking for team members here</a></b> and request to join.</p>
<p>If you want to join a team and haven&rsquo;t been specifically invited by anyone, you can <b><a asp-page="/Teams/Signup">find the list of teams looking for team members here</a></b> and request to join.</p>

<p>If you&rsquo;re still looking for teammates, you should keep your team open by leaving &ldquo;Allow unsolicited applications&rdquo; checked on your team page. You can use the Bio to describe what your team philosophy is.</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ServerCore/Pages/Resources/nipd2021/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@

<div class="pd2021-container-card">
<h3>HOW TO SIGN UP</h3>
<p>If you don&rsquo;t have a team yet, you can <b><a asp-page="/Teams/List">create a team using the link here</a></b>. Teams will consist of 4-6 players with all levels of puzzle experience; each team must contain at least one FTE. Since this year&rsquo;s event is 100% virtual, your team doesn&rsquo;t even need to be in the same place geographically. Once you&rsquo;ve made a team, you can invite specific people to join you or leave your team open for anyone to join.</p>
<p>If you don&rsquo;t have a team yet, you can <b><a asp-page="/Teams/Signup">create a team using the link here</a></b>. Teams will consist of 4-6 players with all levels of puzzle experience; each team must contain at least one FTE. Since this year&rsquo;s event is 100% virtual, your team doesn&rsquo;t even need to be in the same place geographically. Once you&rsquo;ve made a team, you can invite specific people to join you or leave your team open for anyone to join.</p>

<p>If you want to join a team and haven&rsquo;t been specifically invited by anyone, you can <b><a asp-page="/Teams/List">find the list of teams looking for team members here</a></b> and request to join.</p>
<p>If you want to join a team and haven&rsquo;t been specifically invited by anyone, you can <b><a asp-page="/Teams/Signup">find the list of teams looking for team members here</a></b> and request to join.</p>

<p>If you&rsquo;re still looking for teammates, you should keep your team open by leaving &quot;Allow unsolicited applications&quot; checked on your team page. You can use the Bio to describe what your team philosophy is.</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ServerCore/Pages/Resources/nipd2022/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ else

<div class="pd2022-container-card card-3">
<h3>SIGNING UP</h3>
<p>If you don't have a team yet, you can <b><a asp-page="/Teams/List">create a team using the link here</a></b>. Teams will consist of 4 to 6 players, at least 2 of which must be Microsoft FTEs. Guests on campus must be accompanied by an FTE at all times, and interns are not allowed to play in this event!</p>
<p>If you don't have a team yet, you can <b><a asp-page="/Teams/Signup">create a team using the link here</a></b>. Teams will consist of 4 to 6 players, at least 2 of which must be Microsoft FTEs. Guests on campus must be accompanied by an FTE at all times, and interns are not allowed to play in this event!</p>

<p>Please be aware that all in-person-only components of this event will take place in Building 99, so choose your team's conference room accordingly. Also keep in mind that Studios A, B, C, Buildings 92, 111, 114, 120, 123 - 127, 21, 30, 33, 34, 41, 42, 50, 87, and all construction areas are OFF LIMITS and should not be entered under any circumstances.</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ServerCore/Pages/Resources/pd2019/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}
else
{
<a asp-page="/Teams/List" class="pd2019-emphasis">After you join a team</a><span>, don't forget to tell us your T-shirt sizes and lunch preferences</span>
<a asp-page="/Teams/Signup" class="pd2019-emphasis">After you join a team</a><span>, don't forget to tell us your T-shirt sizes and lunch preferences</span>
}
so that we can get that prepared in advance.
</p>
Expand Down
4 changes: 2 additions & 2 deletions ServerCore/Pages/Resources/pd2020/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@

<div class="pd2020-container-card">
<h3>HOW TO SIGN UP</h3>
<p>If you don&rsquo;t have a team yet, you can <b><a asp-page="/Teams/List">create a team using the link here</a></b>. Teams will consist of 4-6 players with all levels of puzzle experience; each intern can invite one non-employee guest to join them if they wish. Since this year&rsquo;s event is 100% virtual, your team doesn&rsquo;t even need to be in the same place geographically. And don&rsquo;t worry if you can&rsquo;t make both days; the goal is just to have fun! Once you&rsquo;ve made a team, you can invite specific people to join you or leave your team open for anyone to join.</p>
<p>If you don&rsquo;t have a team yet, you can <b><a asp-page="/Teams/Signup">create a team using the link here</a></b>. Teams will consist of 4-6 players with all levels of puzzle experience; each intern can invite one non-employee guest to join them if they wish. Since this year&rsquo;s event is 100% virtual, your team doesn&rsquo;t even need to be in the same place geographically. And don&rsquo;t worry if you can&rsquo;t make both days; the goal is just to have fun! Once you&rsquo;ve made a team, you can invite specific people to join you or leave your team open for anyone to join.</p>

<p>If you want to join a team and haven&rsquo;t been specifically invited by anyone, you can <b><a asp-page="/Teams/List">find the list of teams looking for team members here</a></b> and request to join.</p>
<p>If you want to join a team and haven&rsquo;t been specifically invited by anyone, you can <b><a asp-page="/Teams/Signup">find the list of teams looking for team members here</a></b> and request to join.</p>

<p>If you&rsquo;re still looking for teammates, you should keep your team open. Existing teams can also invite other players, and if you need help finding teammates, you can always ask other interns you work with, know from your cohort or university, or met in cyberspace.</p>

Expand Down
6 changes: 3 additions & 3 deletions ServerCore/Pages/Resources/pd2021.2203/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<p>PREGAME PUZZLES ARE NOW LIVE! These are a great way to get into the spirit of the event and learn how to use our website. We hope they are fun and give you an idea of what to expect. Click &quot;Puzzles&quot; at the top of the page to get to them, and if you don&rsquo;t see a link to the puzzles up there, make sure you&rsquo;re registered to play!</p>

<p>If you aren&rsquo;t registered, <a asp-page="/Teams/List">CLICK HERE</a> or click &quot;Register&quot; at the top of the page to get to the registration form.</p>
<p>If you aren&rsquo;t registered, <a asp-page="/Teams/Signup">CLICK HERE</a> or click &quot;Register&quot; at the top of the page to get to the registration form.</p>

<h4>EVENT SCHEDULE</h4>

Expand All @@ -47,8 +47,8 @@
<div class="pd2021-container-card">
<h3>HOW TO SIGN UP</h3>

<p>REGISTRATION IS NOW OPEN! If you don&rsquo;t have a team yet, you can <b><a asp-page="/Teams/List">create a team by clicking here</a></b>. Teams will consist of 4-6 players with all levels of puzzle experience. Since this year&rsquo;s event is 100% virtual, your team doesn&rsquo;t even need to be in the same place geographically. Once you&rsquo;ve made a team, you can invite specific people to join you or leave your team open for anyone to join.</p>
<p>If you want to join a team and haven&rsquo;t been specifically invited by anyone, you can <b><a asp-page="/Teams/List">find the list of teams looking for team members here</a></b> and request to join. If you&rsquo;re still looking for teammates, you should keep your team open by leaving &quot;Allow unsolicited applications&quot; checked on your team page. You can use the Bio to describe what your team philosophy is.</p>
<p>REGISTRATION IS NOW OPEN! If you don&rsquo;t have a team yet, you can <b><a asp-page="/Teams/Signup">create a team by clicking here</a></b>. Teams will consist of 4-6 players with all levels of puzzle experience. Since this year&rsquo;s event is 100% virtual, your team doesn&rsquo;t even need to be in the same place geographically. Once you&rsquo;ve made a team, you can invite specific people to join you or leave your team open for anyone to join.</p>
<p>If you want to join a team and haven&rsquo;t been specifically invited by anyone, you can <b><a asp-page="/Teams/Signup">find the list of teams looking for team members here</a></b> and request to join. If you&rsquo;re still looking for teammates, you should keep your team open by leaving &quot;Allow unsolicited applications&quot; checked on your team page. You can use the Bio to describe what your team philosophy is.</p>
</div>

<div class="pd2021-container-card">
Expand Down
4 changes: 2 additions & 2 deletions ServerCore/Pages/Resources/pd2021/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@

<div class="pd2021-container-card">
<h3>HOW TO SIGN UP</h3>
<p><b>Registration is now open!</b> If you don’t have a team yet, you can <b><a href="https://puzzlehunt.azurewebsites.net/pd2021/play/Teams/List">create a team using the link here</a></b>. Teams will consist of 4-6 players with all levels of puzzle experience. Each intern can invite one non-employee guest to join them if they wish. Since this year’s event is 100% virtual, your team doesn’t even need to be in the same place geographically. And don’t worry if you can’t make both days; the goal is just to have fun! Once you’ve made a team, you can invite other people to join you or leave your team open for anyone to join.</p>
<p><b>Registration is now open!</b> If you don’t have a team yet, you can <b><a href="https://puzzlehunt.azurewebsites.net/pd2021/play/Teams/Signup">create a team using the link here</a></b>. Teams will consist of 4-6 players with all levels of puzzle experience. Each intern can invite one non-employee guest to join them if they wish. Since this year’s event is 100% virtual, your team doesn’t even need to be in the same place geographically. And don’t worry if you can’t make both days; the goal is just to have fun! Once you’ve made a team, you can invite other people to join you or leave your team open for anyone to join.</p>

<p>If you want to join a team and haven’t been specifically invited by anyone, you can <b><a href="https://puzzlehunt.azurewebsites.net/pd2021/play/Teams/List">research the list of teams looking for team members</a></b> and request to join one of them. We recommend for any team that still needs teammates to keep your team open. If you need help finding teammates, you can always ask other interns you work with, know from your cohort or university, or met in cyberspace.</p>
<p>If you want to join a team and haven’t been specifically invited by anyone, you can <b><a href="https://puzzlehunt.azurewebsites.net/pd2021/play/Teams/Signup">research the list of teams looking for team members</a></b> and request to join one of them. We recommend for any team that still needs teammates to keep your team open. If you need help finding teammates, you can always ask other interns you work with, know from your cohort or university, or met in cyberspace.</p>

<p>If you don't fill up your team, we’ll help combine any that aren’t full before the event. You can also use the information sessions to recruit new members. We encourage teams to stay together for both days of the event, but in case there are players who are not available on both days, you can swap people in and out so long as no more than 6 players are on your team on either day.</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ServerCore/Pages/Resources/pd2022/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ else

<div class="pd2022-container-card card-3">
<h3>HOW TO SIGN UP</h3>
<p>REGISTRATION IS NOW OPEN! If you don't have a team yet, you can <b><a href="https://puzzlehunt.azurewebsites.net/pd2022/play/Teams/List">CLICK HERE</a></b> to create one or look for teams who are open to new members. Up to 12 people can be on a team, and each Microsoft intern can invite one non-Microsoft-employee guest to join them (guests are included in the limit of 12).</p>
<p>REGISTRATION IS NOW OPEN! If you don't have a team yet, you can <b><a href="https://puzzlehunt.azurewebsites.net/pd2022/play/Teams/Signup">CLICK HERE</a></b> to create one or look for teams who are open to new members. Up to 12 people can be on a team, and each Microsoft intern can invite one non-Microsoft-employee guest to join them (guests are included in the limit of 12).</p>

<p>While we know that a large portion of interns will be able to participate in-person on the Redmond campus this year, we are still providing a remote experience that allows full participation in the event. It's truly hybrid! And while that means your team doesn't need to be in the same place geographically, we think there are enough advantages to meeting up in-person that we want at least 1/3 of your team to be located on the Redmond campus during the event.</p>

Expand Down
2 changes: 1 addition & 1 deletion ServerCore/Pages/Resources/pd2023/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ else
<div class="pd2023-container-card card-4">
<h3>HOW TO SIGN UP</h3>
<p>REGISTRATION IS NOW OPEN!</p>
<p><a href="https://puzzlehunt.azurewebsites.net/pd2023/play/Teams/List"><b>CLICK HERE</b></a> to create a team and/or look for teams who are open to new members.</p>
<p><a href="https://puzzlehunt.azurewebsites.net/pd2023/play/Teams/Signup"><b>CLICK HERE</b></a> to create a team and/or look for teams who are open to new members.</p>
<p>By the time the event starts, teams must have at least 6 interns present on the Redmond campus during the event. Teams can include remote interns. Teams can include 1 or 2 non-Microsoft-employee guests. Recommended team size is 10-12.</p>
<p>On July 8<sup>th</sup> if your team has fewer than 6 people, you will need to combine with another team. If you need help doing this, let us know and we'll help!</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ServerCore/Pages/Resources/ps20/HomePartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</p>


<p>Registration opened on Tuesday, June 23, and runs through July 16th. <a href="https://puzzlehunt.azurewebsites.net/ps20/play/Teams/List">Register your team here!</a></p>
<p>Registration opened on Tuesday, June 23, and runs through July 16th. <a href="https://puzzlehunt.azurewebsites.net/ps20/play/Teams/Signup">Register your team here!</a></p>
<p><a href="https://safarilabs.solutions/Home/EventInfo">Detailed event information (Rules, FAQ, etc.) can be found here.</a></p>
</div>

Expand Down
10 changes: 5 additions & 5 deletions ServerCore/Pages/Shared/_EventNavigationPartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
userId = eventPage.LoggedInUser?.ID;
}

string teamSignupUrl = (Event.AllowBlazor) ? "/Teams/Signup" : "/Teams/List";
string teamSignupUrl = "/Teams/Signup";
}

<!--ADMIN NAV BAR-->
Expand All @@ -35,7 +35,7 @@
</button>
</div>

@if (Event?.AllowBlazor == true && Event?.EphemeralHackKillNotifications != true)
@if (Event?.EphemeralHackKillNotifications != true)
{
<a class="nav-link position-relative" asp-page="/Events/Notifications">
<span class="fab text-white">🔔</span>
Expand Down Expand Up @@ -124,7 +124,7 @@
</button>
</div>

@if (Event?.AllowBlazor == true && Event?.EphemeralHackKillNotifications != true)
@if (Event?.EphemeralHackKillNotifications != true)
{
<a class="nav-link position-relative" asp-page="/Events/Notifications">
<span class="fab text-white">🔔</span>
Expand Down Expand Up @@ -188,7 +188,7 @@
</button>
</div>

@if (Event?.AllowBlazor == true && Event?.EphemeralHackKillNotifications != true)
@if (Event?.EphemeralHackKillNotifications != true)
{
<a class="nav-link position-relative" asp-page="/Events/Notifications">
<span class="fab text-white">🔔</span>
Expand Down Expand Up @@ -362,7 +362,7 @@
</nav>
}
<!--UNREGISTERED PLAYER NAV BAR END-->
@if (Event?.AllowBlazor == true && Event?.EphemeralHackKillNotifications != true)
@if (Event?.EphemeralHackKillNotifications != true)
{
<script>
var allEventToasts = {};
Expand Down
Loading