• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CMU-313 / nodebb-fall-2025-null-terminators / 18421193342
78%

Build:
DEFAULT BRANCH: main
Ran 11 Oct 2025 12:15AM UTC
Jobs 1
Files 394
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Oct 2025 12:01AM UTC coverage: 78.183% (-0.4%) from 78.548%
18421193342

push

github

web-flow
Add end-to-end Anonymous Posting (#33)

* Add anonymous posting support

Posts now support an 'anonymous' flag that is saved in the database.
UI and server-side rendering mask usernames, avatars, and profile links
on topic pages, category listings, and quick reply so non-owners and
non-mods only see 'Anonymous'.

* Fixed test failure on schema and database upgrade

add anonymous to PostObject/PostDataObject so topic/search responses validate, always return { topics: [...] } to satisfy required schema fields, post data: normalize anonymous to boolean during read to match schema expectations, Upgrades: fix module import paths in src/upgrades/4.4.0/add_anonymous_to_posts.js (use ../../), unblocking upgrade test

* fix(lint): remove await inside loops in upgrade script

Refactor src/upgrades/4.4.0/add_anonymous_to_posts.js to a recursive, batched processor

Use Promise.all per chunk and tail recursion for paging (start += batch)

Preserves behavior (sets anonymous=false when missing) while satisfying no-await-in-loop lint rule

* cleared up the console logs from testings

* fixed lint failure and got rid of redundant debug prints

* fixed ireggular bug where post listing shows user's avatar

mask anonymous posts in category/topic views and update API/schema

* added thorough testings for anonymous feature

* revert test/controllers.js  to clear not needed const

* added more tests for reply aand categories, also cleared remaining console.log

* mcode review changes: refactored test cases and cleared some comments

* revert to unrefactored testtest since failing test on git (passed locally)

* fixed linter error due to merging conflicts

---------

Co-authored-by: preeyaX <70096719+preeyaX@users.noreply.github.com>

11398 of 16488 branches covered (69.13%)

Branch coverage included in aggregate %.

150 of 280 new or added lines in 11 files covered. (53.57%)

25014 of 30085 relevant lines covered (83.14%)

1485.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.45
-1.1% src/posts/edit.js
1
93.69
-1.63% src/posts/summary.js
3
85.23
-3.41% src/topics/index.js
5
77.35
-3.16% src/api/categories.js
6
81.82
-13.64% src/controllers/categories.js
10
82.27
-8.51% src/controllers/category.js
17
53.66
-29.36% src/posts/topics.js
19
81.4
-4.31% src/api/posts.js
28
74.17
-11.76% src/api/topics.js
40
71.52
-12.51% src/controllers/topics.js
Jobs
ID Job ID Ran Files Coverage
1 18421193342.1 11 Oct 2025 12:15AM UTC 394
78.18
GitHub Action Run
Source Files on build 18421193342
  • Tree
  • List 394
  • Changed 15
  • Source Changed 14
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #18421193342
  • e2996b26 on github
  • Prev Build on main (#18420669085)
  • Next Build on main (#18421079031)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc