diff --git a/index.php b/index.php index 79d381d..ec768b8 100644 --- a/index.php +++ b/index.php @@ -1,9 +1,9 @@

$ welcome to tilde.club

-

Questions? See the official FAQ.

+

Questions? See the official FAQ.

-

SERVICE ADVISORY: New Server, New Owners, New lease on life for tilde.club. Welcome!. The Expected SSH Hostkey is SHA256:duamOATgnGcfRFFkotCwrAWzZtRjwxm64WAhq5tQRwE and will match the SSHFP records in DNS. You can use ssh -o "VerifyHostKeyDNS yes" user@tilde.club to verify that the key matches DNS.

+

SERVICE ADVISORY: New Server, New Owners, New lease on life for tilde.club. Welcome!. The Expected SSH Hostkey is SHA256:duamOATgnGcfRFFkotCwrAWzZtRjwxm64WAhq5tQRwE.

@@ -38,30 +38,30 @@ gave. Here's who has donated! When you're on the server, THANK THEM.

-
-				10/5/2014 | ~beau
-				10/5/2014 | ~skk
-				10/5/2014 | ~joeld
-				10/5/2014 | ~john
-				10/5/2014 | ~brendn
-				10/5/2014 | ~droob
-				10/5/2014 | ~delfuego
-				10/5/2014 | ~jonathan
-				10/5/2014 | ~coldmode
-				10/5/2014 | ~jemal
-				10/5/2014 | ~jonbell
-				10/5/2014 | ~_
-				10/5/2014 | ~dvd
-				10/5/2014 | ~whitneymcn
-				10/5/2014 | ~jimray
-				10/5/2014 | ~schussat
-				10/5/2014 | ~macdiva
-				10/3/2014 | ~extraface
-				10/3/2014 | ~joshuag
-				10/3/2014 | ~zarate
-				10/3/2014 | ~englishm
-				10/3/2014 | ~danbri
-				
+
diff --git a/signup/index.php b/signup/index.php index eaf867e..4b6e0b7 100644 --- a/signup/index.php +++ b/signup/index.php @@ -3,7 +3,6 @@ $title = "sign up for the tilde.club!"; include __DIR__."/../header.php"; ?> -

devmode!! please do not use yet!!

sign up to join tilde.club

we're excited you're here! let's get you signed up!

diff --git a/signup/signup-handler.php b/signup/signup-handler.php index 7a752d5..32c6738 100644 --- a/signup/signup-handler.php +++ b/signup/signup-handler.php @@ -68,7 +68,7 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) { if (strlen($name) > 32) $message .= "
  • username too long (32 character max)
  • "; - if (!preg_match('/^[a-z][a-z0-9]{2,31}$/', $name)) + if (!preg_match('/^[a-z][a-z0-9]{1,30}$/', $name)) $message .= "
  • username contains invalid characters (lowercase only, must start with a letter)
  • "; if ($_REQUEST["sshkey"] == "" || mb_substr($_REQUEST["sshkey"], 0, 4) !== "ssh-") @@ -97,7 +97,8 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) { // no validation errors if ($message == "") { - $makeuser = "makeuser {$_REQUEST["username"]} {$_REQUEST["email"]} \"{$_REQUEST["sshkey"]}\""; + $sshkey = trim($_REQUEST["sshkey"]); + $makeuser = "makeuser {$_REQUEST["username"]} {$_REQUEST["email"]} \"{$sshkey}\""; $msgbody = " username: {$_REQUEST["username"]} email: {$_REQUEST["email"]} diff --git a/style.css b/style.css index 4826671..a728616 100644 --- a/style.css +++ b/style.css @@ -1,64 +1,103 @@ -* {font-size:13pt;font-weight:normal;} +/* {font-size:13pt;font-weight:normal;} */ -table {border-collapse:collapse;} -td {border:6px double darkorange;padding:10px;} -ol {margin-left:1em;} -body { - margin:1em; - background:000; - font-family:'courier new'; - color:darkorange; - background:#000400; +table { + border-collapse: collapse; } -a {background:darkorange;color:#223;font-weight:bold;padding-right:.25em;} -.advisory {background:darkorange;color:#223;font-weight:bold;padding-right:.25em;} -h1 {text-transform:uppercase;font-weight:bold; - color:#000400; background:darkorange; +td { + border: 6px double darkorange; + padding: 10px; +} +ol { + margin-left: 1em; +} +body { + margin: 1em; + background: 000; + font-family: "courier new", monospace; + color: darkorange; + background: #000400; +} +a { + background: darkorange; + color: #223; + font-weight: bold; + padding-right: 0.25em; +} +.advisory { + background: darkorange; + color: #223; + font-weight: bold; + padding-right: 0.25em; +} +h1 { + text-transform: uppercase; + font-weight: bold; + color: #000400; + background: darkorange; } .advisory { - -webkit-animation-name: blinker; - -webkit-animation-duration: 8s; - -webkit-animation-timing-function: linear; - -webkit-animation-iteration-count: infinite; + -webkit-animation-name: blinker; + -webkit-animation-duration: 8s; + -webkit-animation-timing-function: linear; + -webkit-animation-iteration-count: infinite; - -moz-animation-name: blinker; - -moz-animation-duration: 8s; - -moz-animation-timing-function: linear; - -moz-animation-iteration-count: infinite; + -moz-animation-name: blinker; + -moz-animation-duration: 8s; + -moz-animation-timing-function: linear; + -moz-animation-iteration-count: infinite; - animation-name: blinker; - animation-duration: 8s; - animation-timing-function: linear; - animation-iteration-count: infinite; + animation-name: blinker; + animation-duration: 8s; + animation-timing-function: linear; + animation-iteration-count: infinite; } -input[type="text"], textarea { - background-color : #333; - color: darkorange; +input[type="text"], +textarea { + background-color: #333; + color: darkorange; } div.alert-warning { - background-color: darkred; + background-color: darkred; } div.alert-success { - background-color: darkgreen; + background-color: darkgreen; } -@-moz-keyframes blinker { - 0% { opacity: 1.0; } - 50% { opacity: 0.75; } - 100% { opacity: 1.0; } +@-moz-keyframes blinker { + 0% { + opacity: 1; + } + 50% { + opacity: 0.75; + } + 100% { + opacity: 1; + } } -@-webkit-keyframes blinker { - 0% { opacity: 1.0; } - 50% { opacity: 0.75; } - 100% { opacity: 1.0; } +@-webkit-keyframes blinker { + 0% { + opacity: 1; + } + 50% { + opacity: 0.75; + } + 100% { + opacity: 1; + } } -@keyframes blinker { - 0% { opacity: 1.0; } - 50% { opacity: 0.75; } - 100% { opacity: 1.0; } +@keyframes blinker { + 0% { + opacity: 1; + } + 50% { + opacity: 0.75; + } + 100% { + opacity: 1; + } }