From 2e13ba8f4bd1dd2b71394814b13b79dd6572acfe Mon Sep 17 00:00:00 2001 From: Martii Date: Sat, 7 Feb 2015 15:19:47 -0700 Subject: [PATCH] Some dep updates * *bootstrap* notes ** Don't set initial height... this is what was making it open/close automatically... needed in latest *bootstrap* ** `floor` and adjust reminders to top/bottom padding only otherwise viewport horizontal scrollbar appears with this *bootstrap* ... Related to #484 and starting at #568 ** Remove unused classes at `/user/add/scripts` so it doesn't color differently... e.g. this is probably a bug that was fixed in latest *bootstrap* as well as possible improper usage in our code. * *mongoose* update * *sanitize-html* update Closes #379 --- package.json | 6 +++--- public/css/common.css | 1 - public/less/bootstrap/oujs-bootswatch.less | 3 ++- views/pages/newScriptPage.html | 16 ++++++++-------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 1e4b6171c..3b35d4c14 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "async": "0.9.0", "aws-sdk": "2.0.21", "body-parser": "1.11.0", - "bootstrap": "3.1.1", + "bootstrap": "3.3.2", "bootstrap-markdown": "2.8.0", "compression": "1.4.0", "connect-mongo": "0.7.0", @@ -26,7 +26,7 @@ "marked": "0.3.3", "method-override": "2.3.1", "moment": "2.9.0", - "mongoose": "3.8.22", + "mongoose": "3.8.23", "morgan": "1.5.1", "mu2": "0.5.20", "octicons": "git://github.com/github/octicons.git#835ee02", @@ -49,7 +49,7 @@ "passport-windowslive": "1.0.1", "passport-yahoo": "0.3.0", "request": "2.53.0", - "sanitize-html": "1.5.2", + "sanitize-html": "1.5.3", "select2": "3.5.2-browserify", "select2-bootstrap-css": "1.4.6", "serve-favicon": "2.2.0", diff --git a/public/css/common.css b/public/css/common.css index 0b1fb7be5..941c49f69 100644 --- a/public/css/common.css +++ b/public/css/common.css @@ -126,7 +126,6 @@ h2.page-heading { transition: height 0.4s ease; width: 100%; z-index: 1039; - height: 0; background-color: #ebebeb; bottom: 0; font-size: 14px; diff --git a/public/less/bootstrap/oujs-bootswatch.less b/public/less/bootstrap/oujs-bootswatch.less index 29a564958..0907b515a 100644 --- a/public/less/bootstrap/oujs-bootswatch.less +++ b/public/less/bootstrap/oujs-bootswatch.less @@ -141,7 +141,8 @@ body > .navbar { .reminders .alert.small { margin-bottom: 0; - padding: (@alert-padding * 0.66) + padding-top: floor((@alert-padding * 0.66)); + padding-bottom: floor((@alert-padding * 0.66)); } .reminders .alert.small .close { diff --git a/views/pages/newScriptPage.html b/views/pages/newScriptPage.html index 5fb91bece..9b591ef44 100644 --- a/views/pages/newScriptPage.html +++ b/views/pages/newScriptPage.html @@ -26,36 +26,36 @@

Script Metadata

OpenUserJS.org Supported

-
+

@description This script even does the laundry!

Specially formatted on the script page. Last value shown.

-
+

@copyright Year, Author (Author Website)

Specially formatted on the script page. All values shown in reverse order.

-
+

@icon url

A url or data url. Resolution should be near 48px by 48px, Used in the script list page at 16px and on the script page at ~45px. Last value is shown.

-
+

@license License Type; License Homepage

Specially formatted on the script page. All values shown in reverse order. If absent MIT License (Expat) is implied. See licensing terms for specifics.

-
+

@homepageURL url

A url of http, https or mailto protocol. Specially formatted on the script page. All values shown in reverse order.

-
+

@supportURL url

A url of http, https or mailto protocol. Specially formatted on the script page. Last value shown.

-
+

@oujs:author {{#authedUser}}{{authedUser.name}}{{/authedUser}}{{^authedUser}}username{{/authedUser}}

The author of the script. Required to enable Collaboration. Last value shown. This key may be subject to change.

-
+

@oujs:collaborator username

May be defined multiple times. Required for Collaboration. All values shown in reverse order. This key may be subject to change.