Pandora-IsoMemo / drat

R packages developed in the Pandora IsoMemo project
0 stars 0 forks source link

Flarum: Setup of a blog-like app #41

Closed arunge closed 1 month ago

arunge commented 3 months ago

We need to setup a blog like app with following features:

Additionally, we need

@SarahWagner as just discussed, please check the following tools for setting up a forum on our servers.

Please let me know, which of the options you would prefer or if you would like to suggest an alternative tool!

@jan-abel-inwt also mentioned that there might be options using quarto, however applying solutions from above seems to be less effort for me. Please, let me know your thoughts on that.

SarahWagner commented 3 months ago

Discourse

⚠ Discourse has successfully integrated with SAML for many enterprises, but SAML integration is often complex, error prone, and typically requires customization / changes for that organization's specific implementation of SAML. This work is best undertaken by software developers familiar with Discourse. We are highly familiar with Discourse, and available to do that work on an enterprise hosting plan. (https://github.com/discourse/discourse-saml)

Flarum:

Wordpress [general]:

Wordpress Forum Plugins:

arunge commented 3 months ago

@SarahWagner the choice was made for the free version of Flarum. For now, we will integrate OAuth (ORCID). We must discuss if developing an extension for SAML2 is an option for a follow-up task.

SarahWagner commented 3 months ago

Ich habe einfach die Setup Punkte in https://freeflarum.com/ unter "Create My Flarum Forum" testweise durchgespielt. Als Template habe ich "Discussion" genommen. Wir müssen selbst nichts aufsetzen, danach ist das Forum erreichbar unter https://<name>.freeflarum.com/. Das hier ist mein Test-Forum: https://sawflarum.freeflarum.com/

Geht man (oben rechts) auf admin > Administration gelangt man direkt zum Dashboard wo man sich die Features zusammenklicken kann. Ich habe schon mal "Blog" hinzugefügt. Ich sehe dort außerdem die Features "OAuth Center" und "SSO". Im Forum habe ich eine Discussion und einen Blogpost hinzugefügt.

@arunge Für Demonstrationszwecke lasse ich mein Testforum mal laufen. Lass mich wissen, wenn ich es wieder löschen kann.

Der Name des Forums kann im Nachhinein nicht geändert werden (Titel usw. schon, aber die oben genannte URL bleibt fix).

SarahWagner commented 3 months ago

@arunge Es gibt eine API, auch für die free Version, um die Blogposts und Diskussionen zu ziehen.

https://sawflarum.freeflarum.com/api https://sawflarum.freeflarum.com/api/discussions

Wenn wir später OAuth nutzen, wird der Zugriff auf die API auch nur noch mit OAuth funktionieren.

arunge commented 3 months ago

@isomemo In summary, we tested the free version of Flarum:

Before we can proceed to setup OAuth (ORCID) we need:

Please provide us above! We can also discuss this in our next meeting!

isomemo commented 2 months ago

@arunge looks like a good option!

arunge commented 2 months ago

@SarahWagner We can use

Please let us shortly discuss the next steps, when you have some time

SarahWagner commented 2 months ago

I created a new free forum https://pandoraisomemo.freeflarum.com/. The blog is also enabled. @arunge you should have a mail, I created an account for you and made you admin as well. I also enabled the OAuth Plugin (https://pandoraisomemo.freeflarum.com/admin#/extension/fof-oauth), @arunge, will you takeover from here and take a look at the login process?

arunge commented 2 months ago

I checked the options that we do have with the free version of Flarum on https://pandoraisomemo.freeflarum.com/:

Default permissions:

image image image

Login with extension


Links to Flarum's passport-docu:

Links to ORCiD- docu:

arunge commented 1 month ago

@isomemo To summarize our findings:

Following features are available on our FreeFlarum forum (https://pandoraisomemo.freeflarum.com/) after setting the desired permissions (compare https://github.com/Pandora-IsoMemo/drat/issues/41#issuecomment-2354799558)

  • [x] Administrator may create forums devoted to different topics ("Announcements"). Within these users can create their posts. Administrator can enable/disable/delete forums (the same for posts and comments)
  • [x] Within a forum ("Announcements"), ~users registered in Pandora (&ORCID)~ can create a new post ("Reply to discussion") with standard inputs (title and main text). When displaying these posts show title, main text, post time, name, and ~email~.
  • [x] Users may post comments on posts (or on other comments) with the same items as above being displayed.
  • [x] Include a list of forums and search options for forums and posts.

Additionally, we have following advantages

On the other hand,

If Pandorra has the SSO with SAML2 extension we could request an extension on FreeFlarum. However, the guidelines for an extension request are very strict and one point seems to be an issue:

Extension Inclusion Criteria

  1. Premium (paid) extensions are not eligible for inclusion on FreeFlarum.

It looks like there is already an extension for SAML2 SSO for Flarum (available for the paid version of Flarum)

So, asking for adding this feature to FreeFlarum seems not to be possible.

@isomemo We will stop here. Please let us know