Commit Graph

2612 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
1e616da52b Merge branch 'master' into develop 2024-09-07 22:51:19 -04:00
Barış Soner Uşaklı
220af7068a fix: closes #12780, 404 in api/v3 if topic doesn't exist 2024-09-07 21:31:08 -04:00
Barış Soner Uşaklı
46950e287d Merge branch 'master' into develop 2024-09-04 11:31:50 -04:00
Barış Soner Uşaklı
5fa8ddbcf9 test: fix spec 2024-08-26 14:52:30 -04:00
Barış Soner Uşaklı
01a2f0e730 feat: show a friendly message on invalid or expired code, closes #12738 2024-08-26 14:47:43 -04:00
Julian Lam
2d14a79854 feat: migrate topic move socket call to api v3 2024-08-15 13:28:57 -04:00
Julian Lam
e630f006ab fix: crash if error objecft passed to handleErrors contains no message 2024-08-07 14:18:44 -04:00
Barış Soner Uşaklı
269fc06835 feat: add downvoteVisibility setting, closes #12698 2024-07-17 17:43:31 -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ı
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ı
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ı
1ced3eb9f1 don't crash on missing user 2024-06-11 18:25:59 -04:00
Barış Soner Uşaklı
adb0566f48 lint: remove unused 2024-06-11 17:47:53 -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ı
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ı
236ac32303 refactor: posts cache to get rid of require in functions 2024-06-10 17:10:43 -04:00
Barış Soner Uşaklı
2d86552b85 refactor: #12623, add filter:config.get.admin
to add admin only config values
add /api/admin/config to retrieve config object with admin values included
2024-06-08 13:42:43 -04:00
Barış Soner Uşaklı
c51b772fae feat: add isACP to config, closes #12623 2024-06-08 12:30:26 -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ı
6bbe3d1c4c fix: dont show error alert when user user mouse overs votes
if they dont have permission to view votes
2024-06-07 14:08:48 -04:00
Barış Soner Uşaklı
1aaa6cbbc5 feat: add voters/upvoters v3 routes
closes #12423
2024-05-31 11:45:41 -04:00
Barış Soner Uşaklı
d599493057 Merge branch 'master' into develop 2024-04-15 12:13:20 -04:00
Barış Soner Uşaklı
7218a9d8cb add tid/uid to teaser 2024-04-12 11:44:00 -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ı
ee5c021c47 refactor: use groupslug:groupname for search and acp page
dont need to load all names which includes privilege groups
2024-04-08 16:18:34 -04:00
Barış Soner Uşaklı
7033d11ede fix: #12481, remove priv groups from groupslug:groupname mapping (#12482)
this will cause a 404 when trying to access /group/cid-1-privilige-groups-find as an admin
2024-04-08 15:59:17 -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ı
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ı
09b4dcd369 Merge branch 'master' into develop 2024-02-22 11:41:13 -05:00
Barış Soner Uşaklı
3960d370e0 fix: closes #12358, only load pending/invited for owners 2024-02-22 10:14:35 -05:00
Barış Soner Uşaklı
7298c5513f make current sort option visible on button 2024-02-08 13:09:15 -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ı
5213e22a6e feat: search in bookmarks on search page 2024-01-12 14:02:28 -05:00
Barış Soner Uşaklı
06221a0ddf feat: add 500 page for missing tpls, closes #12230 2023-12-18 17:35:37 -05:00
Opliko
2d8026ebb7 Add basic author information to topic data (#12202)
* feat: add author metadata to topics

* docs: add author object to OpenAPI definition

* docs: add remaining author properties to openapi definition

* docs: mark optional properties optional

* docs: properly set required properties
2023-12-01 09:08:50 -05:00
Julian Lam
c1e6be7705 refactor(socket.io): deprecate SocketModules.chats.typing in favour of api.chats.toggleTyping 2023-11-20 13:06:26 -05:00
Julian Lam
401e8636bd refactor(socket.io): deprecate SocketModules.chats.loadPinnedMessages in favour of api.chats.getPinnedMessages" 2023-11-20 13:06:26 -05:00
Julian Lam
f9dc35021d refactor(socket.io): deprecate SocketModules.chats.searchMessages in favour of api.search.roomMessages 2023-11-20 13:06:26 -05:00
Julian Lam
75c8cda18c refactor(socket.io): deprecate SocketModules.chats.setNotificationSetting in favour of api.chats.watch 2023-11-20 13:06:26 -05:00
Julian Lam
b13c6ee431 refactor(socket.io): deprecated SocketModules.chats.toggleOwner in favour of api.chats.toggleOwner 2023-11-20 13:06:26 -05:00
Julian Lam
6e952263d1 refactor(socket.io): deprecated SocketModules.chats.searchMembers in favour of api.search.roomUsers 2023-11-20 13:06:26 -05:00
Julian Lam
62b7dfd400 refactor(socket.io): deprecate SocketModules.sortPublicRooms in favour of api.chats.sortPublicRooms 2023-11-20 13:06:26 -05:00
Julian Lam
5eaffb422c refactor(socket.io): deprecate SocketModules.chat.getUnreadCount in favour of api.chats.getUnread 2023-11-20 13:06:26 -05:00