binarybeachio fork of makeplane/plane � Zitadel OIDC repurposing of /auth/github/. See BINARYBEACHIO.md.
Find a file
binarybeach 9fb1ad44cd binarybeachio: presigned PUT for uploads (R2/B2 don't implement PostObject)
== WHY (KEEP THIS — IT'S WHY THE FORK EXISTS) ==

Vanilla Plane's upload flow uses AWS S3 PostObject (presigned POST +
multipart/form-data + signed-policy-document). Cloudflare R2 AND
Backblaze B2 — the two most common self-host S3-compatible backends —
both return HTTP 501 NotImplemented for PostObject. Empirically verified
2026-04-30 against B2 s3.us-west-004.backblazeb2.com from inside Plane's
own prod api container, replicating Plane's exact boto3 call:

  PUT against B2:  200 OK
  POST against B2: 501 NotImplemented "This API call is not supported."
  POST against R2: 501 NotImplemented (failure that started this thread)

The error code is `NotImplemented` (not `SignatureDoesNotMatch` etc),
meaning the server rejects the verb itself — no boto3 config, addressing-
style flag, or signature variant fixes it. Tested both path-style and
virtual-hosted-style URLs against B2; both fail identically for POST.

This patch rewrites the upload flow to use presigned PUT, which is
universally supported (R2, B2, AWS S3 native, MinIO, Wasabi, etc).

== WHAT (FIVE-FILE BACKEND, FIVE-FILE FRONTEND) ==

Backend:
* apps/api/plane/settings/storage.py — S3Storage.generate_presigned_post
  now mints a presigned PUT URL via generate_presigned_url(HttpMethod="PUT").
  Method name kept for caller compat. Response shape:
  {url, method: "PUT", fields: {Content-Type, key}}.
* apps/api/plane/utils/openapi/responses.py — example response updated.
* apps/api/plane/tests/unit/settings/test_storage.py — 2 tests updated to
  assert the new boto3 call.

Frontend:
* packages/types/src/file.ts — TFileSignedURLResponse.upload_data adds
  optional method?: "PUT" | "POST"; drops AWS POST-form-data fields.
* packages/services/src/file/helper.ts — generateFileUploadPayload now
  returns a TFileUploadRequest descriptor (url+method+body+headers) that
  dispatches on method. POST branch kept for upstream parity but the
  fork backend never emits POST.
* packages/services/src/file/file-upload.service.ts +
  apps/web/core/services/file-upload.service.ts — uploadFile signature
  changes from (url, FormData, progress?) to (payload, progress?).
* 5 caller sites updated (apps/web/core/services/file.service.ts x3,
  issue_attachment.service.ts x1, sites-file.service.ts x1).

== TRADEOFFS ACCEPTED ==

* Lost: signed `content-length-range` enforcement at the storage layer.
  Server-side validation in the API view still rejects oversized requests
  with 413 before minting the URL, so a determined client could only
  over-upload by misreporting size, capped at the bucket's own size limit.
* Different request shape on the wire (PUT with raw binary body vs POST
  with multipart form). Externally invisible to users.

== ROLLBACK ==

If this becomes a maintenance nightmare:

  git revert <this-commit-sha>
  # rebuild + push images, swap compose tags, redeploy

After revert, uploads will only work against backends that implement
PostObject (MinIO, AWS S3 native). R2 and B2 will return 501 again.

== FULL DECISION RECORD ==

binarybeachio repo: docs/features/storage-upload-flow.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 17:56:52 -10:00
.github chore: adding traget commit sha for the github release 2026-03-31 17:54:47 +05:30
.husky fix: eslint (#8185) 2025-12-05 16:03:51 +05:30
.idx chore: add IDX configuration so anyone can edit the project from idx.google.com (#5398) 2024-08-28 13:52:25 +05:30
apps binarybeachio: presigned PUT for uploads (R2/B2 don't implement PostObject) 2026-04-30 17:56:52 -10:00
deployments [INFRA-351] fix: correct directory and command for space program in supervisor.conf #8838 2026-03-31 18:53:51 +05:30
docs fix: replace eslint with oxlint (#8677) 2026-03-03 00:46:05 +05:30
packages binarybeachio: presigned PUT for uploads (R2/B2 don't implement PostObject) 2026-04-30 17:56:52 -10:00
.dockerignore [WEB-5040] feat: admin react-router migration (#7922) 2025-11-06 13:39:35 +05:30
.env.bb-local.example binarybeachio: add local-test compose and .env example 2026-04-29 16:56:48 -10:00
.env.example [INFRA-209] Remove nginx related configurations from plane community (#7406) 2025-07-14 16:38:27 +05:30
.gitattributes fix: Local Setup on Windows (#5539) 2024-09-10 17:28:18 +05:30
.gitignore binarybeachio: add local-test compose and .env example 2026-04-29 16:56:48 -10:00
.mise.toml [WEB-5048] chore: implements esm exports for all packages (#7816) 2025-10-06 21:01:32 +05:30
.npmrc fix: updated npmrc with hoist patterns (#8271) 2025-12-09 16:32:49 +05:30
.oxfmtrc.json chore: replace prettier with oxfmt (#8676) 2026-03-02 20:40:50 +05:30
.oxlintrc.json fix: disable react-in-jsx-scope rule in oxlint config (#8682) 2026-03-04 13:36:44 +05:30
.prettierignore fix: eslint (#8185) 2025-12-05 16:03:51 +05:30
AGENTS.md fix: replace eslint with oxlint (#8677) 2026-03-03 00:46:05 +05:30
BINARYBEACHIO.md binarybeachio: account chooser, brand logo, session convention 2026-04-30 14:51:21 -10:00
CODE_OF_CONDUCT.md chore: updated the contact email (#2605) 2023-11-02 16:27:23 +05:30
CODEOWNERS fix: eslint (#8185) 2025-12-05 16:03:51 +05:30
CONTRIBUTING.md [WEB-6420] chore: migrate community references from Discord to Forum (#8657) 2026-03-04 13:08:36 +05:30
COPYRIGHT.txt chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
COPYRIGHT_CHECK.md chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
docker-compose-local.yml fix: removed unused files 2026-03-25 02:04:20 +05:30
docker-compose.bb-local.yml binarybeachio: account chooser, brand logo, session convention 2026-04-30 14:51:21 -10:00
docker-compose.yml Update docker-compose.yml for valkey security patch (#7926) 2025-10-09 17:15:49 +05:30
LICENSE.txt LICENSE change for Plane 2023-06-19 18:47:39 +05:30
package.json chore: upgrade turbo from v2.8.12 to v2.9.4 (#8859) 2026-04-06 16:04:57 +05:30
pnpm-lock.yaml chore: upgrade turbo from v2.8.12 to v2.9.4 (#8859) 2026-04-06 16:04:57 +05:30
pnpm-workspace.yaml chore: upgrade turbo from v2.8.12 to v2.9.4 (#8859) 2026-04-06 16:04:57 +05:30
README.md [WEB-6420] chore: migrate community references from Discord to Forum (#8657) 2026-03-04 13:08:36 +05:30
SECURITY.md Updated SECURITY.md (#5737) 2024-10-03 14:09:01 +05:30
setup.sh feat: migrate to pnpm from yarn (#7593) 2025-08-19 20:06:42 +05:30
turbo.json chore(deps): minimatch and rollup package vulnerabilities (#8675) 2026-03-03 01:26:29 +05:30



Plane Logo

Modern project management for all teams

WebsiteForumTwitterDocumentation

Plane Screens

Meet Plane, an open-source project management tool to track issues, run sprints cycles, and manage product roadmaps without the chaos of managing the tool itself. 🧘‍♀️

Plane is evolving every day. Your suggestions, ideas, and reported bugs help us immensely. Do not hesitate to join in the conversation on Forum or raise a GitHub issue. We read everything and respond to most.

🚀 Installation

Getting started with Plane is simple. Choose the setup that works best for you:

  • Plane Cloud Sign up for a free account on Plane Cloud—it's the fastest way to get up and running without worrying about infrastructure.

  • Self-host Plane Prefer full control over your data and infrastructure? Install and run Plane on your own servers. Follow our detailed deployment guides to get started.

Installation methods Docs link
Docker Docker
Kubernetes Kubernetes

Instance admins can configure instance settings with God mode.

🌟 Features

  • Work Items Efficiently create and manage tasks with a robust rich text editor that supports file uploads. Enhance organization and tracking by adding sub-properties and referencing related issues.

  • Cycles Maintain your teams momentum with Cycles. Track progress effortlessly using burn-down charts and other insightful tools.

  • Modules Simplify complex projects by dividing them into smaller, manageable modules.

  • Views Customize your workflow by creating filters to display only the most relevant issues. Save and share these views with ease.

  • Pages Capture and organize ideas using Plane Pages, complete with AI capabilities and a rich text editor. Format text, insert images, add hyperlinks, or convert your notes into actionable items.

  • Analytics Access real-time insights across all your Plane data. Visualize trends, remove blockers, and keep your projects moving forward.

🛠️ Local development

See CONTRIBUTING

⚙️ Built with

React Router Django Node JS

📸 Screenshots

Plane Views

Plane Cycles and Modules

Plane Analytics

Plane Pages

📝 Documentation

Explore Plane's product documentation and developer documentation to learn about features, setup, and usage.

❤️ Community

Join the Plane community on GitHub Discussions and our Forum. We follow a Code of conduct in all our community channels.

Feel free to ask questions, report bugs, participate in discussions, share ideas, request features, or showcase your projects. Wed love to hear from you!

🛡️ Security

If you discover a security vulnerability in Plane, please report it responsibly instead of opening a public issue. We take all legitimate reports seriously and will investigate them promptly. See Security policy for more info.

To disclose any security issues, please email us at security@plane.so.

🤝 Contributing

There are many ways you can contribute to Plane:

Please read CONTRIBUTING.md for details on the process for submitting pull requests to us.

Repo activity

Plane Repo Activity

We couldn't have done this without you.

License

This project is licensed under the GNU Affero General Public License v3.0.