From 3972171923d82d5fb11e6095dc20914dbd0476cc Mon Sep 17 00:00:00 2001 From: Merlyn Zawadi <127236012+merlynzawadi@users.noreply.github.com> Date: Wed, 8 Jul 2026 12:45:37 +0300 Subject: [PATCH 1/4] Enhance FAQ page with introductory information Added introductory text and a reference to the full FAQ page. --- docs/faq.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index e5fb52c480..2ffd5f3676 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -1,4 +1,9 @@ # FAQ +This page is a quick-entry point for common questions. For a complete and detailed list of frequently asked questions — covering installation, configuration, the Platform API, Platform Client, mobile application, and general questions — please visit the full FAQ page: + +{% page-ref page="frequently-asked-questions.md" %} + ## How can I get involved? +There are many ways to contribute to Ushahidi — from writing documentation and fixing bugs to translating the platform and helping other community members. Head over to the [Contributing & Getting Involved](contributing-or-getting-involved/) section for a full guide on how to get started, whatever your background or skill level. From 69857a0d758e87eddeb013a48e2b01e35916907a Mon Sep 17 00:00:00 2001 From: Merlyn Zawadi <127236012+merlynzawadi@users.noreply.github.com> Date: Wed, 8 Jul 2026 12:55:54 +0300 Subject: [PATCH 2/4] docs: fill in stub page roadmap,md Added links and references for roadmap overview and tasks. --- docs/getting-started/development-process/roadmap.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/getting-started/development-process/roadmap.md b/docs/getting-started/development-process/roadmap.md index 6596f71861..bea8b77b62 100644 --- a/docs/getting-started/development-process/roadmap.md +++ b/docs/getting-started/development-process/roadmap.md @@ -1,4 +1,15 @@ # Roadmap +For a full overview of how the Ushahidi Platform roadmap works — including where to find it, how new items get accepted, and how prioritisation decisions are made — please see the [Roadmap](../../roadmap/) section. + +{% page-ref page="../../roadmap/" %} + +## Quick links + +* [Issues being considered for an upcoming cycle](https://github.com/ushahidi/platform/issues?q=is%3Aopen+is%3Aissue+label%3A%22consider+for+upcoming+cycle%22) +* [Issues currently in progress](https://github.com/ushahidi/platform/issues?q=is%3Aopen+is%3Aissue+label%3A%22Stage%3A+In+progress%22) +* [All community tasks](https://github.com/ushahidi/platform/issues?q=is%3Aopen+is%3Aissue+label%3A%22Community+Task%22) +* [Good first issues for new contributors](https://github.com/ushahidi/platform/issues?q=is%3Aopen+is%3Aissue+label%3Agood-first-issue) + From 8898521c3f78310dcfea472d5e17b3e357acae7e Mon Sep 17 00:00:00 2001 From: Merlyn Zawadi <127236012+merlynzawadi@users.noreply.github.com> Date: Wed, 8 Jul 2026 12:58:49 +0300 Subject: [PATCH 3/4] docs: fill in README.md file in privacy and security best practices Expanded the README with security guidance for users, admins, and hosts. --- docs/untitled/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/untitled/README.md b/docs/untitled/README.md index c33f1c1654..7adce8db7b 100644 --- a/docs/untitled/README.md +++ b/docs/untitled/README.md @@ -2,5 +2,21 @@ description: Small things that go a long way towards improving your security --- -# Privacy and security best practices +# Privacy & Security + +Ushahidi is used in contexts where the safety of reporters, administrators, and communities can depend on how the platform is configured and used. This section provides practical security guidance for everyone involved in a deployment — from end users to system administrators to those hosting the platform infrastructure. + +## Who this section is for + +Security responsibilities are shared across three distinct roles in any Ushahidi deployment: + +* **Users** — individuals submitting reports or accessing the platform day-to-day. Learn how to protect yourself and your information: [Security as a user](security-as-a-user.md) +* **Deployment admins** — people managing a deployment, its data, and its team members. Learn how to configure your deployment to protect your community: [Security for deployment admins](security-for-deployment-admins.md) +* **Deployment hosts** — those responsible for the infrastructure that runs the platform. Learn about server-level security essentials: [Security for deployment hosts](security-for-deployment-hosts.md) + +## Why this matters + +Each Ushahidi deployment is unique — serving a specific community, in a specific context, often around sensitive topics such as crisis response, election monitoring, human rights reporting, or corruption tracking. The exposure of data or the identity of reporters can carry real consequences for real people. + +Reading and acting on the guidance in this section is one of the most important things you can do to ensure your deployment protects — rather than inadvertently harms — the communities it is meant to serve. From 2c4f10a153b3c69fdd81f468250854e271011643 Mon Sep 17 00:00:00 2001 From: Merlyn Zawadi <127236012+merlynzawadi@users.noreply.github.com> Date: Wed, 8 Jul 2026 13:31:14 +0300 Subject: [PATCH 4/4] Simplify method check for POST and PUT requests --- app/Http/Middleware/CheckForInvalidJSON.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Http/Middleware/CheckForInvalidJSON.php b/app/Http/Middleware/CheckForInvalidJSON.php index 64f25fbe03..535f8396ce 100644 --- a/app/Http/Middleware/CheckForInvalidJSON.php +++ b/app/Http/Middleware/CheckForInvalidJSON.php @@ -15,8 +15,7 @@ class CheckForInvalidJSON */ public function handle($request, Closure $next) { - $request_method = $_SERVER['REQUEST_METHOD']; - $put_or_post = $request_method === 'POST' || $request_method === 'PUT'; + $put_or_post = $request->isMethod('POST') || $request->isMethod('PUT'); $data = json_decode($request->getContent());