diff --git a/app/Router.php b/app/Router.php index 1dc0124..782f743 100644 --- a/app/Router.php +++ b/app/Router.php @@ -188,7 +188,9 @@ class Router try { return self::$dispatcher->dispatch($method, $url); } catch (HttpMethodNotAllowedException $e) { + http_response_code(403); } catch (HttpRouteNotFoundException $e) { + http_response_code(404); } // Default to the not found page diff --git a/database/2013_01_27_221444_base_tables.php b/database/2013_01_27_221444_base_tables.php index 4ed9336..5837097 100644 --- a/database/2013_01_27_221444_base_tables.php +++ b/database/2013_01_27_221444_base_tables.php @@ -523,7 +523,8 @@ class BaseTables extends Migration ->default(0); $table->date('user_birthday') - ->default('0000-00-00'); + ->nullable() + ->default(null); $table->char('user_country', 2) ->default('XX'); diff --git a/resources/assets/less/yuuno/master.less b/resources/assets/less/yuuno/master.less index 05d2f59..eef5fe7 100644 --- a/resources/assets/less/yuuno/master.less +++ b/resources/assets/less/yuuno/master.less @@ -136,7 +136,7 @@ h3, h4, h5, h6 { - font-family: "Segoe UI", sans-serif; + font-family: "Open Sans", sans-serif; font-weight: 100; margin: 5px 0; } @@ -323,7 +323,7 @@ a.default:active { min-width: 200px; border: 2px solid #9475B2; float: left; - font-family: "Segoe UI", sans-serif; + font-family: "Open Sans", sans-serif; text-align: left; margin: 0 2px; transition: background .5s; @@ -432,7 +432,7 @@ a.default:active { } #headerLoginForm label { - font-family: "Segoe UI", sans-serif; + font-family: "Open Sans", sans-serif; font-weight: 100; font-size: 15px; } @@ -457,7 +457,7 @@ a.default:active { } .panelQuickLinks > li > a > .count { - font: 100 1em "Segoe UI", sans-serif; + font: 100 1em "Open Sans", sans-serif; margin-left: 6px; } @@ -495,7 +495,7 @@ a.default:active { width: auto; display: inline-block; text-decoration: none; - font: 100 70px/80px "Segoe UI", sans-serif; + font: 100 70px/80px "Open Sans", sans-serif; color: #B06AC4; transition: color .2s, text-shadow .2s; } @@ -513,7 +513,7 @@ a.default:active { @media (max-width: 768px) { .header .logo { - font: 100 50px/60px "Segoe UI", sans-serif; + font: 100 50px/60px "Open Sans", sans-serif; } } @@ -931,7 +931,7 @@ a.default:active { bottom: 5px; right: 5px; z-index: 3; - font-family: "Segoe UI", sans-serif; + font-family: "Open Sans", sans-serif; overflow-y: auto; overflow-x: hidden; max-height: 100%; @@ -1679,7 +1679,7 @@ a.default:active { } .settings .notification-history > a > .notif-hist-content > .notif-hist-inside > .notif-hist-title { - font-family: "Segoe UI", sans-serif; + font-family: "Open Sans", sans-serif; font-weight: 300; font-size: 1.7em; margin-top: 1em; @@ -2185,7 +2185,7 @@ textarea.inputStyling { } .forum.viewtopic .posts .userpanel .username { - font: 1.5em/1.7em "Segoe UI", sans-serif; + font: 1.5em/1.7em "Open Sans", sans-serif; text-shadow: 0 0 7px #888; padding: 0 0 2px; display: inline-block; } @@ -2271,7 +2271,7 @@ textarea.inputStyling { } .posting-bbcode-description { - font: .9em/1.2em "Segoe UI", sans-serif; + font: .9em/1.2em "Open Sans", sans-serif; padding: 2px 0 3px; } @@ -2423,7 +2423,7 @@ button.forumbtn { min-width: 300px; flex-grow: 2; padding: 5px; - font: 12px/20px "Segoe UI", sans-serif; + font: 12px/20px "Open Sans", sans-serif; background: #F6F6F6; } diff --git a/resources/views/yuuno/master.twig b/resources/views/yuuno/master.twig index 77d6886..78c44e4 100644 --- a/resources/views/yuuno/master.twig +++ b/resources/views/yuuno/master.twig @@ -10,6 +10,7 @@ {% endif %} {{ block('meta') }} +