You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julian Lam c831ff0de3
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
6 years ago
..
database fix: #7139 6 years ago
files
helpers
mocks Home route (#7039) 6 years ago
.eslintrc
authentication.js chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599) 6 years ago
blacklist.js remove unnecessary groups.resetCache calls 7 years ago
build.js style(eslint): match operator-linebreak preferences 6 years ago
categories.js fix: #7193, closes #7194 6 years ago
controllers-admin.js fix logs test 6 years ago
controllers.js fix: removal of timeago fallback middleware (#7259) 6 years ago
coverPhoto.js fix: #7116 6 years ago
database.js fix: db info page 6 years ago
defer-logger.js upgrade to winston 3.1, closes #6590 (#6838) 6 years ago
emailer.js
feeds.js use includes instead of indexOf 6 years ago
file.js
flags.js fix: don't crash in flags.validate if user blocked target 6 years ago
groups.js fix: #7116 6 years ago
image.js
locale-detect.js fix: #7038, autoLocale logic not playing nicely with no-refresh auths (#7059) 6 years ago
messaging.js fix: #7086 6 years ago
meta.js parse '123' to 123 if it has no default 6 years ago
mocha.opts set cluster to false again 6 years ago
notifications.js remove unnecessary groups.resetCache calls 7 years ago
pagination.js
plugins.js chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599) 6 years ago
posts.js fix(deps): update dependency diff to v4 (#7198) 6 years ago
pubsub.js test pubsub cache 6 years ago
rewards.js remove unnecessary groups.resetCache calls 7 years ago
search-admin.js style(eslint): match operator-linebreak preferences 6 years ago
search.js add searchonly option to searh api 6 years ago
settings.js more settings tests 6 years ago
socket.io.js feat: #7032 6 years ago
template-helpers.js
topics.js Category watch state (#7109) 6 years ago
translator.js
uploads.js Home route (#7039) 6 years ago
user.js feat: support for one-click unsubscribe from email clients (#7203) 6 years ago
utils.js fix: #6921, allow square brackets in usernames 6 years ago