Commit Graph

6204 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
5aa4bf3310 dont show legends on error charts 2023-11-10 16:29:33 -05:00
Barış Soner Uşaklı
5ea7dec939 feat: closes #12158, add sortable rewards
convert rewards:list to a sorted set
2023-11-10 09:54:37 -05:00
Barış Soner Uşaklı
7fba622e52 mobile widgets changes 2023-11-09 15:54:52 -05:00
Barış Soner Uşaklı
4b2491becd feat: add copy text 2023-11-09 12:46:31 -05:00
Julian Lam
dc4cc74fbd refator(socket.io): deprecate socketGroups.getChatGroups in favour of api.admin.listGroups 2023-11-09 11:53:17 -05:00
Julian Lam
807d778c77 refactor(socket.io): deprecate socketGroups.loadMoreMembers in favour of api.groups.listMembers 2023-11-09 11:53:17 -05:00
Barış Soner Uşaklı
c73df36d81 Merge branch 'master' into develop 2023-11-08 15:38:15 -05:00
Barış Soner Uşaklı
21e5953888 fix: closes #12156, missing data for privilege tables
also fix js crash when adding group/user on admin privileges,
2023-11-08 15:38:02 -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
4601a6f7fe fix: #12133 dropdown menus on mobile stay open during ajaxify 2023-11-01 14:15:21 -04:00
Julian Lam
b4297cd8f0 fix: update ajaxifyTimer logic to only drop the request if the URL is the same as the one it's already processing
re: #12133
2023-11-01 14:15:21 -04:00
Julian Lam
cefd4061ca fix: #12141, use apiv3 for category search module 2023-10-31 16:41:32 -04:00
Julian Lam
1ce4ca54da refactor(socket.io): deprecate categories.loadMore in favour of api.categories.getTopics 2023-10-31 11:32:07 -04:00
Julian Lam
010727f5cb refactor(socket.io): deprecate categories.loadMoreSubCategories in favour of api.categories.getChildren 2023-10-31 11:32:07 -04:00
Julian Lam
d7c6b3d60e refactor(socket.io): deprecate categories.setWatchState in favour of api.categories.setWatchState 2023-10-31 11:32:07 -04:00
Julian Lam
c442b6e662 refactor(socket.io): deprecate categories.getTopicCount in favour of api.categories.getTopicCount 2023-10-31 11:32:07 -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ı
728d63f953 fix: closes #12115 , toggle hasmore as well 2023-10-24 10:52:33 -04:00
Barış Soner Uşaklı
2ca5192b8a feat: show # of widgets on templates
ability to hide drafts
2023-10-23 10:14:36 -04:00
Barış Soner Uşaklı
347a43f4fe fix: rewards fixes
fix enabled/disabled button
sort rewards from oldest to newest
2023-10-16 19:02:42 -04:00
Barış Soner Uşaklı
eca64ef3d6 widget overflow fix 2023-10-14 15:06:09 -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ı
5e440911bc fix widget overflow 2023-10-11 13:37:07 -04:00
Barış Soner Uşaklı
db9279ebff feat: 3 column layout for widgets 2023-10-08 21:23:29 -04:00
Barış Soner Uşaklı
54a810dd8e fix: missing body classes on error pages 2023-10-08 20:45:11 -04:00
Barış Soner Uşaklı
50c7cf59ef add back legend 2023-10-08 16:54:00 -04:00
Barış Soner Uşaklı
bffa788047 fix: lang key 2023-10-06 23:24:14 -04:00
Barış Soner Uşaklı
6149252bb3 refactor: shorter timeago 2023-10-06 14:36:47 -04:00
Barış Soner Uşaklı
99bdad8091 fix: #12062, relax blockquote selector
so it works with plugins like lightgallery that wrap post/content
2023-10-06 12:13:40 -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
Julian Lam
715bdac3fa fix: #12017, unreliable forum updated messaging
- Removed payload from event:nodebb.ready event (ready to remove for v4 in favour)
- Send hostname/cache-buster payload in meta.reconnected method instead
2023-10-04 11:34:52 -04:00
Barış Soner Uşaklı
344ece8db5 fix: #12057, allow gmods to change user email 2023-10-03 20:42:43 -04:00
Barış Soner Uşaklı
f8a3aceb53 feat: closes #12052, ability to disable stale topic warning 2023-10-02 11:34:54 -04:00
Barış Soner Uşaklı
82ea91920a refactor: update buildCategoryLabel 2023-10-02 10:38:47 -04:00
Barış Soner Uşaklı
56b31674e1 refactor: use esm only import used chart types/plugins 2023-10-01 18:33:52 -04:00
Barış Soner Uşaklı
fe192b926c feat: upgrade chartjs to 4.x 2023-09-29 21:50:11 -04:00
Barış Soner Uşaklı
dbd0a715f2 fix: #12044, only load notifications when opening dropdown
update code to use bs5 class "show"
2023-09-27 17:23:55 -04:00
Barış Soner Uşaklı
40d290c1a9 Tag follow (#12041)
* feat: tag follow

* on tag delete remove it from following users

* feat: on tag rename update user followed tags

and move the

* add new filter on /notifications

* feat: openapi updates

* chore: up themes

* chore: up peace

* refactor: remove unused title
2023-09-27 10:57:00 -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ı
a7517d886f feat: add new hook action:chat.onMessagesAddedToDom
fires whenever new messages are added to dom
* receive new message
* added by scrolling up to load old messages
2023-09-20 09:48:45 -04:00
Barış Soner Uşaklı
6553e45408 fix: remaining text, when sending with send button 2023-09-16 21:07:18 -04:00
Barış Soner Uşaklı
e2777f4a4e allow editing pinned chat messages
only update message body and edited component
2023-09-12 12:16:09 -04:00
Barış Soner Uşaklı
aebd9278c2 refactor: reduce socket.emits for typing
if textarea changess between empty/full emit right away
2023-09-06 18:30:04 -04:00