Revisions for chora/lib/Chora.php

Location: [ Horde ] / chora / lib / Chora.php View: Logs | Branches | Statistics
Search Revisions:
Show diffs between and
Show Differences shows diffs to the previous revision. If you select a revision by clicking its row, Show Differences will show the differences to the selected row.
Show Branch:
  Revision Date Author Log Message
1.102 (+2 -2 lines) 07/05/2008 10:51 PM Chuck Hagenbuch chuck

missing argument to Chora::fatal()

1.101 (+9 -5 lines) 06/29/2008 06:58 PM Chuck Hagenbuch chuck

Fix pretty urls - this whole block should have been under the check for
'rewrite', leaving the $arglist['f'] statement alone.

1.100 (+24 -1 lines) 06/20/2008 01:10 PM Michael M Slusarz slusarz

Add Chora::formatDate().

1.99 (+1 -27 lines) 06/20/2008 01:00 PM Michael M Slusarz slusarz

Whoops - didn't mean to commit this.

1.98 (+28 -2 lines) 06/20/2008 12:52 PM Michael M Slusarz slusarz

Revert 1.97:
http://cvs.horde.org/diff.php/chora/lib/Chora.php?r1=1.96&r2=1.97
Chuck - can you take a look at this?  When not using rewrite rules, without
the 'f' in the URL, $where in browse.php is always blank and so you can never
browse above the base level of the repository.

1.97 (+2 -2 lines) 06/16/2008 03:59 PM Chuck Hagenbuch chuck

Put filenames in the path for any script, not just browse.php, when using rewrite rules.

1.96 (+37 -1 lines) 06/03/2008 12:43 AM Michael M Slusarz slusarz

Bug: 6805
Don't show log entries when there is no straight-line path between revisions.

1.95 (+23 -1 lines) 05/29/2008 01:03 PM Michael M Slusarz slusarz

Add Chora::getBranch(). Another place we can use Chora::getTags() also.

1.94 (+25 -1 lines) 05/29/2008 01:31 AM Michael M Slusarz slusarz

Add Chora::getTags().

1.93 (+4 -4 lines) 01/02/2008 11:48 AM Chuck Hagenbuch chuck

Avoid using @ to silence define and isset errors.

1.92 (+4 -4 lines) 12/28/2007 11:09 AM Jan Schneider jan

Can as well label them the same.

1.91 (+12 -12 lines) 12/28/2007 11:00 AM Jan Schneider jan

Show either cvs graph or branch view, both are mostly the same.

1.90 (+27 -10 lines) 12/28/2007 10:58 AM Jan Schneider jan

wrap

1.89 (+5 -2 lines) 12/12/2007 04:32 PM Chuck Hagenbuch chuck

Pass username/password to VC backend if present in sourceroots.php
Bug: 5958
Submitted by: duck@obala.net

1.88 (+14 -10 lines) 08/04/2007 06:43 PM Chuck Hagenbuch chuck

[cjh] Use a dropdown list to show alternate code repositories
(greg_swift@aotx.uscourts.gov, Request #5600).

1.87 (+29 -0 lines) 04/19/2007 01:39 PM Jan Schneider jan

Fix forms not containing all required parameters.

1.72.6.7 FRAMEWORK_3 (+2 -2 lines) 02/22/2007 10:58 PM Matt Selsky selsky

Chora::fatal() only takes one argument in FW_3.

Tags: CHORA_2_0_2

1.72.6.6 FRAMEWORK_3 (+2 -2 lines) 02/22/2007 09:15 PM Matt Selsky selsky

Revert.  Chora::fatal() only takes one argument in FW_3.

1.72.6.5 FRAMEWORK_3 (+2 -2 lines) 02/22/2007 07:21 PM Jan Schneider jan

MFH: 1.86

1.86 (+1 -1 lines) 02/22/2007 07:04 PM Jan Schneider jan

Fix method call.
Bug: 5020

1.85 (+4 -3 lines) 01/10/2007 01:37 PM Jan Schneider jan

Still show the verbose messages.

1.84 (+28 -8 lines) 10/03/2006 04:32 PM Ben Chavet ben

Make sure we're not trying to initialize a repository that the current user
does not have access to.  Thus, avoiding a 403 error when there are other
repositories available.

1.83 (+2 -2 lines) 09/20/2006 09:17 PM Chuck Hagenbuch chuck

initialize() instead of init()

1.82 (+5 -1 lines) 09/20/2006 09:15 PM Chuck Hagenbuch chuck

Move the isRestricted() check into init() for scope reasons.

1.81 (+15 -44 lines) 06/23/2006 01:08 PM Chuck Hagenbuch chuck

- re-add ability to download diffs in various formats from the UI
- remove unneeded library functions Chora::showHiddens and Chora::differingVars

1.80 (+9 -8 lines) 03/04/2006 10:46 PM Chuck Hagenbuch chuck

[cjh] Show commit logs when hovering on the revision number in the
annotate view (robzilla@siklos.ca, Bug #3076).

Also compress/fix a bit of HTML, and fix a bug in the annotate view
striping (it wasn't alternating every author. Not sure why we were
using modulus 3 - odd).

1.79 (+7 -30 lines) 03/04/2006 06:25 PM Chuck Hagenbuch chuck

[cjh] Simplify codepaths by supporting only GET or mod_rewrite URLs.

1.78 (+15 -3 lines) 01/11/2006 08:50 PM Jan Schneider jan

Add permissions per repository.
Bug: 3186
Submitted by: ben@alkaloid.net

1.72.6.4 FRAMEWORK_3 (+2 -2 lines) 11/04/2005 03:07 PM Michael M Slusarz slusarz

MFH 1.77

1.77 (+1 -1 lines) 11/04/2005 03:05 PM Michael M Slusarz slusarz

Add some spacing around the location links.

1.72.6.3 FRAMEWORK_3 (+3 -2 lines) 10/11/2005 05:13 PM Jan Schneider jan

MFH: 1.76

Tags: CHORA_2_0_1

1.76 (+2 -1 lines) 10/11/2005 04:49 PM Jan Schneider jan

Reference

Bug: 2761
Submitted by: rob2 (at) siklos (dot) ca

1.72.6.2 FRAMEWORK_3 (+1 -3 lines) 07/02/2005 11:17 PM Matt Selsky selsky

MFH: Remove unneeded "@access public".

Tags: CHORA_2_0_1_RC1

1.75 (+1 -3 lines) 07/02/2005 11:17 PM Matt Selsky selsky

Remove unneeded "@access public".

1.74 (+9 -9 lines) 06/02/2005 08:07 AM Matt Selsky selsky

[mas] Change any output of <b> and <i> tags to <strong> and <em> for better
accessibility support.

1.72.6.1 FRAMEWORK_3 (+1 -2 lines) 04/21/2005 07:26 AM Matt Selsky selsky

Remove @version.

1.73 (+1 -2 lines) 04/19/2005 11:06 PM Matt Selsky selsky

Remove @version.

1.72 (+3 -4 lines) 11/23/2004 10:59 AM Chuck Hagenbuch chuck

Fix links back to the original (default) repository.

Tags: FRAMEWORK_3, CHORA_2_0, CHORA_2_0_RC3, CHORA_2_0_RC2

1.71 (+20 -10 lines) 11/14/2004 10:59 PM Chuck Hagenbuch chuck

Use new CSS menu.

Tags: CHORA_2_0_RC1

1.70 (+3 -3 lines) 10/18/2004 08:45 PM Chuck Hagenbuch chuck

Registry::getParam() -> Registry::get().

Tags: CHORA_2_0_BETA

1.69 (+5 -3 lines) 10/15/2004 07:05 AM Jan Schneider jan

Get rid off Text::toHTML().

1.68 (+2 -5 lines) 08/30/2004 04:34 PM Chuck Hagenbuch chuck

Apps no longer need to call Help::javascript() - and indeed they shouldn't,
since it no longer exists.

1.67 (+36 -28 lines) 05/28/2004 03:00 PM Chuck Hagenbuch chuck

Big cleanup commit.

- Try to remove the last vestiges of CVS specific-ness. cvs.php now points
to browse.php, "cvs" has been removed from UI strings, etc.

- Add mod_rewrite support for URLs so that you can have server/path/file,
with no script names in evidence anywhere, for nice and pretty URLs.

- A few fixes for SVN; with the latest VC package, I can now do at least
basic SVN repository browsing.

1.66 (+9 -9 lines) 05/25/2004 12:09 PM John Morrissey jwm

specify the sourceroot by its name (the key into $sourceroots) instead of by
the repo's location. this prevents the path from being exposed to outside
users, and also lets you expose parts of a large CVS repo with different
names, restrictions, etc.

1.65 (+7 -7 lines) 05/23/2004 02:52 PM Jan Schneider jan

Add access keys.

1.64 (+3 -2 lines) 04/16/2004 11:50 AM Jan Schneider jan

Use temp path as configured.

1.63 (+4 -3 lines) 04/16/2004 11:33 AM Chuck Hagenbuch chuck

Make sure we're doing error checking on VC:: return values.

1.62 (+55 -3 lines) 04/16/2004 10:44 AM Chuck Hagenbuch chuck

- clean up some spacing/formatting
- move readableTime() into Chora where it belongs.

1.61 (+9 -5 lines) 04/09/2004 11:40 PM Chuck Hagenbuch chuck

Fix requiring of trailing slashes, at least for CVS (not sure how to
handle this for SVN).

1.60 (+3 -3 lines) 04/07/2004 10:43 AM Chuck Hagenbuch chuck

No more HORDE_LIBS.

1.59 (+3 -3 lines) 02/11/2004 05:17 PM Chuck Hagenbuch chuck

move Menu.php to a framework package.

Tags: CHORA_2_0_ALPHA

1.58 (+4 -17 lines) 01/21/2004 08:00 PM Jan Schneider jan

Rename CVSLIB_SORT_* and CHORA_SORT_* constants to VC_SORT_* and move the definitions to the VS package.

1.57 (+9 -9 lines) 01/21/2004 07:51 PM Jan Schneider jan

CVSLIB_SORT_* -> CHORA_SORT_*

1.56 (+3 -3 lines) 01/18/2004 06:58 PM Jan Schneider jan

Show notifications only from the requested message stack.

1.55 (+3 -3 lines) 01/17/2004 05:57 PM Jan Schneider jan

All footers look the same, so why not use only one.

1.54 (+10 -7 lines) 01/11/2004 10:43 AM Jan Schneider jan

- Move common methods to VC:: base class.
- Add dependencies to package.xml.
- Make VC classes independent from global Chora configuration.
- Some cleanup.

1.53 (+7 -7 lines) 12/15/2003 11:34 AM Chuck Hagenbuch chuck

bunches of UI cleanup - fix broken table closing tag, etc.

1.52 (+8 -5 lines) 11/04/2003 09:45 PM Chuck Hagenbuch chuck

Lots of SVN fixes (Jason Rust <jrust@rustyparts.com>).

* Implements the annotate feature for svn
* Implements the patchset feature for svn.  Since patchsets are native
to svn this feature is always enabled for svn repositories.  In
addition, diffing all files of a patchset is also native to svn, so a
link shows up in svn repositories to show all diffs.
* Hides the branch history link for svn repositories since you can't
determine branches from the log history.
* cvsgraph doesn't support svn so that link is not shown in svn
repositories.
* Fixed a small typo in VC.php that was killing several pages

1.51 (+26 -36 lines) 10/14/2003 03:02 PM Chuck Hagenbuch chuck

[cjh] CVSLib and SVNLib are no longer part of Chora; they are part of the
new Horde VC:: package.

- lots of cleanups to use the VC:: classes or $VC methods instead of
hardcoded CVSLib references, etc.

1.50 (+6 -6 lines) 09/16/2003 07:04 PM Jan Schneider jan

Use the new Util:: class.

1.15.2.12 RELENG_1 (+3 -3 lines) 09/04/2003 09:14 PM Chuck Hagenbuch chuck

mfh: allow argument values of 0

Tags: CHORA_1_2_3, CHORA_1_2_2, CHORA_1_2_1, CHORA_1_2_1_RC2, CHORA_1_2_1_RC1

1.49 (+3 -3 lines) 09/02/2003 02:30 PM Chuck Hagenbuch chuck

missed a fatal() call conversion.

1.48 (+10 -23 lines) 08/28/2003 12:04 AM Chuck Hagenbuch chuck

- remove the id() functions; just check for PEAR_Errors.
- remove the associated constants
- minor cleanups that I hit along the way.

1.47 (+11 -28 lines) 08/27/2003 01:40 PM Chuck Hagenbuch chuck

- nuke a bunch more references inside classes to the global $VC object
... just use the global.

- nuke the redundant *_Error classes in favor of just using PEAR Error
objects everywhere.

1.46 (+3 -4 lines) 08/27/2003 10:08 AM Chuck Hagenbuch chuck

[cjh] Subversion repositories can now be specified as URLs, meaning non-local
repositories should work transparently

- also, a bunch of fixes for the refactoring that I did last night,
and lots of improvements in the Subversion support.

Submitted by: "Jay Freeman (saurik)" <saurik@saurik.com>

1.45 (+55 -39 lines) 08/27/2003 12:01 AM Chuck Hagenbuch chuck

[cjh] Chora isn't just CVS now. Initial commit of Subversion support
("Jay Freeman (saurik)" <saurik@saurik.com>).

- note that a). I don't have subversion so I haven't tested this, and
b). I mucked around with a bunch of stuff to start getting rid
of CVS-specific terminology/variable names, so bits may have
broken.

1.44 (+13 -9 lines) 07/03/2003 05:28 PM Chuck Hagenbuch chuck

phpdoc

1.43 (+7 -3 lines) 06/19/2003 02:59 PM Chuck Hagenbuch chuck

make sure PATH_INFO is there first.

1.42 (+3 -3 lines) 06/19/2003 02:57 PM Chuck Hagenbuch chuck

fix problem when PATH_INFO gets into PHP_SELF

1.41 (+6 -3 lines) 06/10/2003 11:09 AM Chuck Hagenbuch chuck

Fix PATH_INFO

Submitted by: John Morrissey <jwm@horde.net>

1.40 (+15 -2 lines) 06/08/2003 08:57 PM Chuck Hagenbuch chuck

[cjh] Add admin-defined regular expression/replacement patterns for linking
to bug-tracking or other systems.

1.39 (+5 -2 lines) 06/08/2003 07:08 PM Chuck Hagenbuch chuck

[cjh] Add support for cvsgraph - generates graphical representations of
file histories with links to each revision and diffs between
adjacent revisions.

1.38 (+19 -2 lines) 06/08/2003 05:57 PM Chuck Hagenbuch chuck

- generate different file view links in one place
- disable Patchsets link if cvsps isn't active

1.37 (+9 -27 lines) 06/08/2003 10:29 AM Chuck Hagenbuch chuck

- Clean up a bunch of code, style, etc.
- Make diffs without whitespace work again
- re-use Horde calls in Chora::url() - much simpler

1.36 (+3 -4 lines) 05/27/2003 03:00 PM Chuck Hagenbuch chuck

One more menu.php reference.

Submitted by: John Morrissey <jwm@horde.net>

1.35 (+14 -2 lines) 05/22/2003 05:48 PM Chuck Hagenbuch chuck

More menu.php nuking

1.34 (+5 -5 lines) 04/30/2003 09:49 AM Chuck Hagenbuch chuck

global $cvsroot, since we use it elsewhere

- minor style bits

1.33 (+5 -3 lines) 04/03/2003 10:02 AM Chuck Hagenbuch chuck

Fix remember_last_file behavior.

1.32 (+200 -128 lines) 03/04/2003 02:38 PM Chuck Hagenbuch chuck

[cjh] Finally get most setup code into functions in the Chora:: class.

- removed constants.php
- plenty of long-overdue cleanup
- 'login' is now a session variable so that it doesn't pollute the URL.
- UI update; no need for including version.php

1.15.2.11 RELENG_1 (+2 -2 lines) 12/22/2002 08:34 AM Jan Schneider jan

Silence htmlspecialchars() call with potential unsupported charsets.

Tags: CHORA_1_2, CHORA_1_2_RC3, CHORA_1_2_RC2

1.31 (+3 -3 lines) 12/18/2002 04:02 PM Chuck Hagenbuch chuck

REQUEST_URI and SCRIPT_NAME are not provided by all webservers. Use
PHP_SELF (in combination with QUERY_STRING if necessary) instead.

1.30 (+3 -3 lines) 12/16/2002 09:51 PM jon

Kill trailing whitespace.

1.15.2.10 RELENG_1 (+1 -1 lines) 10/06/2002 08:59 AM Jan Schneider jan

MFH: Missed 1.27

Tags: CHORA_1_2_RC1

1.15.2.9 RELENG_1 (+4 -4 lines) 10/06/2002 08:23 AM Jan Schneider jan

MFH: General style cleanup, speedup optimizations.

1.15.2.8 RELENG_1 (+19 -6 lines) 10/02/2002 12:53 PM Jan Schneider jan

MFH:
- have a prettier error page by using Horde::Notification
- if we get a 404/3 error, then reset the last_file preference
- check the stored CVSROOT in prefs and make sure it exists before
  using it

1.15.2.7 RELENG_1 (+19 -15 lines) 10/02/2002 11:18 AM Jan Schneider jan

MFH: Style

1.15.2.6 RELENG_1 (+3 -3 lines) 10/02/2002 11:02 AM Jan Schneider jan

MFH 1.29

1.29 (+3 -3 lines) 10/02/2002 11:02 AM Jan Schneider jan

Make sure that session field is generated in forms.

1.15.2.5 RELENG_1 (+3 -3 lines) 10/02/2002 07:12 AM Jan Schneider jan

MFH 1.24: SCRIPT_NAME -> REQUEST_URI.

1.15.2.4 RELENG_1 (+68 -28 lines) 09/26/2002 08:52 PM Jan Schneider jan

Add Chora::toHTML() (simplified Text::toHTML()).
MFH: Fix linebreaks in log messages. Make mailto: links work.

1.28 (+4 -4 lines) 09/25/2002 08:12 AM mikec

Tabs -> Spaces
Fix parse error in VFS/sql_file.php
Spacing of commas in function calls.

1.27 (+3 -3 lines) 09/13/2002 01:08 PM Chuck Hagenbuch chuck

- a bit of style cleanup (still a ton to do here)
- fix a typo that meant the Attic was _always_ parsed in directory views
- add much more, and much smarter, caching of cvs file objects.

1.26 (+19 -6 lines) 08/21/2002 12:04 AM avsm

- have a prettier error page by using Horde::Notification
- if we get a 404/3 error, then reset the last_file preference
- check the stored CVSROOT in prefs and make sure it exists before
  using it

Submitted by: Akom <lists@akom2.2y.net>

1.25 (+20 -16 lines) 08/14/2002 01:41 PM Chuck Hagenbuch chuck

Make image diffs work with PATH_INFO off.

1.24 (+3 -3 lines) 08/02/2002 12:32 PM Chuck Hagenbuch chuck

A few more SCRIPT_NAME -> REQUEST_URI.

1.23 (+16 -28 lines) 07/24/2002 06:32 AM Jan Schneider jan

Fix linebreaks in log messages.

1.15.2.3 RELENG_1 (+139 -4 lines) 06/23/2002 09:45 AM Jan Schneider jan

MFH:
* Use 'rb' with filesystem calls in case of windows.
* Show line numbers in the annotate view.
* Show links to view, annotate and download files in the annotate and view
  pages.
* Replace <?= with <?php echo to remove the short_open_tags requirement.
* Several bugfixes.
* Move some code from lib/base.php to lib/Chora.php.

1.22 (+138 -3 lines) 04/24/2002 02:38 AM Chuck Hagenbuch chuck

Clean up base.php by moving a number of things into Chora.php. lots
of cleanup can still happen here.

1.21 (+3 -3 lines) 04/15/2002 04:59 PM Jan Schneider jan

Next shot of superglobals patch. After MFH is completed I'll commit Horde,
IMP and Nag.

Submitted by: Nuno Loureiro <nuno@eth.pt>

1.15.2.2 RELENG_1 (+43 -8 lines) 03/20/2002 03:30 PM Chuck Hagenbuch chuck

MFH: lots of changes.

Tags: CHORA_1_1, CHORA_1_1_RC1

1.20 (+6 -2 lines) 02/28/2002 12:26 PM Jan Schneider jan

Make Chora work with disabled cookies and guests not allowed.

1.15.2.1 RELENG_1 (+3 -2 lines) 02/05/2002 12:40 PM avsm

mfh: avoid a cross-scripting vulnerability

Tags: CHORA_1_0

Only showing the 100 latest revisions. Show all revisions? (may take a while).