Commit Graph

17756 Commits

Author SHA1 Message Date
Persevere Von
c02e812967 Fix #7263 (#7264) v1.11.1 2019-01-19 11:35:20 -05:00
Julian Lam
c1042ee471 fix: removal of timeago fallback middleware (#7259)
* fix: removal of timeago fallback middleware

Instead of loading English fallback on missing language, we opt
to not send a script tag for a missing language to begin with.

Timeago already loads with English as default, so it will just
continue to use English.

* fix: check userLang against supported language codes

* fix: cleaned up code as per @pitaj

* fix: added comments

* fix: more fixes as per @pitaj

* feat: added addl. test for timeago locales, fixed broken test
2019-01-18 16:17:45 -05:00
Barış Soner Uşaklı
53c13976b6 backport unread inf scroll fix 2019-01-08 18:57:12 -05:00
Barış Soner Uşaklı
1cdb6af5dc backport unread inf scroll fix 2018-12-16 10:25:17 -05:00
Misty (Bot)
b0a44d866b chore: incrementing version number - v1.11.1 2018-12-14 21:17:50 +00:00
Misty (Bot)
77b767331b Merge commit 'f3e8e065033025084e0b6752025f73286b10efc3' into v1.11.x 2018-12-14 21:17:50 +00:00
oh
f3e8e06503 feat: Allow getting logfile path from config (#7044)
* feat(log): allow getting logfile path from config

fixes #5498

* feat(log): ensure logfile directory is created before running
2018-12-14 11:27:18 -05:00
Ben Lubar
ff5b04beb9 Log port number of current instance in addition to pid. (#7110) 2018-12-14 11:21:46 -05:00
Barış Soner Uşaklı
8169739069 fix: #7108 2018-12-14 10:16:59 -05:00
Misty (Bot)
81e854b37f Latest translations and fallbacks 2018-12-14 09:26:24 +00:00
Barış Soner Uşaklı
62f01a839e fix: dont save data for non-positive uids 2018-12-14 00:09:15 -05:00
Renovate Bot
63f4b5696b chore(deps): update dependency husky to v1.2.1 2018-12-13 23:43:57 -05:00
Misty (Bot)
7b8d7aee3c Latest translations and fallbacks 2018-12-13 09:26:49 +00:00
Barış Soner Uşaklı
f103390aa5 fix: #7103
update counter when user navigates to /unread
fix new topic alert on /unread
moved unread code from footer to unread
2018-12-12 19:43:35 -05:00
Barış Soner Uşaklı
2f57a4b9a6 fix: dont update cid:<cid>:tids:votes if topic is pinned 2018-12-12 14:35:51 -05:00
Barış Soner Uşaklı
d117df77f7 fix: #7102 2018-12-12 14:26:11 -05:00
Barış Soner Uşaklı
85a07e999b fix: #7102 2018-12-12 13:46:13 -05:00
Barış Soner Uşaklı
74d0e88df3 fix: don't explode if there is no css el 2018-12-12 11:16:49 -05:00
Barış Soner Uşaklı
263c918088 feat: remove uid:<uid>:ignored:cids (#7099)
use cid:<cid>:ignorers instead
2018-12-12 11:15:34 -05:00
Misty (Bot)
7a9299f374 Latest translations and fallbacks 2018-12-12 09:26:47 +00:00
Misty (Bot)
cc1a3e8f3e Latest translations and fallbacks 2018-12-11 09:28:09 +00:00
Barış Soner Uşaklı
26ccd8f626 fix: db info page
if there is no connection to db, connect first
2018-12-10 15:30:10 -05:00
Barış Soner Uşaklı
a0f57c642c Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-12-10 14:40:17 -05:00
Barış Soner Uşaklı
a6c8e0ab4f fix: logAttempt conditional 2018-12-10 14:40:11 -05:00
Julian Lam
33d4956b76 fix: #7087, server-side protection against guest blocks 2018-12-10 14:14:37 -05:00
Misty (Bot)
6c312fa253 Latest translations and fallbacks 2018-12-10 09:27:18 +00:00
Barış Soner Uşaklı
78fa734017 feat: cache category tag whitelist 2018-12-09 16:03:41 -05:00
Barış Soner Uşaklı
81aa3a0b8a fix: don't crash in flags.validate if user blocked target 2018-12-09 15:25:43 -05:00
Misty (Bot)
5b41969816 Latest translations and fallbacks 2018-12-09 09:26:46 +00:00
Barış Soner Uşaklı
555c092f65 fix: dont send empty strings 2018-12-08 19:53:19 -05:00
Barış Soner Uşaklı
fe0f95a2b1 fix: #7085 2018-12-08 19:51:26 -05:00
Barış Soner Uşaklı
e55fb43703 fix: #7086 2018-12-08 19:36:38 -05:00
Barış Soner Uşaklı
71163421aa fix: wrong variable #7085 2018-12-08 19:23:22 -05:00
Baris Usakli
df4f8cee4b remove node 6 2018-12-08 13:21:47 -05:00
Baris Usakli
31bb2ae9af feat: make user cards look less derpy 2018-12-08 12:42:16 -05:00
Baris Usakli
de437e36a5 fix: admins&mods when there are mutliple lines of users 2018-12-08 12:39:21 -05:00
Misty (Bot)
33834f7a23 Latest translations and fallbacks 2018-12-08 09:26:51 +00:00
Baris Usakli
e65d40c937 dont return undefined from sortedSetsCard if keys is empty or falsy 2018-12-07 16:50:35 -05:00
Baris Usakli
76af8caf58 add missing semicolon 2018-12-07 16:19:47 -05:00
Baris Usakli
420227faae parseFloat scores 2018-12-07 16:01:08 -05:00
Renovate Bot
3bcfd7fc13 fix(deps): update dependency nodebb-plugin-composer-default to v6.1.17 2018-12-07 15:16:00 -05:00
Renovate Bot
b6ad5fd438 fix(deps): update dependency nodebb-theme-persona to v9.1.4 2018-12-07 15:15:47 -05:00
renovate[bot]
46fb365d53 fix(deps): update dependency nodebb-plugin-markdown to v8.8.6 (#7079)
fixes #7000
2018-12-07 14:44:35 -05:00
Julian Lam
ed46c5e24b fix: refreshing settings page on save if language changed 2018-12-07 14:25:10 -05:00
Julian Lam
4fba1492c1 feat: added new middleware authenticateOrGuest 2018-12-07 13:31:31 -05:00
Julian Lam
eeaee8ccef fix: not calling authenticate middleware on resource direct access
routes
2018-12-07 11:56:44 -05:00
Julian Lam
5f3d1c76c8 fix: #7038, autoLocale logic not playing nicely with no-refresh auths (#7059)
* fix: #7038, autoLocale logic not playing nicely with no-refresh auths

- on login, req.query.lang is deleted (since it seems to be left over)
- on logout, the middleware.autoLocale is executed, which resets
  req.query.lang
- middleware.autoLocale is new, just refactored existing logic in
  webserver.js into new middleware method.

* style: tests, use lodash

* fix: timeago strings not switching languages on login or out
2018-12-07 11:29:20 -05:00
Misty (Bot)
72f56d7f49 Latest translations and fallbacks 2018-12-07 09:27:30 +00:00
renovate[bot]
d2aea57a03 fix(deps): update dependency nodebb-theme-persona to v9.1.3 (#7075) 2018-12-06 21:36:46 -05:00
Barış Soner Uşaklı
2604cf6356 fix: #7074 2018-12-06 20:54:45 -05:00