Commit Graph

14407 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
cfbb8ff887 fix: getLocalFollowCounts, show non existing deletes 2025-02-11 13:45:38 -05:00
Barış Soner Uşaklı
70a9f6d337 fix: return null if field isn't in hash 2025-02-11 13:37:21 -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
Barış Soner Uşaklı
d590c2afcf perf: closes #13145, reduce calls in actors.prune
instead of deleting 18k users everyday delete max 500 every 30mins like notifications.prune

refactor getLocalFollowCounts so it works with an array of actors

dont make dbcalls for uids that dont exist
2025-02-11 11:01:32 -05:00
Barış Soner Uşaklı
224910b133 fix: isArray check 2025-02-11 10:56:56 -05:00
Barış Soner Uşaklı
893089709c add await to notify functions
and wrap in try/catch
2025-02-11 10:16:40 -05:00
Julian Lam
5cbf3dd7ea fix: sanity-check the id when mocking a post 2025-02-08 20:28:17 -05:00
Julian Lam
040584f035 fix: missing actor on some local activities when federating out 2025-02-08 20:27:55 -05:00
Barış Soner Uşaklı
1b4e0c8726 fix: delete from payload instead of setting null 2025-02-08 19:52:06 -05:00
Barış Soner Uşaklı
1090dbd85e Merge branch 'master' of https://github.com/NodeBB/NodeBB 2025-02-08 19:40:20 -05:00
Barış Soner Uşaklı
f5328aa80c fix: regression :tmi: 2025-02-08 19:40:12 -05:00
Barış Soner Uşaklı
2b7961e0e2 add brand:logo to config 2025-02-07 17:19:52 -05:00
Barış Soner Uşaklı
b6b766395d chore: update persona 2025-02-07 12:01:50 -05:00
Barış Soner Uşaklı
3ab22c2c8c refactor: events are returned inside post objects
to load all events of a topic use api/v3/topics/:tid/events
2025-02-06 19:59:09 -05:00
Barış Soner Uşaklı
d687f0810c fix: #13135, tids are not numeric for ap topics
this fixes other issues like posts not disappearing when purged and many others
2025-02-06 19:12:32 -05:00
Julian Lam
865c09a5cf chore: forgot to remove bad code 2025-02-06 18:03:47 -05:00
Julian Lam
5baa46d0bc fix: handle cases where url passed to mime does not pass because url contained a query string 2025-02-06 17:58:54 -05:00
Barış Soner Uşaklı
c2f7754ae0 Post/parent (#13133)
* post.parent wip

* feat: post parent

handle delete/restore/purge privileges etc.

* remove whitespace

* fix: this in each

* lint

* up harmony fix text break
2025-02-06 14:37:50 -05:00
Barış Soner Uşaklı
c41815ab81 remove w-100 2025-02-04 20:11:33 -05:00
Barış Soner Uşaklı
b993be6fd7 refactor: move dropdown search inputs into dropdown
get rid of position-absolute on search inputs
2025-02-04 19:59:16 -05:00
Barış Soner Uşaklı
72091ec4e1 refactor: server.destroy 2025-02-03 13:40:52 -05:00
Barış Soner Uşaklı
21156673e3 fix: isDraft logic, closes #13119
topic.exists returns an array
2025-02-03 13:13:49 -05:00
Barış Soner Uşaklı
36063d1f33 fix: path on windows, #13119 2025-02-03 12:47:45 -05:00
Barış Soner Uşaklı
bf09ed143b fix recent/popular/top title 2025-02-03 10:40:06 -05:00
Barış Soner Uşaklı
1ff8e1e47d fix: #13115, prevent messages from getting duplicated 2025-02-02 18:57:54 -05:00
Barış Soner Uşaklı
8e9fdb5fd6 fix: #13115, limit bodyLength length
send out notification if bodyLong.length exceeds limit
add a max item limit to ttl cache
get rid of has/get check if item isn't in cache get returns undefined
2025-02-02 18:39:24 -05:00
Barış Soner Uşaklı
265e44f03e refactor: remove deprecated methods 2025-02-02 14:31:58 -05:00
Julian Lam
51e660d5ae fix: bad logic that invisibly broke outgoing user follows completely 2025-02-02 03:51:27 -05:00
Barış Soner Uşaklı
1cdf37a218 list remove all (#13113)
* list remove all

* one more test

* sortedSetIncrByBulk

* remove name

* incrObjectFieldByBulk

* test: disable api tests

* try merge

* another test

* give upon bulk incr

* update so answer

* one more try

* fix: name

* chore: up dbsearch
2025-02-02 03:38:55 -05:00
Barış Soner Uşaklı
be62ae24ad feat: allow selecting empty for custom selects
closes #13101
2025-01-30 10:22:45 -05:00
Barış Soner Uşaklı
d4a1b4dad9 refactor: remove old comment 2025-01-29 18:27:46 -05:00
Barış Soner Uşaklı
4d7335903a feat: add uid to post.parent 2025-01-29 18:01:52 -05:00
Barış Soner Uşaklı
0b92d52593 fix: closes #13096, fix regression from renaming language files
a76781859c (diff-b2c5ad612412b958d1df03c07abfa9c4250b3256238502097d2639df203d7fed)
2025-01-29 16:06:03 -05:00
Barış Soner Uşaklı
933c18f4ac feat: add description and keywords to api/config 2025-01-29 16:01:22 -05:00
Julian Lam
ddb6e0f32b fix: #13087, disallow following cid -1 2025-01-29 12:44:42 -05:00
Julian Lam
6d88dcb2b5 fix: encoding of pid in notifyCategoryFollowers, #13087 2025-01-29 12:29:12 -05:00
Barış Soner Uşaklı
4ba01d18d6 refactor: 🤡 2025-01-28 19:59:12 -05:00
Barış Soner Uşaklı
4c66eed9e7 fix: closes #13091, dont show world category
on user categories page
2025-01-28 11:26:18 -05:00
Barış Soner Uşaklı
487d9f7320 fix: #13086 move rateLimit check
so it doesn't get triggered if there were errors
2025-01-26 10:57:22 -05:00
Julian Lam
b3b8b9e98d fix: null checks for category sync and actor assertions 2025-01-24 23:41:19 -05:00
Barış Soner Uşaklı
f3c4233b9f Merge branch 'master' of https://github.com/NodeBB/NodeBB 2025-01-22 13:16:44 -05:00
Barış Soner Uşaklı
679fcb71a9 fix: #13067, add sourceContent to teasers
required in posts.parse
2025-01-22 13:16:40 -05:00
Julian Lam
e61df4debc fix: #13065, send missing actor property when 1b12 announcing local posts 2025-01-22 13:07:41 -05:00
Barış Soner Uşaklı
f3b8ed274a fix: closes #13068, encodeURIComponent X-Redirect 2025-01-22 12:42:16 -05:00
Barış Soner Uşaklı
f0c2090d80 fix: #13062 add displayname to email tpl data 2025-01-21 09:07:02 -05:00
Barış Soner Uşaklı
8f460bc312 Merge branch 'master' into develop 2025-01-20 13:19:07 -05:00
Barış Soner Uşaklı
ae9ef064ae Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2025-01-20 13:18:47 -05:00
Barış Soner Uşaklı
23b37f6227 fix: if user is logged in after registration don't go back to /login 2025-01-20 13:14:27 -05:00
Julian Lam
af4d07fba4 feat: fix activitypub toggler to be more complete; tests. #13054 2025-01-20 12:05:17 -05:00
Barış Soner Uşaklı
de021bdacd fix: 404 request if payload invalid 2025-01-16 14:19:51 -05:00