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

CMU-313 / nodebb-fall-2025-level-up / 18385079863
78%

Build:
DEFAULT BRANCH: main
Ran 09 Oct 2025 06:17PM UTC
Jobs 1
Files 394
Run time 2min
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

09 Oct 2025 06:13PM UTC coverage: 78.613% (+0.07%) from 78.545%
18385079863

push

github

web-flow
Feature: Implement private post visibility filtering and test suite (#31)

* fix(topics): hide private topics from non-admins in Recent and Popular views

Ensures that private topics are filtered out globally in sorted topic
queries by introducing a shared filterVisibleTopics helper.

* fix(posts): correctly hide posts from private topics on profile pages

Ensures the post visibility filter fetches topic fields when missing
from post summaries, preventing posts from private topics from being
visible in user profile views.

* fix(topics): use notAllowed helper to block unauthorized access to private topics

Prevent direct access to private topics by prompting user to login with correct privileges.

* fix(topics): expose private and staff flags in getTopicsByTids for list view rendering

Display a "Private to Staff" badge in list views such as Recent, Category, and Profile Topics for staff users.

* test: add test cases for private post visibility and update YAML schema types

Added new test cases to verify visibility rules for private posts.
Updated OpenAPI YAML files to change `private` flag type from string to integer
to align with backend implementation.

* fix: resolved failing linter errors

* fix: removed extraneous test

11251 of 16150 branches covered (69.67%)

Branch coverage included in aggregate %.

56 of 57 new or added lines in 6 files covered. (98.25%)

24818 of 29732 relevant lines covered (83.47%)

1520.41 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
85.0
src/topics/filter.js
Jobs
ID Job ID Ran Files Coverage
1 18385079863.1 09 Oct 2025 06:17PM UTC 394
78.61
GitHub Action Run
Source Files on build 18385079863
  • Tree
  • List 394
  • Changed 9
  • Source Changed 5
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #18385079863
  • d4cdcd5b on github
  • Prev Build on main (#18264614226)
  • Next Build on main (#18392281207)
  • 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