Commit Graph

1053 Commits (2c0181d6253def8584edbd7cbd04d5c3ec81e011)

Author SHA1 Message Date
cmpilato c7e1eeb97d * tools/make-release
Fix the CVS root used, and remove the website before tarrin' up.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@967 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-26 06:36:30 +00:00
cmpilato aa7d64fb28 Add the PhotoShop file I used to create the title image. Note that the cloud
photo is a public domain image taken from:
  http://pdphoto.org/PictureDetail.php?mat=pdef&pg=5173


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@966 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-26 06:32:39 +00:00
cmpilato 98046b15f5 Hope I'm not stepping on any toes here, but I couldn't bear the site
of the ViewCVS web pages any longer.  This begins a journey of
organization and updating that has been long past due.  And hey, if
folks hate it -- it's under version control.

* website/contact.html
* website/download.html
* website/images/bg-grad.jpg
* website/images/title.jpg
* website/styles.css
  New files.

* website/contributing.html
* website/index.html
* website/license-1.html
* website/upgrading.html
* website/who.html
  Heavily modified files.

* website/images/chalk.jpg
* website/images/logo.png
  Removed.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@965 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-26 06:22:13 +00:00
cmpilato 1a76505beb Minor docco fix. Patch by Juanma Barranquero <lektu@mi.madritel.es>.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@964 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-26 02:09:09 +00:00
cmpilato e3abe288f6 Update mailing list information.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@963 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-25 17:46:27 +00:00
cmpilato b26f6c0e09 * viewcvs/lib/viewcvs.py
(view_log): Only show download hrefs for files, and make view hrefs
    for directories show the directory view.

* viewcvs/templates/include/branch.ezt
  Only display the view_href if it exists.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@962 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-20 16:27:04 +00:00
cmpilato 0540dd9c0a * lib/viewcvs.py
(view_log): Always expose the view_href and download_href.

* templates/log.ezt
* templates/log_table.ezt
  Lose the "if CVS" condition I added for some includes a while ago.

* templates/include/branch.ezt
  Always show bookmarkable links to HEAD/download.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@961 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-19 14:46:35 +00:00
cmpilato 6fbdc57c44 Fix issue #1035766.
* lib/viewcvs.py
  (_re_rewrite_url): Look for the HTML-encoded version of ampersands
    in URLs ("&amp;").


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@960 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-18 16:39:26 +00:00
cmpilato 4884f8f5c6 Address issue #1049046.
* lib/viewcvs.py
  (_re_rewrite_email): Allow plus signs in email addresses.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@959 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-18 16:03:44 +00:00
rey4 68ebc10d44 Minor fix in svndbadmin
* tools/svndbadmin
  (usage):
    fix call to os.path.basename()


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@958 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-16 03:08:04 +00:00
rey4 eaa2136cf6 Minor cleanups in loginfo script
* tools/loginfo-handler
  (HeuristicArgParse):
    fix spelling error in docstring

  (HeuristicArgParseDirectory, FindLongestDirectory)
    rename function

  (NextFile):
    fix return value

  (ProcessLoginfo):
    update inaccurate comment

  (module code):
    update inaccurate debug message


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@957 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-16 03:04:30 +00:00
rey4 325e79d4dc Minor cleanup in viewcvs module
* lib/viewcvs.py
  (view_query)
    shorten call to get_url


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@956 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-16 02:46:30 +00:00
rey4 5687f191f3 Minor cleanup in cvsdb module
* lib/cvsdb.py
  (Commit.SetBranch)
    shorten this code

  (CheckinDatabaseQuery.AddCommit, CheckinDatabaseQuery.SetCommitCB):
    remove unused callback functionality


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@955 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-16 02:40:10 +00:00
rey4 31410c3272 Minor cleanup in bincvs module
* lib/vclib/bincvs/__init__.py
  (_log_path)
    no need to deal with Attic paths here, they are filtered out in
    listdir


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@954 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-16 02:32:32 +00:00
rey4 173a8a7290 Get rid of rlog module, make CVSdb use bincvs instead.
* lib/rlog.py
    deleted

* lib/cvsdb.py
  (RLogDataToCommitList):
    removed

  (GetCommitListFromRCSFile):
    change to use vclib instead of rlog module

  (GetCommitListFromRCSFile, GetUnrecordedCommitList):
    update to accept vclib-style path_parts arguments

* lib/vclib/bincvs/__init__.py
  (BinCVSRepository.filelog):
    accept "cvs_pass_rev" option for passing -r arguments to rlog

  (_match_revs_tags):
    make this function work with an incomplete list of revisions
    instead of crashing. This is neccessary when an -r argument
    is passed to rlog.

  (_add_tag):
    make this function work when we need to create a tag with no
    revision object. We need this to create a HEAD tag when an -r
    argument is passed to rlog and we don't know what the HEAD
    revision is.

  (fetch_log):
    removed

* tools/cvsdbadmin
  (RebuildFile):
    removed, merged into UpdateFile

  (UpdateFile)
    accept new argument to reinsert all commits

  (RecurseRebuild):
    removed, merged into RecurseUpdate

  (RecurseUpdate):
    update to use vclib's listdir instead of os.listdir

  (CommandRebuild, CommandUpdate):
    removed, code moved into __main__ section

* tools/loginfo-handler
  (FileData, CommitFromFileData, GetUnrecordedCommitList):
    removed, these were just wrappers over the cvsdb interface

  (HeuristicArgParse, CvsNtArgParse)
    return tuples describing file data instead of file data objects

  (ProcessLoginfo):
    update to use cvsdb interface


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@953 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-16 02:23:23 +00:00
rey4 34b3f3e47a Fix file path issues in CVSdb on windows. Summary of changes:
- Stop converting directory and file paths to lower case with native
    slashes before storing them in the database. Instead store with
    preserved case and forward slashes.

  - Stop trying to clean up paths haphazardly all over the cvsdb module,
    instead expect paths to be normalized before they get passed to
    cvsdb.

* lib/cvsdb.py
  (Commit.SetRepository, Commit.SetDirectory, Commit.SetFile,
   CheckinDatabaseQuery.SetRepository,
   CheckinDatabaseQuery.SetDirectory):
    remove path cleanup code

  (RLogDataToCommitList)
    don't strip repository prefix because rlog module now does it

  (CleanRepository):
    new function

* lib/rlog.py
  (_get_co_file):
    change to return paths with forward slashes and without repository
    prefixes

  (GetRLogData):
    update call to _get_co_file

* tools/cvsdbadmin
  (UpdateFile, CommandUpdate, RebuildFile, CommandRebuild)
    remove calls to normcase here

  (module code):
    use CleanRepository function to clean up repository path

* tools/loginfo-handler
  (CleanDirectory):
    removed

  (HeuristicArgParse, CvsNtArgParse):
    don't call CleanDirectory or normcase here

  (HeuristicArgParseDirectory):
    remove stray print statement

  (module code):
    use cvsdb.CleanRepository function to clean up repository path

* tools/svndbadmin
  (module code):
    use cvsdb.CleanRepository function to clean up repository path

* lib/viewcvs.py
  (view_query):
    change to use forward slashes in directory names instead of native
    slashes

    use cvsdb.CleanRepository function to clean up repository paths

* lib/query.py
  (build_commit):
    change to handle forward slashes in directory paths instead of
    native slashes

  (run_query):
    use cvsdb.CleanRepository function to clean up repository path


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@952 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-16 00:47:42 +00:00
rey4 0547748716 Remove site-specific kludge from cvsdb (originally added by Jay Painter for
RealNetworks repositories)

* lib/cvsdb.py
  (CheckinDatabase.CreateSQLQueryString):
    remove code that excludes ".ver" files from all queries


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@951 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-14 02:07:07 +00:00
rey4 1095284f7f Fix case-sensitive path comparison in bincvs that causes problems on
windows when lowercase drive letters are used in cvs paths in
viewcvs.conf.

* lib/vclib/bincvs/__init__.py
  (_paths_eq):
    new function for comparing paths that works on case-insensitive
    filesystems

  (BinCVSRepository.openfile, _get_logs):
    use new path comparison function

  (_parse_co_header, _parse_log_header):
    stop cleaning up returned filenames, it's no longer neccessary
    with new path comparison function


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@950 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-14 02:00:34 +00:00
rey4 673b15f3aa Update windows README
* windows/README
  - add troubleshooting info for CreateProcess exception
  - consolidate information about old CVSNT bugs


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@949 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-14 01:48:30 +00:00
rey4 fb0a3cb754 Remove workaround for really old CVSNT bug in loginfo-handler
* tools/loginfo-handler
  (BrokenCvsNtArgParse):
    remove

  (global scope)
    no longer accept "brokencvsnt" argument


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@948 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-14 01:44:53 +00:00
cmpilato f570dd8bd6 Don't include the branch and view_tag templates for non-CVS log displays.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@947 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-13 18:19:14 +00:00
cmpilato d417cc000b * viewcvs/lib/viewcvs.py
(view_log): Dictate the 'where' and 'pathtype' values to the
    URL-generating function when making download links.  Patch by
    Stefan Haller <haller@ableton.com>.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@946 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-13 17:39:55 +00:00
rey4 fd665fd18e Swap sorting arrows in directory view following a discussion on the
dev list that ended at

http://mailman.lyra.org/pipermail/viewcvs-dev/2004-September/001769.html

* templates/docroot/images/ascending.png
* templates/docroot/images/descending.png
* templates/docroot/images/down.png
* templates/docroot/images/up.png
    rename ascending and descending images to down and up based on the
    direction of the arrows

* templates/directory.ezt
* templates/dir_alternate.ezt
    update to use new image names


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@945 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-09 02:59:27 +00:00
rey4 b0ebdbed63 Fix escaping of directory paths in query pages so searching within
directories works on windows.

* lib/cvsdb.py
  (EscapeLike):
    new function

* lib/viewcvs.py
  (view_query):
    escape directory paths before using them in LIKE comparisons


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@944 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-09 02:32:15 +00:00
rey4 32ad18a7ad Remove unused and undocumented 'filename' template variable from log
pages. It was was added in rev 1.158.

* lib/viewcvs.py
  (view_log):
    remove 'filename' template variable


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@943 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-09 01:40:58 +00:00
rey4 155c926b23 Update upgrading.html with information about some recently changed
template variables, also fix some existing entries in the file.

* website/upgrading.html
  (sortdir_up_href, sortdir_down_href, roots):
    add new documentation about these variables

  (roottype, rootname, pathtype, raw_diff):
    fix these entries up


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@942 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-09 01:17:17 +00:00
rey4 267d335899 Combine "Dead Files" and "Files Shown" counts in directory listing
* templates/include/dir_header.ezt


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@941 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-08 23:51:55 +00:00
rey4 162f650a9b Update windows README
* windows/README
    update CVSNT url
    add warning about using old versions of CVSNT


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@940 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-08 23:30:41 +00:00
rey4 0366e98834 Remove unused loginfo module
* lib/vclib/ccvs/loginfo.py
    deleted


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@939 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-08 23:08:27 +00:00
rey4 e0a60537f7 Tweak handling of MIME types in ViewCVS pages
- Don't pass "text/plain" as a MIME type to templates when the real
  type is unknown, pass None instead

- Load MIME types file once after reading the ViewCVS configuration
  instead of reloading at each request.

* lib/viewcvs.py
  (Request.run_viewcvs):
    set Request.mime_type member here

  (Request.setup_mime_type_info):
    removed

  (guess_mime, is_plain_text):
    new

  (is_text, is_viewable_image, view_checkout):
    change to cope with None MIME types, treating them like text

  (view_markup):
    use new is_plain_text function

  (view_directory, search_files):
    use new guess_mime function

  (view_log):
    make use of Request.mime_type member and the new is_plain_text
    function


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@938 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-08 22:35:43 +00:00
rey4 1f561d48eb Fix some silliness in link generating code
* lib/viewcvs.py
  (Request.get_link):
    where implies where != ''


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@937 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-08 21:02:26 +00:00
rey4 f8bf3f132f Fix time conversion bug that prevented queries from working on
Python 2.3 installations without mxDateTime.

Thanks to paul@times-interactive.com for bringing the bug and fix
to my attention on the users' list.

* lib/dbi.py
  (TicksFromDateTime):
    handle case where MySQLdb returns datetime objects


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@936 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-08 20:53:31 +00:00
rey4 55aa1e3d12 Update the documentation so it's no longer an impediment to a 1.0
release. There's still a lot of room for improvement, but there
should be no gaping holes or inaccuracies.

* INSTALL
    update old paths

    remove mention of svn_parent_path

    remove advice about trailing slashes in the Troubleshooting
    section. They're nice, but optional now that we don't use
    relative links.

* README
    add pointer to windows/README

* templates/docroot/help_logtable.html
    document the missing columns

* website/upgrading.html
    document the configuration options

    add a word of advice about upgrading with custom templates


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@935 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-08 17:57:14 +00:00
rey4 38e39154ac Update the list of developers
* website/who.html
    add James Henstridge and Lucas Bruand and list the various
    peoples' contributions


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@934 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-08 04:01:18 +00:00
rey4 ebba161285 Update the CHANGES file
* CHANGES
  (Version 1.0):
    add new features and bugfixes. I came up with the list by scanning
    the CVS logs since 0.9.2 for user-visible changes, so it should
    be pretty complete.

  (Version 0.9.2):
    correct release date


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@933 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-10-08 02:23:16 +00:00
rey4 50e1e87f71 Edit a comment in viewcvs.conf.dist
* viewcvs.conf.dist
  (docroot):
    edit comment


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@932 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-28 16:33:44 +00:00
rey4 f74b149949 Don't copy website on install
* viewcvs-install
  (TREE_LIST):
    remove website directory from list


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@931 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-28 16:30:22 +00:00
rey4 22965539ff Make the navigation bar easier to read
* templates/docroot/styles.css
  (.vc_navheader):
    switch to gray background because blue links on purple background
    are hard to read

* header.ezt
  (nav_path):
    make it bold


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@930 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-27 21:01:06 +00:00
rey4 b062a30d76 Simplify handling of roots in root_as_url mode.
* lib/viewcvs.py
  (Request.run_viewcvs):
    don't do blind redirects when we have a "root" parameter in
    root_as_url mode because it can lead to multiple redirects
    and redirects to invalid urls

    don't even try to interpret non-root_as_url url's in
    root_as_url mode when they don't specify an explicit
    root. It can't be done reliably and there's little
    value in it anyway


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@929 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-25 03:45:20 +00:00
rey4 38321990ae Get rid of unused "viewable" and "is_text" template variables on log
page. They weren't terribly useful or accurate.

* lib/viewcvs.py
  (Request.setup_mime_type_info):
    stop setting "default_viewable" member

  (view_auto):
    stop using request's "default_viewable" member, just compute value
    on the fly

  (view_log):
    stop setting "viewable" and "is_text" template variables

* website/upgrading.html
    update documentation


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@928 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-25 03:06:28 +00:00
rey4 c0300fcc2c Fix bug in clickable_path (from lib/viewcvs.py 1.167) that makes
navigation on markup, diff, and annotate pages a pain.

* lib/viewcvs.py
  (clickable_path):
    interpret leaf_is_link argument correctly


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@927 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-25 02:39:19 +00:00
rey4 7886133d91 Tweaks to code that generates links in ViewCVS pages. The only
externally visible difference is that in root_as_url mode,
links with "root" parameters no longer get a redundant path
component pointing at the current root.

* lib/viewcvs.py
  (_sticky_vars):
    don't make root a sticky var, it gets special treatment anyway
    and having it sticky just makes things more complicated

  (Request.get_link):
    remove redundant and never-used rootname argument

    make logic that suppresses sticky variables on checkout and
    tarball links more explicit

    change code for merging sticky variables to operate on the
    dictionary of parameters instead of building a new dictionary

    make code that handles the "root" parameter generate minimal
    URLs in all circumstances

  (Request.get_options):
    removed, logic moved into Request.get_link

  (Request.sticky_vars):
    new method that returns a dictionary of stick variables

  (view_annotate, view_cvsgraph):
    call Request.sticky_vars instead of Request.get_options


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@926 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-25 02:23:27 +00:00
rey4 24041aeb9a Use new-style viewcvs links in CvsGraph images
* cvsgraph.conf.dist
    update path strings


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@925 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-25 00:55:30 +00:00
rey4 502873ecc0 Bugfix in query page, stop using old "icons" config variable
* lib/query.py
  (main)
     stop trying to set "icons" template variable


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@924 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-25 00:32:01 +00:00
rey4 e80dfb1aa9 Now that we're using our own icons instead of the icons provided by Apache,
we can get rid of the alternative icons we provided for the standalone web
server and IIS. We can also get rid of the "icons" configuration option.

* lib/apache_icons.py
* tools/bin2inline_py.py
    removed, icons for the standalone server

* windows/icons/apache_pb.gif
* windows/icons/small/back.gif
* windows/icons/small/dir.gif
* windows/icons/small/text.gif
    removed, icons for IIS

* templates/include/footer.ezt
    point "Powered by Apache" image at /icons/apache_pb.gif instead of
    [icons]/apache_pb.gif

* standalone.py
  (apache_icons, icons_last_modified):
     removed

  (ViewCVS_Handler.do_GET):
    remove handling of /icons/ paths

  (serve):
    stop setting options.icons config value

* viewcvs.conf.dist
  (icons):
    removed

* lib/config.py
  (Config.set_defaults):
    stop setting default options.icons config value

* lib/viewcvs.py
  (common_template_data):
    don't set "icons" template variable

* windows/README
  (ICONS FOR IIS):
    removed

  (DOCROOT OPTIMIZATION):
    new section about the docroot parameter

* website/upgrading.html
    remove documentation for "icons" template variable, update
    documentation for "docroot"


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@923 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-25 00:00:31 +00:00
jhenstridge 0e9248f2a7 Remove the moved files to finish off the reorganisation.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@922 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-22 06:40:53 +00:00
jhenstridge d027efa883 Copy online documentation, stylesheet and required images to
templates/docroot/

* templates/docroot/help_*.html, templates/docroot/styles.css: copied
  from website/
* templates/docroot/images/*: copied from website/images/ or from Apache.
  fix up the transparency on some of the PNGs (just 1-bit transparency
  though, so they work with IE).
* lib/viewcvs.py (view_doc): update to the new location for documentation.
  We can use the same location in the "installed" and "uninstalled" modes.
* viewcvs.conf.dist: update the comment about the docroot config value.
* templates/*.ezt: update for new icon locations.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@921 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-22 06:22:42 +00:00
cmpilato 3c236331e1 Some error-related cleanups.
* viewcvs/lib/viewcvs.py
  Update all uses of "ViewcvsException" to "ViewCVSException".
  (_RCSDIFF_IS_BINARY): Make this value match the one used in templates.
  (human_readable_diff): If rcsdiff comes back with the wrong version
    information, raise an exception that error.ezt can handle.  Also,
    simplify the handling of rcsdiff_eflag.
  (download_tarball, view_cvsgraph_image, view_cvsgraph_image): Raise
    403 Forbidden's for disable features.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@920 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-14 18:16:58 +00:00
jhenstridge b68ec0fda5 Fix some validity errors on the query_form.ezt template.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@919 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-14 08:56:18 +00:00
jhenstridge 7cce726069 Fix up validity errors due to non-escaped ampersands in URLs.
* lib/viewcvs.py: add an optional escape parameter to the get_url()
   method, that will entity escape the URL.
   Pass escape=1 to each call to get_url() that is used to construct a
   URL for display in a template.
 * lib/blame.py: fix up a small entity escaping problem here too.
 * templates/revision.ezt: fix up a few HTML validity errors in this
   template that were a lot more obvious after clearing up the other
   errors.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@918 8cb11bc2-c004-0410-86c3-e597b4017df7
2004-09-14 08:49:32 +00:00