stuart hodgkinson | 2 Feb 11:14
Picon

logout button not showing (need to add maybe?)

Hi guys

I've built chora into my horde backbone which is currently running IMP / 
Turba and Kronolith. However becuase I'm now intergrating these elements 
into another site I'm wanting to access each component seperatley and NOT go 
through the horde front section which carries the little bottom panel with 
the modules on including the log out button.

Now Imp works fine :D and it carries the logout button on the TOP panel, so 
I can log in and log out of IMP no worries.

But when I come to use Chora all that is available to me is the CVS and help 
buttons nothing else, thers no extra buttons there for me so I can't log out 
unless I step BACK to horde by mangling my web link and log out on the 
bottom panel :( is there a way that I can Add the logout button to the top 
panel where CVS and Help are. I've had a breif look at the code but I can't 
see it so I thought to save time I'd just ask

Help :D

_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. 
http://www.msn.co.uk/internetaccess

--

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

(Continue reading)

Favicon

Chora check-in capability

I have added functionality in Chora which allows a user to check-in files.  I have also added the capability
to download a zip file containing the latest revisions of the source.  I found the functionality to be very
useful and would like to share it with the group.  

I had to modify/add the following files:
framework/vc/vc/cvs.php - Filter out locking information in checkout text.  Added directory zip function.
horde/chora/cvs.php - Add links to check-in new files or download repository.
horde/chora/locks.php - Script that locks and unlocks a CVS/RCS repository file.
horde/chora/download_dir.php - Script that recursively checks-out and compresses files for the
current directory.
horde/chora/ci.php - Displays dialogue box for data entry of new file information or updates to existing files.
horde/chora/lib/ciLib.php - Library to support ci.php.  Also contains functions to add and check
permissions for a specific repository directory (or file).
horde/chora/lib/zipfile.inc - Library to support compression.

I used permission / category classes to support user permissions with respect to location privileges.  I
added two functions, addLocationPerms and getLocationPerms to set and check whether a user has
_PERMS_EDIT access to a specific file or directory.  Syntax is as follows:

addLocationPerms(_PERMS_EDIT, 'ExampleRep', 'Dir', 'username');
- Gives a user ('username') check-in capability of the 'Dir' directory and all sub-directories and files
in the 'ExampleRep' repository.

getLocationPerms('ExampleRep', 'Dir/file', 'username')
- Returns the permissions for the given user ('username') at the location 'Dir/file' in the repository 'ExampleRep'.

If interested, I can pass the modified/added files to the group so it can be torn apart (if necessary) and
improved!  Just let me know where to send them.

Regards,
(Continue reading)

Chuck Hagenbuch | 4 Feb 17:11
Favicon
Gravatar

Re: Chora check-in capability

Quoting "Schwentner, Jeffrey" <jeffrey.schwentner <at> lmco.com>:

> If interested, I can pass the modified/added files to the group so it 
> can be torn apart (if necessary) and improved!  Just let me know 
> where to send them.

Definitely interested - send the code either here or to dev <at> lists.horde.org.
Thanks!

-chuck

--
Charles Hagenbuch, <chuck <at> horde.org>
"Here, I brought some cole slaw. It's made from peeeooople! Just kidding."
--

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

Eric Rostetter | 4 Feb 21:43
Picon

Re: Chora check-in capability

Quoting "Schwentner, Jeffrey" <jeffrey.schwentner <at> lmco.com>:

> I have added functionality in Chora which allows a user to check-in files.  I
> have also added the capability to download a zip file containing the latest
> revisions of the source.  I found the functionality to be very useful and
> would like to share it with the group.

It sounds wonderful!  I'd love to have that kind of functionality in chora.

> If interested, I can pass the modified/added files to the group so it can be
> torn apart (if necessary) and improved!  Just let me know where to send them.

My vote is yes, though it may not count for much since I won't have any
time to review it.  But I'd love to see such functionality in chora...

> Regards,
>
> Jeff Schwentner
> > Lockheed Martin Simulation, Training & Support
> email: jeffrey.schwentner <at> lmco.com

--
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!
--

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

GPHemsley | 4 Feb 23:20
Picon
Favicon

Support for Windows Usernames

I'd sent this sometime last week, but I got no response at all.... Maybe it 
was because of the forwarding and such, but I don't know. Original message 
follows:

----------------------------------------------------------------------------

As you may or may not know, CVS usernames on Windows platforms take the form 
of the current user (at least, some of them do). If the Windows username has a 
space in it, this causes problems with Chora, in regards to the regexp to 
determine all of the file/revision information.

I am aware of the fact that the files mentioned are no longer included in the 
latest CVS version, but I could not find the place they were moved to, so I 
just used the latest stable download. I am attaching a patch that was created 
on mingw32 using 'diff -u', but has the path names from my computer in it.

Gordon Hemsley
--- C:\Documents and Settings\Gordon Hemsley\Local
Settings\Temp\chora-1.2\lib\CVSLib\Log.php	Mon Dec 16 20:42:27 2002
+++ D:\Program Files\Apache Group\Apache\htdocs\horde\chora\lib\CVSLib\Log.php	Thu Jan 29
21:49:59 2004
@@ -44,7 +44,7 @@
             /* Found revision and filename, now looking for date */
             case CVSLIB_LOG_DATE:
                 $line = array_shift($raw);
-                if
(preg_match("|^date:\s+(\d+)[-/](\d+)[-/](\d+)\s+(\d+):(\d+):(\d+).*?;\s+author:\s+(\S+);\s+state:\s+(\S+);(\s+lines:\s+([0-9\s+-]+))?|",
$line, $parts)) {
(Continue reading)

Jon Parise | 5 Feb 05:00
Favicon

Re: Support for Windows Usernames

On Wed, Feb 04, 2004 at 05:20:51PM -0500, GPHemsley <at> aol.com wrote:

> I am aware of the fact that the files mentioned are no longer included in the 
> latest CVS version, but I could not find the place they were moved to, so I 
> just used the latest stable download. I am attaching a patch that was created 
> on mingw32 using 'diff -u', but has the path names from my computer in it.

I don't have time to review the patch itself right now, but I can
point you at the new location of these files:

    http://cvsweb.horde.org/cvs.php/framework/VC/

Also, I think it would be swell if you could provide some sort of
brief unit test that verifies that the function you modified now
accepts the full range of expected username formats.

-- 
Jon Parise (jon <at> horde.org) :: The Horde Project (http://horde.org/)
--

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

Mark Gardner | 5 Feb 16:38

RE: Chora check-in capability


I would love a copy of the files..... even if they don't make it in the
main tree.  

Mark Gardner
markg <at> byu.edu
-----Original Message-----
From: chora-bounces <at> lists.horde.org
[mailto:chora-bounces <at> lists.horde.org] On Behalf Of Eric Rostetter
Sent: Wednesday, February 04, 2004 1:43 PM
To: chora <at> lists.horde.org
Subject: Re: [chora] Chora check-in capability

Quoting "Schwentner, Jeffrey" <jeffrey.schwentner <at> lmco.com>:

> I have added functionality in Chora which allows a user to check-in
files.  I
> have also added the capability to download a zip file containing the
latest
> revisions of the source.  I found the functionality to be very useful
and
> would like to share it with the group.

It sounds wonderful!  I'd love to have that kind of functionality in
chora.

> If interested, I can pass the modified/added files to the group so it
can be
> torn apart (if necessary) and improved!  Just let me know where to
send them.
(Continue reading)

Favicon

RE: Chora check-in capability

I have posted a zip containing instructions and all needed source.  I have also added an example to add
permissions for a user at a given location (with an example screen-shot).

Download the zip from the following link: www.gusseology.com/jeff/check-in.zip

Just a quick warning:  The source I started with was from mid to late December.  I am not up-to-date with
changes that have occurred since then.  Let me know if there are any question regarding any of the added functionality.

I hope this is useful,

Jeff Schwentner
Lockheed Martin Simulation, Training & Support
email: jeffrey.schwentner <at> lmco.com

-----Original Message-----
From: chora-bounces <at> lists.horde.org
[mailto:chora-bounces <at> lists.horde.org]On Behalf Of Chuck Hagenbuch
Sent: Wednesday, February 04, 2004 11:12 AM
To: chora <at> lists.horde.org
Subject: Re: [chora] Chora check-in capability

Quoting "Schwentner, Jeffrey" <jeffrey.schwentner <at> lmco.com>:

> If interested, I can pass the modified/added files to the group so it 
> can be torn apart (if necessary) and improved!  Just let me know 
> where to send them.

Definitely interested - send the code either here or to dev <at> lists.horde.org.
Thanks!

(Continue reading)

Favicon

RE: Chora check-in capability

I have attached a zip containing instructions and all needed source.  I have also added an example to add
permissions for a user at a given location (with an example screen-shot).

Just a quick warning:  The source I started with was from mid to late December.  I am not up-to-date with
changes that have occurred since then.  Let me know if there are any question regarding any of the added functionality.

I hope this is useful,

Jeff Schwentner
Lockheed Martin Simulation, Training & Support
email: jeffrey.schwentner <at> lmco.com

-----Original Message-----
From: chora-bounces <at> lists.horde.org
[mailto:chora-bounces <at> lists.horde.org]On Behalf Of Chuck Hagenbuch
Sent: Wednesday, February 04, 2004 11:12 AM
To: chora <at> lists.horde.org
Subject: Re: [chora] Chora check-in capability

Quoting "Schwentner, Jeffrey" <jeffrey.schwentner <at> lmco.com>:

> If interested, I can pass the modified/added files to the group so it 
> can be torn apart (if necessary) and improved!  Just let me know 
> where to send them.

Definitely interested - send the code either here or to dev <at> lists.horde.org.
Thanks!

-chuck

(Continue reading)

Chuck Hagenbuch | 5 Feb 18:13
Favicon
Gravatar

RE: Chora check-in capability

Quoting "Schwentner, Jeffrey" <jeffrey.schwentner <at> lmco.com>:

> I have posted a zip containing instructions and all needed source.  I 
> have also added an example to add permissions for a user at a given 
> location (with an example screen-shot).
>
> Download the zip from the following link: 
> www.gusseology.com/jeff/check-in.zip
>
> Just a quick warning:  The source I started with was from mid to late 
> December.  I am not up-to-date with changes that have occurred since 
> then.  Let me know if there are any question regarding any of the 
> added functionality.

Great! I've downloaded this and unless someone beats me to it, I'll work on
integrating it into the current CVS. Thanks!

-chuck

--
Charles Hagenbuch, <chuck <at> horde.org>
"Here, I brought some cole slaw. It's made from peeeooople! Just kidding."
--

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