Commit Graph

28508 Commits

Author SHA1 Message Date
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
Julian Lam
d42d3b1c39 fix: crash when AP S2S call made to retrieve a remote user account (not allowed); now returning 404 2024-09-10 11:37:56 -04:00
Barış Soner Uşaklı
97edcf6a48 Merge branch 'develop' into activitypub 2024-09-09 17:31:41 -04:00
Barış Soner Uşaklı
d664316094 feat: add followed users lang string 2024-09-09 17:10:33 -04:00
renovate[bot]
98957726f8 chore(deps): update dependency smtp-server to v3.13.5 (#12781)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 14:15:34 -04:00
Barış Soner Uşaklı
a80e314169 fix: prevent crash if items is undefined 2024-09-09 14:04:11 -04:00
Barış Soner Uşaklı
6010b72d71 Merge branch 'develop' into activitypub 2024-09-09 14:03:25 -04:00
Barış Soner Uşaklı
98449a2598 Merge branch 'master' into develop 2024-09-09 14:02:55 -04:00
Barış Soner Uşaklı
675ea0f9ea chore: up widget essentials 2024-09-09 13:59:38 -04:00
Misty Release Bot
16ee1ad72e chore(i18n): fallback strings for new resources: nodebb.admin-extend-widgets 2024-09-09 17:20:31 +00:00
Barış Soner Uşaklı
a4f8092e7d Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop 2024-09-09 13:15:18 -04:00
Barış Soner Uşaklı
1c2afcc139 feat: add a new widget container
{title}
----
{body}
2024-09-09 13:15:14 -04:00
Misty Release Bot
da0fe464cb Latest translations and fallbacks 2024-09-09 16:56:33 +00:00
Barış Soner Uşaklı
a4aea98c4e chore: up widgets 2024-09-07 22:56:10 -04:00
Barış Soner Uşaklı
1e616da52b Merge branch 'master' into develop 2024-09-07 22:51:19 -04:00
Barış Soner Uşaklı
a6a995538c chore: up widgets 2024-09-07 22:51:01 -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
renovate[bot]
e97e1373ce fix(deps): update dependency diff to v7 (#12778)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-07 01:32:45 -04:00
Julian Lam
652d6c6e2b fix: regression that caused replies to not get federated 2024-09-06 22:04:20 -04:00
renovate[bot]
0784683d64 fix(deps): update dependency mongodb to v6.8.1 (#12777)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 21:40:50 -04:00
Julian Lam
045e16d3ce fix: #12760, add proper security context for application actor 2024-09-06 16:27:12 -04:00
Barış Soner Uşaklı
9e673a41a2 chore: up widgets 2024-09-06 15:12:46 -04:00
Julian Lam
909437c306 fix: on topic move out of cid -1, also federate to the public address 2024-09-06 14:35:57 -04:00
Julian Lam
6ed32f6781 fix: bump harmony 2024-09-06 14:16:20 -04:00
Barış Soner Uşaklı
f759a07d3e chore: up widgets 2024-09-06 10:32:24 -04:00
Julian Lam
0f63f67b77 fix: type casting in user block logic 2024-09-05 12:41:25 -04:00
Julian Lam
9357e71898 refactor: standardization; onNewPost internal method to return a superset of post summary
... so as to not require an additional call in internal topics API to call post summary again for a standardized response
2024-09-05 11:42:05 -04:00
Julian Lam
b63440cb14 feat: extend activitypubApi.create.note to accept a post object to reduce unnecessary calls to retrieve post summary 2024-09-05 11:05:30 -04:00
Julian Lam
16c8a6523a feat: add new escape option to getPostSummaryByPids [breaking]
Changes logic so that the new `escape` option escapes HTML,
whereas the old behaviour had `parse: false` escape HTML.

Now, when `parse` is `false`, the content is unchanged.

Defaults are `{ parse: true, escape: false, stripTags: false }`
2024-09-05 10:42:08 -04:00
renovate[bot]
0dda1f34f4 fix(deps): update dependency diff to v6 (#12774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 10:00:51 -04:00
Julian Lam
ba2c3fcef4 Merge remote-tracking branch 'origin/develop' into activitypub 2024-09-04 14:38:50 -04:00
Misty Release Bot
90e0013c73 chore(i18n): fallback strings for new resources: nodebb.themes-harmony 2024-09-04 18:20:51 +00:00
Julian Lam
1702995222 fix: vague description for harmony settings.enableBreadcrumbs, help text 2024-09-04 14:20:17 -04:00
renovate[bot]
2460b05091 chore(deps): update dependency eslint-plugin-import to v2.30.0 (#12771)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 13:00:30 -04:00
renovate[bot]
70f01acb83 fix(deps): update dependency nodemailer to v6.9.15 (#12768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:35:57 -04:00
renovate[bot]
a2a30ebda1 chore(deps): update redis docker tag to v7.4.0 (#12712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:35:47 -04:00
renovate[bot]
fde0a65a15 chore(deps): update dependency sass-embedded to v1.78.0 (#12772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:34:59 -04:00
renovate[bot]
84b483c63a fix(deps): update dependency sortablejs to v1.15.3 (#12770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:34:48 -04:00
renovate[bot]
817575955c fix(deps): update dependency postcss to v8.4.45 (#12769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:34:34 -04:00
renovate[bot]
a55b985e11 chore(deps): update dependency lint-staged to v15.2.10 (#12767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:34:20 -04:00
renovate[bot]
e8cc695da3 fix(deps): update dependency sass to v1.78.0 (#12773)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:11:16 -04:00
renovate[bot]
25deb062dc fix(deps): update dependency ace-builds to v1.36.2 (#12765)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 11:32:22 -04:00
Barış Soner Uşaklı
46950e287d Merge branch 'master' into develop 2024-09-04 11:31:50 -04:00
renovate[bot]
ee715f36b2 fix(deps): update dependency ace-builds to v1.36.1 (#12764)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 20:13:10 -04:00
renovate[bot]
f608f786ce chore(deps): update commitlint monorepo to v19.4.1 (#12762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 15:52:27 -04:00
Misty Release Bot
3e1fc1fc7b Latest translations and fallbacks 2024-08-28 09:20:20 +00:00
renovate[bot]
da61bd49d2 fix(deps): update dependency rtlcss to v4.3.0 (#12759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 12:57:19 -04:00
Barış Soner Uşaklı
c0b30ea4ef fix: closes #12758, show different error message for block 2024-08-27 10:23:21 -04:00
Barış Soner Uşaklı
5fa8ddbcf9 test: fix spec 2024-08-26 14:52:30 -04:00