Julian Lam
0e1006fb3b
test: fix remoteUrl property generation, tests for topic moving
2025-03-11 14:19:08 -04:00
Julian Lam
537880d2e8
test: fix actor tests
2025-03-11 13:27:37 -04:00
Julian Lam
78c9239b22
fix: expose remote url in user object
2025-03-07 13:27:10 -05:00
Barış Soner Uşaklı
e85662a536
fix: getUserField so that it always returns null
...
if field doesn't exist
user.getUserField('foo', 'bar') returned undefined vs user.getUserField('1', 'bar') which returned null
2025-02-11 13:28:25 -05:00
Julian Lam
2ab72ada3f
Merge remote-tracking branch 'origin/develop' into activitypub
2024-12-11 10:12:33 -05:00
Barış Soner Uşaklı
fe811537e9
refactor: remove "password" in comments
2024-12-09 14:40:49 -05:00
Julian Lam
c0e58b03c5
Merge remote-tracking branch 'origin/develop' into activitypub
2024-11-26 11:34:18 -05:00
Barış Soner Uşaklı
6ebff2e1c6
refactor: shorter check for showfullname
2024-11-26 09:17:51 -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ı
e375038ce0
get whitelisted fields from plugins as well
2024-11-19 16:37:14 -05:00
Julian Lam
be6e8b0f48
Merge remote-tracking branch 'origin/develop' into activitypub
2024-11-19 16:09:20 -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
Julian Lam
b2c21ee873
src/user/data.js
...
chore: remove unneeded actor assertion
2024-11-19 15:16:48 -05:00
Barış Soner Uşaklı
1327316d8f
Merge branch 'develop' into activitypub
2024-11-14 10:53:51 -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
Julian Lam
a81ef60930
feat: icon replacing user status for remote users, denoting that they are from outside the local instance, #12688
2024-07-11 13:16:47 -04:00
Julian Lam
e84cfd8c07
fix: issue where incrementing user hash fields didn't use the right key name for remote announce @barisusakli
2024-07-09 14:01:57 -04:00
Barış Soner Uşaklı
c231ab78b2
refactor: single db call
2024-06-14 20:49:16 -04:00
Julian Lam
691f691749
debug: comment out actor assertion call in Users.getUsersFields
2024-06-14 11:45:03 -04:00
Barış Soner Uşaklı
04b4c16e27
Merge branch 'develop' into activitypub
2024-06-11 18:18:14 -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ı
119230d7ec
Merge branch 'develop' into activitypub
2024-06-06 13:18:12 -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ı
91c3434fda
Merge branch 'develop' into activitypub
2024-04-25 11:16:42 -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
Julian Lam
3721f8196d
fix: icon:text and icon:bgColor for remote users
2024-04-17 13:29:26 -04:00
Opliko
2a2b855fe2
feat: federate flag creation
2024-04-14 00:51:53 +02:00
Julian Lam
f368a1a87f
fix: remove intFields hack and update db.parseIntFields to only parseInt if field value is a number
2024-03-06 11:45:34 -05:00
Julian Lam
56cfae0766
fix: accidental overwrite of hoisted internal variable
2024-02-14 11:56:21 -05:00
Julian Lam
ef8cd34ba1
refactor: replace JIT actor retrieval with actor assertion and storage logic
2024-01-26 15:10:35 -05:00
Julian Lam
06e1583461
refactor: move mockProfile and mockPost to separate mocks.js
2024-01-10 14:19:57 -05:00
Julian Lam
d1cdb8f858
fix: show full names for remote users
2024-01-08 15:02:36 -05:00
Julian Lam
c66b18670d
fix: tests
2024-01-05 11:56:20 -05:00
Julian Lam
7fd15d6668
feat: expose following/follower counts in actor response
2024-01-05 11:39:17 -05:00
Julian Lam
739b05481c
feat: show remote followers/following in user profile pages
2024-01-05 09:58:37 -05:00
Julian Lam
2e330d8b3a
refactor: validator check to helper method
2024-01-04 16:23:09 -05: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
Julian Lam
f38b2a737a
fix: improper handling of single vs. multiple inputs for hidePrivateData
2022-06-29 16:19:52 -04:00
Julian Lam
3f5ae893c6
refactor: allow user.hidePrivateData() to handle an array of userData
2022-06-29 16:10:04 -04:00
Barış Soner Uşaklı
9acdc6808c
feat: allow unban/unmute on flag details page. closes #10593
2022-05-15 21:49:27 -04:00
Barış Soner Uşaklı
be6bbabd0e
feat: ability to mute users
...
new mute privilege
2022-03-11 23:07:20 -05:00
Barış Soner Uşaklı
a8afdc6019
fix : #10069 , don't modify fields array
...
use a single setObjectFields for the profile update
2021-12-08 18:38:02 -05:00
gasoved
97c8569a79
fix: hide private user data in api/v3/users/[uid]
2021-06-30 17:02:38 -04:00
Julian Lam
d3a9e76ae2
test(user): added additional tests for icon background colour
2021-02-19 11:38:48 -05:00
Julian Lam
955021247e
feat(user): icon background selector in change picture modal
2021-02-19 11:38:48 -05:00
Julian Lam
fbccf6e22f
refactor(user): all plugins to change list of icon background colours
...
One notable change is line 200, where a conditional was changed. The conditional used to check for `user.hasOwnProperty('picture')` and was added so that icons would only be included in the response if the picture was requested. This doesn't seem to apply as picture could be set regardless (see default avatar logic above), so I explicitly check `requestedFields` now.
2021-02-19 11:38:48 -05:00
Peter Jaszkowiak
5c2f0f0557
chore: eslint no-restricted-syntax
2021-02-08 18:06:44 -05:00
Peter Jaszkowiak
b56d9e12b5
chore: eslint prefer-arrow-callback
2021-02-08 18:06:44 -05:00