|
I've been working on OSQA internally for a project and I'm keen not to diverge too far from SVN trunk. We've been really impressed with OSQA and have benefited from other's work here, so this is also a way of paying back a little. What's the process for requesting for patches to be reviewed/landed in SVN? I'd much prefer to send pull requests - Git's SVN bridge works great and I assume https://github.com/OSQA belongs to the project? I understand SVN is used internally, but it'd actually be really easy for one of the project engineers to keep a git clone of the SVN repo internally and push and pull to the GitHub repository from there, merging work back to SVN over the bridge. Here's the basics: Effectively Using Git with Subversion One word of warning though. If you're on Windows, all of these bridge implementations will cause you all end of problems if your line ending support isn't properly configured. Make sure you use LF everywhere except in the Git working directory - otherwise merge conflicts will make this impossible: IMO it'd be well worth the time having someone learn how to do this. I've seen a lot of chatter here about people wanting to contribute in this way. Major New FunctionalitySince I first posted these patches, I've added an entirely new theme, endless pagination and PJAX support to OSQA. It's very stable and massively improves the frontend experience when using OSQA. Background here: PatchesChanges are available on my OSQA-SVN/OSQA fork on GitHub - https://github.com/BinaryRage/OSQA Each commit is linked from the JIRA issue. Add .patch to the end of the URL to generate a patch. The entire set will apply cleanly to SVN 1230. Enjoy!
Other things I'm considering are in GitHub issues. I'll add them to JIRA if I get around to them: https://github.com/BinaryRage/OSQA/issues?sort=created&direction=desc&state=open Screenshots
New default theme
New autolinker that doesn't include punctuation and adds question titles
Web config panel for added fronted optimisations
PageDown editor with fixed grippie
Answer display in related questions search
Highlighting of interesting tags
showing 5 of 9
show 4 more comments
|





@Danny Thomas the period is breaking the link https://github.com/BinaryRage/OSQA
Thanks! Looks like the auto-linker needs a bug fix :) Always happy when someone else has done the work for me too:
http://www.codinghorror.com/blog/2008/10/the-problem-with-urls.html
Great job, Danny. Thank you very much for your contribution. I applied your patches to my site and I hope dzone will apply those to the trunk.
@Danny Thomas don't you think it's a good idea to avoid https access on non-secure pages by using protocol-relative URLs? Check this stackoverflow question:
http://stackoverflow.com/questions/3622598/https-and-external-cdn-hosted-files
Did you have a problem with the change? That SO question is talking about opposite situation: non-https resources in a https page. Having https resources within a non-secure page shouldn't a problem. I've never come across protocol relative URLs before, even the Google Analytics snippet uses JavaScript to determine the protocol, interesting approach, but I wonder if it's universally supported.
I had already considered improving this some more to dynamically change protocol, these scripts are referenced in two locations, it's not a big deal. I suppose it's a trade-off: you get some level of host verification but incur an additional overhead of SSL handshake round trips (until NPN/SPDY sees widespread adoption).
Edit: Oh, this explains the GA thing. Protocol relative URLs it is! http://paulirish.com/2010/the-protocol-relative-url/ https://github.com/BinaryRage/OSQA/commit/e00e9bf6e9abeead1d41fd0c6d9d7dd5c6412285
My concern is with unnecessary https overhead.
Yep, it's at least two additonal round trips. Commit in the last comment.
Great initiative! I too was patching OSQA trunk to fix some bugs and didn't know when/if the patches will land in trunk. Expect some pull requests :-)
I'm really glad people are contributing to this project, I lost my programming connections a few years ago (PHP/MySQL) when I became a professional digital marketer. Marketing is a great skill to have when promoting a Q&A community quickly, but not great if you want to add code. Hopefully I can catchup in Django and be part of the dev conversation with you guys.