Christian Stadler | 1 Mar 11:32
Picon

Re: Permissions on sourceroots


Jan Schneider schrieb:
>Zitat von Christian Stadler <webmaster <at> ragnarokonline.de>:
>>Christian Stadler schrieb:
>>>Jan Schneider schrieb:
>>>>You can enable repositories in sourceroots.php based on user names,
>>>>groups etc. But nothing integrated into Horde's permissions system yet.
>>>Can you give an example how to do this?`
>>anyone?
> if (Auth::getAuth() == 'allowed_user') {
>     $sourceroots['foo'] = array(
>     ...
> }

Thanks for your help.

Regards,
  Christian Stadler
Christian Stadler | 1 Mar 11:34
Picon

Re: Permissions on sourceroots


offermann <at> thielpark.de schrieb:
> For group-permission:
> 
> require_once 'Horde/Group.php';
> $groups = &Group::singleton();
> if ($groups === false) { return; }
> if ($groups->userIsInGroup(Auth::getAuth(),'groupname')) {
> ...
> }

Thanks for your help. Thats, what I was looking for.

Regards,
  Christian Stadler
flipp | 11 Mar 21:13
Picon

Re: Potentially Dangerous URL

Gerard Samuel <chora <at> trini0.org> writes:

> 
> Jan Schneider wrote:
> 
> >Zitat von Gerard Samuel <chora <at> trini0.org>:
> >
> >  
> >
> >>I get a page with the message below, when a link,
> >>generated by chora points to itself.
> >>http://code.trini0.org/horde/chora/co.php/README.txt?rt=grains&r=13
> >>(The subsection about browsing the repository)
> >>Im using the latest versions of chora/horde.
> >>Is this anything to worry about, and is it something that can be disabled?
> >>    
> >>
> >
> >This is nothing to worry about, as you know the source of that link and 
> >can trust. It can't (and probably shouldn't) be disabled at the moment. 
> >It's a security feature.
> >
> 
> Thanks

actually it's quite easy to disable.
in go.php (hint: it's under $HORDEHOME/services/) just comment out the 4 line if
statement (after the comment about due diligence) and replace it with a dummy if
statement. i used "if ($crackmonkey) {"

(Continue reading)

Yves Bergeron | 15 Mar 14:55
Picon

URLs to Subversion repositories with Chora

Hi,

We have here over 20 different Subversion repositories.  Is it possible
to show the content of a specific repository with with any parameter in
the Chora URLs.  Maybe something like:
http://server:port/chora/index.php?repository=foo
Also, what are the all parameters we can specify in the Chora URLs ?

Thank you

« Le présent courriel peut contenir des renseignements confidentiels et ne s'adresse qu'au
destinataire dont le nom apparaît ci-dessus. Si ce courriel vous est parvenu par mégarde, veuillez le
supprimer et nous en aviser aussitôt. Merci. »
--

-- 
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
Jan Schneider | 15 Mar 15:57
Favicon
Gravatar

Re: URLs to Subversion repositories with Chora

Zitat von Yves Bergeron <yves.bergeron <at> shq.gouv.qc.ca>:

> We have here over 20 different Subversion repositories.  Is it possible
> to show the content of a specific repository with with any parameter in
> the Chora URLs.  Maybe something like:
> http://server:port/chora/index.php?repository=foo

Yes.

> Also, what are the all parameters we can specify in the Chora URLs ?

Simply browse a while through chora and you will easily see yourself.

Jan.

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

-- 
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

Yves Bergeron | 16 Mar 13:41
Picon

Rép. : Re: URLs to Subversion repositories with Chora

I noticed that the horde parameter is always present in the generated
URLs present on a page.  If I enter a URL without that parameter, the
login page is displayed even if I'm already logoned.  So, I suspect that
Chora (or Horde) doesn't use cookies to keep track of his session.  Is
that true ?

Yves

>>> Jan Schneider <jan <at> horde.org> 03/15/05 9:57 am >>>
Zitat von Yves Bergeron <yves.bergeron <at> shq.gouv.qc.ca>:

> We have here over 20 different Subversion repositories.  Is it
possible
> to show the content of a specific repository with with any parameter
in
> the Chora URLs.  Maybe something like:
> http://server:port/chora/index.php?repository=foo 

Yes.

> Also, what are the all parameters we can specify in the Chora URLs ?

Simply browse a while through chora and you will easily see yourself.

Jan.

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

-- 
(Continue reading)

Jan Schneider | 16 Mar 13:46
Favicon
Gravatar

Re: Rép. : Re: URLs to Subversion repositories with Chora

Zitat von Yves Bergeron <yves.bergeron <at> shq.gouv.qc.ca>:

> I noticed that the horde parameter is always present in the generated
> URLs present on a page.  If I enter a URL without that parameter, the
> login page is displayed even if I'm already logoned.  So, I suspect that
> Chora (or Horde) doesn't use cookies to keep track of his session.  Is
> that true ?

No. It uses cookies, if your browser accepts cookies.

>>>> Jan Schneider <jan <at> horde.org> 03/15/05 9:57 am >>>
> Zitat von Yves Bergeron <yves.bergeron <at> shq.gouv.qc.ca>:
>
>> We have here over 20 different Subversion repositories.  Is it
> possible
>> to show the content of a specific repository with with any parameter
> in
>> the Chora URLs.  Maybe something like:
>> http://server:port/chora/index.php?repository=foo
>
> Yes.
>
>> Also, what are the all parameters we can specify in the Chora URLs ?
>
> Simply browse a while through chora and you will easily see yourself.

Jan.

--

-- 
Do you need professional PHP or Horde consulting?
(Continue reading)

Yves Bergeron | 16 Mar 14:06
Picon

Rép. : URLs with Chora

Hi again,

These are the specs of our environment:
php 4.3.10Apache 2.0.52Subversion 1.1.3IE 6.0 and Firefox 1.0.1 (both
accepting cookies)Chora generates the Horde parameter with all URLS both
within IE and Firefox.

When I display http://server:port/horde/test.php, the session counter
for PHP sessions works.

So, what happens.  Is it caused by Apache 2 or by some parameters
within php.ini ?

Thank you

>>> Jan Schneider <jan <at> horde.org> 03/16/05 7:46 am >>>
Zitat von Yves Bergeron <yves.bergeron <at> shq.gouv.qc.ca>:

> I noticed that the horde parameter is always present in the
generated
> URLs present on a page.  If I enter a URL without that parameter,
the
> login page is displayed even if I'm already logoned.  So, I suspect
that
> Chora (or Horde) doesn't use cookies to keep track of his session. 
Is
> that true ?

No. It uses cookies, if your browser accepts cookies.

(Continue reading)

Yves Bergeron | 16 Mar 17:09
Picon

Tool used for svn diff

Hi,

What are the tool used to prepare diff in Chora for Subversion ?

Is it diff, rcsdiff, svn diff ?

I ask this question because my human readable diffs prepared with Chora
always show "- No Viewable Change -" even if there is.

I wonder if I put the correct "Paths and Locations" in the Version
Control Setup.  On that screen, which are the binaries used for a
Subversion repository ?

Also, If I use the "Diffs to version x" hyperlink, I get this message
Index:
BUS_PKB_0202_MAJ.pkb===================================================================/usr/bin/diff:
illegal option -- -usage: diff [-bitw] [-c | -e | -f | -h | -n | -u]
file1 file2       diff [-bitw] [-C number | -U number] file1 file2      
diff [-bitw] [-D string] file1 file2       diff [-bitw] [-c | -e | -f |
-h | -n | -u] [-l] [-r] [-s] [-S name] directory1 directory2svn:
'/usr/bin/diff' returned 

Thank you

« Le présent courriel peut contenir des renseignements confidentiels et ne s'adresse qu'au
destinataire dont le nom apparaît ci-dessus. Si ce courriel vous est parvenu par mégarde, veuillez le
supprimer et nous en aviser aussitôt. Merci. »
--

-- 
(Continue reading)

Chuck Hagenbuch | 16 Mar 17:19
Favicon
Gravatar

Re: Rép. : Re: URLs to Subversion repositories with Chora

Quoting Yves Bergeron <yves.bergeron <at> shq.gouv.qc.ca>:

> I noticed that the horde parameter is always present in the generated
> URLs present on a page.  If I enter a URL without that parameter, the
> login page is displayed even if I'm already logoned.  So, I suspect that
> Chora (or Horde) doesn't use cookies to keep track of his session.  Is
> that true ?

No.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams
--

-- 
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


Gmane