Usernames can have at least 3 chars.

This commit is contained in:
Michael 2017-03-21 19:15:24 -04:00
parent 8f9aeef8b1
commit c8461889c4
4 changed files with 83 additions and 2 deletions

View file

@ -14,6 +14,11 @@ public ActionResult TOS()
return View();
}
public ActionResult License()
{
return View();
}
// GET: Legal/Privacy
public ActionResult Privacy()
{

View file

@ -71,7 +71,7 @@ public class RegisterViewModel
[Required]
[MaxLength(25, ErrorMessage ="Your username must be less than 25 characters long.")]
[MinLength(5, ErrorMessage ="Your username must have a minimum of 5 characters.")]
[MinLength(3, ErrorMessage ="Your username must have a minimum of 3 characters.")]
[Display(Name = "Username")]
public string Username { get; set; }

View file

@ -503,11 +503,11 @@
<Content Include="Views\Shared\_ModeratorBar.cshtml" />
<Content Include="Views\Shared\_PostModerationBar.cshtml" />
<Content Include="Views\Forum\EditPost.cshtml" />
<Content Include="Views\Legal\TOS.cshtml" />
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
<Folder Include="Properties\PublishProfiles\" />
<Folder Include="Views\Legal\" />
</ItemGroup>
<ItemGroup>
<Content Include="fonts\glyphicons-halflings-regular.woff" />

View file

@ -0,0 +1,76 @@

@{
ViewBag.Title = "Terms of service/Community rules";
}
<h2>ShiftOS Terms of Service and Privacy Policy</h2>
<h3>1. Terms</h3>
<p>By accessing the website at <a href="http://project-unite.azurewebsites.net">http://project-unite.azurewebsites.net</a>, you are agreeing to be bound by these terms of service, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you are prohibited from using or accessing this site. The materials contained in this website are protected by applicable copyright and trademark law.</p>
<h3>2. Use License</h3>
<ol type="a">
<li><strong>Software license</strong><br/>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
<ol type="i">
<li>Any copyright notices are left intact.</li>
<li>A copy of @Html.ActionLink("this permission notice", "License", "Legal") is included with any distributions of the Software, whether in binary or source form.</li>
</ol>
</li>
<li><strong>Content license</strong><br/>
</li>
</ol>
<h3>3. Disclaimer</h3>
<ol type="a">
<li>The materials on ShiftOS's website are provided on an 'as is' basis. ShiftOS makes no warranties, expressed or implied, and hereby disclaims and negates all other warranties including, without limitation, implied warranties or conditions of merchantability, fitness for a particular purpose, or non-infringement of intellectual property or other violation of rights.</li>
<li>Further, ShiftOS does not warrant or make any representations concerning the accuracy, likely results, or reliability of the use of the materials on its website or otherwise relating to such materials or on any sites linked to this site.</li>
</ol>
<h3>4. Limitations</h3>
<p>In no event shall ShiftOS or its suppliers be liable for any damages (including, without limitation, damages for loss of data or profit, or due to business interruption) arising out of the use or inability to use the materials on ShiftOS's website, even if ShiftOS or a ShiftOS authorized representative has been notified orally or in writing of the possibility of such damage. Because some jurisdictions do not allow limitations on implied warranties, or limitations of liability for consequential or incidental damages, these limitations may not apply to you.</p>
<h3>5. Accuracy of materials</h3>
<p>The materials appearing on ShiftOS's website could include technical, typographical, or photographic errors. ShiftOS does not warrant that any of the materials on its website are accurate, complete or current. ShiftOS may make changes to the materials contained on its website at any time without notice. However ShiftOS does not make any commitment to update the materials.</p>
<h3>6. Links</h3>
<p>ShiftOS has not reviewed all of the sites linked to its website and is not responsible for the contents of any such linked site. The inclusion of any link does not imply endorsement by ShiftOS of the site. Use of any such linked website is at the user's own risk.</p>
<h3>7. Modifications</h3>
<p>ShiftOS may revise these terms of service for its website at any time without notice. By using this website you are agreeing to be bound by the then current version of these terms of service.</p>
<h3>8. Governing Law</h3>
<p>These terms and conditions are governed by and construed in accordance with the laws of Ontario and you irrevocably submit to the exclusive jurisdiction of the courts in that State or location.</p>
<h2>Privacy Policy</h2>
<p>Your privacy is important to us.</p>
<p>It is ShiftOS's policy to respect your privacy regarding any information we may collect while operating our website. Accordingly, we have developed this privacy policy in order for you to understand how we collect, use, communicate, disclose and otherwise make use of personal information. We have outlined our privacy policy below.</p>
<ul>
<li>We will collect personal information by lawful and fair means and, where appropriate, with the knowledge or consent of the individual concerned.</li>
<li>Before or at the time of collecting personal information, we will identify the purposes for which information is being collected.</li>
<li>We will collect and use personal information solely for fulfilling those purposes specified by us and for other ancillary purposes, unless we obtain the consent of the individual concerned or as required by law.</li>
<li>Personal data should be relevant to the purposes for which it is to be used, and, to the extent necessary for those purposes, should be accurate, complete, and up-to-date.</li>
<li>We will protect personal information by using reasonable security safeguards against loss or theft, as well as unauthorized access, disclosure, copying, use or modification.</li>
<li>We will make readily available to customers information about our policies and practices relating to the management of personal information.</li>
<li>We will only retain personal information for as long as necessary for the fulfilment of those purposes.</li>
</ul>
<p>We are committed to conducting our business in accordance with these principles in order to ensure that the confidentiality of personal information is protected and maintained. ShiftOS may change this privacy policy from time to time at ShiftOS's sole discretion.</p>