Julian Lam
b2b1450e5d
fix : #9217 , render 400 error page on bad access to /register
4 years ago
gasoved
69419571a9
fix: make sure inviter user exists
4 years ago
Barış Soner Uşaklı
eaf62d39fd
fix : #9177 , handled multiple deleted users properly
4 years ago
Peter Jaszkowiak
2be396ff6e
fix: email testing and settings change from ACP
...
- changing email SMTP settings wouldn't apply the first time
- "Send Test Email" now will report emailer errors in most cases
4 years ago
Barış Soner Uşaklı
80de572aa1
feat: add user.email.confirmByUid for sso plugins
4 years ago
Barış Soner Uşaklı
1f32d38778
fix: default values, clamp postsPerPage/topicsPerPage to max
4 years ago
Barış Soner Uşaklı
86b7f8a5d4
fix : #8962 , dont show null for purged targets
4 years ago
Barış Soner Uşaklı
5f0f476b57
feat: #9005 , use timestamp in profile/cover images
...
delete current one if keepAllUserImages is turned off
fix typo in data
4 years ago
psychobunny
4317cdea34
fix : #9002 ban templates not user friendly
4 years ago
Barış Soner Uşaklı
d46740f860
fix : #9007 revoke old sessions after adding
4 years ago
Barış Soner Uşaklı
a4fe4d3cf5
fix: allow guests to see their replies immediately
4 years ago
Barış Soner Uşaklı
5080f35752
fix : #8991 , logout on password reset, dont verify email if password expired
...
dont allow same password on reset
4 years ago
Barış Soner Uşaklı
7f5efc3e93
fix : #8992 , set email:confirmed for first admin user
4 years ago
Barış Soner Uşaklı
6e6a7a8f8a
fix : #8969 , export csv to file
4 years ago
Barış Soner Uşaklı
dadb2527da
fix : #8974 , with password login for approval queue
4 years ago
Julian Lam
21d6225ce0
fix: 'already-deleting' error on subsequent account content deletions
4 years ago
Barış Soner Uşaklı
4f37eddc5e
feat: clear reset tokens on user delete
4 years ago
Barış Soner Uşaklı
0ca40af834
fix : #8939 , fix username change notification getting filtered out
4 years ago
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
4 years ago
Julian Lam
046d0b1637
feat: allow pins to expire (if set) ( #8908 )
...
* fix: add back topic assert middleware for pin route
* feat: server-side handling of pin expiries
* refactor: togglePin to not require uid parameter [breaking]
* feat: automatic unpinning if pin has expiration set
* feat: client-side modal for setting pin expiration
* refactor: categories.getPinnedTids to accept multiple cids
... in preparation for pin expiry logic, direct access to *:pinned zsets is discouraged
* fix: remove references to since-removed jobs file for topics
* feat: expire pins when getPinnedTids is called
* refactor: make the togglePin change non-breaking
The 'action:topic.pin' hook now sends uid again, as before. However, if it is a system action (that is, a pin that expired), 'system' will be sent in instead of a valid uid
4 years ago
Barış Soner Uşaklı
1be08b2e8b
fix: guest displayname
4 years ago
Barış Soner Uşaklı
dbd814c25f
fix: spec, only call modifyUser on unique user objects
4 years ago
Barış Soner Uşaklı
ae5d4405c0
fix: setting
4 years ago
Barış Soner Uşaklı
9ca44e6f54
feat: add displayname into user obj #8637 ( #8909 )
...
* feat: add displayname into user obj #8637
* fix: spec
* perf: dont load settings if acp setting is turned off
4 years ago
Julian Lam
a0b7a82350
feat(api): account deletion routes for the Write API ( #8881 )
...
* feat(api): account deletion routes for the Write API
* refactor: rewrite client-side calls to account deletion to use api
* style: apply DRY
4 years ago
Barış Soner Uşaklı
1d6bcbebde
feat: https://github.com/NodeBB/NodeBB/issues/8147
4 years ago
gasoved
3ccebf112e
feat: invites regardless of registration type, invite privilege, groups to join on acceptance ( #8786 )
...
* feat: allow invites in normal registration mode + invite privilege
* feat: select groups to join from an invite
* test: check if groups from invitations have been joined
* fix: remove unused variable
* feat: write API versions of socket calls
* docs: openapi specs for the new routes
* test: iron out mongo redis difference
* refactor: move inviteGroups endpoint into write API
* refactor: use GET /api/v3/users/:uid/invites/groups
Instead of GET /api/v3/users/:uid/inviteGroups
* fix: no need for /api/v3 prefix when using api module
* fix: tests
* refactor: change POST /api/v3/users/invite
To POST /api/v3/users/:uid/invites
* refactor: make helpers.invite awaitable
* fix: restrict invite API to self-use only
* fix: move invite groups controller to write api, +tests
* fix: tests
Co-authored-by: Julian Lam <julian@nodebb.org>
4 years ago
Barış Soner Uşaklı
51b7eca119
fix: run every hour, dont show message if average_time is 0
4 years ago
Opliko
04f4429f72
Resolve #7514 - optional timer for registration queue ( #8796 )
...
* feat: #7514 Optional timer for registration queue
* feat: show minutes in average time
* fix: don't show total number of minutes
* feat: implement requested changes
* fix: just store minutes instead of milliseconds
* feat: set default values
4 years ago
Julian Lam
512f6de6de
feat: allow passwords with length > 73 characters ( #8818 )
...
* feat: allow passwords longer than 73 characters
Context: A bcrypt/blowfish limitation means that password length is capped at 72 characters. We can get around this without compromising on security
by hashing all incoming passwords with SHA512, and then sending that to bcrypt.
https://dropbox.tech/security/how-dropbox-securely-stores-your-passwords
* feat: add additional test for passwords > 73 chars
* fix: remove 'password-too-long' error message and all invocations
* test: added test to show that a super long password won't bring down NodeBB
* fix: remove debug log
* Revert "fix: remove 'password-too-long' error message and all invocations"
This reverts commit 1e312bf7ef7e119fa0f1bd3517d756ca013d5e79.
* fix: added back password length checks, but at 512 chars
As processing a large string still uses a lot of memory
4 years ago
Barış Soner Uşaklı
4818ec377e
fix: missing await
4 years ago
Barış Soner Uşaklı
a02ae6f5df
refactor: simpler check in user.blocks.filter
4 years ago
Julian Lam
a6a52430ce
fix: remove setCategorySort and setTopicSort
4 years ago
Julian Lam
aa8faf58a0
refactor: remove /users/{uid}/settings/{setting} route
...
@baris Also, I am now allowing the following properties to be saved in User.saveSettings:
- categoryTopicSort
- topicPostSort
- setCategorySort
- setTopicSort
4 years ago
Barış Soner Uşaklı
a05905f196
performance improvements ( #8795 )
...
* perf: nconf/winston/render
cache nconf.get calls
modify middleware.pageView to call next earlier
don't call winston.verbose on every hook see https://github.com/winstonjs/winston/issues/1669
translate header/footer separately and cache results for guests
* fix: copy paste fail
* refactor: style and fire hook only log in dev mode
* fix: cache key, header changes based on template
* perf: change replace
* fix: add missing await
* perf: category
* perf: lodash clone
* perf: remove escapeRegexChars
4 years ago
Barış Soner Uşaklı
db63f5e3f0
fix : #8781
4 years ago
Barış Soner Uşaklı
43afe7ffab
refactor: async/await src/user/approval
4 years ago
Barış Soner Uşaklı
872bacf1c4
Admin/users ( #8762 )
...
* feat: wip admin/users
* feat: more work
* feat: more fixes
* feat: #8662 , verified/unverified user groups
* feat: add filter
* feat: change user search to use filters array
* refactor: remove unused search call
* fix: tests
* fix: cant join system groups
* fix: upgrade script
4 years ago
Julian Lam
30b3fedca4
fix: password reset to invalidate all existing reset tokens for that uid
4 years ago
Barış Soner Uşaklı
1ee9384875
fix : #8757 , allow all slashes in category route
4 years ago
Barış Soner Uşaklı
dc29f4dca2
refactor: switch to using slugify module
4 years ago
cryptoethic
b3ed26ac2c
feat: revoke user sessions above threshold ( #8731 )
...
* feat: revoke user sessions above threshold
* fix: removed translations from en-US
* fix: defined default maxUserSessions in install\data\defaults.json
4 years ago
Julian Lam
a5af2dc819
feat: added PUT/DELETE /api/v1/users/:uid/ban routes
4 years ago
Barış Soner Uşaklı
e60357d20d
feat: #6594 , add top/popular sections to digest email ( #8709 )
4 years ago
Timothy Fike
f85fe7faff
don't invite an already invited email ( #8688 )
...
* don't invite an already invited email
* add email-invited translation string
4 years ago
psychobunny
b6f2f0e5d0
fix : #8681 change owner modal's search should check if user is banned
4 years ago
Barış Soner Uşaklı
ac43cd8b6f
fix : #8665 , trim email before checking validity
4 years ago
Julian Lam
29b357bc66
refactor: expose new method for appending moderation note
5 years ago
Barış Soner Uşaklı
38d3982bf1
fix : #8418
...
allow updating other profile fields when username isnt being changed
5 years ago
Barış Soner Uşaklı
4be693f2e7
feat: fullname search ( #8641 )
...
* feat: fullname search
* fix: take last element
* fix: attempt to fix psql like query
* feat: upgrade sript, another fix attempt
* fix: psql test
* fix: psql scan
* feat: add debug for test
* feat: test collate
* feat: cleanup
* fix: upgrade script
5 years ago
Barış Soner Uşaklı
5f10d67db5
Remove sounds ( #8617 )
...
* feat: remove sounds
* feat: remove more sounds
* feat: disable sounds plugin
* fix: openapi
5 years ago
Barış Soner Uşaklı
54b497258f
feat: add missing name to profile image upload
5 years ago
Barış Soner Uşaklı
a263897627
fix : #8604
5 years ago
Barış Soner Uşaklı
9f9164a9be
fix : #8582
5 years ago
Barış Soner Uşaklı
846b7d2430
refactor: change pwd change logic
...
add one more test
5 years ago
Julian Lam
16cee1b03b
fix: improper targetUid check during password change
5 years ago
Barış Soner Uşaklı
dfabd0a3fe
feat: remove administrator property from public routes
5 years ago
Barış Soner Uşaklı
f89ec20574
feat: allow passing groupName to user.search
5 years ago
Barış Soner Uşaklı
8bd63f61e0
feat: resolve flag on delete/purge/ban/delete account
5 years ago
Barış Soner Uşaklı
57135761ca
fix: move check inside lock
5 years ago
Barış Soner Uşaklı
ce6b20c4b7
feat: remove topics.async.getTopicData usage
5 years ago
Barış Soner Uşaklı
72c60d19c2
fix: tests
5 years ago
Barış Soner Uşaklı
2a5f8ab27e
feat: dont load all subscribers at once
...
increase batch to 500
5 years ago
Barış Soner Uşaklı
3dcf538773
feat: #8023 , allow wildcard search for uid/email
5 years ago
Barış Soner Uşaklı
e95cd28f6f
Zscan ( #8458 )
...
* feat: zscan
* fix: mongodb tests
* feat: scan, ip search starts with
5 years ago
Barış Soner Uşaklı
59a2ace6f7
fix: only add blocksCount for self and admins
5 years ago
Barış Soner Uşaklı
bd228d5ee7
feat: fix blocksCount not being returned on user profile
...
add hook action:user.blocks.toggle
5 years ago
Barış Soner Uşaklı
e53a18f219
fix : #8437 , #8433
5 years ago
Barış Soner Uşaklı
8383992dcc
feat: move export functions into child processes
5 years ago
Barış Soner Uşaklı
48b41debe6
fix: vulnerability in cover and admin uploads ( #8419 )
...
* fix: vulnerability in cover and admin uploads
* fix: remove old test
* fix: update tests
5 years ago
Barış Soner Uşaklı
e80379dc0e
feat: display stack trace on winston.error
5 years ago
Barış Soner Uşaklı
79a7f89235
Merge branch 'master' of https://github.com/NodeBB/NodeBB
5 years ago
Barış Soner Uşaklı
2bcf7f72d2
fix: follower count going out of sync with real follower count
5 years ago
Barış Soner Uşaklı
bef37e27cb
fix: test lock for user create ( #8415 )
...
* fix: test lock for user create
* fix: redis hdel with undefined
* feat: add test for undefined key in deleteObjectFields
5 years ago
Barış Soner Uşaklı
f0526bff9f
fix: add mising timestamp
5 years ago
Barış Soner Uşaklı
a680a95e73
feat: add filter:user.getFields to match topic/posts
5 years ago
Barış Soner Uşaklı
18d892398f
fix: add timestamp to initial username history
5 years ago
Julian Lam
67aca822e6
feat: account content deletion, closes #8381
5 years ago
Barış Soner Uşaklı
5a2b515431
feat: #8349 , remove user posts from queue if user is deleted
5 years ago
Barış Soner Uşaklı
8bf980cb63
fix: tests, handle no sessions
5 years ago
Barış Soner Uşaklı
a0d76ff0a6
fix : #8318 , clean expired sessions on login and get
5 years ago
Barış Soner Uşaklı
1d3fa3bc4e
feat: throw error if uid is missing for update
5 years ago
Opliko
c4545381d7
feat: Add hooks for user blocks ( #8296 )
...
* Add hooks for user blocks
* change naming
* Fix the filter...
fixes #8109
5 years ago
Barış Soner Uşaklı
5ebcdb1806
fix : #8287 , fix users:flags as well
5 years ago
Barış Soner Uşaklı
9d153fd388
fix : #8287 , dont readd user after deletion
...
don't add user uid back to users:* sorted sets if they are deleted
upgrade script to fix users:* sorted sets
5 years ago
Barış Soner Uşaklı
0ca84bd9f4
fix : #8284 , parse ToS on register
...
rewrite intersitials to async/await
5 years ago
Julian Lam
ccc6118d30
Testing suite integration for openapi spec ( #8263 )
...
* feat: testing suite integration for openapi spec
The testing suite now takes the openapi spec into account. It will
check each route defined, make a call to it, and compare the
response with the defined schema. Any mismatches will cause the
test to fail.
* fix(openapi): removed debug stuff from tests
* fix(openapi): fixed some tests
* fix(openapi): added additional check to tests, test fixes
* fix(openapi): better tests, fixed spec errors
* fix(openapi): bad conditional in test
* fix: oops
* fix(openapi): more tests fixing
* fix(openapi): more tests
* fix(openapi): fix some more tests
* fix: verbose'd an info log
* fix: topic pagination route returns schema-optimized pagination block
* fix(openapi): more test/spec fixes
* fix(openapi): accidentally sending in authenticated jar for anon routes
* fix(openapi): more test/spec fixes
* fix(openapi): more spec fixes
* fix: timestampReadable Invalid Date
* fix(openapi): more tests... almost there
* fix(openapi): more tests fixing
* fix(openapi): finally all tests passing
* fix(openapi): added reverse test to compare response to spec
... and fixed all the tests that broke
* fix: remove tests related to group covers, as route is gone
* fix(openapi): broken test on travis
* fix(openapi): broken test on travis
* fix(openapi): broken test on travis
* fix(openapi): object cache is not present for psql
* fix: tests
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
5 years ago
Barış Soner Uşaklı
8e23dec84b
fix: lint
5 years ago
Barış Soner Uşaklı
00e299e93e
feat: closes #8229 , add targetUid to action:password.change
5 years ago
Barış Soner Uşaklı
f07f4f8e1a
fix : #8202 , filter non-existing users in search by uid
5 years ago
psychobunny
266061c31a
fix: notification bodyShort truncated if there is a comma in topic title
5 years ago
Julian Lam
1efb238a9a
refactor: getUsersCSV to use batch lib
5 years ago
Barış Soner Uşaklı
14e7866745
fix : #8179 , limit length of location/website/fullname, check grouptitle
5 years ago
Julian Lam
667608a02c
fix : #8168 re-allowing slashes in homePageRoute
...
Resolves regression introduced by b0f3e48ac2
5 years ago
Barış Soner Uşaklı
3cca929a88
fix: add missing await
5 years ago
Barış Soner Uşaklı
8c6a7954cf
fix: delete upload
5 years ago
Barış Soner Uşaklı
153b1a0eaa
fix: check uploadName
5 years ago
Barış Soner Uşaklı
b0f3e48ac2
fix: escape bootswatchSkin and homepageRoute
5 years ago
Barış Soner Uşaklı
e06c1bfcd2
fix: escape config.userLang/acpLang, don't allow invalid language codes
5 years ago
Barış Soner Uşaklı
9d074731f4
fix: login with weak password
5 years ago
Barış Soner Uşaklı
f6d7a24a67
fix: dont check password strength on login
5 years ago
Barış Soner Uşaklı
1b992d8201
fix : #8058 , fix incorrect digest setting display in ACP
5 years ago
Barış Soner Uşaklı
f4381ba366
fix: add missing await to sendValidationEmail
5 years ago
Julian Lam
645d647248
feat: wip, better digest handling (+ eventual digest resend logic) ( #7995 )
...
* feat: wip, better digest handling (+ eventual digest resend logic)
- await emailer.send call in digest.send method
- save send success to a new sorted set digest:{interval}:byUid
* feat: continuing work on digest tools
- Added ACP page to view digest settings and delivery times per user
* feat: added paginator and stub buttons for resending digest
* feat: wrapping up digest revamp
- New language strings in ACP digest page
- Client-side ACP script for digest ACP page
- Websocket call for ACP page to execute digests
- Broke out logic to retrieve user digest settings to getUsersInterval
* fix: minor cleanup
* fix : #8010 and some style suggestions from baris
* fix: resolve confusing comment
5 years ago
Barış Soner Uşaklı
0037a03886
fix : #8018 , allow absolute urls in notification.path
5 years ago
Barış Soner Uşaklı
59242d31aa
fix : #8010 , fix isBanned call
5 years ago
Baris Usakli
485fbd2f14
feat: #7964 , change all categories at once
...
allow passing cids to setCategoryWatchState and category.exists
5 years ago
Barış Soner Uşaklı
75bcb0f484
fix: remove unused data from post/topic/user hashes
5 years ago
Barış Soner Uşaklı
f8c8038a06
refactor: remove log, topics.exists
5 years ago
Barış Soner Uşaklı
dc8d721c46
refactor: async/await
5 years ago
Baris Usakli
d5dda26f97
fix : #7938 , escape username in registration queue
5 years ago
Barış Soner Uşaklı
603908c10a
refactor: async/await socket.io/index
5 years ago
Barış Soner Uşaklı
c5ffd8cc74
refactor: async/await image.js
5 years ago
Barış Soner Uşaklı
9a7560049a
feat: bypass cropper for gifs
5 years ago
Barış Soner Uşaklı
625b0815bb
refactor: shorter, new Date doesnt throw
6 years ago
Barış Soner Uşaklı
babb9d7c55
fix : #7913 , dont allow urls in fullname/location, validate birthday
6 years ago
Barış Soner Uşaklı
96ab8d05aa
fix: only allow png/jpg/bmp in cover/profile images
6 years ago
Barış Soner Uşaklı
5505628c8d
refactor: change to const
6 years ago
Barış Soner Uşaklı
a7d2b8a1fe
refactor: async/await socket.io
6 years ago
Barış Soner Uşaklı
ec98945a5f
refactor: remove commented out code
6 years ago
Barış Soner Uşaklı
b9105ef9c6
refactor: async/await controllers/authentication
6 years ago
Barış Soner Uşaklı
22f8011686
refactor: remove async from isPasswordValid, function is sync
6 years ago
Barış Soner Uşaklı
09410ff1c5
feat: don't hardcode numberic fields in user search
6 years ago
Barış Soner Uşaklı
4652c68ba7
fix: dont show deleted topics in digest
6 years ago
Barış Soner Uşaklı
88dfbf213f
refactor: async/await socket.io/admin
6 years ago
Julian Lam
29f96b199c
fix(style): requiring parens in block bodies
6 years ago
Julian Lam
0921230976
fix(style): updated code to follow new eslint recommendations
...
Squashed commit of the following:
commit f9ce878b269b3568f0d649309aae1af4dcfdfeef
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 80dd370e413f22badb96ff2138e7991dfff6d836
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 f4dd9cabb21e26fdc21f8413be822ea7c64251f8
Author: Julian Lam <julian@nodebb.org>
Date: Tue Aug 13 11:33:05 2019 -0400
fix: resolved breaking changes from sitemap v4 upgrade
commit 9043415ee16dcc27a8dcc2e4479d1bc5e2d1b60e
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 e3352b272eb9400bdb00774973181397803765e4
Author: Renovate Bot <bot@renovateapp.com>
Date: Mon Aug 12 07:59:05 2019 +0000
fix(deps): update dependency sitemap to v4
commit 8e3c0cdcae22acc32d352be8bb72d60e7502dbc5
Author: Renovate Bot <bot@renovateapp.com>
Date: Fri Aug 9 00:49:51 2019 +0000
fix(deps): update dependency commander to v3
commit 2104449d38818f2fa4d44b3a58a0a168781acbfb
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 d2937f446a21131c070ae5d0ff33d67cfe465b8c
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Tue Aug 13 10:36:48 2019 -0400
feat: async/await admin/controllers
commit 1b97e8b199f960dc24e5722702f27499ae049914
Author: Misty (Bot) <deploy@nodebb.org>
Date: Tue Aug 13 09:28:39 2019 +0000
Latest translations and fallbacks
commit 69a48957a2f0d23c4d194b664bda3a0431179c01
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Mon Aug 12 21:56:09 2019 -0400
feat: async/await
commit b9b2a7e593a452de4bef6d0ab6abe368a3bdb8dd
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Mon Aug 12 20:58:29 2019 -0400
feat: async/await refactor
controllers/accounts
commit a8d43a175974a0c8ae3dc132bf51a7ed9a4c6305
Author: Baris Usakli <barisusakli@gmail.com>
Date: Mon Aug 12 14:49:40 2019 -0400
feat: async/await controllers/accounts
commit 2f25aae57bf9dbe98d655276770e56bed9ec023b
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 c9e83f2374572264855a04156278eef256b0a20c
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Sun Aug 11 00:14:35 2019 -0400
fix: remove empty line
commit 30be91b26c4dd7583412c4e8d56e9c1688e48a44
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 2e4a71c0b6104738f15ffbfe3246105b922fdfb3
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
6 years ago
Barış Soner Uşaklı
3ecac97d7e
fix : #7826 , fix order of categories on recent dropdown
6 years ago
Barış Soner Uşaklı
bc6f22ebdb
fix: digest not sending topics
6 years ago
Barış Soner Uşaklı
ce91288607
fix: derpy catch
6 years ago
Baris Usakli
6a486e35bb
fix: user urls in subfolder install
...
fix missing await
6 years ago
Barış Soner Uşaklı
0b498acdcf
fix : #7765
6 years ago
Barış Soner Uşaklı
e2e33dfb1e
fix: status and groupTitle, if its not set
6 years ago
Barış Soner Uşaklı
930ffd074f
fix: tests
6 years ago
Barış Soner Uşaklı
a51ec591ee
feat: #7743 , finish user module
6 years ago
Barış Soner Uşaklı
6fea46b6e2
feat: #7743
...
user/posts
user/profile
6 years ago
Barış Soner Uşaklı
cd80c2638c
feat: #7743
...
user/password
user/picture
6 years ago
Barış Soner Uşaklı
0a690c5710
feat: #7743
...
user/online.js
6 years ago
Barış Soner Uşaklı
1c5fad6dae
feat: #7743
...
user/notifications.js
6 years ago
Barış Soner Uşaklı
fe4c048198
feat: #7743
...
user/index.js
user/info.js
user/invite.js
user/jobs.js
6 years ago
Barış Soner Uşaklı
c610eb1430
feat: #7743 , user/digest, user/email, user/follow
6 years ago
Barış Soner Uşaklı
9eb1fcd4e5
fix : #7762 , allow array for isBanned
...
dont filter banned users one by one in digest
6 years ago
Barış Soner Uşaklı
d6e36c3166
feat: #7743 , user/create, user/data, user/delete
6 years ago
Barış Soner Uşaklı
4541caa4f8
feat: #7743 , user/block, user/categories
6 years ago
Baris Usakli
1970214a24
feat: #7743 user/ban, up mubsub
6 years ago
Barış Soner Uşaklı
b24ce97602
feat: #7743 , user/approval, user/auth
6 years ago
Barış Soner Uşaklı
2c33595507
feat: #7743 user/admin.js
6 years ago
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
Barış Soner Uşaklı
198d05875f
feat: cleanup, use bulk
6 years ago
Barış Soner Uşaklı
3ecd703ea3
feat: #7707 , added sortedSetAddBulk
6 years ago
Barış Soner Uşaklı
6a7bc1c5fb
fix: on new post add it to cid::uid::pids
6 years ago
Barış Soner Uşaklı
7e54d7aa35
feat: use db.sortedSetsAdd
6 years ago
Barış Soner Uşaklı
39ee3980d6
fix: get uids directly for csv
6 years ago
Barış Soner Uşaklı
ede060a646
feat: add hook for user notifications, closes #7672
6 years ago
Barış Soner Uşaklı
580f786095
feat: user/notifications refactor
6 years ago
Barış Soner Uşaklı
4b843ba16f
fix : #7567 , allow invite and approval at the same time
6 years ago
Julian Lam
80c0d579e3
fix : #7593 , unable to set account password if no password set
6 years ago
Andrew Rodrigues
e114b16d7a
fix: if editing password is disabled in ACP, prevent direct access via route/socket (related: #7576 )
6 years ago
Aziz Khoury
45acf80987
remove expire timestamp when banning user permanently, fixes #7547 ( #7548 )
6 years ago
Andrew Rodrigues
9bf3517db1
fix: failing test from 00552d7183
6 years ago
Andrew Rodrigues
00552d7183
fix: fire filter:register.complete for users approved via registration queue
6 years ago
Julian Lam
808c4909a4
fix : #6438 only apply whitelist when fields request empty ( #7528 )
...
* fix : #6438 only apply whitelist when fields request empty
* feat: explicit password retrieval denied via getUsersFields
6 years ago
Aziz Khoury
3fbb6faf28
feat: update unban logic/invocation and refactor User.bans module
...
* auto unban when User.getUsersFields is called and the user is banned but has expired
* cleanups and removal of expiry_readable
* expiry_readable make an alias for backward compatibility
* User.bans.func vs User.*ban*Func
* console.log cleanups, plus todo message added
* use code util.deprecate
* fix: remove ununsed winston require
6 years ago
Baris Usakli
ed91d3f2c8
fix : #7519
6 years ago
Barış Soner Uşaklı
fddb783ee9
fix : #7487
6 years ago
Barış Soner Uşaklı
e331f6b51d
fix : #7414
6 years ago
Julian Lam
0360f6e1cb
fix: l2spread @baris nib
6 years ago
Baris Usakli
23da300958
feat: pass options to digest
6 years ago
Julian Lam
f32a992237
feat: revamp email templates to be more style agnostic ( #7375 )
...
* feat: re-designed digest
Updated design, logic no longer shows "no topics", just doesn't
show the list at all, teaser re-retrieved for digest so that it
always grabs a teaser even if there is no reply, changed default
email background to a light grey.
* fix: minor padding issues in digest
* fix: banned template
* fix: invitation.tpl
* fix: removed unused notif_chat and notif_post email templates
* fix: notification template
* fix: registration_accepted template
* fix: reset tpl
* fix: test tpl
* fix: email verify tpl
* fix: reset notify tpl
* fix: welcome tpl
* fix: additional minor font fixes
* fix: removed unused email header image assets
* fix: internationalised 'your daily digest' string
* fix: broken url in digest 🤦
* feat: added RTL support for emailer
/cc @PostMidnight
6 years ago
Barış Soner Uşaklı
c6ad8fae2a
fix : #7354
6 years ago
Julian Lam
aca0556052
fix : #7261 , banned users still get digests
6 years ago
Barış Soner Uşaklı
56a493d873
fix: dont crash if userData is undefined #7262
6 years ago
Barış Soner Uşaklı
d75a0d7724
feat: show more unread notifs
6 years ago
Aziz Khoury
6cd8248cae
added empty array for customActions and another indentation fix attempt, related to #7284
6 years ago
Aziz Khoury
04232986ab
related to https://github.com/NodeBB/NodeBB/issues/7212
6 years ago
Barış Soner Uşaklı
ef0e780896
fix: use ACP config value for checking online status
6 years ago
Baris Usakli
7809ba2800
fix : #7193 , closes #7194
6 years ago
Barış Soner Uşaklı
7e828404f6
fix : #7116
...
dont save relative_path in db for group covers
6 years ago
Barış Soner Uşaklı
29b63ae7fb
fix : #6979
6 years ago
Barış Soner Uşaklı
eb7ae54f81
Category watch state ( #7109 )
...
* feat: wip, category watch change
* feat: pass data to client
* feat: allow changing state
* fix: account page categories
* fix: show in unread if topic is followed or category is watched
* feat: add default watch state to acp
* feat: save user category watch state
* feat: update unread recent pages
* fix: remove dupe code
* fix: flip conditions
* fix: handle empty arrays
* fix: ignore/watch on others profile
* feat: upgrade script for category states
if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers
* fix: upgrade
* fix: tests
* fix: redis count
* fix: more tests
6 years ago
Barış Soner Uşaklı
62f01a839e
fix: dont save data for non-positive uids
6 years ago
Barış Soner Uşaklı
263c918088
feat: remove uid:<uid>:ignored:cids ( #7099 )
...
use cid:<cid>:ignorers instead
6 years ago
Barış Soner Uşaklı
a0f57c642c
Merge branch 'master' of https://github.com/NodeBB/NodeBB
6 years ago
Barış Soner Uşaklı
a6c8e0ab4f
fix: logAttempt conditional
6 years ago
Julian Lam
33d4956b76
fix : #7087 , server-side protection against guest blocks
6 years ago
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
6 years ago
Barış Soner Uşaklı
2c5e38d8f1
closes #7004
...
do not translate email subjects twice, emailer already translates the passed in subject param
6 years ago
Barış Soner Uşaklı
00a066985a
cache categories:cid and cid:<cid>:children
...
these rarely change, no need to go to db for them
6 years ago
Barış Soner Uşaklı
d8f114c982
dont check if guests/spiders are banned or load reason
6 years ago
Barış Soner Uşaklı
9d28b935fd
dont load uid 0, -1 from db
6 years ago
Barış Soner Uşaklı
eba1a405d2
load category parents and childrens in one call
...
add more missing guest/spider checks
6 years ago
Barış Soner Uşaklı
a6864a8055
add groupTitle test for guests
6 years ago
Baris Usakli
b83e50f286
remove delayImageLoading from api @julianlam
6 years ago
Barış Soner Uşaklı
e17c4b2766
uid fixes
6 years ago
Baris Usakli
c5a093e1f2
closes #6950
6 years ago
Barış Soner Uşaklı
69bb3293ee
misc fixes
...
handle spider uids properly
6 years ago
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 😬
6 years ago
Julian Lam
501b3a79ca
Refactor skins to be built on server-side ( #6849 )
...
* WIP
* using bootswatch from npm instead of bootswatch CDN url
* feat: on-demand client css building for skins
* added ability for client-side to select a skin
* updated loading and saving logic of bootstrapSkin on client side user settings
* fix: broken test for #6849
6 years ago
Barış Soner Uşaklı
2e579ee0f9
closes #6883
6 years ago
Barış Soner Uşaklı
66ed48e088
closes #6875
6 years ago