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ı
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ı
236ac32303
refactor: posts cache to get rid of require in functions
2024-06-10 17:10:43 -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ı
1b283ccc29
test: return empty array on db.exists([]);
2024-06-07 21:44:57 -04:00
Barış Soner Uşaklı
70b4a0e2ae
feat: allow passing min,max to sortedSetsCardSum
...
to get rid of multiple db calls in profile page
2024-06-07 19:14:13 -04:00
Barış Soner Uşaklı
42230300a0
test: fix post test
2024-05-31 11:59:46 -04:00
Barış Soner Uşaklı
fed5165ffb
test: fix moderation note test
2024-04-23 13:31:35 -04:00
Barış Soner Uşaklı
3042cf02d1
Merge branch 'master' into develop
2024-04-11 16:46:01 -04:00
Barış Soner Uşaklı
acab46e656
test: fix tests and use action
2024-04-11 16:33:50 -04:00
Barış Soner Uşaklı
4030f18a04
feat: closes #12453 , filter events by user/group
2024-04-01 18:19:58 -04:00
Barış Soner Uşaklı
bf4e257c83
test: add test for #12446
2024-03-26 18:59:11 -04:00
Barış Soner Uşaklı
c8a5e24aee
test: fix test
2024-02-29 10:39:02 -05:00
Barış Soner Uşaklı
5afc735bea
test: update test
2024-02-22 11:55:49 -05:00
Barış Soner Uşaklı
09b2bc0425
Merge branch 'master' into develop
2024-02-22 09:27:55 -05:00
Barış Soner Uşaklı
4e51bf81bb
test: better test for #12352
2024-02-21 11:38:07 -05:00
Barış Soner Uşaklı
4a405ce032
fix: retry setAdd on e11000 error
2024-02-21 11:36:04 -05:00
Barış Soner Uşaklı
45cfb3691e
feat: show unread categories based on unread topics ( #12317 )
...
* feat: show unread categories based on unread topics
if a category has unread topics in one of its children then mark category unread
deprecate cid:<cid>:read_by_uid sets
upgrade script to remove the old sets
* chore: up harmony
2024-01-30 17:47:06 -05:00
Barış Soner Uşaklı
e8befbcc6f
test: add plugin id tests
2024-01-17 15:18:26 -05:00
Barış Soner Uşaklı
c15bdd4cf0
👋 Request, 🐶 Fetch, closes #10341 ( #12236 )
...
* axios migration
* controller tests
* add missing deps
* feeds
* remove unused async
* flags
* locale-detect
* messaging/middleware
* remove log
* meta
* plugins
* posts
* search
* topics/thumbs
* user/emails
* uploads.js
* socket.io
* cleaunup
* test native fetch
* cleanup
* increase engine to 18
fix remaining tests
* remove testing file
* fix comments,typo
* revert debug
2023-12-18 12:08:34 -05:00
Barış Soner Uşaklı
7c416efc89
Merge branch 'master' into develop
2023-12-08 11:07:39 -05:00
Barış Soner Uşaklı
c434262e21
fix: change translator escape
...
remove \\\] and \\\[
match double ] and [
2023-12-08 10:58:13 -05:00
Julian Lam
445b70deda
test: migrate socket modules tests to v3 api
2023-12-05 11:47:55 -05:00
Julian Lam
565ca3cc3b
fix: deprecated emailer hook
2023-12-05 10:41:23 -05:00
Julian Lam
2c1c4dfe41
test: migrate socket.io groups tests to use api v3
2023-12-05 10:41:14 -05:00
Julian Lam
2c6024e07f
feat: update groups.leave to allow global mods to kick users out of groups
2023-12-01 13:04:32 -05:00
Julian Lam
a4133500fe
refactor(socket.io): deprecate SocketModules.chats.canMessage and .markAllRead with no alternative. deprecate .getRecentChats in favour of api.chats.list
2023-11-20 13:06:26 -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ı
4c4f3ac983
feat: add direct message link ( #12138 )
...
* feat: add direct message link
/message/:mid
add /:index? to chat routes
add copy link to chat messages
add messageCount to each room object
add infinitescroll in both directions to chat
* fix more tests
* test: more text fixes
* test: fix tests
* remove async
* dont crash if element not in dom
clamp scrollToIndex values to 0, msgCount
2023-10-31 10:15:06 -04:00
Barış Soner Uşaklı
6c7e614417
feat: batch.processSortedSet min/max ( #12129 )
...
* feat: batch.processSortedSet min/max
* test if this works
2023-10-26 10:23:27 -04:00
Barış Soner Uşaklı
b398321a5e
Chat with privileged ( #12092 )
...
* Update headers.js
Fixes X-Upstream-Hostname header for os hostnames with invalid characters
* Added missing period in allowed hostname chars
Allowed hostname chars should include A-Za-z0-9-. based on https://man7.org/linux/man-pages/man7/hostname.7.html
* feat: add chat:privileged global privilege
to only allow chatting with privileged users
* test: fix priv test
* test: one more fix
---------
Co-authored-by: chadjw <chad.warner@gmail.com >
2023-10-17 13:19:25 -04:00
Barış Soner Uşaklı
b870538095
lint: fix quotes
2023-10-13 17:19:22 -04:00
Julian Lam
9936442706
test: worked with chatgpt to restrict the i18n test a bit to match requirements
2023-10-13 12:46:37 -04:00
Julian Lam
6606d96aaa
test: fix flag tests
2023-10-12 10:23:30 -04:00
Julian Lam
e012edea3b
feat: flag rescinding logic + api method
2023-10-12 10:23:30 -04:00
Julian Lam
da2390594a
test: added test cases for .addReport and .rescindReport()
2023-10-12 10:23:30 -04:00
Barış Soner Uşaklı
3b46ad424d
lint: fix lint
2023-10-06 12:26:09 -04:00
Julian Lam
d25a24fcf4
fix: allowing forward slash in language keys, temporarily allowing upper case characters
2023-10-06 11:29:43 -04:00
Julian Lam
69dde2b9dd
test: added i18n test to enforce kebab casing
2023-10-05 14:41:24 -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ı
66be9826a2
test: add reverse list test
2023-10-03 12:50:20 -04:00
Julian Lam
857433d12a
fix: breaking tests
2023-10-02 11:19:05 -04:00
Julian Lam
d7e9f32412
test: additional tests for #12034
2023-09-26 14:54:13 -04:00
Barış Soner Uşaklı
f1a80d48cc
10411 ( #12037 )
...
* feat: add type to privilege maps
deprecate old hooks that are used for adding new privileges, new hooks are static:privileges.global.init/static:privileges.categories.init
* deprecate admin priv hooks
* fix: if type doesnt exist default to 'other'
* remove filter
* fix: copy privilege functions to use new filter instead of indices
allow static hooks to use sync functions
* fix: openapi
* test: fix template helper
2023-09-25 20:42:18 -04:00
Julian Lam
ce7403014a
test: added tests for new logic paths (toPid validation on post creation)
...
re: #12025
2023-09-25 10:34:35 -04:00
Barış Soner Uşaklı
e452c097d0
refactor: get rid of some async.waterfall/series/parallel calls
2023-09-22 11:44:32 -04:00
Barış Soner Uşaklı
8bc2ef227e
refactor: get rid of async.waterfall/series
2023-09-13 16:23:49 -04:00
Barış Soner Uşaklı
e15d68d195
Merge branch 'master' into develop
2023-09-11 16:01:41 -04:00
Julian Lam
9dc9d5ef54
test: remove errant .only()
2023-09-11 14:27:14 -04:00
Barış Soner Uşaklı
dcccbe69e3
Merge branch 'master' into develop
2023-09-11 12:02:28 -04:00