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.
Barış Soner Uşaklı 805dcd7ca2
Async refactor in place (#7736)
* feat: allow both callback&and await

* feat: ignore async key

* feat: callbackify and promisify in same file

* Revert "feat: callbackify and promisify in same file"

This reverts commit cea206a9b8e6d8295310074b18cc82a504487862.

* feat: no need to store .callbackify

* feat: change getTopics to async

* feat: remove .async

* fix: byScore

* feat: rewrite topics/index and social with async/await

* fix: rewrite topics/data.js

fix issue with async.waterfall, only pass result if its not undefined

* feat: add callbackify to redis/psql

* feat: psql use await

* fix: redis 🌋

* feat: less returns

* feat: more await rewrite

* fix: redis tests

* feat: convert sortedSetAdd

rewrite psql transaction to async/await

* feat: 🐶

* feat: test

* feat: log client and query

* feat: log bind

* feat: more logs

* feat: more logs

* feat: check perform

* feat: dont callbackify transaction

* feat: remove logs

* fix: main functions

* feat: more logs

* fix: increment

* fix: rename

* feat: remove cls

* fix: remove console.log

* feat: add deprecation message to .async usage

* feat: update more dbal methods

* fix: redis :voodoo:

* feat:  fix redis zrem, convert setObject

* feat: upgrade getObject methods

* fix: psql getObjectField

* fix: redis tests

* feat: getObjectKeys

* feat: getObjectValues

* feat: isObjectField

* fix: add missing return

* feat: delObjectField

* feat: incrObjectField

* fix: add missing await

* feat: remove exposed helpers

* feat: list methods

* feat: flush/empty

* feat: delete

* fix: redis delete all

* feat: get/set

* feat: incr/rename

* feat: type

* feat: expire

* feat: setAdd

* feat: setRemove

* feat: isSetMember

* feat: getSetMembers

* feat: setCount, setRemoveRandom

* feat: zcard,zcount

* feat: sortedSetRank

* feat: isSortedSetMember

* feat: zincrby

* feat: sortedSetLex

* feat: processSortedSet

* fix: add mising await

* feat: debug psql

* fix: psql test

* fix: test

* fix: another test

* fix: test fix

* fix: psql tests

* feat: remove logs

* feat: user arrow func

use builtin async promises

* feat: topic bookmarks

* feat: topic.delete

* feat: topic.restore

* feat: topics.purge

* feat: merge

* feat: suggested

* feat: topics/user.js

* feat: topics modules

* feat: topics/follow

* fix: deprecation msg

* feat: fork

* feat: topics/posts

* feat: sorted/recent

* feat: topic/teaser

* feat: topics/tools

* feat: topics/unread

* feat: add back node versions

disable deprecation notice
wrap async controllers in try/catch

* feat: use db directly

* feat: promisify in place

* fix: redis/psql

* feat: deprecation message

logs for psql

* feat: more logs

* feat: more logs

* feat: logs again

* feat: more logs

* fix: call release

* feat: restore travis, remove logs

* fix: loops

* feat: remove .async. usage
6 years ago
..
database Async refactor in place (#7736) 6 years ago
files Replace jimp with sharp (#6774) 7 years ago
helpers testing new socket.io-client extraHeaders (#5985) 8 years ago
mocks fix: #6806 6 years ago
.eslintrc ESlint no-unused-vars 8 years ago
authentication.js Async refactor in place (#7736) 6 years ago
batch.js Async refactor in place (#7736) 6 years ago
blacklist.js fix(deps): update to eslint@6 6 years ago
build.js style(eslint): match operator-linebreak preferences 6 years ago
categories.js Topic await errors (#7727) 6 years ago
controllers-admin.js fix: tests 6 years ago
controllers.js Async refactor in place (#7736) 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) 7 years ago
emailer.js fixed tests, closes #6371 7 years ago
feeds.js use includes instead of indexOf 7 years ago
file.js Use relative linking (#6011) 8 years ago
flags.js fix(deps): update to eslint@6 6 years ago
groups.js fix: closes #7217 6 years ago
image.js up deps 8 years ago
locale-detect.js fix: #7038, autoLocale logic not playing nicely with no-refresh auths (#7059) 6 years ago
messaging.js fix: test 6 years ago
meta.js parse '123' to 123 if it has no default 7 years ago
mocha.opts set cluster to false again 7 years ago
notifications.js remove unnecessary groups.resetCache calls 7 years ago
pagination.js ESlint object-curly-spacing 8 years ago
plugins.js feat: hooks can now return promise or call callbacks 6 years ago
posts.js feat: added new admin option newbiePostEditDuration (#7737) 6 years ago
pubsub.js test pubsub cache 7 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 7 years ago
settings.js more settings tests 7 years ago
socket.io.js feat: update unban logic/invocation and refactor User.bans module 6 years ago
template-helpers.js fix: test 6 years ago
topics.js Async refactor in place (#7736) 6 years ago
translator.js fix: #7334 6 years ago
uploads.js fix(deps): update dependency sharp to v0.21.3 (#7267) 6 years ago
user.js fix: #7567, allow invite and approval at the same time 6 years ago
utils.js fix: #6921, allow square brackets in usernames 7 years ago