Interchange

CVS log for interchange/lib/Vend/Glimpse.pm

[BACK] Up to [Local Repository] / interchange / lib / Vend

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 2.16: download - view: text, markup, annotated - select for diffs
Thu Aug 9 13:40:53 2007 UTC (17 months ago) by pajamian
Branches: MAIN
CVS tags: STABLE_5_6-root, STABLE_5_6-branch, REL_5_7_1, REL_5_6_1, REL_5_5_3, REL_5_5_2, REL_5_5_1, HEAD, DEB_5_6_1_2, DEB_5_5_1_1_1, DEB_5_5_1
Diff to: previous 2.15: preferred, colored
Changes since revision 2.15: +3 -3 lines
* Updated copyright headers to 2007 (closes bug #102)

* Added GPL and copyright headers to a few files that were missing them.

Revision 2.14.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 30 12:15:27 2007 UTC (21 months, 1 week ago) by pajamian
Branches: STABLE_5_4-branch
CVS tags: REL_5_4_3
Diff to: previous 2.14: preferred, colored
Changes since revision 2.14: +4 -4 lines
New Free Software Foundation Address in headers of various files

Revision 2.15: download - view: text, markup, annotated - select for diffs
Fri Mar 30 11:39:45 2007 UTC (21 months, 1 week ago) by pajamian
Branches: MAIN
Diff to: previous 2.14: preferred, colored
Changes since revision 2.14: +4 -4 lines
New Free Software Foundation Address in headers of various files

Revision 2.14: download - view: text, markup, annotated - select for diffs
Tue Nov 8 18:14:45 2005 UTC (3 years, 2 months ago) by jon
Branches: MAIN
CVS tags: STABLE_5_4-root, REL_5_4_2, REL_5_4_1, REL_5_4_0, REL_5_3_3, REL_5_3_2
Branch point for: STABLE_5_4-branch
Diff to: previous 2.13: preferred, colored
Changes since revision 2.13: +3 -3 lines
Big copyright and version number update to prepare for 5.3.2 release.

Revision 2.13: download - view: text, markup, annotated - select for diffs
Wed Aug 3 19:33:39 2005 UTC (3 years, 5 months ago) by jon
Branches: MAIN
CVS tags: DEB_5_3_0_20051028_1, DEB_5_3_0_20051004_1
Diff to: previous 2.12: preferred, colored
Changes since revision 2.12: +16 -19 lines
Remove some duplicate glob assignments for subroutines in other modules.
To do this easily, I did "expand -t4" and "LC_ALL=C sort -u".

Revision 2.12: download - view: text, markup, annotated - select for diffs
Sat Aug 21 22:47:23 2004 UTC (4 years, 4 months ago) by jon
Branches: MAIN
Diff to: previous 2.11: preferred, colored
Changes since revision 2.11: +3 -3 lines
Fix bug that caused mv_substring_match never to work. Glimpse only allows
setting substring or full word matches per search, not per word, so if any
word is flagged as a substring match, the whole search is. Otherwise, it's
a full word match.

Bug fixed and patch provided by Ethan Rowe <ethan@endpoint.com>. Thanks!

Revision 2.11: download - view: text, markup, annotated - select for diffs
Mon Aug 9 18:00:43 2004 UTC (4 years, 5 months ago) by jon
Branches: MAIN
Diff to: previous 2.10: preferred, colored
Changes since revision 2.10: +17 -2 lines
Implement mv_hide_field search parameter and add Glimpse support for it
and the HIDE_FIELD database option.

Revision 2.10: download - view: text, markup, annotated - select for diffs
Fri Apr 9 19:39:55 2004 UTC (4 years, 9 months ago) by jon
Branches: MAIN
Diff to: previous 2.9: preferred, colored
Changes since revision 2.9: +7 -4 lines
Fix broken Glimpse module:

(1) Call to allowed_file() failed because Vend::File wasn't imported.

(2) Call to get_return() had wrong option and returned a ref.

And only return hash when explicitly requested, as with Vend::TextSearch.

Revision 2.9: download - view: text, markup, annotated - select for diffs
Wed Jun 18 17:34:44 2003 UTC (5 years, 6 months ago) by jon
Branches: MAIN
CVS tags: STABLE_5_2-root, STABLE_5_2-branch, STABLE_5_0-root, STABLE_5_0-branch, REL_5_2_1, REL_5_2_0, REL_5_1_1, REL_5_1_0, REL_5_0_2, REL_5_0_1, REL_5_0_0_RC2, REL_5_0_0_RC1, REL_5_0_0, REL_4_9_9, REL_4_9_8, DEB_5_2_1_1, DEB_5_0_0_2, DEB_4_9_8_20031014_1, DEB_4_9_8_20031010_1, DEB_4_9_8_20030911_1, DEB_4_9_8_20030706_1, DEB_4_9_8_2
Diff to: previous 2.8: preferred, colored
Changes since revision 2.8: +4 -3 lines
The great copyright, email address, URL, and version update.

Revision 2.8: download - view: text, markup, annotated - select for diffs
Tue Apr 1 04:12:32 2003 UTC (5 years, 9 months ago) by mheins
Branches: MAIN
Diff to: previous 2.7: preferred, colored
Changes since revision 2.7: +4 -2 lines

* Add new Vend::File module with minimal functions.

* Relocate following routines (and their subsidiaries) from Vend::Util:

	canonpath
	catdir
	catfile
	exists_filename
	file_modification_time
	file_name_is_absolute
	get_filename
	lockfile
	path
	readfile
	readfile_db
	set_lock_type
	unlockfile
	writefile

  Added stubs so that package-based calls to those routines will not
  break software.

* Added CatalogUser directive that allows setting in interchange.cfg
  of allowed username that is used for access to absolute-path names.

  	CatalogUser  foundation  joe
  	CatalogUser  reports     jane

  This sets the user for allowed_file() for further read/write checks
  based on username.

* Created allowed_file() routine and replaced all current inline checks
  for NoAbsolute with call to that routine. It behaves as:

  NoAbsolute is No: all files are accessible, always

  Allowed for read/write:
  	Path name is relative with no ..
  	Path name is absolute but in the catalog directory
  	Path name is absolute but in a TemplateDir

  Allowed for read:
	CatalogUser set to a valid username and file is readable by that user
	CatalogUser set to a valid username and file is readable by a group
	 containing that user

  Allowed for write:
	CatalogUser set to a valid username and file is writable by that user
	CatalogUser set to a valid username and file is writable by a group
	 containing that user

* Changed display_special_page so that special page entries with ../
  will not break things.

* TODO:

	-- Code read for open() calls.
	-- Code read for chmod() calls.
	-- Code read for unlink() calls.

* Passes all regression tests; takes an order on foundation; runs UI including
  file navigator.

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:21:27 2003 UTC (5 years, 11 months ago) by racke
Branches: LINUXIA
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +72 -72 lines
updated LINUXIA branch to 4.9 sources in order to use it as testbed again

Revision 2.0.2.3: download - view: text, markup, annotated - select for diffs
Tue Nov 26 03:21:10 2002 UTC (6 years, 1 month ago) by jon
Branches: STABLE_4_8-branch
CVS tags: REL_4_8_9, REL_4_8_8, REL_4_8_7
Diff to: previous 2.0.2.2: preferred, colored; branchpoint 2.0: preferred, colored
Changes since revision 2.0.2.2: +4 -3 lines
Sweeping update of Akopia/Red Hat references, to prepare for 4.8 release
with current Interchange URLs and contact information.

Revision 2.0.2.2: download - view: text, markup, annotated - select for diffs
Sun Sep 1 23:21:07 2002 UTC (6 years, 4 months ago) by mheins
Branches: STABLE_4_8-branch
CVS tags: DEB_4_8_6_20021108_1
Diff to: previous 2.0.2.1: preferred, colored; branchpoint 2.0: preferred, colored
Changes since revision 2.0.2.1: +13 -6 lines

* Remove min_string test from Search.pm, where it never really was used
  or called due to mv_min_string default being 0.

* Place mv_min_string check back in Glimpse where it was intended in the first
  place.

* Resolves Bugzilla #255 reported by dst@vernet.gr (Dimitris Tsamitros).

Revision 2.7: download - view: text, markup, annotated - select for diffs
Sun Sep 1 23:19:51 2002 UTC (6 years, 4 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_6, REL_4_9_5, REL_4_9_4
Diff to: previous 2.6: preferred, colored
Changes since revision 2.6: +15 -5 lines
* Remove min_string test from Search.pm, where it never really was used
  or called due to mv_min_string default being 0.

* Place mv_min_string check back in Glimpse where it was intended in the first
  place.

* Resolves Bugzilla #255.

Revision 2.6: download - view: text, markup, annotated - select for diffs
Mon Jul 15 13:41:12 2002 UTC (6 years, 5 months ago) by mheins
Branches: MAIN
CVS tags: REL_4_9_2, REL_4_9_1
Diff to: previous 2.5: preferred, colored
Changes since revision 2.5: +2 -10 lines
* Get rid of mv_range_look check now that it will be deprecated and removed
  from docs.

Revision 2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 01:20:10 2002 UTC (6 years, 6 months ago) by jon
Branches: MAIN
Diff to: previous 2.4: preferred, colored
Changes since revision 2.4: +3 -3 lines
Add option to disable matchlimit entirely, with ml=all or ml=none.
Allow default of 50 to be changed in catalog variable MV_DEFAULT_MATCHLIMIT.

Revision 2.4: download - view: text, markup, annotated - select for diffs
Mon Jun 17 22:24:07 2002 UTC (6 years, 6 months ago) by jon
Branches: MAIN
Diff to: previous 2.3: preferred, colored
Changes since revision 2.3: +3 -3 lines
Big copyright date update. This will be the last time that Red Hat
copyright notices get updated en masse, since the bulk of new code will
very likely come from non-Red Hat employees.

Revision 2.0.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 24 05:07:01 2002 UTC (6 years, 11 months ago) by jon
Branches: STABLE_4_8-branch
CVS tags: STRONGHOLD_4_8_4_approx, REL_4_8_6, REL_4_8_5, REL_4_8_4, DEB_4_8_5_20020527_1, DEB_4_8_3_20020306_1
Diff to: previous 2.0: preferred, colored
Changes since revision 2.0: +3 -3 lines
Update version number and copyright year, to prepare for the eventual
day when we release version 4.8.4.

Revision 2.3: download - view: text, markup, annotated - select for diffs
Sat Dec 29 19:49:33 2001 UTC (7 years ago) by mheins
Branches: MAIN
Diff to: previous 2.2: preferred, colored
Changes since revision 2.2: +8 -8 lines
* Add new MIRROR parameter for databases. This allows creation of a
  DBM or Memory mirror.

  Sequence is:

	1. Table is always imported at config time.
	2. Table is only imported once.
	3. Text file is not required, but should be set so export
	   can work properly and so there is a placeholder.

  A complete configuration is:

	  Database  products_mem  products_mem.txt  TAB
	  Database  products_mem  MIRROR  products
	  Database  products_mem  MEMORY  1

  MIRROR name is not set in stone yet, probably not apropos
  enough; suggestions are welcome.

  Benchmarks for 1000 separate (i.e. tag_data, no caching)
  accesses (repeated tries show these are representative):

	Doing products_mem:
	Class=MEMORY DSN=
	Data returned 247 bytes
	TIME=0.200

	Doing products:
	Class=DBI DSN=dbi:mysql:test_mfound
	Data returned 247 bytes
	TIME=0.670

	Doing alias_mem:
	Class=MEMORY DSN=
	Data returned 9 bytes
	TIME=0.180

	Doing alias:
	Class=DBI DSN=dbi:Pg:dbname=wikicms
	Data returned 9 bytes
	TIME=0.700

	Doing wiki_mem:
	Class=GDBM DSN=
	Data returned 400 bytes
	TIME=0.300

	Doing wiki_mem2:
	Class=MEMORY DSN=
	Data returned 400 bytes
	TIME=0.180

	Doing wiki:
	Class=DBI DSN=dbi:Pg:dbname=wikicms
	Data returned 400 bytes
	TIME=0.710

 Gains should be even bigger as no database connections are needed
 on a busy system.

Revision 2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 18:34:02 2001 UTC (7 years, 1 month ago) by mheins
Branches: MAIN
Diff to: previous 2.1: preferred, colored
Changes since revision 2.1: +5 -5 lines
	* Make the DbSearch module search references and not tab-joined lines.

	* Search.pm now modifies its behavior for $limit_sub->() and $return_sub->()
	  to create a reference if needed.

	* This solves the tab-delimited wrong-search-result problem while
	  increasing performance up to 20% on large database records.

	* Slight change to each_nokey() routine -- it returns a
	  reference instead of a list. This should have no side-effect
	  unless someone happened to use the
	  Vend::Table::*::each_nokey() routine somewhere in custom code.
	  Certainly this is not documented as part of the API, and we
	  never use it in any of our stuff.

	* Change passes regression tests 100%. Glimpse is not really
	  tested though I anticipate no problems.

Revision 2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 9 22:03:28 2001 UTC (7 years, 2 months ago) by mheins
Branches: MAIN
	* Fix Glimpse case sensitivity bug around since Minivend 4.000000.

Revision 2.0: download - view: text, markup, annotated - select for diffs
Wed Jul 18 02:23:13 2001 UTC (7 years, 5 months ago) by jon
Branches: MAIN
CVS tags: STABLE_4_8-root, REL_4_8_3, REL_4_8_2, REL_4_8_1, REL_4_7_7, REL_4_7_6, PRE_REL_4_8_0, DEB_4_8_1_2
Branch point for: STABLE_4_8-branch
Upping major version number after trunk/branch switch.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Jul 18 01:56:44 2001 UTC (7 years, 5 months ago) by jon
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +53 -55 lines
Move DEV_4_7_0 development branch to repository trunk.

Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Fri Jun 29 02:19:25 2001 UTC (7 years, 6 months ago) by jon
Branches: DEV_4_7_0
CVS tags: REL_4_7_5
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.1: +5 -7 lines
Update copyright notices and email addresses.
Standardize module headers and remove a few shebang lines.

Revision 1.4.6.1: download - view: text, markup, annotated - select for diffs
Wed Dec 13 16:17:58 2000 UTC (8 years ago) by zarko
Branches: DEV_4_7_0
CVS tags: REL_4_7_4, REL_4_7_3, REL_4_7_2, REL_4_7_1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +50 -50 lines
Whitespace changes (diff -b -B will report nothing except below):

4 additional lines of diff (whitespace not caught by -b -B)

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 7 22:41:45 2000 UTC (8 years, 2 months ago) by zarko
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +62 -73 lines
stylistic changes

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Sep 19 18:58:39 2000 UTC (8 years, 3 months ago) by zarko
CVS tags: STABLE_4_6-root, STABLE_4_6-branch, REL_4_6_5, REL_4_6_4, REL_4_6_3, REL_4_6_2, REL_4_6_1, REL_4_6_0_B, REL_4_6_0, REL_4_5_8, REL_4_5_7, REL_4_5_6, DEB_4_6_5_1, DEB_4_6_4_2, DEB_4_6_4_1, DEB_4_6_3_1, DEB_4_6_2_1, DEB_4_6_1_1, DEB_4_6_0_1
Branch point for: LINUXIA, DEV_4_7_0
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines

Server:
	necessary change to support minivend->interchange script rename

DbSearch/Glimpse/TextSearch:
	comment change s/MINIVEND/INTERCHANGE on line 5

Util:
	changed -t option in syslogging routine from minivend to interchange

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jul 20 07:15:47 2000 UTC (8 years, 5 months ago) by heins
CVS tags: INTERCHANGE_4_5_5
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Added multiple security fixes.
Added beginnings of IPC to perl programs.
Added Sub (catalog.cfg) link to [PREFIX-exec].
Added hs (head skip) option to [import ....] tag.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jul 12 03:08:10 2000 UTC (8 years, 5 months ago) by heins
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Changed Interchange name all over, minor exceptions being mvfaq.pod and
mvrpm.pod. Changed copyright notice to Akopia.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri May 26 18:50:38 2000 UTC (8 years, 7 months ago) by heins
Branches: CHAL_0_1
CVS tags: MV_4_5_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Initial import of changed Challenger with UI instead of Minimate.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri May 26 18:50:38 2000 UTC (8 years, 7 months ago) by heins
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

Interchange CVSweb <info@icdevgroup.org>