This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /trunk/WebPac.pm
Parent Directory
| Revision Log
Revision
725 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 13 19:31:43 2006 UTC
(18 years, 2 months ago)
by
dpavlin
File length: 14615 byte(s)
Diff to
previous 709
fix transfer of multiple v42= fields when generating url_params (this
occured when you tried to use checkboxes to select multiple items and then
click on title of result)
Revision
709 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 11 18:00:46 2005 UTC
(18 years, 9 months ago)
by
dpavlin
File length: 14441 byte(s)
Diff to
previous 698
some improvements from 2005-06-05 07:32 which where not commited (hopefully
a little better parametar handling)
Revision
698 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 30 15:46:03 2005 UTC
(19 years, 2 months ago)
by
dpavlin
File length: 14150 byte(s)
Diff to
previous 696
Implemented persistent filter which can be used in index or search to
specify database name to limit search to. Filter searches are presistant.
Revision
696 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Mar 13 02:00:35 2005 UTC
(19 years, 3 months ago)
by
dpavlin
File length: 13638 byte(s)
Diff to
previous 688
WebPAC cgi will now set it's own locale (using configuration directive in
global.conf)
Revision
688 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 2 16:48:03 2005 UTC
(19 years, 4 months ago)
by
dpavlin
File length: 13499 byte(s)
Diff to
previous 686
bugfix for phrases (again): never assume entity name...
Revision
686 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 1 19:30:55 2005 UTC
(19 years, 4 months ago)
by
dpavlin
File length: 13500 byte(s)
Diff to
previous 685
phrase search fix: escape quotes in hidden variables
Revision
685 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Mar 1 19:27:13 2005 UTC
(19 years, 4 months ago)
by
dpavlin
File length: 13474 byte(s)
Diff to
previous 677
transfer filter variable in index to template (it can be useful)
Revision
676 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 21 22:47:48 2005 UTC
(19 years, 4 months ago)
by
dpavlin
File length: 13375 byte(s)
Diff to
previous 675
added support for submit button "reset" which will reset form (you can't
really use type="reset" with persitant search variables enabled).
Revision
675 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Feb 21 22:21:53 2005 UTC
(19 years, 4 months ago)
by
dpavlin
File length: 13269 byte(s)
Diff to
previous 670
bugfix: re-enable HTML::FillInForm to create persistent search using
<TMPL_VAR NAME="SEARCH_HIDDEN"> in form which has just "back to search"
button. You can use this variable to dump persistant search variables
without rm (runmode of CGI::Application)
Revision
670 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Feb 16 00:26:37 2005 UTC
(19 years, 4 months ago)
by
dpavlin
File length: 13097 byte(s)
Diff to
previous 660
be more forgiving to changes in results templates
Revision
659 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 15 21:48:16 2005 UTC
(19 years, 4 months ago)
by
dpavlin
File length: 12924 byte(s)
Diff to
previous 657
added sort by any combination of swish-e fields which are defined by
PropertyNames in swish_isis.conf. This allowed adition of links which show
search results sorted by time, author and title then author or autor than
titme combination.
Any combination of fields for sorting can be specified (separated by spaces),
with optional asc(ending) or desc(ending) order.
Revision
643 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jan 23 15:18:03 2005 UTC
(19 years, 5 months ago)
by
dpavlin
File length: 12676 byte(s)
Diff to
previous 642
add filtering to index (using parameter filter, for now single)
Revision
642 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jan 23 14:31:02 2005 UTC
(19 years, 5 months ago)
by
dpavlin
File length: 12614 byte(s)
Diff to
previous 641
renamed tag to finger to avoid confusion (I tried to exmplain why I use term
tag and failed -- it too similar to tags used in import_xml)
Revision
641 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jan 23 02:02:10 2005 UTC
(19 years, 5 months ago)
by
dpavlin
File length: 12611 byte(s)
Diff to
previous 639
New implementation of indexes: now it uses only two tables (index for all
data and tags for all tags). Currently, it doesn't enforce relation between
them on RDBMS level (I have to test this code against SQLite and MySQL
before enforcing that).
Removed swish-e output while indexing, database is used as default tag to
enable filtering by database (there isn't possiblity to set tag to something
else yet!). Output usage count in index.
Revision
639 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 19 22:34:31 2005 UTC
(19 years, 5 months ago)
by
dpavlin
File length: 12613 byte(s)
Diff to
previous 636
All-wrong-and-ugly solution to using exact match variables which are
persistent: it's not supported any more. However, until we have real
separation of variables comming from user, via format and/or from links
(right now, they are all using f/v) this problem can't be fixed right.
Much nicer error mesages ("Software error") instead of "Internal Server Error".
Revision
636 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jan 18 17:07:14 2005 UTC
(19 years, 5 months ago)
by
dpavlin
File length: 12558 byte(s)
Diff to
previous 600
Implemented persist_search hidden variable in forms which can specify
(multiple) number of variables which should be persistent after user
specified them in form (useful for language for example). Values are
separated by comma (,). Some cleanup and warning removal.
Revision
600 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Dec 8 18:24:24 2004 UTC
(19 years, 6 months ago)
by
dpavlin
File length: 11692 byte(s)
Diff to
previous 457
improvement: path limit in URL works without full result display
Revision
457 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 21 16:40:46 2004 UTC
(19 years, 9 months ago)
by
dpavlin
File length: 11765 byte(s)
Diff to
previous 320
bug fix when transfering fields with multiple values (e.g. checkboxes) to
pager (hidden fields that is)
Revision
320 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Apr 18 00:57:39 2004 UTC
(20 years, 2 months ago)
by
dpavlin
File length: 11733 byte(s)
Diff to
previous 304
implement my_unac_string function, and my_unac_filter option in global.conf
which you *REALLY* want to use if you don't have only clean 7-bit characters
in your data
Revision
304 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 17 20:40:28 2004 UTC
(20 years, 2 months ago)
by
dpavlin
File length: 11635 byte(s)
Diff to
previous 302
Major change:
I no longer user HTML::Pager, SWISH and SWISH::Fork modules,
but SWISH::API (new interface to swish 2.4.x, which is required) and own
implementation of pager.
That saves round-trips of all results from swish-e to memory and to
HTML::Pager so this produces also significant speedup when result set is
large (tipically if you entered just a letter or two with huge number of
records).
Revision
302 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Apr 4 22:09:57 2004 UTC
(20 years, 3 months ago)
by
dpavlin
File length: 9368 byte(s)
Diff to
previous 202
bug fix: support for working from root of virtual host
Revision
202 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jan 18 16:23:03 2004 UTC
(20 years, 5 months ago)
by
dpavlin
File length: 9213 byte(s)
Diff to
previous 198
implemented sort=1 variable to sort results by headline
Revision
198 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Dec 21 06:35:43 2003 UTC
(20 years, 6 months ago)
by
dpavlin
File length: 9083 byte(s)
Diff to
previous 190
Implement different interfaces to webpac (for books, articles etc, or in
different languages) easily: just add base_path with relative or
absolute URL to root of your webpac and you can then create multiple
aliases (using Alias directive in httpd.conf) which have same beginning
as base_path. Everything added after base_path will be added after filename
for templates, but before extension. Easy, eh?
Revision
190 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 29 19:11:23 2003 UTC
(20 years, 7 months ago)
by
dpavlin
File length: 8040 byte(s)
Diff to
previous 186
exact matches can now specify to include (or not) wildcard at end. Added
also documentation about exact matching using swish-e
Revision
186 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 29 18:40:19 2003 UTC
(20 years, 7 months ago)
by
dpavlin
File length: 8001 byte(s)
Diff to
previous 183
transfer swish_exact flash in form also, not only in URL
Revision
164 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 22 22:04:05 2003 UTC
(20 years, 7 months ago)
by
dpavlin
File length: 7902 byte(s)
Diff to
previous 163
implemented filter which can replace (or be used together with) unac_string
from Text::Unaccent
Revision
163 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 20 21:23:40 2003 UTC
(20 years, 7 months ago)
by
dpavlin
File length: 7797 byte(s)
Diff to
previous 158
Added type="swish_exact" to save data into swish index with boundaries
xxbxx data xxexxx. This is helpful to implement exact match from beginning
of query and exact match to full query which are defined using e[nr] field
in web user interface (with same [nr] as f[nr] and v[nr] fields) which
have to have value 1 (from beginning) 2 (from end, not that useful...) or
3 (1+2 - exact match)
Revision
158 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 17 21:18:37 2003 UTC
(20 years, 7 months ago)
by
dpavlin
File length: 7341 byte(s)
Diff to
previous 150
fixed transfer of variables with multiple values in headline
Revision
150 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 16 22:39:06 2003 UTC
(20 years, 7 months ago)
by
dpavlin
File length: 7314 byte(s)
Diff to
previous 149
support for "f" and "v" fields without number on which wildcards don't apply
Revision
149 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 16 16:57:11 2003 UTC
(20 years, 7 months ago)
by
dpavlin
File length: 7175 byte(s)
Diff to
previous 147
display full record without path specified (used for linking)
Revision
147 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 16 16:14:37 2003 UTC
(20 years, 7 months ago)
by
dpavlin
File length: 7072 byte(s)
Diff to
previous 140
Implementation of master template: just create template html file in
public_html and insert ##webpac## where you want output of webpac.
Then define template to full path to that template, and you are ready to go.
Revision
140 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 30 00:10:09 2003 UTC
(20 years, 8 months ago)
by
dpavlin
File length: 6650 byte(s)
Diff to
previous 128
fix for total number of entries from index if using filter, renamed
check function to count and added limit
Revision
128 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 4 14:57:02 2003 UTC
(20 years, 10 months ago)
by
dpavlin
File length: 6650 byte(s)
Diff to
previous 126
use index_DBI_cache.pm (non-cache version is depriciated)
Revision
126 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 4 13:47:36 2003 UTC
(20 years, 10 months ago)
by
dpavlin
File length: 6644 byte(s)
Diff to
previous 124
added links from result headline to details, CSS style to make headline links
and links in index non-underlined
Revision
122 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 3 20:08:26 2003 UTC
(20 years, 10 months ago)
by
dpavlin
File length: 6351 byte(s)
Diff to
previous 121
don't add wildcards only to full words and, or, not (part of swish-e quiery
language)
Revision
121 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 2 21:31:54 2003 UTC
(20 years, 10 months ago)
by
dpavlin
File length: 6343 byte(s)
Diff to
previous 120
don't report error if user didn't selected any result and clicked on
details. However, there is still bug: it will reset pager to first page.
I will have to re-write pager without JavaScript to fix this.
Revision
120 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 2 13:24:33 2003 UTC
(20 years, 10 months ago)
by
dpavlin
File length: 6309 byte(s)
Diff to
previous 114
added minimum numbers of characters for wildcard * to kick in for swish
Revision
114 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 16 15:49:56 2003 UTC
(20 years, 11 months ago)
by
dpavlin
File length: 6132 byte(s)
Diff to
previous 112
don't generate all html for headline results, lot of html fixes
Revision
73 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 5 22:31:46 2003 UTC
(21 years ago)
by
dpavlin
File length: 5642 byte(s)
Diff to
previous 71
- support multi-value fields (e.g. for checkboxes)
- remove accented characters before feeding swish
Revision
53 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 1 18:49:49 2003 UTC
(21 years, 1 month ago)
by
dpavlin
File length: 5306 byte(s)
Diff to
previous 51
moved configuration (database part) to global.conf, added
and, or and not operators
Revision
51 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 1 15:33:08 2003 UTC
(21 years, 1 month ago)
by
dpavlin
File length: 4925 byte(s)
Diff to
previous 47
display details and back doesn't reset page to 1
Revision
47 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Mar 23 01:17:49 2003 UTC
(21 years, 3 months ago)
by
dpavlin
File length: 4788 byte(s)
Diff to
previous 41
show just hits or all details buttons on result page
Revision
16 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Feb 22 21:21:35 2003 UTC
(21 years, 4 months ago)
by
dpavlin
File length: 4539 byte(s)
Diff to
previous 14
allows users to enter queries with asterisk (*)
Revision
13 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Feb 16 22:41:37 2003 UTC
(21 years, 4 months ago)
by
dpavlin
File length: 4373 byte(s)
Diff to
previous 12
added configuration file with database descriptions,
moved isis.xml definition file in separate directory (in preparation for MARK),
support for different encodings in different files,
various fixes, improvements and badly written parts which will change ;-)
Revision
10 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 16 17:35:54 2003 UTC
(21 years, 5 months ago)
by
dpavlin
File length: 3596 byte(s)
Diff to
previous 9
bunch of changes: make design more modular, implement index (partial
implementation) and other small and big changes
Revision
9 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 11 19:55:30 2003 UTC
(21 years, 5 months ago)
by
dpavlin
File length: 3666 byte(s)
Diff to
previous 7
renamed "old" index to swish, and introduced index which is -- index;
implemented using PostgreSQL for now.
Revision
7 -
(
view)
(
annotate)
-
[select for diffs]
Added
Sat Jan 11 16:44:03 2003 UTC
(21 years, 5 months ago)
by
dpavlin
File length: 3361 byte(s)
major modifications to produce first (non-working) version of Web CGI
interface.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.