docs: Remove sensitive REST configuration form
Closes #898.
Summary
- removes the interactive REST server configuration form that asked users to enter server URL, app ID, master key, client key, and REST API key values into the docs page
- removes the JavaScript/localStorage customization handlers for those values
- keeps static placeholders and adds guidance to replace keys only in local code or terminal sessions
Verification
- npm run webpack
- git diff --check
- rg -n "parse-server-custom-(appid|masterkey|clientkey|restapikey|url|mount|protocol|values-reset)|localStorage\.setItem\('parse-server-custom|localStorage\.getItem\('parse-server-custom|your-master-key-here|your-client-key-here|your-rest-api-key-here" _includes/common/server-customize.md _app/main.js assets/js/bundle.js -S
Not run
- bundle exec jekyll build: local Ruby tooling is incompatible with the checked-in lockfile on this machine; system Ruby 2.6 is too old for locked Nokogiri, while available Ruby 3.3 is too new for locked minitest 5.14.2.
Summary by CodeRabbit
Release Notes
- Documentation
- Simplified server configuration documentation with clearer instructions for local development and security best practices. Removed interactive server field customization feature from the documentation page.
The PR removes a web form from the documentation that asked developers to enter sensitive server configuration (master key, client keys, and URL) and requested it on the page. This functionality is replaced with static documentation guidance to use placeholder values only in local code and terminals, improving security awareness. Security: Remove Server Configuration Form π― 2 (Simple) | β±οΈ ~8 minutes βοΈ Tip: You can configure your own custom pre-merge checks in the settings.π Walkthrough
Walkthrough
Changes
Layer / File(s)
Summary
Documentation Guidance
_includes/common/server-customize.md"Your Configuration" section with HTML form for entering sensitive credentials is replaced with "Server Configuration" section instructing users to use placeholder REST examples locally;
masterKey security warning is retained.
Code Removal
_app/main.jsCall to
setupServerFieldCustomization() is removed from docs initialization; entire method (localStorage persistence, event handlers) is deleted.π₯ Pre-merge checks | β
6 | β 1
β Failed checks (1 inconclusive)
Check name
Status
Explanation
Resolution
Engage In Review Feedback
β Inconclusive
Check requires engagement with review feedback. Git shows single commit, no metadata on review comments or revisions.
GitHub PR review comments not visible in git repo. Cannot assess feedback engagement without GitHub PR system access.
β
Passed checks (6 passed)
Check name
Status
Explanation
Description Check
β
Passed
Check skipped - CodeRabbitβs high-level summary is enabled.
Linked Issues check
β
Passed
The pull request successfully removes the sensitive REST configuration form, JavaScript handlers, and localStorage logic as required by issue
#898, replacing them with static placeholders and security guidance.
Out of Scope Changes check
β
Passed
All changes are directly aligned with the objectives in issue
#898; no out-of-scope modifications are present.
Docstring Coverage
β
Passed
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Security Check
β
Passed
Removes insecure form collecting Parse Server credentials. Eliminated setupServerFieldCustomization method and localStorage handlers. No new vulnerabilities found.
Title check
β
Passed
The pull request title begins with the required 'docs:' prefix and accurately describes the main change: removing a sensitive REST configuration form from the documentation.
β¨ Finishing Touches
π§ͺ Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands and usage tips.