Barış Soner Uşaklı
58933c4cd1
feat: allow multiple empty lines
2020-08-05 22:32:13 -04:00
Julian Lam
d135b6f763
fix(style): enforcing "better" indentation for switch..case
2020-06-02 14:23:38 -04:00
Julian Lam
29f96b199c
fix(style): requiring parens in block bodies
2019-08-13 15:12:27 -04:00
Julian Lam
0921230976
fix(style): updated code to follow new eslint recommendations
...
Squashed commit of the following:
commit f9ce878b26
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 14:30:46 2019 -0400
fix(style): updated code to follow new eslint recommendations
commit 80dd370e41
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 14:14:58 2019 -0400
fix(deps): update dependency sitemap to v4
Squashed commit of the following:
commit f4dd9cabb2
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 11:33:05 2019 -0400
fix: resolved breaking changes from sitemap v4 upgrade
commit 9043415ee1
Merge: e3352b272 72590b346
Author: Julian Lam <julian@nodebb.org >
Date: Tue Aug 13 11:09:55 2019 -0400
Merge branch 'master' into renovate/sitemap-4.x
commit e3352b272e
Author: Renovate Bot <bot@renovateapp.com >
Date: Mon Aug 12 07:59:05 2019 +0000
fix(deps): update dependency sitemap to v4
commit 8e3c0cdcae
Author: Renovate Bot <bot@renovateapp.com >
Date: Fri Aug 9 00:49:51 2019 +0000
fix(deps): update dependency commander to v3
commit 2104449d38
Author: Renovate Bot <bot@renovateapp.com >
Date: Tue Aug 13 15:00:27 2019 +0000
fix(deps): update dependency mongodb to v3.3.0
commit d2937f446a
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Tue Aug 13 10:36:48 2019 -0400
feat: async/await admin/controllers
commit 1b97e8b199
Author: Misty (Bot) <deploy@nodebb.org >
Date: Tue Aug 13 09:28:39 2019 +0000
Latest translations and fallbacks
commit 69a48957a2
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Mon Aug 12 21:56:09 2019 -0400
feat: async/await
commit b9b2a7e593
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Mon Aug 12 20:58:29 2019 -0400
feat: async/await refactor
controllers/accounts
commit a8d43a1759
Author: Baris Usakli <barisusakli@gmail.com >
Date: Mon Aug 12 14:49:40 2019 -0400
feat: async/await controllers/accounts
commit 2f25aae57b
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 23:09:50 2019 -0400
fix : #7831 , fix pagination
convert to async/await
commit c9e83f2374
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 00:14:35 2019 -0400
fix: remove empty line
commit 30be91b26c
Author: Barış Soner Uşaklı <barisusakli@gmail.com >
Date: Sun Aug 11 00:13:41 2019 -0400
fix: remove useless catchs and empty line
commit 2e4a71c0b6
Author: Renovate Bot <bot@renovateapp.com >
Date: Sat Aug 10 06:51:50 2019 +0000
chore(deps): update dependency eslint-config-airbnb-base to v14
2019-08-13 15:12:27 -04:00
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 cea206a9b8 .
* 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
2019-07-09 12:46:49 -04:00
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
2018-11-30 13:38:59 -05:00
Julian Lam
95cc27f1ff
style(eslint): enforcing newline on chained calls
2018-11-08 11:36:00 -05:00
renovate[bot]
64b9dabff8
chore(deps): update dependency eslint-config-airbnb-base to v13 ( #6599 )
...
* chore(deps): update dependency eslint-config-airbnb-base to v13
* chore: #6599 , linting 😬
2018-11-07 15:53:14 -05:00
Ben Lubar
33228bb7fe
PostgreSQL database driver ( #5861 )
...
* [test/database/list] Fix test list 4 being used in two different tests
* [database/postgres] PostgreSQL database driver
* [database/postgres] Make transactions work based on continuation scope.
* [database/postgres] Implement nested transactions
* eslint --fix
* Add database changes from earlier this week to the PostgreSQL driver.
* Fix typo
* Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN
* [database/postgres] Fix sortedSetsCard returning an array of strings.
* Update socket.io postgres adapter
* Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation.
Add a test case to catch this error.
* Fix lint errors.
* Only prune sessions on one instance in a cluster to avoid deadlocks.
They're caught and handled by the database server, but they spam the logs.
* Fix arguments.slice.
2018-08-08 15:13:48 -04:00
Peter Jaszkowiak
da9da8190f
Bump dependencies
...
Bumping eslint & configs meant making some linting fixes
For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
2017-10-02 09:24:27 -04:00
barisusakli
7ce6c1d0ad
closes #5571
2017-04-13 16:36:02 -04:00
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Julian Lam
b5f8fc815e
re-allowing pluplus in for loops
2017-02-24 11:53:00 -05:00
Peter Jaszkowiak
b227297ef3
ESlint no-use-before-define
2017-02-18 18:55:33 -07:00
Peter Jaszkowiak
93f38d4f30
ESlint no-multi-assign
...
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
2017-02-18 18:06:28 -07:00
Peter Jaszkowiak
4bb49a7171
ESlint no-unused-vars
2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
c18808fdeb
ESlint no-useless-concat, no-mixed-spaces-and-tabs
2017-02-18 14:42:15 -07:00
Peter Jaszkowiak
fdf4f873bf
ESlint eqeqeq
...
and require-jsdoc, no-negated-condition
2017-02-18 14:36:16 -07:00
Peter Jaszkowiak
144fa8698c
Eslint no-lonely-if
2017-02-18 14:32:35 -07:00
Peter Jaszkowiak
57f89663aa
ESlint radix
2017-02-18 14:29:52 -07:00
Peter Jaszkowiak
09e868ce5f
ESlint no-useless-escape, no-else-return
2017-02-18 14:27:26 -07:00
Peter Jaszkowiak
11cb3a9554
ESlint operator-assignment, block-scoped-var
2017-02-18 14:20:58 -07:00
Peter Jaszkowiak
a0a50677da
ESlint n-loop-func, yoda
2017-02-18 14:00:29 -07:00
Peter Jaszkowiak
04bb6513b0
ESlint no-cond-assign, no-void, valid-jsdoc
2017-02-18 13:51:26 -07:00
Peter Jaszkowiak
5a45087fc8
ESlint no-unreachable, no-redeclare
2017-02-18 13:31:19 -07:00
Peter Jaszkowiak
32dc7c23ea
ESlint guard-for-in, no-nested-ternary
...
and operator-linebreak
2017-02-18 13:28:03 -07:00
Peter Jaszkowiak
c4bdb72941
ESlint no-unneeded-ternary
...
and no-extend-native, no-sequences
2017-02-18 12:59:46 -07:00
Peter Jaszkowiak
64a6322002
ESlint no-extra-boolean-cast
...
and no-shadow-restricted-names
2017-02-18 12:51:13 -07:00
Peter Jaszkowiak
239d7f84dd
ESlint no-path-concat
2017-02-18 12:47:58 -07:00
Peter Jaszkowiak
daa169c094
ESlint no-unused-expressions
2017-02-18 12:40:57 -07:00
Peter Jaszkowiak
ac2f69f7af
ESlint no-return-assign
...
and no-restricted-modules
2017-02-18 12:35:49 -07:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
1493afee2a
ESlint indent
2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
feb8405f95
ESlint eol-last
2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
41896e1fc7
ESlint lines-around-directive
2017-02-18 02:28:54 -07:00
Peter Jaszkowiak
f3a8256f35
ESlint strict
2017-02-18 02:23:47 -07:00
Peter Jaszkowiak
a038c66549
ESlint quotes
2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
a5a3f3089a
ESlint no-mixed-operators
2017-02-18 01:51:11 -07:00
Peter Jaszkowiak
2e031f3759
ESlint comma-spacing
2017-02-18 01:31:47 -07:00
Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
34e233fe1d
ESlint spaced-comment
2017-02-18 01:25:46 -07:00
Peter Jaszkowiak
532951c24f
ESlint space-in-parens, block-spacing
2017-02-18 01:21:34 -07:00
Peter Jaszkowiak
b1b486f729
ESlint quote-props
2017-02-18 01:19:20 -07:00
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
d1101a7fb4
ESlint dot-notation
...
and func-call-spacing
2017-02-18 00:21:44 -07:00
Peter Jaszkowiak
d7526b5e44
ESlint array-bracket-spacing
...
and object-property-newline
2017-02-18 00:04:34 -07:00
Peter Jaszkowiak
554075b312
ESlint no-continue
2017-02-17 22:31:05 -07:00
Peter Jaszkowiak
d9c1f6f088
ESlint no-extra-semi
2017-02-17 22:20:45 -07:00