Magnus
7bd3e31dec
Fullname in notifications ( #10157 )
...
* init - fullname notifications setting
* fullname in topic reply
* fullname for group-request-membership
* fullname for group-leave notification
* fullname for new-post-flag & new-user-flag
* removed log
* fullname for user follow
* fullname in message notification
* fullname in follow
* fullname for sendNotificationToPostOwner
* fullname in sendNotificationToTopicOwner
* fullname in doExport
* shorthand name set
* shorter name set
* fullname in notifications
* displayname for notifications
* removed unused require
2022-01-19 10:19:11 -05:00
Barış Soner Uşaklı
6b45dee9c5
breaking: remove socket.emit('user.changeUsernameEmail')
...
remove socket.emit('user.changePassword')
remove socket.emit('user.updateProfile')
2021-12-13 20:10:45 -05:00
Barış Soner Uşaklı
49641a3217
breaking: remove socket.emit('user.banUsers');
...
remove socket.emit('user.unbanUsers');
2021-12-12 12:47:02 -05:00
Barış Soner Uşaklı
6d95684bc8
breaking: remove socket.emit('user.changePicture')
2021-12-12 11:53:00 -05:00
Barış Soner Uşaklı
0d694c781c
breaking: remove socket.emit('user.search')
2021-12-12 11:38:15 -05:00
Julian Lam
0ee85d5a0b
fix : #9950 , rename account export routes to remove uid/ prefix
2021-10-29 14:12:14 -04:00
Julian Lam
cdaea61136
fix: handle missing uid in deprecated socket call
2021-09-03 16:59:42 -04:00
Julian Lam
0a41741b7e
refactor: deprecate picture update socket call, new API routes for picture update
2021-09-03 16:59:42 -04:00
Julian Lam
e33e046f15
fix: use privileges.users.canEdit for image upload priv check
2021-09-03 16:59:42 -04:00
gasoved
8168c6c407
fix: purge uploaded images accordingly #9606 ( #9611 )
...
* fix: purge uploaded images accordingly
* fix: tests
* fix: relative paths
2021-06-18 09:21:23 -04:00
Barış Soner Uşaklı
0af9d26fe5
feat: change uploadCroppedPicture to use updateProfile as well
2021-03-03 17:14:55 -05:00
Barış Soner Uşaklı
a598abcd8e
feat: use updateProfile for picture change
...
so it triggers action:user:updateProfile
2021-03-03 17:11:13 -05:00
Julian Lam
955021247e
feat(user): icon background selector in change picture modal
2021-02-19 11:38:48 -05:00
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
2020-11-20 16:32:39 -05:00
Barış Soner Uşaklı
2279e37261
refactor: deprecate socket.emit('users.search') use api route
2020-10-16 23:30:22 -04:00
Julian Lam
3f347baadb
fix: socket user bans
2020-10-15 20:31:25 -04:00
Julian Lam
2d252f2fa4
refactor: user bans to use api lib
2020-10-15 19:05:31 -04:00
Julian Lam
960e925e40
refactor: change password/user follow to use api lib
2020-10-15 17:09:39 -04:00
Julian Lam
31ae8a8323
refactor: socket profile update to use api lib
2020-10-15 16:21:54 -04:00
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
2020-10-13 22:42:50 -04:00
Julian Lam
3ea1aa4780
refactor(writeapi): update route prefix to api/v3, default error option
2020-10-08 15:33:10 -04:00
Julian Lam
a5af2dc819
feat: added PUT/DELETE /api/v1/users/:uid/ban routes
2020-10-08 15:33:10 -04:00
Julian Lam
7aed174ebc
feat: added PUT /api/v1/users/:uid/password route
2020-10-08 15:33:10 -04:00
Julian Lam
a1ddc210b2
feat: added DELETE /api/v1/users/:uid and DELETE /api/v1/users
2020-10-08 15:33:10 -04:00
psychobunny
b6f2f0e5d0
fix : #8681 change owner modal's search should check if user is banned
2020-09-25 14:47:22 -04:00
Barış Soner Uşaklı
b0a759223d
feat: add action:user.removeCoverPicture
2020-09-04 01:06:10 -04:00
Barış Soner Uşaklı
962446a5ac
feat: add user data to action:user.removeUploadedPicture
2020-09-04 00:55:16 -04:00
Barış Soner Uşaklı
354e6ccc66
feat: banning a user will resolve their post flags
2020-08-22 17:34:19 -04:00
Barış Soner Uşaklı
8bd63f61e0
feat: resolve flag on delete/purge/ban/delete account
2020-07-25 18:26:09 -04:00
Barış Soner Uşaklı
ac6b571ed5
fix: dont allow searching by email/ip if not privileged
2020-07-04 16:43:44 -04:00
Barış Soner Uşaklı
02ac44cc5a
fix: dont allow searching by ip/banned/flagged for regular users
2020-07-04 10:19:05 -04:00
Barış Soner Uşaklı
00d8ce2663
fix: only allow valid uids
2020-06-23 15:47:10 -04:00
Barış Soner Uşaklı
8383992dcc
feat: move export functions into child processes
2020-06-23 00:23:46 -04:00
Barış Soner Uşaklı
13c870597e
fix: picture not showing up in change modal
2019-09-29 22:23:28 -04:00
Barış Soner Uşaklı
a7d2b8a1fe
refactor: async/await socket.io
2019-09-15 02:14:51 -04:00
Barış Soner Uşaklı
2f0a331f02
fix: don't return promise
2019-07-19 17:02:25 -04:00
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
2019-04-05 14:14:48 -04:00
Barış Soner Uşaklı
5353960ae7
fix : #7316
2019-01-29 13:11:45 -05:00
Julian Lam
33d4956b76
fix : #7087 , server-side protection against guest blocks
2018-12-10 14:14:37 -05:00
Barış Soner Uşaklı
e17c4b2766
uid fixes
2018-11-17 22:31:39 -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
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ı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Barış Soner Uşaklı
95501e8fee
closes #6738 closes #6290 ( #6785 )
...
* closes #6738 closes #6290
* fix test, delete keys
* delete all bans on user delete
* fix upgrade script to actually read reason
2018-09-24 20:20:52 -04:00
Barış Soner Uşaklı
089bf5d8bb
closes #6773
2018-09-18 08:58:47 -04:00
Baris Usakli
546b13b897
fix lint and tests
2018-07-27 13:10:52 -04:00
Baris Usakli
79ffae608e
closes #6675
2018-07-27 12:58:01 -04:00