flarum / framework

Simple forum software for building great communities.
http://flarum.org/
6.3k stars 835 forks source link

Add GitHub integration? #809

Closed dcsjapan closed 8 years ago

dcsjapan commented 8 years ago

This came up recently in the forums, and almost immediately I ran across a reference to the same idea here, so I thought I'd make an issue of it...

Basically, how about adding GitHub integration for automatic linkification of issues, PRs, etc.?

It would certainly be handy for discuss.flarum.org (not to mention Flarums for any other GitHub-hosted projects). But I'm not sure whether it would really fit as a bundled extension. It might be better left to a third-party developer. Or maybe it's a good project for Flagrow. Thoughts?

franzliedke commented 8 years ago

I don't think this makes sense as a bundled extension (developers are a niche, at least when looking at the whole target group for online forums).

I'd looooove an extension for this, though. :)

tobyzerner commented 8 years ago

^ agreed!

luceos commented 8 years ago

I was looking into this already. Wanted to add hashtag as bbcode to reference a github issue first. Not any progress so far though.

I do agree that it should not be a core ext.

sijad commented 8 years ago

I made one but commits autolinking has conflicts with Mentions plugin, it can be fixed if we use Username/Repository@SHA instead for commits let me know your thoughts

luceos commented 8 years ago

@sijad what if your regular expression match checks for the github domain? That would solve the conflict with mentions.. Right?

sijad commented 8 years ago

@luceos I think yea that's a good idea. I'll work on that

tobyzerner commented 8 years ago

Closing this, @sijad's extension is great 👌