618 Commits (7b95ebbb6a7f8be32e0f117acbc938d97a23c412)

Author SHA1 Message Date
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
renovate[bot] 43ce5f8af3 fix(deps): update dependency nodebb-theme-vanilla to v11.1.4 (#7741) 6 years ago
Renovate Bot 27da232556 fix(deps): update dependency nodebb-theme-persona to v10.1.5 6 years ago
renovate[bot] bd09ba92e5 fix(deps): update dependency validator to v11.1.0 (#7738) 6 years ago
Julian Lam 851424a7ca fix(deps): bump composer-default 6 years ago
Renovate Bot cf9afa1974 Update dependency nodebb-plugin-composer-default to v6.3.1 6 years ago
Renovate Bot 5e46cf9b09 Update dependency nodebb-plugin-markdown to v8.10.1 6 years ago
Renovate Bot 9c082c37cb Update dependency husky to v3 6 years ago
Renovate Bot 4e6cb52577 Update dependency eslint-config-airbnb-base to v13.2.0 6 years ago
renovate[bot] 82e5bc225e Update dependency sitemap to v3 (#7728) 6 years ago
Renovate Bot f426e105a0 fix(deps): update dependency nodebb-theme-persona to v10.1.4 6 years ago
renovate[bot] fb0870297b fix(deps): update dependency nodebb-plugin-composer-default to v6.2.16 (#7723) 6 years ago
Renovate Bot 1d0fd0284a chore(deps): update dependency husky to v2.7.0 6 years ago
Renovate Bot 413259a2b8 fix(deps): update dependency nodebb-theme-persona to v10.1.3 6 years ago
Renovate Bot 77347d0a99 chore(deps): update dependency eslint to v6.0.1 6 years ago
Renovate Bot fc69e891eb chore(deps): update dependency husky to v2.6.0 6 years ago
renovate[bot] 208c821eaf fix(deps): update dependency nodebb-theme-lavender to v5.0.11 (#7705) 6 years ago
renovate[bot] e0b2ae8d8e fix(deps): update dependency nodebb-theme-vanilla to v11.1.3 (#7714) 6 years ago
renovate[bot] af7ecd2f10 fix(deps): update dependency nodebb-theme-slick to v1.2.25 (#7713) 6 years ago
renovate[bot] e5733f4029 fix(deps): update dependency nodebb-theme-persona to v10.1.2 (#7712) 6 years ago
Renovate Bot 744e4428ae chore(deps): update dependency eslint-plugin-import to v2.18.0 6 years ago
Renovate Bot 26ff02dc72 fix(deps): update dependency nodebb-plugin-mentions to v2.5.3 6 years ago
Renovate Bot 4e513cf38a fix(deps): update dependency nodebb-theme-persona to v10.1.1 6 years ago
Renovate Bot c288750556 fix(deps): update dependency nodebb-theme-vanilla to v11.1.2 6 years ago
Renovate Bot 4960b92545 chore(deps): update dependency husky to v2.5.0 6 years ago
renovate[bot] b3ed89f5fd fix(deps): update dependency nodebb-theme-vanilla to v11.1.1 (#7700) 6 years ago
renovate[bot] 629b5ce37e fix(deps): update dependency nodebb-theme-slick to v1.2.24 (#7699) 6 years ago
Julian Lam 289dada5f7 fix(deps): update to eslint@6 6 years ago
Renovate Bot 2fa68e3b1a chore(deps): update dependency lint-staged to v8.2.1 6 years ago
Renovate Bot 6b43d26f52
fix(deps): update dependency nodebb-plugin-emoji to v3 6 years ago
Barış Soner Uşaklı ebfc369ade feat: upgrade to connect-mongo 3.0.0, closes #7693 6 years ago
Renovate Bot fc89516e3f fix(deps): update dependency nodebb-theme-persona to v10.1.0 6 years ago
Renovate Bot c9689f11d3 fix(deps): update dependency nodebb-theme-vanilla to v11.1.0 6 years ago
renovate[bot] ada8f22e8c fix(deps): update dependency nodebb-theme-persona to v10.0.1 (#7687) 6 years ago
renovate[bot] 6db3604e94 fix(deps): update dependency nodebb-theme-vanilla to v11.0.1 (#7688) 6 years ago
Renovate Bot 89fea9d375 fix(deps): update dependency nodebb-theme-vanilla to v11 6 years ago
Renovate Bot 0a7778bdd4 fix(deps): update dependency nodebb-theme-persona to v10 6 years ago
Renovate Bot 17ec8fde2c chore(deps): update dependency husky to v2.4.1 6 years ago
renovate[bot] e1e4abeb33 fix(deps): update dependency nodebb-theme-lavender to v5.0.10 (#7682) 6 years ago
Julian Lam c241551d3b fix: dependency checker always triggering dep upgrade, hopefully
Seems like every time we update a client it triggers a dep upgrade.

The async check might be too strict, hopefully this will fix it.
6 years ago
Renovate Bot de04629745 fix(deps): update dependency nodebb-plugin-markdown to v8.10.0 6 years ago
Renovate Bot 376390c45f chore(deps): update dependency lint-staged to v8.2.0 6 years ago
Renovate Bot 3d2ec0bb97 chore(deps): update dependency husky to v2.4.0 6 years ago
Renovate Bot c360e0c2f9 chore(deps): update dependency coveralls to v3.0.4 6 years ago
Renovate Bot ae8913904f fix(deps): update dependency postcss to v7.0.17 6 years ago
Renovate Bot a5f94ee5ca Update dependency jsdom to v15.1.1 6 years ago
Renovate Bot eac4e2f188 chore(deps): update dependency eslint-plugin-import to v2.17.3 6 years ago
renovate[bot] 3f4f8aface fix(deps): update dependency nodebb-rewards-essentials to v0.0.14 (#7671) 6 years ago
renovate[bot] 988cbb63e1 fix(deps): update dependency mongodb to v3.2.7 (#7665) 6 years ago
Renovate Bot e21246a91b fix(deps): update dependency nodebb-plugin-composer-default to v6.2.15 6 years ago