Skip to content

Conversation

@glpatcern
Copy link
Contributor

Hello,

This PR introduces the ability to use the newly provided update API anonymously, when the system is configured to work in anonymous mode (i.e. allowAnonymousEdits is true).

Also logging in case of error was extended with the stack trace to match similar code in the project.

The patch was successfully tested and is currently used in a pilot deployment, where CodiMD is being integrated with an external storage and controlled via API, therefore user authentication/authorization is delegated to the external storage. I can provide further information and hopefully more PRs that have helped in our integration.

@Yukaii Yukaii self-requested a review March 9, 2021 15:37
@Yukaii Yukaii added this to the Next milestone Mar 9, 2021
@Yukaii Yukaii added the api label Mar 9, 2021
Co-authored-by: Yukai Huang <[email protected]>
Signed-off-by: Giuseppe Lo Presti <[email protected]>
@Yukaii Yukaii merged commit e00eaa8 into hackmdio:develop Mar 22, 2021
@Yukaii
Copy link
Member

Yukaii commented Mar 22, 2021

I can provide further information and hopefully more PRs that have helped in our integration.

@glpatcern Thanks for the contribution 🎉 . Could you give us more details about the integration?

@glpatcern
Copy link
Contributor Author

@glpatcern Thanks for the contribution 🎉 . Could you give us more details about the integration?

Sure! I'll tell you more over gitter, the overall approach was simple with no radical changes (e.g. no DB schema changes) but with some UI retouches, following a bit the model of etherpad. @mic4ael has been a great contributor ;-)

@Yukaii Yukaii modified the milestones: Next, 2.4.0 May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants