plentico / plenti

Static Site Generator with Go backend and Svelte frontend

Home Page:https://plenti.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitea backend for CMS

jimafisk opened this issue · comments

The people have spoken and they want Gitea backend support for the CMS: https://twitter.com/plentico/status/1615857323292987397

Blocker: Can't commit multiple files to a generic endpoint using the API: go-gitea/gitea#14619

Per these API Docs there are only the 2 following methods for manipulating repo files:

  • PUT /repos​/{owner}​/{repo}​/contents​/{filepath} Update a file in a repository (link)
  • POST ​/repos​/{owner}​/{repo}​/contents​/{filepath} Create a file in a repository (link)

We've also been having trouble getting PKCE to work clientside: https://discourse.gitea.io/t/oauth-pkce-example/6573

Sounds like you can't omit the client_secret in Gitea currently: go-gitea/gitea#17107

There's been progress on both the API endpoint and PKCE client secret: decaporg/decap-cms#1109 (comment) 🎉