Skip to content

Fix: Remove url from required schema for upgrading plugins#148

Open
qianxuege wants to merge 210 commits intomainfrom
fix/url-patch
Open

Fix: Remove url from required schema for upgrading plugins#148
qianxuege wants to merge 210 commits intomainfrom
fix/url-patch

Conversation

@qianxuege
Copy link
Copy Markdown

Description

  • The previous Pull Request (Test: Added Stryker Mutator (Dynamic Analysis) nodebb-fall-2025-jack#99) that got merged into main includes a patch for fixing the url error, as shown in the screenshot. The tests for the PR passed, and the merge also passed on October 30th. However, when we checked back today, it shows that we experience the same error.
  • According to the official documentation, url is not required. Upgrade can be performed just with the id. Therefore, this PR patches the error by removing "url" from the required properties.
image

fatbiscuit247 and others added 30 commits September 17, 2025 21:52
This reverts commit 4c4459c.

git push origin main#
Refactor (src/user/posts.js): reduce complexity in isReady()
refactor: wrapped if-elseif-else statement in a function in filterTids
Refactor (public/src/modules/accounts/delete.js): reducing parameters in executeAction
Refactor src/api/posts.js to simplify Complex binary expression in canSeeVotes()
Refactor (src/topics/posts.js:336): Function with many parameters (count = 4): incrementFieldAndUpdateSortedSet
feat: add unresolved count on homepage and categories page frontend only
qianxuege and others added 28 commits October 7, 2025 23:09
… not sending.' or '[activitypub/api] Not federating update of pid 1 to the fediverse due to privileges.' since Privilege check runs before federation-disabled check
Fix: Mitigate timeout when in CI
…ed by previous PR

Removed redundant 'activitypubEnabled' key from configuration.
improvements: i think you should/need to clean up your console.log statements. i vaguely remember them saying they would check for that. also, did you add new test cases? if you made ui changes, you should have new frontend tests + new tests for your routes and controllers

edit: improvements were made + tests passed on github!

otherwise, number of lines edited + commit messages are aptly descriptive. PR is a bit redundant, but helps to guide me through all the changes you made. Pull the branch into my local machine, and tested that lint and test both run, and ui changes are visible!

you should also move your tasks around on our project board. not sure if you were waiting for this pr to merge before moving to complete.
Merging Joon's PR that added a new page to view further user engagement stats under admin dashboard settings, code has been tested and reviewed
feat: added user:0 to docker-compose-redis.yml
Feat: added VM Deploy.yml to github workflow to connect our repo to t…
Fix: Create env file for mailgun secrets on the linux server
@coveralls
Copy link
Copy Markdown

coveralls commented Nov 7, 2025

Pull Request Test Coverage Report for Build 19182234893

Details

  • 268 of 298 (89.93%) changed or added relevant lines in 22 files are covered.
  • 45 unchanged lines in 5 files lost coverage.
  • Overall coverage decreased (-0.08%) to 78.447%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/posts/summary.js 5 6 83.33%
src/categories/topics.js 13 15 86.67%
src/controllers/categories.js 12 14 85.71%
src/routes/api.js 34 36 94.44%
src/topics/follow.js 25 27 92.59%
src/user/posts.js 23 25 92.0%
src/emailer.js 37 40 92.5%
src/api/categories.js 3 7 42.86%
src/controllers/category.js 20 25 80.0%
nodebb-plugin-mailgun-delivery/library.js 16 23 69.57%
Files with Coverage Reduction New Missed Lines %
src/controllers/admin/dashboard.js 1 85.34%
src/plugins/install.js 1 81.46%
src/activitypub/index.js 2 55.97%
src/emailer.js 15 75.15%
src/api/activitypub.js 26 42.12%
Totals Coverage Status
Change from base Build 17437193449: -0.08%
Covered Lines: 24893
Relevant Lines: 29874

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants