diff --git a/app.js b/app.js index 70d9baa41e..db4c306d66 100644 --- a/app.js +++ b/app.js @@ -105,7 +105,8 @@ function start() { winston.info('Time: ' + new Date()); winston.info('Initializing NodeBB v' + pkg.version); winston.info('* using configuration stored in: ' + configFile); - winston.info('* using ' + nconf.get('database') +' store at ' + nconf.get(nconf.get('database') + ':host') + ':' + nconf.get(nconf.get('database') + ':port')); + var host = nconf.get(nconf.get('database') + ':host'); + winston.info('* using ' + nconf.get('database') +' store at ' + host + (host.indexOf('/') === -1 ? ':' + nconf.get(nconf.get('database') + ':port') : '')); winston.info('* using themes stored in: ' + nconf.get('themes_path')); if (process.env.NODE_ENV === 'development') { diff --git a/package.json b/package.json index b3e7350f72..083db7f7a0 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "rss": "~0.2.0", "prompt": "~0.2.11", "uglify-js": "~2.4.0", - "validator": "~3.2.1", + "validator": "^3.4.0", "cron": "~1.0.1", "semver": "~2.2.1", "string": "~1.7.0", diff --git a/public/language/en_GB/reset_password.json b/public/language/en_GB/reset_password.json index 468bfb0254..27537ffdf2 100644 --- a/public/language/en_GB/reset_password.json +++ b/public/language/en_GB/reset_password.json @@ -8,6 +8,7 @@ "new_password": "New Password", "repeat_password": "Confirm Password", "enter_email": "Please enter your email address and we will send you an email with instructions on how to reset your account.", + "enter_email_address": "Enter Email Address", "password_reset_sent": "Password Reset Sent", "invalid_email": "Invalid Email / Email does not exist!" } diff --git a/public/language/nl/global.json b/public/language/nl/global.json index cf6a683825..d44cdf7098 100644 --- a/public/language/nl/global.json +++ b/public/language/nl/global.json @@ -10,16 +10,16 @@ "500.message": "Oeps! Het lijkt erop dat iets is fout gegaan!", "register": "Registeren", "login": "Inloggen", - "please_log_in": "Please Log In", - "posting_restriction_info": "Posting is currently restricted to registered members only, click here to log in.", - "welcome_back": "Welcome Back ", - "you_have_successfully_logged_in": "You have successfully logged in", + "please_log_in": "Log a.u.b. In", + "posting_restriction_info": "Reageren is momenteel beperkt tot geregistreerde leden, klik hier om in te loggen.", + "welcome_back": "Welkom Terug!", + "you_have_successfully_logged_in": "Je bent succesvol ingelogd", "logout": "Uitloggen", "logout.title": "Je bent nu uitgelogd.", "logout.message": "Je bent met succes uitgelogd van NodeBB", "save_changes": "Aanpassingen Opslaan", "close": "Sluiten", - "pagination": "Pagination", + "pagination": "Paginering", "header.admin": "Admin", "header.recent": "Recent", "header.unread": "Ongelezen", @@ -49,7 +49,7 @@ "posted": "geplaatst", "in": "in", "recentposts": "Recente Berichten", - "recentips": "Recently Logged In IPs", + "recentips": "Recente Ingelogde IPs", "online": "Online", "away": "Afwezig", "dnd": "Niet Storen", diff --git a/public/language/nl/notifications.json b/public/language/nl/notifications.json index 1b1b4bbf8c..6be3973ba7 100644 --- a/public/language/nl/notifications.json +++ b/public/language/nl/notifications.json @@ -1,6 +1,6 @@ { "title": "Notificaties", - "no_notifs": "You have no new notifications", + "no_notifs": "Je hebt geen nieuwe notificaties", "see_all": "Bekijk alle Notificaties", "back_to_home": "Terug naar NodeBB", "outgoing_link": "Uitgaande Link", diff --git a/public/language/nl/pages.json b/public/language/nl/pages.json index 15deb0556f..70897ad6f4 100644 --- a/public/language/nl/pages.json +++ b/public/language/nl/pages.json @@ -1,14 +1,14 @@ { "home": "Home", "unread": "Ongelezen Onderwerpen", - "popular": "Popular Topics", + "popular": "Populaire Onderwerpen", "recent": "Recente Onderwerpen", "users": "Geregistreerde Gebruikers", "notifications": "Notificaties", "user.edit": "\"%1\" aanpassen", "user.following": "Mensen %1 Volgt", "user.followers": "Mensen die %1 Volgen", - "user.posts": "Posts made by %1", + "user.posts": "Berichten geplaatst door %1", "user.favourites": "%1's Favoriete Berichten", "user.settings": "Gebruikersinstellingen" } \ No newline at end of file diff --git a/public/language/nl/topic.json b/public/language/nl/topic.json index 3331b7fcf1..033ac94a11 100644 --- a/public/language/nl/topic.json +++ b/public/language/nl/topic.json @@ -11,7 +11,7 @@ "reply": "Reageren", "edit": "Aanpassen", "delete": "Verwijderen", - "restore": "Restore", + "restore": "Herstellen", "move": "Verplaatsen", "fork": "Fork", "banned": "verbannen", @@ -19,17 +19,17 @@ "share": "Delen", "tools": "Gereedschap", "flag": "Markeren", - "bookmark_instructions": "Click here to return to your last position or close to discard.", + "bookmark_instructions": "Klik hier om terug te gaan naar je laatste positie of sluiten om te annuleren.", "flag_title": "Dit bericht markeren voor moderatie", "deleted_message": "Dit onderwerp is verwijderd. Alleen gebruikers met onderwerp management privileges kunnen dit onderwerp zien.", - "following_topic.title": "Following Topic", - "following_topic.message": "You will now be receiving notifications when somebody posts to this topic.", - "not_following_topic.title": "Not Following Topic", - "not_following_topic.message": "You will no longer receive notifications from this topic.", - "login_to_subscribe": "Please register or log in in order to subscribe to this topic.", - "markAsUnreadForAll.success": "Topic marked as unread for all.", - "watch": "Watch", - "share_this_post": "Share this Post", + "following_topic.title": "Volg Onderwerp", + "following_topic.message": "Je zult nu notificaties ontvangen wanneer iemand reageert op dit onderwerp.", + "not_following_topic.title": "Volgt Onderwerp Niet", + "not_following_topic.message": "Je zult niet langer notificaties ontvangen van dit onderwerp.", + "login_to_subscribe": "Log a.u.b. in om op dit onderwerp te abonneren.", + "markAsUnreadForAll.success": "Onderwerp gemarkeerd als gelezen voor iedereen.", + "watch": "Volgen", + "share_this_post": "Deel dit Bericht", "thread_tools.title": "Thread Gereedschap", "thread_tools.markAsUnreadForAll": "Ongelezen Markeren", "thread_tools.pin": "Onderwerp Vastmaken", @@ -71,12 +71,12 @@ "composer.submit": "Opslaan", "composer.replying_to": "Reageren op", "composer.new_topic": "Nieuw Onderwerp", - "composer.uploading": "uploading...", - "composer.thumb_url_label": "Paste a topic thumbnail URL", - "composer.thumb_title": "Add a thumbnail to this topic", + "composer.uploading": "uploaden...", + "composer.thumb_url_label": "Plak een onderwerp thumbnail URL", + "composer.thumb_title": "Voeg een thumbnail toe aan dit onderwerp", "composer.thumb_url_placeholder": "http://example.com/thumb.png", - "composer.thumb_file_label": "Or upload a file", - "composer.thumb_remove": "Clear fields", - "composer.drag_and_drop_images": "Drag and Drop Images Here", - "composer.upload_instructions": "Upload images by dragging & dropping them." + "composer.thumb_file_label": "Of upload een bestand", + "composer.thumb_remove": "Velden leegmaken", + "composer.drag_and_drop_images": "Sleep en Zet Afbeeldingen Hier", + "composer.upload_instructions": "Upload afbeeldingen door ze te slepen." } \ No newline at end of file diff --git a/public/language/nl/user.json b/public/language/nl/user.json index ec931aee06..05e0c6f67c 100644 --- a/public/language/nl/user.json +++ b/public/language/nl/user.json @@ -20,19 +20,19 @@ "gravatar": "Gravatar", "birthday": "Verjaardag", "chat": "Chat", - "follow": "Follow", - "unfollow": "Unfollow", + "follow": "Volgen", + "unfollow": "Ontvolgen", "change_picture": "Afbeelding Aanpassen", "edit": "Aanpassen", "uploaded_picture": "Afbeelding Uploaden", "upload_new_picture": "Nieuwe Afbeelding Uploaden", - "current_password": "Current Password", + "current_password": "Huidige Wachtwoord", "change_password": "Wachtwoord Aanpassen", "confirm_password": "Bevestig Wachtwoord", "password": "Wachtwoord", "upload_picture": "Afbeelding Uploaden", "upload_a_picture": "Upload een afbeelding", - "image_spec": "You may only upload PNG, JPG, or GIF files", + "image_spec": "Je mag alleen PNG, JPG, of GIF bestanden uploaden.", "max": "max.", "settings": "Instellingen", "show_email": "Laat Mijn Email Zien", @@ -41,7 +41,7 @@ "has_no_posts": "Deze gebruiker heeft nog geen berichten geplaatst", "email_hidden": "Email Verborgen", "hidden": "verborgen", - "paginate_description": "Paginate topics and posts instead of using infinite scroll.", - "topics_per_page": "Topics per Page", - "posts_per_page": "Posts per Page" + "paginate_description": "Blader door onderwerpen en berichten in plaats van oneindig scrollen.", + "topics_per_page": "Onderwerpen per Pagina", + "posts_per_page": "Berichten per Pagina" } \ No newline at end of file diff --git a/public/src/forum/admin/categories.js b/public/src/forum/admin/categories.js index 2bcc541cd8..144adfd26a 100644 --- a/public/src/forum/admin/categories.js +++ b/public/src/forum/admin/categories.js @@ -252,6 +252,7 @@ define(['uploader'], function(uploader) { var numResults = results.length, resultObj; + resultsEl.html(''); for(var x = 0; x < numResults; x++) { resultObj = results[x]; liEl = $('
') @@ -303,7 +304,9 @@ define(['uploader'], function(uploader) { } var numResults = results.length, trEl, - resultObj; + resultObj; + + groupsResultsEl.empty(); for(var x = 0; x < numResults; x++) { resultObj = results[x]; @@ -346,12 +349,14 @@ define(['uploader'], function(uploader) { readMembers = modalEl.find('#category-permissions-read'), writeMembers = modalEl.find('#category-permissions-write'), moderatorsEl = modalEl.find('#category-permissions-mods'); + socket.emit('admin.categories.getPrivilegeSettings', cid, function(err, privilegeList) { var readLength = privilegeList['+r'].length, writeLength = privilegeList['+w'].length, modLength = privilegeList['mods'].length, liEl, x, userObj; + readMembers.html(''); if (readLength > 0) { for(x = 0; x < readLength; x++) { userObj = privilegeList['+r'][x]; @@ -363,10 +368,11 @@ define(['uploader'], function(uploader) { readMembers.append(liEl); } + writeMembers.html(''); if (writeLength > 0) { for(x=0;xYou are running NodeBB v{version}.
+- Always make sure that your NodeBB is up to date for the latest security patches and bug fixes. -
-- -
-You are running NodeBB v{version}.
++ Always make sure that your NodeBB is up to date for the latest security patches and bug fixes. +
++ +
+{topics.title}
-