Commit Graph

1150 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
fe811537e9 refactor: remove "password" in comments 2024-12-09 14:40:49 -05:00
Barış Soner Uşaklı
6ebff2e1c6 refactor: shorter check for showfullname 2024-11-26 09:17:51 -05:00
Barış Soner Uşaklı
173c604a2c test: fix tests 2024-11-25 18:42:59 -05:00
Barış Soner Uşaklı
669c9c5027 feat: move website/location fields into custom user fields 2024-11-25 18:29:48 -05:00
Barış Soner Uşaklı
9cf85cede3 feat: add date and multiselect custom fields 2024-11-20 11:01:01 -05:00
Barış Soner Uşaklı
e375038ce0 get whitelisted fields from plugins as well 2024-11-19 16:37:14 -05:00
Barış Soner Uşaklı
836e8458e2 fix: dont allow core user fields to be used as custom fields 2024-11-19 15:30:40 -05:00
Barış Soner Uşaklı
bbf66c243b Squashed commit of the following:
commit afd96a00b1
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Thu Nov 7 10:42:33 2024 -0500

    chore: up themes

commit b40e530434
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Wed Nov 6 19:16:44 2024 -0500

    feat: add min:rep to custom fields

    add validation in profile.update

commit 4b5cb613e5
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Wed Nov 6 12:03:22 2024 -0500

    test: add openapi spec, move menu button

commit 0c551fa240
Merge: 13f39053c9 bc00df3cd9
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Wed Nov 6 11:48:05 2024 -0500

    Merge branch 'develop' into custom-user-fields

commit 13f39053c9
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Wed Jul 31 00:23:39 2024 -0400

    refactor: dont need delete function

commit f33c8849d8
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Tue Jul 30 21:30:00 2024 -0400

    feat: show custom fields on edit/profile

commit 5e1d8769d4
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Tue Jul 30 17:08:25 2024 -0400

    feat: add custom user fields acp page
2024-11-07 10:43:10 -05:00
Barış Soner Uşaklı
b6a793656d lint: remove unused utils 2024-10-25 09:41:43 -04:00
Barış Soner Uşaklı
d24bc5c52e fix: use postData.topic.title instead of topicData.title 2024-10-24 19:25:24 -04:00
Barış Soner Uşaklı
6ccf40bf6f fix: closes #12795, don't crash if there is an error in auto approve from queue 2024-09-14 18:39:22 -04:00
Barış Soner Uşaklı
f361df0193 fix: #12754, throw if currentPwd == newPwd 2024-08-23 09:52:00 -04:00
Barış Soner Uşaklı
6e1c643607 fix: closes #12721, export all users 2024-08-09 12:48:17 -04:00
Barış Soner Uşaklı
d6c946cf14 refactor: sessionUUID (#12658)
* refactor: sessionUUID

* test: get uuid from sessionsstore

* refactor: dont load all sids again in revoke

* feat: upgrade script, get rid of second sessionStoreGet

* allow disabling maxUserSessions by setting to 0
2024-06-26 17:34:04 -04:00
Barış Soner Uşaklı
9108c900c6 test: move set 2024-06-26 15:30:54 -04:00
Barış Soner Uşaklı
65a91ea5e5 refactor: move delete call 2024-06-26 14:32:37 -04:00
Barış Soner Uşaklı
26feb2bbf8 perf: cleanup sessions every 30 seconds
instead of everytime addSession is called
2024-06-26 14:16:41 -04:00
Barış Soner Uşaklı
69ce3bf0b8 lint: remove unused winston 2024-06-26 13:25:52 -04:00
Barış Soner Uşaklı
172bc2499e perf: change revokeSession to work with an array of sids 2024-06-26 13:09:47 -04:00
Barış Soner Uşaklı
6f6cfb1a5a fix: update follower/following counts after removing uid from zsets
use batch instead of async.each
2024-06-19 10:15:31 -04:00
Barış Soner Uşaklı
023d52a31c perf: get rid of async call in user load for expiring bans
unban all expires in one call
2024-06-11 17:42:06 -04:00
Barış Soner Uşaklı
1dadd16f4b perf: call getIconbackgrounds once
instead of 20x on topic/topic list load
2024-06-11 17:20:31 -04:00
Barış Soner Uşaklı
bad1564301 refactor: closes #12629, allow passing arrays to meta.userOrGroupExists 2024-06-10 16:59:55 -04:00
Barış Soner Uşaklı
7c2a3a6e13 test: fix test only set for spiders 2024-06-06 13:17:22 -04:00
Barış Soner Uşaklı
9d74539a4e fix: set uid in case its spider(-1), closes #12621 2024-06-06 11:34:57 -04:00
Barış Soner Uşaklı
325d00ea94 feat: track uid for email/username changes, closes #12454 2024-04-29 10:32:07 -04:00
Barış Soner Uşaklı
af205cc48a feat: closes #12477, allow editing moderation notes 2024-04-24 11:10:04 -04:00
Barış Soner Uşaklı
57422420a2 test: fix redis tests 2024-04-23 13:42:14 -04:00
Barış Soner Uşaklı
c73f759cf1 test: add back timestamp 2024-04-23 13:23:20 -04:00
Barış Soner Uşaklı
7d24b04b3b feat: parse moderation notes as markdown
https://github.com/NodeBB/NodeBB/issues/12477
2024-04-23 13:00:47 -04:00
Barış Soner Uşaklı
b429045ff6 feat: closes #12490, show profile flags on account info page 2024-04-23 12:39:51 -04:00
Barış Soner Uşaklı
985663faae feat: closes #12491, add unban & unmute history
to account/info page
2024-04-23 11:16:04 -04:00
Barış Soner Uşaklı
d599493057 Merge branch 'master' into develop 2024-04-15 12:13:20 -04:00
Barış Soner Uşaklı
d2e042d15b refactor: add new hooks for notifications/websockets
filter:sockets.sendNewNotificationToUid - fires before emitting "event:new_notification"

filter:sockets.sendNewPostToUid - fires before emitting "event:new_post"

filter:sockets.sendNewTopicToUid - fires before emitting "event:new_topic"

filter:user.toggleFollow- fires before follow/unfollow
2024-04-15 11:31:27 -04:00
Barış Soner Uşaklı
3042cf02d1 Merge branch 'master' into develop 2024-04-11 16:46:01 -04:00
Barış Soner Uşaklı
afe597a275 feat: #12495, add unblock button to users on /blocks 2024-04-11 16:18:42 -04:00
Barış Soner Uşaklı
0b1f2546c8 fix: #12471, remove readable strings
they are not localized properly
2024-04-07 11:10:15 -04:00
Barış Soner Uşaklı
3aae92341c fix: change digest to use posts sorting first
to use the new popular ranking algo. also fixes empty digests if there are no new topics created in the past 24 hours but there are topics with posts
2024-04-02 11:32:41 -04:00
Barış Soner Uşaklı
8f9ac5c17a feat: move all user profile pics to folder, closes #12449 (#12450)
* feat: move all user profile pics to folder

get rid of glob delete and just delete the uid-{uid} folder when deleting user images

* when exporting user uploads add all profile uploads

* uid check
2024-03-28 16:50:56 -04:00
Barış Soner Uşaklı
83ca23ca37 feat: allow custom fields in user csv export, closes #12401 2024-03-11 11:29:05 -04:00
Barış Soner Uşaklı
2a9b0a3c9c feat: add new sorting option to categories
add new zset for category topics
fix sorting names
2024-03-04 16:06:04 -05:00
Barış Soner Uşaklı
7207814b90 feat: add hook into user.posts.isReady
can be used to disable post delays or apply custom logic
closes https://github.com/NodeBB/NodeBB/pull/12367
2024-02-27 09:20:44 -05:00
Barış Soner Uşaklı
b905013950 fix: closes #12185, fix cli user password reset
refactor session get/destroy
2023-11-28 20:58:07 -05:00
Barış Soner Uşaklı
fdff165e2b feat: closes #12154, add exempt groups
for new user restrictions
2023-11-07 12:36:40 -05:00
Barış Soner Uşaklı
84fed97b41 feat: add tracking categories and make watching send notifications (#12147)
* feat: add tracking categories and make watching send notifications

upgrade script to change the defaults

* add missing spec

* test: one more spec
2023-11-03 12:49:17 -04:00
Barış Soner Uşaklı
d8d26c9f57 feat: add new lang string for minutes 2023-10-31 11:32:43 -04:00
Barış Soner Uşaklı
844cb91beb feat: update all language keys to use - instead of _ (#12059)
* feat: update all language keys to use - instead of _

* refactor: update language keys
2023-10-05 12:48:50 -04:00
Barış Soner Uşaklı
56794cf869 fix: only show emailChanged alert for self 2023-10-03 20:16:01 -04:00
Barış Soner Uşaklı
40d290c1a9 Tag follow (#12041)
* feat: tag follow

* on tag delete remove it from following users

* feat: on tag rename update user followed tags

and move the

* add new filter on /notifications

* feat: openapi updates

* chore: up themes

* chore: up peace

* refactor: remove unused title
2023-09-27 10:57:00 -04:00
Julian Lam
e1bced8c2c fix: move database call used to associate a NodeBB session UUID to its express session id into user.auth.addSession, which is the only time it is called 2023-09-11 15:08:45 -04:00