Commit Graph

13319 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
503a97e520 fix: don't allow joining topic_<tid> & category_<cid>
socket.io rooms if you don't have relevant privileges
2024-08-02 16:09:35 -04:00
Barış Soner Uşaklı
ac644ac286 refactor: #12713, update chat teasers even if chat notifications are disabled 2024-08-02 10:06:28 -04:00
Barış Soner Uşaklı
a73f269fce test: test fix maybe 2024-07-31 15:31:11 -04:00
Barış Soner Uşaklı
0204f2aafa feat: update chat teasers when a new chat starts, closes #12713 2024-07-31 15:20:51 -04:00
Barış Soner Uşaklı
c9de0e519e remove strong 2024-07-25 11:55:22 -04:00
Barış Soner Uşaklı
cea18d0c1e refactor: hooks page design 2024-07-25 11:25:53 -04:00
Barış Soner Uşaklı
42ac1f9db4 refactor: closes #12699, allow boolean false for log-colorize 2024-07-19 11:18:20 -04:00
Barış Soner Uşaklı
bf27e38003 send the location of widget to render hooks 2024-07-18 18:00:12 -04:00
Barış Soner Uşaklı
269fc06835 feat: add downvoteVisibility setting, closes #12698 2024-07-17 17:43:31 -04:00
SinisterSpatula
548e5b4545 Update crop_picture.tpl (#12676)
Fixes an issue where clicking flip vertical the first time has no effect on the image.
2024-07-06 22:38:36 -04:00
Barış Soner Uşaklı
ccc8682526 fix: add sizes to maskable so it doesnt crash chrome application tab 2024-06-27 16:59:49 -04:00
Barış Soner Uşaklı
61e5293a76 test: dont track session for api/v3 (#12660)
since they get destroyed when the request ends
2024-06-27 10:26:06 -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ı
64875b3fae feat: closes #12656, only send required meta/link tags on /api calls 2024-06-26 11:55:24 -04:00
Barış Soner Uşaklı
85b329af25 refactor: use array.some 2024-06-26 09:08:32 -04:00
Barış Soner Uşaklı
54b0139531 fix: wront topic events showing up in topic
when you perform a topic action on a topic that has queued posts
store topic event id in the event hash
dont load queued post events when adding a new topic event
2024-06-24 21:59:12 -04:00
Barış Soner Uşaklı
381bbb04ad fix: dont show self in suggested topics 2024-06-22 08:59:50 -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ı
351ee71d64 fix: suggested topic tid 2024-06-17 18:07:21 -04:00
Barış Soner Uşaklı
8f486b1b99 refactor: add placeholders on demand
remove emptylines/whitespace from tpls
2024-06-16 22:56:21 -04:00
Barış Soner Uşaklı
252d0df76c refactor: move getTopicData call to avoid db calls when its not in cache 2024-06-15 13:45:26 -04:00
Barış Soner Uşaklı
74dd2844a0 refactor: remove exits check 2024-06-15 13:36:13 -04:00
Barış Soner Uşaklı
92f1f189a8 fix mongo stats 2024-06-14 20:23:50 -04:00
Barış Soner Uşaklı
73241bd521 perf: if sigs disabled dont filter uids 2024-06-14 12:12:16 -04:00
Barış Soner Uşaklı
fedfce7bce perf: cache isAdmin, isGlobalMod checks 2024-06-14 11:06:30 -04:00
Barış Soner Uşaklı
f7c9b7ae4e fix: recent chat pagination, closes #12637 2024-06-14 09:52:11 -04:00
Barış Soner Uşaklı
6f79d30518 fix: info.tpl table 2024-06-12 22:57:43 -04:00
Barış Soner Uşaklı
35710e6551 catch all deleted/missing and 404 2024-06-11 18:28:10 -04:00
Barış Soner Uşaklı
1ced3eb9f1 don't crash on missing user 2024-06-11 18:25:59 -04:00
Barış Soner Uşaklı
9ecee78293 test: fix path replace 2024-06-11 17:56:45 -04:00
Barış Soner Uşaklı
adb0566f48 lint: remove unused 2024-06-11 17:47:53 -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ı
1c44f55d3c handle sub account pages in redirect 2024-06-11 16:56:04 -04:00
Barış Soner Uşaklı
17cd3b684c move slug handling to middleware #12632 2024-06-11 16:24:56 -04:00
Barış Soner Uşaklı
5c6a853e94 perf: get rid of more calls, fix other profile pages #12632 2024-06-11 16:07:10 -04:00
Barış Soner Uşaklı
66adfa2999 fix: closes #12632, dont load data twice 2024-06-11 15:38:40 -04:00
Barış Soner Uşaklı
4430de8c4a fix: don't error if file required too early
Exception during run: TypeError: ttl must be positive integer or Infinity if set
    at new TTLCache (/home/runner/work/NodeBB/NodeBB/node_modules/@isaacs/ttlcache/index.js:35:13)
2024-06-11 12:09:24 -04:00
Barış Soner Uşaklı
60b4bc662f feat: show connetion count on /info 2024-06-11 11:53:19 -04:00
Barış Soner Uşaklı
c2f6309080 test: fix tests 2024-06-10 20:55:39 -04:00
Barış Soner Uşaklı
3356022a85 refactor: move als requires, move autoLocale to api/page routes 2024-06-10 20:43:22 -04:00
Barış Soner Uşaklı
8eccdb481f refactor: move requires down 2024-06-10 17:18:41 -04:00
Barış Soner Uşaklı
795a0daa03 lint: fix semicolons 2024-06-10 17:17:46 -04:00
Barış Soner Uşaklı
236ac32303 refactor: posts cache to get rid of require in functions 2024-06-10 17:10:43 -04:00
Barış Soner Uşaklı
b4db2f7faf lint: fix whitespace 2024-06-10 17:03:58 -04:00