Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
945 commits
Select commit Hold shift + click to select a range
c51b7b6
fix: update markdown and web-push to latest versions
julianlam Nov 17, 2025
aacd27e
refactor: remove unused share
barisusakli Nov 18, 2025
dece062
fix: category labels showing up on infinite scroll on category page
barisusakli Nov 18, 2025
2679527
Merge branch 'master' into develop
barisusakli Nov 18, 2025
abfb6d1
fix: #13776, if plugin is in install/package.json use latest version …
barisusakli Nov 18, 2025
b00c08c
Merge branch 'master' into develop
barisusakli Nov 18, 2025
e300241
fix: #13779, svg uploads
barisusakli Nov 19, 2025
8859888
Merge branch 'master' into develop
barisusakli Nov 19, 2025
065a87a
chore: incrementing version number - v4.6.2
nodebb-misty Nov 19, 2025
8da3819
chore: update changelog for v4.6.2
nodebb-misty Nov 19, 2025
958bb04
Merge branch 'master' into develop
barisusakli Nov 19, 2025
b0c9bb1
fix(deps): update dependency sass to v1.94.1 (#13777)
renovate[bot] Nov 19, 2025
12dab84
fix: tiny fix for IS when page is empty
barisusakli Nov 19, 2025
5acfd18
fix(deps): update dependency webpack to v5.103.0 (#13783)
renovate[bot] Nov 19, 2025
e24d8c1
chore(deps): update redis docker tag to v8.4.0 (#13782)
renovate[bot] Nov 19, 2025
bfffb4b
fix(deps): update dependency workerpool to v10.0.1 (#13781)
renovate[bot] Nov 19, 2025
cecc0fe
fix(deps): update dependency @isaacs/ttlcache to v2.1.2 (#13780)
renovate[bot] Nov 19, 2025
76a07d5
fix: missing logic in mocks.notes.private that precluded the use of e…
julianlam Nov 19, 2025
d4e3b42
Merge branch 'master' into develop
julianlam Nov 19, 2025
af477d0
fix: update validator dep. to get fix for CVE-2025-56200
barisusakli Nov 20, 2025
a34794b
Merge branch 'master' of https://github.com/NodeBB/NodeBB
barisusakli Nov 20, 2025
5ab8f87
fix(deps): update dependency rimraf to v6.1.2 (#13784)
renovate[bot] Nov 20, 2025
894f198
chore(deps): update dependency @stylistic/eslint-plugin to v5.6.1 (#1…
renovate[bot] Nov 20, 2025
af7f78e
chore: incrementing version number - v4.6.3
nodebb-misty Nov 20, 2025
3fd193e
chore: update changelog for v4.6.3
nodebb-misty Nov 20, 2025
6cd8a7c
Merge branch 'master' into develop
barisusakli Nov 20, 2025
bdb4524
fix: IS logic when body.height < window.height
barisusakli Nov 20, 2025
822f4ed
feat: native image appending for remote private notes
julianlam Nov 20, 2025
aa7e078
fix: #13654, improper OrderedCollectionPage ID
julianlam Nov 20, 2025
2b733e4
fix: incorrect topic event added when topic moved out of cid -1 (used…
julianlam Nov 21, 2025
832477f
feat: federate out undo(announce) when moving topics
julianlam Nov 24, 2025
24e1768
fix: update announce and undo(announce) so that their IDs don't use t…
julianlam Nov 24, 2025
9d83a3d
fix: null check on attachments property in assertPrivate
julianlam Nov 24, 2025
e3ac9cc
fix(deps): bump mentions to fix #13637
julianlam Nov 25, 2025
2bb6683
Merge remote-tracking branch 'origin/master' into develop
julianlam Nov 26, 2025
3d8638e
chore: incrementing version number - v4.7.0
nodebb-misty Nov 26, 2025
1c0a43d
chore: update changelog for v4.7.0
nodebb-misty Nov 26, 2025
c365c1d
fix: publish `postingRestrictedToMods` property in group actor
julianlam Nov 26, 2025
411baa2
fix: minor comment fix
julianlam Dec 1, 2025
3ab6161
feat: federate out topic removal activities when topic is deleted and…
julianlam Dec 1, 2025
59f649b
chore: up harmony
barisusakli Dec 1, 2025
936dede
Merge branch 'master' into develop
barisusakli Dec 1, 2025
5bd1f7b
feat: #13790, allow ssl setup in psql
barisusakli Dec 1, 2025
2142b68
chore: remove log
barisusakli Dec 1, 2025
1bcfe3f
fix(deps): update dependency redis to v5.10.0 (#13787)
renovate[bot] Dec 1, 2025
1cb8b38
fix(deps): update dependency sass to v1.94.2 (#13786)
renovate[bot] Dec 1, 2025
5f55ca8
fix(deps): update dependency @isaacs/ttlcache to v2.1.3 (#13791)
renovate[bot] Dec 2, 2025
287b256
test: new mongodb deps (#13793)
barisusakli Dec 2, 2025
53e22ac
fix: remove hardcoded name for sentinel, #13794
barisusakli Dec 2, 2025
624ef61
fix(deps): update dependency body-parser to v2.2.1 (#13795)
renovate[bot] Dec 2, 2025
5ba6bea
fix(deps): update dependency cron to v4.3.5 (#13796)
renovate[bot] Dec 2, 2025
841bd82
test: on test fail show activities
barisusakli Dec 2, 2025
e39c914
test: log activities
barisusakli Dec 2, 2025
22d3c52
test: log label
barisusakli Dec 2, 2025
8236b59
debug: log mock results
julianlam Dec 2, 2025
977a67f
fix: deep clone activity prop before execution; feps.announce
julianlam Dec 2, 2025
a82e1f4
debug: still broken... more debug logs
julianlam Dec 2, 2025
3b7bcba
fix: have notes.assert call out.announce.topic only if uid is set (so…
julianlam Dec 2, 2025
ecec1f4
fix(deps): update dependency nodemailer to v7.0.11 (#13799)
renovate[bot] Dec 2, 2025
ad5cd27
fix(deps): update dependency ipaddr.js to v2.3.0 (#13801)
renovate[bot] Dec 2, 2025
3832122
fix(deps): update dependency express to v4.22.1 (#13800)
renovate[bot] Dec 2, 2025
731933a
fix(deps): update dependency lru-cache to v11.2.4 (#13798)
renovate[bot] Dec 2, 2025
9305730
fix(deps): update dependency ace-builds to v1.43.5 (#13797)
renovate[bot] Dec 2, 2025
7f21a17
chore(deps): update actions/checkout action to v6 (#13802)
renovate[bot] Dec 2, 2025
ba85474
feat: add hreflang to buildLinkTag
barisusakli Dec 3, 2025
7016975
Merge branch 'master' into develop
barisusakli Dec 3, 2025
9fb41c6
lint: fix missing comma
barisusakli Dec 3, 2025
4cdb569
Merge branch 'master' into develop
barisusakli Dec 3, 2025
76b6b3b
chore(deps): update dependency lint-staged to v16.2.7 (#13785)
renovate[bot] Dec 3, 2025
4020e1b
feat: patch low-level privilege query calls to accept privilege masks…
julianlam Dec 2, 2025
7b194c6
fix: admin privilege overrides only apply to local categories
julianlam Dec 3, 2025
f0a7a44
feat: save privilege masking set when asserting group
julianlam Dec 3, 2025
934e6be
test: privilege masking tests
julianlam Dec 3, 2025
2968772
chore: allow direct testing in test/categories.js
julianlam Dec 3, 2025
4a6dcf1
fix: missing await
julianlam Dec 3, 2025
d8e55d5
fix: use setsAdd
julianlam Dec 3, 2025
7d5402f
feat: setAddBulk (#13805)
barisusakli Dec 3, 2025
6a56105
feat: expand postingRestrictedToMods mask testing, handle actor updat…
julianlam Dec 4, 2025
7b734cf
fix(deps): update dependency jsonwebtoken to v9.0.3 (#13807)
renovate[bot] Dec 4, 2025
6b1dcb4
fix(deps): update dependency esbuild to v0.27.1 (#13806)
renovate[bot] Dec 4, 2025
f1d50c3
fix: add join-lemmy context for outgoing category group actors contex…
julianlam Dec 4, 2025
c529244
test: fix failing test by adjusting the tests
julianlam Dec 4, 2025
254370c
ci: drop ARM v7 from docker builds (#13808)
oplik0 Dec 4, 2025
6956270
test: add a test for set db.exists (#13809)
barisusakli Dec 4, 2025
10d2e92
fix(deps): update dependency terser-webpack-plugin to v5.3.15 (#13811)
renovate[bot] Dec 5, 2025
e50edd5
chore(deps): update commitlint monorepo to v20.2.0 (#13810)
renovate[bot] Dec 5, 2025
ebf2a2c
fix: respect user pagination settings in infinite scroll (#13765) (#1…
GNephilim Dec 5, 2025
823c6cb
Merge branch 'master' into develop
barisusakli Dec 5, 2025
193aaf5
fix: closes #13666, update category label
barisusakli Dec 7, 2025
2e00c0f
Modify delete post diff response format (#13761)
dufia Dec 7, 2025
f6fbb02
Merge branch 'master' into develop
barisusakli Dec 7, 2025
11b01df
test: fix tests
barisusakli Dec 7, 2025
2c57cb1
Merge branch 'master' into develop
barisusakli Dec 7, 2025
9d66655
chore: up widget-essentials
barisusakli Dec 8, 2025
b19281b
revert: spec change
barisusakli Dec 8, 2025
011f8b2
Merge branch 'master' into develop
barisusakli Dec 8, 2025
eaa6e71
fix(deps): update dependency sass to v1.95.0 (#13815)
renovate[bot] Dec 10, 2025
a35c326
chore(deps): update dependency jsdom to v27.3.0 (#13814)
renovate[bot] Dec 10, 2025
adedb7b
fix(deps): update dependency sass to v1.95.1 (#13816)
renovate[bot] Dec 10, 2025
f077c4c
fix(deps): update dependency cron to v4.4.0 (#13818)
renovate[bot] Dec 10, 2025
81c232f
fix(deps): update dependency winston to v3.19.0 (#13812)
renovate[bot] Dec 10, 2025
a2f2c8c
chore(deps): update dependency sass-embedded to v1.95.1 (#13817)
renovate[bot] Dec 10, 2025
528cd25
feat: support remote Dislike activity, federate out a Dislike on down…
julianlam Dec 10, 2025
d4f53a6
fix(deps): update dependency sass to v1.96.0 (#13822)
renovate[bot] Dec 11, 2025
b992511
chore(deps): update dependency sass-embedded to v1.96.0 (#13821)
renovate[bot] Dec 11, 2025
3adcbe0
chore(deps): update dependency smtp-server to v3.17.0 (#13824)
renovate[bot] Dec 11, 2025
097d080
feat: stop extraneous vote and tids_read data from being saved for re…
julianlam Dec 11, 2025
8abe0df
fix: increment progress on upgrade script
julianlam Dec 11, 2025
20918b5
fix: wrong increment value
julianlam Dec 11, 2025
f49f540
fix: show errors when saving settings
barisusakli Dec 12, 2025
ed977c4
Merge branch 'master' into develop
barisusakli Dec 12, 2025
0fcc854
chore(deps): update actions/cache action to v5 (#13828)
renovate[bot] Dec 12, 2025
da7c9b3
fix(deps): update dependency terser-webpack-plugin to v5.3.16 (#13827)
renovate[bot] Dec 12, 2025
b169621
chore(deps): update github artifact actions (#13831)
renovate[bot] Dec 13, 2025
22fe83f
chore(deps): update dependency @eslint/js to v9.39.2 (#13830)
renovate[bot] Dec 13, 2025
ad895ef
chore(deps): update dependency smtp-server to v3.17.1 (#13829)
renovate[bot] Dec 13, 2025
90a1513
fix: moving topic to cid=-1 will remove it from list
barisusakli Dec 13, 2025
5ae8d55
fix: disallow inline viewing of unsafe files (#13833)
ShlomoCode Dec 15, 2025
7c2e833
fix(deps): update dependency autoprefixer to v10.4.23 (#13835)
renovate[bot] Dec 15, 2025
0ef5cbb
fix(deps): update dependency fetch-cookie to v3.2.0 (#13836)
renovate[bot] Dec 15, 2025
9f72996
feat: stop extraneous vote and tids_read data from being saved for re…
julianlam Dec 11, 2025
9f94a72
fix: increment progress on upgrade script
julianlam Dec 11, 2025
b1fc5bf
fix: wrong increment value
julianlam Dec 11, 2025
e6deb62
chore: incrementing version number - v4.7.1
nodebb-misty Dec 17, 2025
8668cfb
chore: update changelog for v4.7.1
nodebb-misty Dec 17, 2025
d60db54
Merge branch 'master' into develop
barisusakli Dec 17, 2025
ab8dbb4
fix(deps): update dependency sass to v1.97.0 (#13838)
renovate[bot] Dec 17, 2025
168b6e6
chore(deps): update dependency sass-embedded to v1.97.0 (#13837)
renovate[bot] Dec 17, 2025
f16eec3
fix(deps): update dependency webpack to v5.104.0 (#13839)
renovate[bot] Dec 17, 2025
e3ecc54
Merge branch 'master' into develop
barisusakli Dec 17, 2025
301b538
test: add back logs for failing test
barisusakli Dec 17, 2025
9f8d507
test: add back logs for failing test
barisusakli Dec 17, 2025
d505301
chore: up mentions
barisusakli Dec 17, 2025
1305faa
test: add await to check tests
barisusakli Dec 17, 2025
2ffa438
fix(deps): update dependency nodebb-plugin-mentions to v4.8.4 (#13845)
renovate[bot] Dec 17, 2025
550411f
test: change redis connection (#13844)
barisusakli Dec 17, 2025
5844e39
fix(deps): update dependency esbuild to v0.27.2 (#13842)
renovate[bot] Dec 17, 2025
da79582
* Docker: add function to entrypoint to auto-install plugins on reboo…
b2cc Dec 17, 2025
bb5a90a
fix(deps): update dependency webpack to v5.104.1 (#13847)
renovate[bot] Dec 18, 2025
5414cf4
test: check if tests pass without await
barisusakli Dec 18, 2025
b405a09
Revert "test: check if tests pass without await"
barisusakli Dec 18, 2025
a331f8d
refactor: clear quick reply as soon as submitting
barisusakli Dec 18, 2025
d031371
fix: bump 2factor
julianlam Dec 18, 2025
59dd1ca
chore: up body-parser
barisusakli Dec 19, 2025
61d8cba
fix(deps): update dependency nodebb-theme-harmony to v2.1.27 (#13848)
renovate[bot] Dec 22, 2025
b933d1a
fix(deps): update dependency nodebb-theme-persona to v14.1.19 (#13849)
renovate[bot] Dec 22, 2025
2a10f90
fix(deps): update dependency validator to v13.15.26 (#13846)
renovate[bot] Dec 22, 2025
abcb238
fix(deps): update dependency nodebb-plugin-2factor to v7.6.1 (#13852)
renovate[bot] Dec 22, 2025
1f9f2df
fix: update data-isowner when changing is ownership
barisusakli Dec 23, 2025
f6ef041
fix(deps): update dependency nodemailer to v7.0.12 (#13853)
renovate[bot] Dec 24, 2025
160ce17
fix(deps): update dependency fs-extra to v11.3.3 (#13851)
renovate[bot] Dec 24, 2025
d28866a
chore(deps): update dependency sass-embedded to v1.97.1 (#13850)
renovate[bot] Dec 24, 2025
f98fd6d
fix(deps): update dependency nodebb-theme-harmony to v2.1.28 (#13854)
renovate[bot] Dec 24, 2025
b8f68fb
fix(deps): update dependency nodebb-theme-persona to v14.1.20 (#13855)
renovate[bot] Dec 24, 2025
bab4304
chore: incrementing version number - v4.7.2
nodebb-misty Dec 24, 2025
2f0526b
chore: update changelog for v4.7.2
nodebb-misty Dec 24, 2025
2a5bd6e
Merge branch 'master' into develop
barisusakli Dec 25, 2025
ded4315
Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop
barisusakli Dec 25, 2025
7325b99
fix(deps): update dependency sass to v1.97.1 (#13856)
renovate[bot] Dec 25, 2025
6807f86
fix(deps): update socket.io packages to v4.8.3 (#13857)
renovate[bot] Dec 25, 2025
c2e5706
Merge branch 'master' into develop
barisusakli Dec 27, 2025
648d9c7
chore: up mentions
barisusakli Dec 27, 2025
5a3cf50
Merge branch 'master' into develop
barisusakli Dec 27, 2025
403230c
refactor: silence if-function deprecation on prod
barisusakli Dec 27, 2025
37c052f
chore(deps): update dependency jsdom to v27.4.0 (#13860)
renovate[bot] Dec 27, 2025
f35c77d
chore(deps): update dependency smtp-server to v3.18.0 (#13858)
renovate[bot] Dec 27, 2025
89abdca
fix(deps): update dependency @isaacs/ttlcache to v2.1.4 (#13861)
renovate[bot] Dec 31, 2025
eb77c9b
chore: up markdown
barisusakli Jan 1, 2026
b7de0cc
fix: dont use sass-embedded on freebsd, #13867
barisusakli Jan 2, 2026
b323b5d
chore: up themes
barisusakli Jan 3, 2026
cb31e70
fix: #13715, dont reduce hardcap if usersPerPage is < 50
barisusakli Jan 5, 2026
e4435e5
fix(deps): update dependency nodebb-theme-persona to v14.1.22 (#13864)
renovate[bot] Jan 6, 2026
49379e2
fix(deps): update dependency nodebb-theme-harmony to v2.1.30 (#13863)
renovate[bot] Jan 6, 2026
447cfd0
chore(deps): update commitlint monorepo to v20.3.0 (#13865)
renovate[bot] Jan 6, 2026
a8c18f8
fix(deps): update dependency nodebb-plugin-markdown to v13.2.3 (#13869)
renovate[bot] Jan 6, 2026
483ab08
test: test runs should not actually federate activities out
julianlam Jan 6, 2026
41368ef
test: update activitypub._sent to save targets as well, updated tests…
julianlam Jan 6, 2026
67912dc
test: basic tests for activitypub.out
julianlam Jan 6, 2026
5a031d0
fix: closes #13872, use translator.compile for notification text
barisusakli Jan 6, 2026
b05199d
fix: author of boosted content was not targeted in the activity
julianlam Jan 6, 2026
5100cc4
fix(deps): update dependency sass to v1.97.2 (#13871)
renovate[bot] Jan 6, 2026
27d511f
chore(deps): update dependency sass-embedded to v1.97.2 (#13870)
renovate[bot] Jan 6, 2026
cfdbbb0
test: more out.announce tests
julianlam Jan 6, 2026
b0679ca
fix: remove bidiControls from notification.bodyShort
barisusakli Jan 6, 2026
e717f00
fix(deps): update dependency body-parser to v2.2.2 (#13873)
renovate[bot] Jan 7, 2026
874ffd7
feat: refactor out.announce.topic to allow user announces, refactor t…
julianlam Jan 7, 2026
bed6ed3
chore: bump profile max upload size default
julianlam Jan 7, 2026
c88ce51
chore(deps): update commitlint monorepo to v20.3.1 (#13876)
renovate[bot] Jan 8, 2026
125c8e5
fix(deps): update dependency nodebb-theme-harmony to v2.1.31 (#13877)
renovate[bot] Jan 8, 2026
47074b3
fix(deps): update dependency nodebb-theme-persona to v14.1.23 (#13878)
renovate[bot] Jan 8, 2026
5954015
test: fix test to check for Secure in cookie string if test runner do…
julianlam Jan 7, 2026
9390ccb
fix: auto-enable post queue as default, adjust tests to compensate
julianlam Jan 7, 2026
be0d43c
chore(deps): update dependency @stylistic/eslint-plugin to v5.7.0 (#1…
renovate[bot] Jan 9, 2026
cc1649e
fix: bump link-preview
julianlam Jan 9, 2026
ffc3d27
fix: remove commented out require
julianlam Jan 9, 2026
486e77c
fix: bump link-preview
julianlam Jan 9, 2026
74e4782
fix: bump link-preview again
julianlam Jan 9, 2026
7b79352
Change owner rest route (#13881)
barisusakli Jan 11, 2026
00b9ca1
Change owner rest route (#13881)
barisusakli Jan 11, 2026
81cac01
test: lowercase tags
barisusakli Jan 11, 2026
14aa2be
fix: nodeinfo route to publish federation.enabled in metadata section
julianlam Jan 12, 2026
4f1fa2d
test: additional logic to allow multi-typing in schema type
julianlam Nov 3, 2025
74172ec
feat: API v3 calls to crosspost and uncrosspost a topic to and from a…
julianlam Nov 3, 2025
3560b6a
test: new test file for crossposts
julianlam Dec 10, 2025
ea1e4c7
feat: disallow moving topics to and from remote categories, + basic t…
julianlam Dec 11, 2025
0041cfe
feat: introduce new front-end UI button for cross-posting, hide move …
julianlam Dec 11, 2025
1be88ca
refactor: move crosspost methods into their own file in src/topics
julianlam Dec 12, 2025
349b087
refactor: crossposts.get to return limited category data (name, icon,…
julianlam Dec 15, 2025
947676e
test: crossposting behaviour and logic tests
julianlam Dec 16, 2025
b981082
fix: removed ajaxify refresh on crosspost commit, dynamically update …
julianlam Dec 16, 2025
38fd179
feat: add missing files, minor changes to crossposts list modal
julianlam Dec 29, 2025
6daaad8
fix: allow non-mods to crosspost, move crosspost button out of topic …
julianlam Dec 29, 2025
0a0a7da
fix: bug where privileges users could not uncrosspost others' crosspo…
julianlam Dec 29, 2025
f6cc556
fix: topic crosspost delete and purge handling
julianlam Dec 29, 2025
148663c
fix: update auto-categorization rules to also handle already-categori…
julianlam Dec 29, 2025
28249ef
fix: remove old remote user to remote category migration logic + tests
julianlam Dec 29, 2025
e5ee52e
fix: update category sync logic to utilise crossposts instead
julianlam Dec 29, 2025
ea417b0
fix: client-side handling of category selector when cross-posting so …
julianlam Dec 31, 2025
add163a
test: ensure auto-cat and cat sync logic properly integrates with cro…
julianlam Dec 31, 2025
d81b644
docs: update openapi schema for missing routes related to crossposting
julianlam Jan 5, 2026
0677689
test: stop using partialDeepStrictEqual for now
julianlam Jan 5, 2026
47e37ed
test: intify uid/cid if they are numbers (when getting crossposts)
julianlam Jan 6, 2026
273bc68
feat: user crossposts federate as:Announce
julianlam Jan 7, 2026
7465762
fix: typo, client-side handling of crossposts as pertains to uncatego…
julianlam Jan 7, 2026
d20906b
tests: fix... tests
julianlam Jan 8, 2026
b9b33f9
fix: unused values
julianlam Jan 8, 2026
82507c0
fix: calling sortedSetRemove to remove multiple values, instead of ba…
julianlam Jan 12, 2026
943b53b
fix: bump themes
julianlam Jan 12, 2026
2f96eed
fix: guard against negative uids crossposting
julianlam Jan 12, 2026
a4c470f
fix: bump themes
julianlam Jan 12, 2026
bcc204f
fix: derp
julianlam Jan 12, 2026
0e1ccfc
refactor: check if tid is truthy
barisusakli Jan 13, 2026
d2f8af2
Merge branch 'master' into develop
barisusakli Jan 13, 2026
6eea4df
fix: #13888, decode html entities for AP category name and description
julianlam Jan 13, 2026
0c75934
fix: #13889, custom emoji from Piefed
julianlam Jan 13, 2026
974ab1f
fix(deps): update dependency diff to v8.0.3 (#13882)
renovate[bot] Jan 14, 2026
9b1c32b
fix(deps): update dependency spdx-license-list to v6.11.0 (#13890)
renovate[bot] Jan 14, 2026
a73ab8e
fix: i18n fallbacks
julianlam Jan 14, 2026
8d6a4ed
chore: incrementing version number - v4.8.0
nodebb-misty Jan 14, 2026
fe15bec
added .devcontainer and Dockerfile
MichaelHilton Jan 16, 2026
6815180
gitignore database
MichaelHilton Jan 16, 2026
f7d5596
add harmony as vendor package
MichaelHilton Jan 16, 2026
6b7aba4
remove test that is problem
MichaelHilton Jan 16, 2026
5d5acaa
change localhost to 127.0.0.1 to fix config
MichaelHilton Jan 16, 2026
231682f
change from localhost so config is correct.
MichaelHilton Jan 17, 2026
309d874
Merge branch 'master' into v4.8.0
MichaelHilton Jan 17, 2026
a3889d6
fixed lint issues
MichaelHilton Jan 17, 2026
f310953
made changes to workflow for them to run faster
MichaelHilton Jan 17, 2026
7e6ff3f
remove failing test, and update to get rid of SASS warning.
MichaelHilton Jan 17, 2026
0843584
update to get rid of deprecation warning
MichaelHilton Jan 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"containerEnv": {
"NODEBB_PORT": "4567",
"NODEBB_DB": "redis",
"NODEBB_REDIS_HOST": "localhost",
"NODEBB_REDIS_HOST": "127.0.0.1",
"NODEBB_REDIS_PORT": "6379",
"NODEBB_REDIS_PASSWORD": "",
"NODEBB_REDIS_DB": "0",
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/docker.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/gittogether.yml

This file was deleted.

132 changes: 6 additions & 126 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ name: Lint and test
on:
push:
branches:
- main
- master
- develop
pull_request:
branches:
- main
- master
- develop

Expand All @@ -19,49 +21,11 @@ permissions:

jobs:
test:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
name: Lint and test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [20, 22]
database: [mongo-dev, mongo, redis, postgres]
include:
# only run coverage once
- os: ubuntu-latest
node: 22
coverage: true
# test under development once
- database: mongo-dev
test_env: development
# only run eslint once
- os: ubuntu-latest
node: 22
database: mongo-dev
lint: true
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
env:
TEST_ENV: ${{ matrix.test_env || 'production' }}
TEST_ENV: 'production'

services:
postgres:
image: 'postgres:17-alpine'
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 5432 on service container to the host
- 5432:5432

redis:
image: 'redis:8.0.1'
# Set health checks to wait until redis has started
Expand All @@ -74,12 +38,6 @@ jobs:
# Maps port 6379 on service container to the host
- 6379:6379

mongo:
image: 'mongo:8.0'
ports:
# Maps port 27017 on service container to the host
- 27017:27017

steps:
- uses: actions/checkout@v4

Expand All @@ -88,74 +46,14 @@ jobs:
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version: 22

- name: NPM Install
uses: bahmutov/npm-install@v1
with:
useLockFile: false

- name: Setup on MongoDB
if: startsWith(matrix.database, 'mongo')
env:
SETUP: >-
{
"url": "http://127.0.0.1:4567",
"secret": "abcdef",
"admin:username": "admin",
"admin:email": "test@example.org",
"admin:password": "hAN3Eg8W",
"admin:password:confirm": "hAN3Eg8W",

"database": "mongo",
"mongo:host": "127.0.0.1",
"mongo:port": 27017,
"mongo:username": "",
"mongo:password": "",
"mongo:database": "nodebb"
}
CI: >-
{
"host": "127.0.0.1",
"port": 27017,
"database": "ci_test"
}
run: |
node app --setup="${SETUP}" --ci="${CI}"

- name: Setup on PostgreSQL
if: startsWith(matrix.database, 'postgres')
env:
SETUP: >-
{
"url": "http://127.0.0.1:4567",
"secret": "abcdef",
"admin:username": "admin",
"admin:email": "test@example.org",
"admin:password": "hAN3Eg8W",
"admin:password:confirm": "hAN3Eg8W",

"database": "postgres",
"postgres:host": "127.0.0.1",
"postgres:port": 5432,
"postgres:username": "postgres",
"postgres:password": "postgres",
"postgres:database": "nodebb"
}
CI: >-
{
"host": "127.0.0.1",
"database": "ci_test",
"port": 5432,
"username": "postgres",
"password": "postgres"
}
run: |
node -e "const { Client } = require('pg'); const c = new Client({ host: '127.0.0.1', port: 5432, user: 'postgres', password: 'postgres' }); c.connect().then(() => c.query('CREATE DATABASE nodebb')).then(() => c.query('CREATE DATABASE ci_test')).then(() => c.end())"
node app --setup="${SETUP}" --ci="${CI}"

- name: Setup on Redis
if: startsWith(matrix.database, 'redis')
env:
SETUP: >-
{
Expand All @@ -182,7 +80,6 @@ jobs:
node app --setup="${SETUP}" --ci="${CI}"

- name: Run ESLint
if: matrix.lint
run: npm run lint

- name: Node tests
Expand All @@ -192,21 +89,4 @@ jobs:
run: npm run coverage

- name: Test coverage
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
if: matrix.coverage
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{ matrix.os }}-node-${{ matrix.node }}-db-${{ matrix.database }}
parallel: true

finish:
permissions:
checks: write # for coverallsapp/github-action to create new checks
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
uses: coverallsapp/github-action@v2
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ test.sh

.docker/**
!**/.gitkeep
dump.rdb
Loading