Michael Davis | 2 Dec 05:41

Initial Setup Issue

I just installed Chora to go with my newly installed version of Subversion.

With subversion setup for anonymous access Chora works great but as
soon as I restrict it access Chora complains with this message:
: svn: PROPFIND request failed on '/svn/repos' svn: PROPFIND of
'/svn/repos': authorization failed (http://xxxxxxxxxxx.)

I assume the issue is related to Chora not authenticating to
subversion but I can't find documentation that describes setting this
up.

Subversion - setup with authentication - works fine directly from the
browser and user TortoiseSVN just not from Chora.

Can you point me to some assistance?

thank you,
Michael

----------------------------------------------------------------
This message was sent from davisKingdom.  Hope you enjoy it.

--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: chora-unsubscribe <at> lists.horde.org

Michael Davis | 2 Dec 16:42

Re: Initial Setup Issue - More Information


> I just installed Chora to go with my newly installed version of Subversion.
>
> With subversion setup for anonymous access Chora works great but as
> soon as I restrict it access Chora complains with this message:
> : svn: PROPFIND request failed on '/svn/repos' svn: PROPFIND of
> '/svn/repos': authorization failed (http://xxxxxxxxxxx.)
>
> I assume the issue is related to Chora not authenticating to
> subversion but I can't find documentation that describes setting this
> up.
>
> Subversion - setup with authentication - works fine directly from the
> browser and user TortoiseSVN just not from Chora.
>
> Can you point me to some assistance?
>

A bit more information:
The subversion server is on a different server than Chora.  I also  
tried to use the https:// (secure http) in the soureceroots.php.  I  
would also like to know where I can get details on making that work  
correctly too.

Here is the relevant portion of the sourceroots.php:
$sourceroots['subversion'] = array(
     'name' => 'Subversion',
/*    'location' => 'http://svn.collab.net/repos/svn', */
     'location' => 'http://xxx.xxx.hom/svn/repos/',
     'title' => 'A Compelling Replacement for CVS',
(Continue reading)

Jan Schneider | 3 Dec 19:07
Favicon
Gravatar

Re: Initial Setup Issue - More Information

Zitat von Michael Davis <michael <at> daviskingdom.net>:

>
>> I just installed Chora to go with my newly installed version of Subversion.
>>
>> With subversion setup for anonymous access Chora works great but as
>> soon as I restrict it access Chora complains with this message:
>> : svn: PROPFIND request failed on '/svn/repos' svn: PROPFIND of
>> '/svn/repos': authorization failed (http://xxxxxxxxxxx.)
>>
>> I assume the issue is related to Chora not authenticating to
>> subversion but I can't find documentation that describes setting this
>> up.
>>
>> Subversion - setup with authentication - works fine directly from the
>> browser and user TortoiseSVN just not from Chora.
>>
>> Can you point me to some assistance?
>>
>
>
> A bit more information:
> The subversion server is on a different server than Chora.  I also
> tried to use the https:// (secure http) in the soureceroots.php.  I
> would also like to know where I can get details on making that work
> correctly too.

Chora doesn't support user authentication yet. If you want, file an  
enhancement request on bugs.horde.org.

(Continue reading)

Valéry Derongs | 7 Dec 18:28

enscript on windows

Hi again,

After enjoying Chora on windows with subversion I am now trying to get syntax
highlighting working.
It seems to work natively with php, but as we work with other formats I realised
it would be more flexible to configure chora for enscript.

I installed enscript from gnuwin32 in my c:\gnuwin32\ folder and it seems to
work fine when i call it fdrom the command line as follows:

C:\gnuwin32\bin\enscript --color --language=html --pretty-print -o -
c:\testClass.java

This returns me a lovely html formatted version code.

Now the problem is that chora does not pick enscript up properly.

I configured by editing mime_drivers.php.

Basically i changed 2 thing:

First, I added 'enscript' as follows:
$mime_drivers_map['horde']['registered'] = array(
    'css', 'enriched', 'html', 'images', 'ooo', 'pdf', 'php', 'plain', 'rar',
    'report', 'rfc822', 'richtext', 'security', 'simple', 'tgz', 'tnef',
    'vcard', 'zip', 
    'enscript', 
);

This part seems to work as the icons in chora are now displayed depending on the
(Continue reading)

Valery Derongs | 7 Dec 18:42

enscript highlighting under windows

Hi again,

After enjoying Chora on windows with subversion I am now trying to get syntax
highlighting working.
It seems to work natively with php, but as we work with other formats I realised
it would be more flexible to configure chora for enscript.

I installed enscript from gnuwin32 in my c:\gnuwin32\ folder and it seems to
work fine when i call it fdrom the command line as follows:

C:\gnuwin32\bin\enscript --color --language=html --pretty-print -o -
c:\testClass.java

This returns me a lovely html formatted version code.

Now the problem is that chora does not pick enscript up properly.

I configured by editing mime_drivers.php.

Basically i changed 2 thing:

First, I added 'enscript' as follows:
$mime_drivers_map['horde']['registered'] = array(
    'css', 'enriched', 'html', 'images', 'ooo', 'pdf', 'php', 'plain', 'rar',
    'report', 'rfc822', 'richtext', 'security', 'simple', 'tgz', 'tnef',
    'vcard', 'zip', 
    'enscript', 
);

This part seems to work as the icons in chora are now displayed depending on the
(Continue reading)

Jan Schneider | 10 Dec 12:11
Favicon
Gravatar

Re: enscript highlighting under windows

Zitat von Valery Derongs <valery_derongs <at> qvc.com>:

> For instance with
> $mime_drivers['horde']['enscript']['location'] = 'C:/gnuwin32/bin/enscript';
>
> When I try to access the code, I get a line in the browser which says:
> The program used to view this data type (C:/gnuwin32/bin/enscript)  
> was not found
> on the system.
>
> However when I add the .exe as follows:
> $mime_drivers['horde']['enscript']['location'] =  
> 'C:/gnuwin32/bin/enscript.exe';

This is the correct one. You could even try (double) backward slashes,  
but that shouldn't make a difference.

> Then I get an empty framed numbered line in the browser (with nothing else)

You probably have to dig in the enscript mime driver code (render()  
method) to see where exactly it fails.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

--

-- 
Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
(Continue reading)


Gmane