Commit Graph

6169 Commits

Author SHA1 Message Date
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
Barış Soner Uşaklı
4d1b8e76b3 refactor: reduce socket.emits for typing
if textarea changess between empty/full emit right away
2023-09-06 17:01:09 -04:00
Barış Soner Uşaklı
e4ecb96f1a fix: closes #11982, fix element in prepEdit 2023-09-06 12:49:37 -04:00
Barış Soner Uşaklı
f2c4041fcb fix: prep edit so textarea isn't below text input 2023-09-06 12:40:15 -04:00
Barış Soner Uşaklı
98c3d2e96d refactor: use map/get 2023-09-05 13:42:34 -04:00
Barış Soner Uşaklı
ded596fe3d fix: don't create tooltips on mobile 2023-09-05 09:48:34 -04:00
Barış Soner Uşaklı
34242e7a4f lint: remove unused translator 2023-09-02 23:09:27 -04:00
Barış Soner Uşaklı
45ed12c500 chore: up themes, dont send typing on page load 2023-09-02 21:47:12 -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ı
8db13d8e86 refactor: how admins change emails (#11973)
* refactor: how admins change emails

ability for admins to change emails from acp
ability for admins to change passwords from acp
only users themselves can use /user/<slug>/edit/email
group actions in manage users dropdown
admins can use the same modal from profile page instead of interstitial to update email
add missing checks to addEmail, if email take throw error
add targetUid to email change event

* test: bunch of baloney

* test: remove old test
2023-08-30 19:29:46 -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ı
9f7a39c59c fix: make selector stricter
so navigator number doesn't change due to nested replies
2023-08-30 11:49:28 -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ı
81961255f1 Merge branch 'master' into develop 2023-08-29 19:32:57 -04:00
Barış Soner Uşaklı
a3d6dba69f feat: add a filter hook to login
so async checks can be made by plugins
like showing custom dialogs before login etc.
setting cancel=true in plugin returns back to login page
throwing errors will show it once #11969 is fixed
2023-08-29 19:05:37 -04:00
Barış Soner Uşaklı
29f77a8829 Merge branch 'master' into develop 2023-08-29 11:30:19 -04:00
NoScripter
90ac82d017 fix: remove og:image value (#11966) 2023-08-29 11:17:09 -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ı
7331d4e41d use list partial 2023-08-28 17:20:27 -04:00
Barış Soner Uşaklı
d45c1b0073 fix parent clicks 2023-08-28 17:06:31 -04:00
Barış Soner Uşaklı
15d2119f38 show parent message in pinned messages 2023-08-28 16:40:42 -04:00
Barış Soner Uşaklı
acee6777f6 fix: pinned msgs when switching chats 2023-08-28 16:27:51 -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ı
965780b731 fix: closes #11954, fix custom skins with spaces 2023-08-25 21:02:05 -04:00
Barış Soner Uşaklı
9d6aeba376 pass in privileges to event parsing so delete button shows up 2023-08-25 20:30:25 -04:00
Barış Soner Uşaklı
4bc21a2e8b feat: use all events in addTopicEvents 2023-08-25 20:00:06 -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ı
f5baca1451 fix: #11944, dont refresh page when uninstalling 2023-08-23 13:47:39 -04:00
Barış Soner Uşaklı
8f895f93f1 Merge branch 'master' into develop 2023-08-23 13:17:03 -04:00
Barış Soner Uşaklı
438c4c8976 fix: closes #11945, fix skins loading if there are no custom skins 2023-08-23 01:15:56 -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ı
a7a266d72c fix: closes #11937, add dropup early based on position on screen 2023-08-21 19:51:50 -04:00
Barış Soner Uşaklı
9ac8879e93 moved scroll bottom alert 2023-08-20 20:58:03 -04:00