Nextcloud 支持

Hi guys,
I‘m working a lot with Nextcloud for document management and like to include individual folder sharings inside Discouse wikis / topics to offer direct access. The best way would be a plugin, that dynamically shows the files and sub folders as expandable detail list view.

File Type Size
> Folder

Is this possible? Is this a „job“ for Nextcloud or Discourse developers?

Best

2 个赞

I think you need a Discourse plugin. Are the linked files and folders publicly readable?

I know that @joebuhlig uses owncloud (EDIT: He’s mentioned one of those xxx-Cloud things to me recently :wink:) , so his team might be a good place to start.

1 个赞

I guess so.

Usually not. I prefer sharing these folders by link and separate password. Maybe it’s possible to add the password into the link scheme? The user shouldn’t notice that access restriction too much. Therefore the user shouldn’t be asked to enter the pw manually. It’s important for me, to keep some folders semi private and everything smooth as possible.

Clarification: We don’t. We’ve explored moving from GSuite to NextCloud recently, but are far from making that decision.

I’m assuming a plugin is needed here as well. I can’t recall an embeddable script from NextCloud existing anywhere.

That said, you’ll probably need to use the NextCloud Client API to recreate this. But that comes with all kinds of questions.

  • Where do you put this file structure within Discourse?

  • Will it exist multiple times?

  • How much functionality do you need for it in Discourse? Read-only?

  • How much effort are you willing to put in for this to exist? (Or what kind of budget?)

  • Is it really worth it? You could just link to the folder.

4 个赞

Usually, I’m linking the Nextcloud folder at the categories pinned introduction topic. But I also like to share folder content within any other post to offer instant access for course material / project files and more.

I guess not. Why is this relevant? It might be possible some NC folder sharings could occur multiple times within one Discourse instance.

Read-only would be perfect. I need the information about file/folder names, file types, sizes, the option to expend / collapse sub folders and a direct download link.

In case the shared folder is password protected, the PW and direct link to NC should be noted somewhere beside the listing view.

It’s a complicated and fair question. I’m not very experienced in (web-based) software development and the cash flow is always an issue :non-potable_water: I have no commercial use-case. I’d like to close the gap between course document management and an excellent community experience. Each course has it’s own category Moodle and OpenOLAT have a bad user experience.

I would say, yes.

Having a seamless user experience in discussion and document management is the goal for integrative / barrier-free “groupware”. I would compare it with the back linking (feedback loop) of Discourse’s github commits at the comments section on github.com. Every time the users need to open the link separately on anther tab / window, he/she will be interrupted and gets confused from different platforms and usabilities.

1 个赞

It changes the way you build it. If it only exists in one place at all times (sidebar?) then from a development stance you treat it differently.

Pretty sure this is unnecessary if you have an API key for an admin account under Site Settings.

I would suggest formalizing it under marketplace.

Just be aware that what you’re asking for isn’t trivial or quick. It’s a pretty advanced build so it’ll take someone a significant amount of time to get it right.

6 个赞

Thank you very much for you’re kind help and marketplace advice. Interoperability isn’t and won’t be trivial in near future without standardization and solving compatibility issues of standalone software. If this feature will come true, we’ll / I’ll need to find a way, to use WebDAV as bridge technology. :roll_eyes:

1 个赞

Hello, we also work a lot with Nextcloud and we are wanting to implement Discourse, so I wanted to consult you if you could include for the management of documents and the individual shared folders within the themes / wikis of Discouse to offer direct access. Or if you could relate Nextcloud and Discourse in some way. From already thank you very much!

1 个赞

Discourse 支持通过 S3 上传图像和文件
S3 可通过 Minio 自行托管。
Nextcloud 通过 外部存储应用 支持 S3 存储。
Nextcloud 还支持 Discourse SSO
所有这些应用都可以通过 LDAP 进行链接。

希望这对同样好奇此类集成的其他人有所帮助。:slight_smile:

2 个赞

这个话题创建于 2019 年,自那时起 Nextcloud 已经发生了很大变化。我很想了解大家目前如何使用 Nextcloud 21,以及你们正考虑如何在“群件”(groupware)场景下将其与 Discourse 结合使用。

据我理解,对原帖(OP)中问题的回答是:

答案是肯定的。Discourse 是一个讨论平台,而 Nextcloud 原本的核心优势在于文件同步与共享:https://nextcloud.com/files/

或许解决方案是回归 Nextcloud,看看是否有兴趣利用 Embed Discourse comments on another website via Javascript Nextcloud 评论的方案。目前 Nextcloud 侧边栏的显示效果如下:

通过嵌入 Discourse 评论,用户可以点击链接在 Discourse 中发起一个主题,以讨论任意文件或文件夹,并查看所有回复。该主题还将包含指向 Nextcloud 文件或文件夹的链接。

5 个赞

已在 Nextcloud 20 adds Discourse Notifications and allows unified search with your forum 建立链接,以便本线程中的用户也能引用。

同时已将此讨论链接到 Nextcloud 的 Discourse 实例:

3 个赞

这个想法很有趣,因为评论功能确实需要一段时间来优化完善。

1 个赞

思考各种可能性:

个人浅见:如果可能的话,请帮忙改进 Nextcloud 的评论功能!这是一个很棒的概念,但目前却无人问津。如果能加以改进,那将非常棒!

2 个赞

感谢 @sunjam!我也是 help.nextcloud.com/user/tobiaseigen 的成员,我们可以去那里讨论大家为改进或扩展 Nextcloud 所做的任何工作。Discourse 仪表盘小组件和统一搜索也很有趣。我建议专注于 Discourse 真正擅长的几个方面,并直接关闭 Nextcloud 中所有与之竞争的功能,而不是试图“整合一切(tm)”。在我看来,这主要涉及讨论功能,同时也包括用户管理和安全功能。我希望 Discourse 能成为 Nextcloud 及其他协作工具的 OIDC 身份提供商。目前这还无法实现——如果你想使用 Discourse 作为身份提供商,必须使用我们定制的、需要编程的功能。

作为背景说明,目前我对此的兴趣主要出于个人原因(我在各种个人项目中使用 Nextcloud 和 Discourse)。我可以想象,对于其他使用 Discourse 进行协作的用户(尤其是 Discourse for Teams 的客户)来说,Nextcloud 也可能具有吸引力。如果能轻松地在 Discourse 站点旁部署一个配套的 Nextcloud 服务器,以便同步和共享媒体及其他大文件,而无需依赖社交媒体或 Google Drive 等,那将非常棒。

2 个赞

当然,我只是想把各种想法都“倾囊相授”到这个帖子中,毕竟只要能让讨论继续下去就行。无论两者是否进一步集成,它们都是很棒的项目。

遗憾的是,目前我觉得这两项功能对我个人来说帮助不大。概念倒是挺有趣的。

  • 仪表盘提供的功能在我看来不如 RSS,所以我完全禁用了它,以便专注于“文件”应用。
  • 仪表盘小组件仅支持一个 Discourse 实例,因此我不得不在 Meta 论坛和我自己的实例之间做出选择。
  • 统一搜索会将用户在 Nextcloud 搜索中输入的所有内容转发到您添加的关联 Discourse 实例。……除非能够限制搜索范围或按需调用,否则我对这项功能暂不感兴趣。

祝好。:heart:

1 个赞

哇哦。非常令人印象深刻的话题。有关于此的任何消息吗?或者有人尝试过实现某种集成吗?

这里有一个很棒的帖子。我们也在寻找同样的东西,插件似乎已过时。

我认为这些功能可能很棒,而且开发起来并不复杂:

  • 使用 Discourse 凭据登录 Nextcloud。我发现的是相反的情况,我们希望从我们的社区登录。
  • 简单地将 Nextcloud 中的文件插入 Discourse 主题(从个人资料链接的帐户或通过 SSO 自动链接)。
  • 能够将特定的聊天与 Nextcloud Talk 中的特定房间链接(Discourse 中不再有 Teams 了吗?)。
  • 将 Jitsi Discourse 插件与 Nextcloud Talk(也使用 Jitsi)混合,并从两个访问点访问工作流。

当前可能的操作:

3 个赞

遗憾的是,除非我弄错了(我很乐意被纠正!),否则 Discourse 和 Nextcloud 之间紧密的集成将会过于繁琐,而且我认为没有人有兴趣去创建它。因此,在 Nextcloud 中创建共享链接,然后在 Discourse 中使用它们,这几乎就是目前的极限了。

我使用 Nextcloud 中的社交登录插件已经有几年了,并且取得了巨大的成功。它开箱即用地提供了一个“自定义 Discourse”选项,该选项非常容易设置,用户体验也相当无缝。

尚未登录的用户会看到使用 Discourse 或密码登录的选项。

如果他们还没有帐户,则在登录时会为他们创建一个帐户。他们的群组会从 Discourse 映射到 Nextcloud,然后可以根据他们所在的群组来设置访问权限。

3 个赞

我认为,如果您的所有用户都登录了 Discourse 和 Nextcloud,那么一个主题组件应该可以上传文件到 nextcloud 并插入 URL。这个损坏的主题组件过去就是为 youtube/vimeo 这样做的。

由于可以确保用户已登录这两个站点,所以我认为这应该是可行的,尽管我没有亲自做过。