[Haskell-cafe] Re: ANNOUNCE: gitit 0.2 release - wiki using HAppS,
git, pandoc
Anatoly Yakovenko
aeyakovenko at gmail.com
Wed Dec 3 20:03:19 EST 2008
This is pretty cool. I was wondering how much work would it be for
gitit to be able to use markdown from the comment sections in source
files? It would be a really good way to manage documentation.
Basically I would like to be able to point gitit at an existing git
repo, and have it provide a wiki interface to all the documentation so
developers can view and modify it.
Thanks,
Anatoly
2008/12/3 Hugo Pacheco <hpacheco at gmail.com>:
> Hmm, I think I finally see the real problem.
> At some point when logged in, the session expires and the wiki prompts again
> for the login information. However, the cookies still assume we are logged
> in and do not allow me to log in again.
> The solution is to remove the cookies for the wiki server.
> I think this is some kind of bug with the session state.
> Regards,
> hugo
> On Wed, Dec 3, 2008 at 9:29 PM, Hugo Pacheco <hpacheco at gmail.com> wrote:
>>
>> Solved, just something with my Safari cookies, sorry.
>>
>> On Wed, Dec 3, 2008 at 8:40 PM, Hugo Pacheco <hpacheco at gmail.com> wrote:
>>>
>>> On a different level, I was trying the wiki on my laptop, but have now
>>> installed it in a remote server.
>>> However, with the same configurations, I can create users but not log in,
>>> it simply returns to the front page. It is hosted
>>> at http://haskell.di.uminho.pt:8080
>>> It does not seem to be a permissions problem, I gave full permissions to
>>> all gitit files and nothing changed.
>>> Any idea why?
>>> Also being an headache is configuring apache reverse proxy for
>>> it: http://haskell.di.uminho.pt/wiki/
>>> hugo
>>>
>>> On Wed, Dec 3, 2008 at 6:03 PM, Hugo Pacheco <hpacheco at gmail.com> wrote:
>>>>
>>>> yes, I am talking about inserting HTML inside the wiki.
>>>> Thanks, I will check on that and report back,
>>>> hugo
>>>>
>>>> On Wed, Dec 3, 2008 at 3:44 PM, John MacFarlane <jgm at berkeley.edu>
>>>> wrote:
>>>>>
>>>>> +++ Hugo Pacheco [Dec 03 08 09:36 ]:
>>>>> > Good morning,
>>>>> > I wonder if it is possible to embed regular HTML code inside gitit
>>>>> > (on
>>>>> > 0.3.2) pages, such as java applets like the following.
>>>>> > <APPLET CODE = "GHood.class" ARCHIVE = "GHood.jar" WIDTH = 1100
>>>>> > HEIGHT =
>>>>> > 400 ALT = "you should see an instance of GHood here, as an
>>>>> > applet"> <PARAM
>>>>> > NAME = "eventSource" VALUE ="factHylo.log"> <PARAM NAME = "delay"
>>>>> > VALUE
>>>>> > ="150"> <PARAM NAME = "scale" VALUE ="75"> </APPLET>
>>>>> > I am assuming that as a wiki, it is only possible to point to
>>>>> > external
>>>>> > pages.
>>>>> > Thanks,
>>>>> > hugo
>>>>>
>>>>> Of course you can put any HTML you like in the page template
>>>>> (template.html). But I assume you are asking about HTML inside the
>>>>> wiki
>>>>> pages themselves. Although markdown allows embedded HTML, gitit uses
>>>>> pandoc's
>>>>> HTML sanitization feature, so things that might be dangerous (like
>>>>> applets) will be filtered out and replaced by comments.
>>>>>
>>>>> You could easily modify the code to remove the santitization feature.
>>>>> Just change the textToPandoc function so that stateSanitizeHtml is set
>>>>> to
>>>>> False.
>>>>>
>>>>> John
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> www.di.uminho.pt/~hpacheco
>>>
>>>
>>>
>>> --
>>> www.di.uminho.pt/~hpacheco
>>
>>
>>
>> --
>> www.di.uminho.pt/~hpacheco
>
>
>
> --
> www.di.uminho.pt/~hpacheco
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
More information about the Haskell-Cafe
mailing list