Commit Graph

6379 Commits

Author SHA1 Message Date
Julian Lam
d6bab25317 feat: notification rescind support 2024-09-12 22:14:24 -04:00
Julian Lam
028b6d74b2 fix: remove includeUncontrolled as we are posting messages, and that only works with windows you control lol 2024-09-12 16:12:24 -04:00
Julian Lam
1fbf911489 fix: add logic to automatically take over clients from old service workers 2024-09-12 11:22:02 -04:00
Barış Soner Uşaklı
ad565a98ea Merge branch 'develop' into activitypub 2024-09-12 10:32:40 -04:00
Julian Lam
cf6c4c52b8 refactor: simplified ajaxify.check and likely made it equally more confusing 2024-09-11 14:43:55 -04:00
Barış Soner Uşaklı
c58e09f91e refactor: fix btn-ghost usage to match bootstrap
remove btn-ghost-sm and replace with btn btn-ghost btn-sm
2024-09-11 14:04:19 -04:00
Julian Lam
5109b53921 feat: update service worker to handle push and notificationclick
Additional event handling for use by the upcoming web-push plugin.
2024-09-11 12:18:31 -04:00
Julian Lam
40fe4d88f9 feat: add onmessage handler for service worker 2024-09-11 12:15:12 -04:00
Julian Lam
fc4f6a4c56 refactor: split out logic to determine ajaxification into exported method
There was some internal logic in ajaxify that handled special links that
should explicitly not be ajaxified (either it is a null href or should be
loaded as a direct page load, etc.) - this was moved out to an exported
method so it can be consumed by the service worker onmessage listener.

Also since this logic evolved over many years, there were some
duplications and so those have been amended (though I will not guarantee
that it was done bug/regression free!!)
2024-09-11 12:14:04 -04:00
Julian Lam
176f4d0d09 fix: remove use of jquery $(this) in ajaxify 2024-09-11 10:22:34 -04:00
Barış Soner Uşaklı
df6062d8be Merge branch 'develop' into activitypub 2024-08-21 12:57:10 -04:00
Barış Soner Uşaklı
4aad601967 perf: don't load unread page again if everything already loaded
this only applies when you have only 1-2 unread topics, side effect from https://github.com/NodeBB/NodeBB/pull/9525
2024-08-21 12:55:37 -04:00
Barış Soner Uşaklı
c5b2f988cb refactor: remove log 2024-08-16 14:26:04 -04:00
Barış Soner Uşaklı
f80b7b87fb feat: allow chat rooms in widgets 2024-08-16 14:21:33 -04:00
Barış Soner Uşaklı
6f7eecd183 fix: #12728, don't display unread badge if nav link doesn't exist 2024-08-15 13:12:17 -04:00
Barış Soner Uşaklı
ac644ac286 refactor: #12713, update chat teasers even if chat notifications are disabled 2024-08-02 10:06:28 -04:00
Barış Soner Uşaklı
0204f2aafa feat: update chat teasers when a new chat starts, closes #12713 2024-07-31 15:20:51 -04:00
Barış Soner Uşaklı
8971bba53d Merge branch 'develop' into activitypub 2024-07-25 11:26:29 -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ı
447b99423f Merge branch 'develop' into activitypub 2024-07-03 13:47:18 -04:00
Barış Soner Uşaklı
10c5cd4c62 fix: prevent category filter to go to selected cid
if there is an href on the clicked element, like all categories item
2024-07-03 13:46:52 -04:00
Barış Soner Uşaklı
19908038c5 Merge branch 'develop' into activitypub 2024-06-27 17:00:28 -04:00
Barış Soner Uşaklı
a28dd70fcb fix: post preview not working on parent post 2024-06-27 12:11:09 -04:00
Barış Soner Uşaklı
e84c797c7c Merge branch 'develop' into activitypub 2024-06-24 22:30:03 -04:00
Barış Soner Uşaklı
500e3342b2 feat: show links in post queue 2024-06-24 22:25:13 -04:00
Barış Soner Uşaklı
f35a6c631e Merge branch 'develop' into activitypub 2024-06-21 14:47:06 -04:00
Barış Soner Uşaklı
c570a19b37 scale down header font size 2024-06-21 14:46:45 -04:00
Barış Soner Uşaklı
c8b39007de Merge branch 'develop' into activitypub 2024-06-21 11:24:23 -04:00
Barış Soner Uşaklı
3332480cf1 fix: #12645, use titleRaw like reply button 2024-06-20 14:15:52 -04:00
Barış Soner Uşaklı
c021e7e80f refactor: announces
store number of announces on post hash, show announces like votes, with tooltip and a way to see all, remove them from topic.events so they dont load all tid:<tid>:posts everytime topic is loaded
2024-06-17 11:18:48 -04:00
Barış Soner Uşaklı
232fcc005f Merge branch 'develop' into activitypub 2024-06-16 22:58:45 -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ı
bb6f978508 Merge branch 'develop' into activitypub 2024-06-15 14:18:13 -04:00
Barış Soner Uşaklı
461e95d8d6 perf: dont make db call if posts is already loaded client side 2024-06-15 14:17:48 -04:00
Barış Soner Uşaklı
ddda8feb21 encode both sides 2024-06-14 21:15:45 -04:00
Barış Soner Uşaklı
d550dc2728 Merge branch 'develop' into activitypub 2024-06-14 21:15:19 -04:00
Barış Soner Uşaklı
6e3b012b2a fix: #12633, don't check post index 2024-06-14 21:15:02 -04:00
Barış Soner Uşaklı
937caecdc4 Merge branch 'develop' into activitypub 2024-06-14 10:36:06 -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ı
04b4c16e27 Merge branch 'develop' into activitypub 2024-06-11 18:18:14 -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
Julian Lam
7313d5c614 feat: show category followers in category federation ACP page 2024-06-11 11:24:25 -04:00
Barış Soner Uşaklı
70625133ae fix: pid in api call 2024-06-09 21:04:55 -04:00
Barış Soner Uşaklı
b1f9ad5534 Squashed commit of the following:
commit 4e0e792232
Merge: 24d0999fb5 70b4a0e2ae
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Fri Jun 7 19:26:49 2024 -0400

    Merge branch 'master' into develop

commit 70b4a0e2ae
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Fri Jun 7 19:14:13 2024 -0400

    feat: allow passing min,max to sortedSetsCardSum

    to get rid of multiple db calls in profile page

commit 6bbe3d1c4c
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Fri Jun 7 14:08:48 2024 -0400

    fix: dont show error alert when user user mouse overs votes

    if they dont have permission to view votes

commit 24d0999fb5
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Jun 6 13:49:14 2024 -0400

    fix(deps): update dependency pg-cursor to v2.11.0 (#12617)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

commit bee05fe212
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Thu Jun 6 13:28:59 2024 -0400

    fix(deps): update dependency pg to v8.12.0 (#12616)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-07 19:27:44 -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
Julian Lam
539300ffec feat: remote user deletion logic, #12611 2024-06-07 12:55:54 -04:00
Barış Soner Uşaklı
35eb2d0d46 fix: closes #12618, handle missing selector
catch errors in activitypub api missing await on next()
2024-06-06 20:59:02 -04:00
Barış Soner Uşaklı
119230d7ec Merge branch 'develop' into activitypub 2024-06-06 13:18:12 -04:00
Barış Soner Uşaklı
ef19eb156a #12620 2024-06-06 10:52:14 -04:00
Barış Soner Uşaklı
b6671d1672 fix: dont autoconnect for spiders, closes #12620 2024-06-06 10:39:31 -04:00