Commit Graph

2404 Commits (master)

Author SHA1 Message Date
jpaint 024ccc6da3 cgi/granny.cgi: CVS annotate a file, and color code it to show how old lines are;
red is newer, blue is older; contributed by Brian Lenahan (brianl@real.com)

various updates to bootstrap the sys.path madness by keeping the root path in the
file /etc/viewcvs/root; this is open to debate, but works for now

html-templates/querytemplate.html: HTML template used by query.cgi, this will change and/or
	be removed in the future as we figure out a sane/cool way to generate the HTML


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@57 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 06:23:37 +00:00
jpaint 36684bde60 administration program for CVSdb
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@56 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 00:43:46 +00:00
jpaint d08fb441d7 added loginfo handler for CVSdb updates
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@55 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 00:43:04 +00:00
jpaint ebe4f1cbeb adding CVSdb cgi
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@54 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 00:40:54 +00:00
jpaint 0f8b06c9e0 CVSdb library files
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@53 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 00:37:20 +00:00
gstein f707ad1d3c more items.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@52 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-19 22:29:33 +00:00
gstein 186b003a76 small patch to fix the popup windows
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@51 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-19 07:31:29 +00:00
gstein 621d08cb9f Zachary Bean <xach@mint.net> reported this.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@50 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-25 02:24:24 +00:00
gstein 8288be7f6f one more feature
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@49 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 12:12:23 +00:00
gstein 95e1ab3303 updates for the 0.4 release
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@48 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 11:16:41 +00:00
gstein 05ec3b535d rolling 0.4
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@46 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 11:09:14 +00:00
gstein 5e26bb149a updated installation instructions
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@45 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 11:08:25 +00:00
gstein 94a26cadd1 store this sucker into the CVS repository so others can see it.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@44 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 10:45:32 +00:00
gstein 22b7f9fcac add some docco to the file.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@43 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 10:45:07 +00:00
gstein 3c5f8ff0e9 tweak the config doc.
change the default mime types file.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@42 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 10:44:44 +00:00
gstein b9bf86058a process files, in a directory view, 100 at a time.
tweak to alltags definition: a list is returned instead of a dict. allows us
  to use alltags.update(symrev) for faster merging of a file's tags into
  the alltags dict.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@41 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 10:27:19 +00:00
gstein 3fcd99d50d patch from Ulrik Dickow <ukd@kampsax.dk> to deal with revisions of the form
X.Y.Z.0, which may occur through "commit -r X.Y.Z.0".


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@40 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 09:03:20 +00:00
gstein 2ca1c8b41b switch over to cfg.* variables rather than the mess o' globals
eliminate view_module()


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@39 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 08:58:39 +00:00
gstein 59ced64e13 add a missing <br> tag into the doc list.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@38 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 08:55:52 +00:00
gstein d25232f0e9 add a FAQ. pointer from Carter.D.Alvord@usa.alcatel.com.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@37 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 02:30:34 +00:00
gstein 89bb1bcef4 CVS root selection. Based on patch from Carter.D.Alvord@usa.alcatel.com.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@36 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 02:24:43 +00:00
gstein 16feeb9778 read the config data from the viewcvs.conf file now. note that the .cgi
script still specifies defaults; the .conf overrides those values. it is
  also possible to not use a .conf and just alter all the defaults.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@35 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-23 11:57:59 +00:00
gstein edaa77d018 oops. last minute change broke the thing.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@34 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-23 10:50:17 +00:00
gstein 867499fda8 first pass at a new configuration mechanism. this shifts all config data
into a global named 'cfg' and categorized by a few sub-objects. the cfg
  object is initialized with all the defaults. next pass will read in the
  viewcvs.conf file to override the defaults. also need to propagate the
  cfg.* usage throughout, rather than the globals. maybe clean up some
  naming in the process.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@33 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-23 10:47:17 +00:00
gstein 67c6042340 teeny optimization while I was looking at this code.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@32 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-21 11:08:03 +00:00
gstein c2bb58552c start propagating the new LogEntry objects around.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@31 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-17 03:41:35 +00:00
gstein 15bdf6df63 initial pass at log header and entry abstractions; this helps to group up
data for passing around and manipulating.
fix a typo.
fix an indentation error from the dirtable elimination.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@30 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-17 03:04:44 +00:00
gstein 6ba92b91ad remove the "dirtable" config option. adds a lot of complexity to the code,
and tables are simply Right And Proper anyhow.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@29 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-17 01:51:52 +00:00
gstein 0676636d07 support pre-1.5.2 versions of Python.
patch concept from Tamminen Eero <t150315@students.cc.tut.fi>. I've
  revised it for cleaner and more efficient use.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@28 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-17 01:19:12 +00:00
gstein 9d91a0e574 the forbidden_modules stuff wasn't working quite right. the Request now
extracts the CVS module referred to in the request.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@27 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-17 00:57:41 +00:00
gstein 98288899fa forgot to commit these changes. add more docco about ViewCVS.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@26 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-17 00:50:41 +00:00
gstein 3bf1ede685 minor typo
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@25 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-02-11 13:51:30 +00:00
gstein 12d81128ac roll 0.3
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@23 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-02-11 13:03:58 +00:00
gstein 68e9ac2f03 small tweak to the list of variables that need to change.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@22 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-02-11 13:03:41 +00:00
gstein 0a854774da update some internal configuration comments
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@21 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-02-11 13:02:29 +00:00
gstein 57fd0defe9 From Tim Cera: provide a mechanism to force line breaks at N characters.
Based on the hr_breakable configuration variable. Example patch provided
  by Tim, but a new implementation by Greg.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@20 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-02-11 12:48:17 +00:00
gstein 027f57379a Christophe Pelte suggested that we colorize/fontify Python programs using
Marc-Andre Lemburg's py2html code (and Just van Rossum's PyFontify). He
  provided an example patch. I implemented this change, instead, which
  gives us a framework for other colorizers. I also improved on the HTML
  escaping and URL/mailto rewriting that py2html doesn't do.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@19 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-02-11 12:24:53 +00:00
gstein 0b76013aba oops. more missing tags.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@18 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-02-08 13:55:41 +00:00
gstein 5a9909eb14 fix the closing <table> tag in the header.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@17 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-02-08 13:54:05 +00:00
gstein 5de2a7463f update header and footer text
make the script more robust against varying rcsdiff and rlog output formats


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@16 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-02-08 11:26:55 +00:00
gstein 4191cdf072 add access via ViewCVS. add 0.2 info.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@15 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-01-12 11:26:21 +00:00
gstein c9b73bfd39 revise query string handling: be explicit about when a question mark or an
ampersand is required.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@14 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-01-12 11:12:35 +00:00
gstein 5d42fca6c3 various updates, tweaks.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@13 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-01-11 09:21:48 +00:00
gstein 709229cd7c watch out for locked files. they alter the "revision" line.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@12 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-01-11 09:18:01 +00:00
gstein 0ad12e73f5 1) rename request.script_where to request.url and use it where possible
2) add recognition of unreadable CVS repository files


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@11 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-01-11 09:05:54 +00:00
gstein 61984c8d68 remove use of globals which were left in as hacks from the Perl conversion
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@10 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-01-05 13:04:53 +00:00
gstein 631ed2d2b6 add some doc.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@9 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-01-04 00:38:15 +00:00
gstein 72764202b5 it is possible that rev1 and rev2 might not get set. ensure they have a
suitable default. also a buglet: rev1 was used twice, rather than rev1, rev2.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@8 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-01-04 00:35:44 +00:00
gstein b945cbc98f add a description about what ViewCVS can do(!)
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@7 8cb11bc2-c004-0410-86c3-e597b4017df7
1999-12-03 11:53:19 +00:00
gstein cdb8cee82e various changes.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@6 8cb11bc2-c004-0410-86c3-e597b4017df7
1999-12-03 11:07:46 +00:00