Barış Soner Uşaklı
4d0636f847
fix : #8163 , prevent account deletion
2020-02-13 11:31:20 -05:00
Barış Soner Uşaklı
a7d2b8a1fe
refactor: async/await socket.io
2019-09-15 02:14:51 -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
Andrew Rodrigues
50260e137a
fix : #7576 "Disable password changes" can be sidestepped
2019-05-09 15:51:36 -04:00
Baris Usakli
ed91d3f2c8
fix : #7519
2019-04-05 13:44:15 -04:00
Baris Usakli
f8fa659642
fix don't crash if settings are not passed in
2019-03-15 15:26:41 -04:00
Julian Lam
0c09b7402d
feat: logging password resets and errors into event log
...
closes #7343 , also adds tests for password reset socket calls
2019-02-08 10:51:10 -05:00
Barış Soner Uşaklı
5353960ae7
fix : #7316
2019-01-29 13:11:45 -05:00
Barış Soner Uşaklı
9c022afae1
Parse int ( #6853 )
...
* Store config fields as JSON in the db
Fewer parseInts
* Remove unnecessary parseInts
* remove some dupe code add tests
* remove console.log
* remove more parseInts
* WIP: read meta.configs defaults from defaults.json
remove more parseInts
* more work
* add log for failing test
* update admin pwd
* fix tests, dont require posts/cache before configs are initialized
* handle saves
* Test boolean conditions
* remove more parseInts
* Fix boolean values
* remove lots more parseInts
* removed json parsing
* renamed var to number
* categories dont have timestamp
2018-10-21 16:47:51 -04:00
Barış Soner Uşaklı
1bea247748
add username/email to user-delete event
2018-10-04 11:08:01 -04:00
Barış Soner Uşaklı
cf75c79611
Unread changes closes #6781 ( #6783 )
...
* WIP
* more unread work
* faster teaser block handling
if user doesn't have anyone blocked don't check
* much faster filtering of blocked posts
* add missing uid
* add tidsByFilter to return
* dont load all pids to find previous non-blocked teaser
* fix unread filters
they no longer use unread/new unread/watched etc they are query strings now
* shorter nav item code
* add unreplied to filters
fix icons not clearing to 0
dont increment unread counters if there is a reply in a topic where you ignored the topic creator
2018-09-24 12:58:59 -04:00
Barış Soner Uşaklı
69c7260fe9
dont let sending more than max invites via bulk invite
2018-09-20 11:55:53 -04:00
Barış Soner Uşaklı
669a5135e1
closes #6768
2018-09-19 14:38:07 -04:00
Barış Soner Uşaklı
25fed0aa8d
change isPasswordCorrect to return false if user does not have password
2018-09-06 14:32:44 -04:00
Julian Lam
b6a5419ca1
closes #6674
2018-07-27 11:54:32 -04:00
Julian Lam
fb42862ec7
check password validity in user delete socket call
2018-07-03 16:38:51 -04:00
Julian Lam
be0ef799ee
closes #6592
2018-06-29 14:16:28 -04:00
Julian Lam
896a5325a5
added gdpr check socket method
2018-05-11 12:18:51 -04:00
Barış Soner Uşaklı
5d2a7106f6
change upload storage
2018-04-12 12:35:05 -04:00
Barış Soner Uşaklı
927537c759
#6431 add private upload info
2018-04-09 20:22:36 -04:00
Barış Soner Uşaklı
b35bfb81ce
ability to delete uploads from account page #6431
2018-04-09 20:03:33 -04:00
Julian Lam
8e822c7772
Added user consent pages ( #6430 )
...
- "Your Rights & Consent" user settings page
2018-04-09 12:23:53 -04:00
Julian Lam
f769e734ed
removed error output from user reset for rate limiting or incorrect email, so users cannot validate emails via this endpoint
2018-04-04 13:09:53 -04:00
Julian Lam
a2627d2066
added default payload to emails, and adding nodebb logo for email header
2017-07-13 11:30:44 -04:00
Julian Lam
12524b5ce4
fix lint
2017-05-30 13:17:26 -04:00
Julian Lam
d2b5b53cb4
refactor for sendValidationEmail, and sending better dummy data for welcome email template
2017-05-30 13:09:30 -04:00
Barış Soner Uşaklı
f6ac92111b
style changes
2017-05-26 00:02:20 -04:00
Barış Soner Uşaklı
6fdad4b002
fix test on redis
2017-05-13 22:12:52 -04:00
barisusakli
75e5f2da74
closes #5485
2017-04-21 21:36:42 -04:00
Barış Soner Uşaklı
fe27d40ff6
closes #5542
2017-03-23 10:58:28 +03:00
barisusakli
5a2ff8ed0a
closes #5527
2017-03-14 23:03:09 +03:00
barisusakli
b1b87d339f
more refactors
2017-03-02 16:11:11 +03:00
Peter Jaszkowiak
dd2b930824
Resolve merge conflicts, minify only .js files
2017-02-23 18:31:49 -07:00
barisusakli
799f688503
closes #5463 , invitation tests
2017-02-21 15:08:17 +03:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
69b766bbc8
more tests
2016-12-02 17:05:46 +03:00
barisusakli
7f90e31a38
more socket user tests
2016-12-01 18:59:24 +03:00
barisusakli
4f0e93732a
#5211
...
remove passing js/css between procs
2016-11-17 12:56:00 +03:00
barisusakli
2476ab3684
closes #5202
2016-11-15 12:45:07 +03:00
Julian Lam
2463e85c0d
allowing moderators access to the account info page
2016-10-24 15:58:57 -04:00
Julian Lam
bf276d5147
fixes #5144
2016-10-21 14:44:22 -04:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
2016-10-13 11:42:29 +02:00
barisusakli
15cae8d6ea
ability to set moderation note on users
2016-09-21 12:55:44 +03:00
barisusakli
84f88a6f15
refactor user search
...
use pagination on results
removed infinite scroll
changed the term and section to use the query param as well
pagination urls respect search
2016-08-24 14:47:01 +03:00
Mathias Schreck
ce9ee62fa0
Handle callback errors
2016-08-17 12:54:59 +02:00
Julian Lam
fd8f5f9415
closes #4918
2016-08-09 12:56:42 -04:00
barisusakli
702597d759
change /user/uid to /uid/:uid
...
so it doesn't conflict with actual user routes
was causing incorrect redirects if a user had a numeric userslug
@julianlam
2016-05-06 09:41:35 +03:00