Commit Graph

1589 Commits

Author SHA1 Message Date
Julian Lam
c778f6ebdb feat: new client-side hook to allow plugins to modify relogin url 2024-04-02 11:45:17 -04:00
Barış Soner Uşaklı
c206ccdd00 fix: #12452, fix admin/mod image change
so it doesn't update the image in the header
2024-03-29 17:28:31 -04:00
Barış Soner Uşaklı
5556c1d549 add missing btn class 2024-02-29 10:29:37 -05:00
Barış Soner Uşaklı
f34ebcc91b fix: #12357, properly update lists and counters 2024-02-22 11:44:22 -05:00
Barış Soner Uşaklı
863f5d0a8a fix: use lang key for user avatar label 2024-02-14 10:53:03 -05:00
Barış Soner Uşaklı
4056d2c6da deleted topics shoundlt show unread 2024-02-07 11:06:32 -05:00
Barış Soner Uşaklı
9302d9b489 fix: closes #12326 2024-02-05 21:32:36 -05:00
Barış Soner Uşaklı
1b4a24b997 update unread anchor 2024-02-05 17:01:08 -05:00
Barış Soner Uşaklı
cf40d68176 fix: if there is no bookmarkThreshold dont init unread indicator 2024-01-24 12:11:17 -05:00
Barış Soner Uşaklı
cb21f28b56 feat: add success hook to quick reply 2024-01-24 12:00:27 -05:00
Barış Soner Uşaklı
20d88e6861 use template name instead of url
sometimes topic.tpl can be rendered on a different url
2024-01-24 11:27:07 -05:00
Barış Soner Uşaklı
a74b51415c fix: stricter selector for sort 2023-12-23 17:58:03 -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
c1e6be7705 refactor(socket.io): deprecate SocketModules.chats.typing in favour of api.chats.toggleTyping 2023-11-20 13:06:26 -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
Julian Lam
eebea4df2e refactor(socket.io): deprecate SocketModules.chats.isDnD in favour of api.users.getStatus 2023-11-20 13:06:26 -05:00
Barış Soner Uşaklı
ace171a6bf feat: add some new social share buttons 2023-11-15 11:01:30 -05:00
Barış Soner Uşaklı
f4bbc5bd3f fix: another missing state 2023-11-07 10:49:42 -05:00
Barış Soner Uşaklı
3b91e8e27f fix: add missing tracking 2023-11-07 10:49:06 -05:00
Barış Soner Uşaklı
84fed97b41 feat: add tracking categories and make watching send notifications (#12147)
* feat: add tracking categories and make watching send notifications

upgrade script to change the defaults

* add missing spec

* test: one more spec
2023-11-03 12:49:17 -04:00
Julian Lam
cefd4061ca fix: #12141, use apiv3 for category search module 2023-10-31 16:41:32 -04: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ı
1f8007476c feat: closes #12123, allow setting hh:mm for pin expiry
use locale for pin expiry and use short form
2023-10-26 11:14:58 -04:00
Barış Soner Uşaklı
f6120ebb9f fix: use template name instead of component
topic page can have suggested topics which has category component
2023-10-13 18:47:47 -04:00
Barış Soner Uşaklı
bffa788047 fix: lang key 2023-10-06 23:24:14 -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ı
82ea91920a refactor: update buildCategoryLabel 2023-10-02 10:38:47 -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
Barış Soner Uşaklı
a0ae31d0a7 Merge branch 'master' into develop 2023-09-25 10:51:44 -04:00
Barış Soner Uşaklı
379ed0e2e8 refactor: remove nested promise 2023-09-25 10:49:14 -04:00
pkuanvil-uid1
aff19a6c6b fix: properly wrap promise to callback-style function (#12030)
Async function xhr use a mixture of await and callback, which is not correct when an exception is thrown before callback happens. Use only async/await for it and create a new callback-style wrapper.
2023-09-25 10:48:31 -04:00
Barış Soner Uşaklı
b518e03671 fix: #12032, truncate long category names 2023-09-24 20:08:49 -04:00
Barış Soner Uşaklı
600357444d feat: typing user list in chat 2023-09-02 21:18:00 -04:00
Barış Soner Uşaklı
92f5c146fd feat: add data-allow-dupe and data-navigator-ignore
these can be used by plugins like q&n to dupe a post
instead of relying on magic -1 index
2023-09-02 00:07:35 -04:00
Barış Soner Uşaklı
bdeca04951 fix: always return string from helper
if value ended up being 0 it wasnt output
2023-09-01 20:41:14 -04:00
Barış Soner Uşaklı
6ae0d207a7 fix: double escape issue, body is escaped in composer-default 2023-08-30 12:10:52 -04:00
Barış Soner Uşaklı
887dfd7da7 fix: #11969, match the server side behaviour for filters
if there is an error bubble all the way up
2023-08-30 11:19:29 -04:00
Barış Soner Uşaklı
29f77a8829 Merge branch 'master' into develop 2023-08-29 11:30:19 -04:00
Barış Soner Uşaklı
440299e661 fix: don't try to parse response if request is head #11960 2023-08-28 22:23:02 -04:00
Barış Soner Uşaklı
54706b1182 ability to pin chat messages (#11964) 2023-08-28 15:57:30 -04:00
Barış Soner Uşaklı
3d6668e7f0 fix: dont show chat notif if you are already in the room
mark all notifs from chat read when you you mark the chat room read
2023-08-24 22:42:36 -04:00
Barış Soner Uşaklı
26d06d9bb0 add some missing tooltips 2023-08-23 20:19:38 -04:00
Barış Soner Uşaklı
2e0964e6fe fix: bookmark scroll doing ajaxify
if target post is already on page
fix alerts crash due to double close
2023-08-21 20:18:56 -04:00
Barış Soner Uşaklı
980e0a3a71 wait for images to load before scrolling to bottom 2023-08-15 15:06:28 -04:00
Barış Soner Uşaklı
9349cb63cb feat: #11881, limit room names 2023-08-06 17:32:36 -04:00
Barış Soner Uşaklı
0316f324e7 feat: add toMid to chat messages 2023-08-06 02:33:28 -04:00
Barış Soner Uşaklı
e2a198c59a fix 0 timeouts 2023-08-04 13:35:34 -04:00
Barış Soner Uşaklı
881a28eb79 fix: #11875, simplify alerts and show progress
add alerts.info and alerts.warning
2023-08-03 16:09:53 -04:00
Julian Lam
007d735f92 fix: bug where api module would throw if response contained no content-type header 2023-08-03 12:16:03 -04:00