pazpar2-moved-to-github.git
13 years agoRemoving some of the weird negative margins / positive padding.
Dennis Schafroth [Fri, 18 Nov 2011 15:28:08 +0000 (16:28 +0100)]
Removing some of the weird negative margins / positive padding.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Tue, 15 Nov 2011 11:36:11 +0000 (12:36 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoDisable bytarget and stat
Dennis Schafroth [Tue, 15 Nov 2011 11:36:08 +0000 (12:36 +0100)]
Disable bytarget and stat

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Tue, 15 Nov 2011 10:35:42 +0000 (11:35 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoRevert "Log host name on number of connections"
Dennis Schafroth [Tue, 15 Nov 2011 10:34:44 +0000 (11:34 +0100)]
Revert "Log host name on number of connections"

attempt to log host+port on num connection since it's per host.

This reverts commit f6a03dd10715f8539a4f37c8b74c7d616cabd638.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Tue, 15 Nov 2011 10:29:42 +0000 (11:29 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoICU test: use more portable transform
Adam Dickmeiss [Tue, 15 Nov 2011 10:29:21 +0000 (11:29 +0100)]
ICU test: use more portable transform

Problem is that Title does not produce same results in ICU 3.6
(CentOS 5) and newer versions of ICU. So we just use lowercase
transform instead.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Tue, 15 Nov 2011 10:27:02 +0000 (11:27 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

Conflicts:
www/iphone/example_client.js

Fix: added md-author in branch. Added recIDs on head.

13 years agoUse md-author if present instead of md-title-responsibility. Swap title-remainder...
Dennis Schafroth [Tue, 15 Nov 2011 10:24:06 +0000 (11:24 +0100)]
Use md-author if present instead of md-title-responsibility. Swap title-remainder with author/title-responsibility

13 years agoLog host name on number of connections
Dennis Schafroth [Tue, 15 Nov 2011 10:22:00 +0000 (11:22 +0100)]
Log host name on number of connections

13 years agoRPM: get version from IDMETA
Adam Dickmeiss [Tue, 15 Nov 2011 09:20:00 +0000 (10:20 +0100)]
RPM: get version from IDMETA

So we don't need to update the spec file for each release anymore.

13 years agoIDMETA part of dist
Adam Dickmeiss [Tue, 15 Nov 2011 09:18:40 +0000 (10:18 +0100)]
IDMETA part of dist

13 years agoRead version from IDMETA rather than configure.ac.
Adam Dickmeiss [Tue, 15 Nov 2011 09:17:41 +0000 (10:17 +0100)]
Read version from IDMETA rather than configure.ac.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 14 Nov 2011 09:36:44 +0000 (10:36 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoChanges about limit, re-search
Adam Dickmeiss [Mon, 14 Nov 2011 09:36:00 +0000 (10:36 +0100)]
Changes about limit, re-search

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2 mobile-beta-1
Dennis Schafroth [Thu, 10 Nov 2011 17:52:22 +0000 (18:52 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoFetching 100 records since we have simple paging
Dennis Schafroth [Thu, 10 Nov 2011 17:52:09 +0000 (18:52 +0100)]
Fetching 100 records since we have simple paging

13 years agoCreated a simple paging/More records
Dennis Schafroth [Thu, 10 Nov 2011 17:51:23 +0000 (18:51 +0100)]
Created a simple paging/More records

13 years agoAdd fallback template
Jakub Skoczen [Thu, 10 Nov 2011 13:09:10 +0000 (14:09 +0100)]
Add fallback template

Match any CF element that doesn't fit the previous rules to
a pazpar2 element of the same name

13 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Thu, 10 Nov 2011 11:41:25 +0000 (12:41 +0100)]
Merge branch 'master' into bug_4688

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 10 Nov 2011 11:40:58 +0000 (12:40 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoUpdate m4
Adam Dickmeiss [Thu, 10 Nov 2011 11:40:39 +0000 (12:40 +0100)]
Update m4

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Mike Taylor [Thu, 10 Nov 2011 11:13:25 +0000 (11:13 +0000)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoChanges to better support possible outputs of the Connector Framework.
Mike Taylor [Thu, 10 Nov 2011 11:13:08 +0000 (11:13 +0000)]
Changes to better support possible outputs of the Connector Framework.

* New, trivial, templates to handle thirteen additional elements:
  available, citation, relevance, booktitle, copyright,
  copyrightabstract, pubtype, doctype, extent, format,
  languageitem, languageabstract and permalink.

* Comment on how the "medium" field is ignored in favour of an XSLT
  parameter.

* Comment on the "holding" element which seems to be a synony, of the
  "item" container.

We now have *a lot* of near-identical tiny templates for handling
individual fields, each mapping the CF's data
<NAME>VALUE</NAME>
to PazPar2's equivalent
<pz:metadata type="NAME">VALUE</pz:metadata>
Should these all be replaced be a single general-puspose rule?  That
would also mean that we'd no longer need to update this stylesheet
each time parseTask.cff changes.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Thu, 10 Nov 2011 10:55:16 +0000 (11:55 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoAdd comment on the fifteen fields the CF produces that are not
Mike Taylor [Thu, 10 Nov 2011 10:42:16 +0000 (10:42 +0000)]
Add comment on the fifteen fields the CF produces that are not
propagated into the Pazpar2 record.

13 years agoAdd pz22usi.xsl to the list of ignored files. The master copy is in
Mike Taylor [Thu, 10 Nov 2011 10:38:36 +0000 (10:38 +0000)]
Add pz22usi.xsl to the list of ignored files.  The master copy is in
ebsco-usi/config/metaproxy/pz22usi.xsl but it's convenient to have a
symbolic link to it here, so Metaproxy can run the USI from this
directory.

13 years agoTest file
Dennis Schafroth [Thu, 10 Nov 2011 10:25:06 +0000 (11:25 +0100)]
Test file

13 years agoFix: Go now removes keyboard on iPhone
Dennis Schafroth [Thu, 10 Nov 2011 10:24:42 +0000 (11:24 +0100)]
Fix: Go now removes keyboard on iPhone

13 years agoReset hits, record_offset later in client_start_search
Adam Dickmeiss [Thu, 10 Nov 2011 10:13:20 +0000 (11:13 +0100)]
Reset hits, record_offset later in client_start_search

Because the search may not be executed anyway - if search is already
done and no native sorting is available.

13 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Thu, 10 Nov 2011 10:05:14 +0000 (11:05 +0100)]
Merge branch 'master' into bug_4688

13 years agoclient_start_search only takes client argument again
Adam Dickmeiss [Thu, 10 Nov 2011 10:04:33 +0000 (11:04 +0100)]
client_start_search only takes client argument again

So that we re-issue it when host has been resolved.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 9 Nov 2011 15:31:52 +0000 (16:31 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoRe-enable threaded host resolving
Adam Dickmeiss [Wed, 9 Nov 2011 15:29:31 +0000 (16:29 +0100)]
Re-enable threaded host resolving

And do it properly for HTTP connections as well; Pazpar2 1.6.3 and
earlier versions only performed threaded resolving for Z39.50
connections. Requires YAZ 4.2.20 that offers the "tproxy" setting
for ZOOM connections.

13 years agoRe-enable onkeypress for better iphone Go support
Dennis Schafroth [Wed, 9 Nov 2011 15:22:02 +0000 (16:22 +0100)]
Re-enable onkeypress for better iphone Go support

13 years agoImplement Limit parameter on search, e.g. server side facetting
Dennis Schafroth [Wed, 9 Nov 2011 15:20:11 +0000 (16:20 +0100)]
Implement Limit parameter on search, e.g. server side facetting

13 years agoUse ocs-test
Adam Dickmeiss [Wed, 9 Nov 2011 14:53:11 +0000 (15:53 +0100)]
Use ocs-test

13 years agoFix: usesession false (when using SP). Using xml for now. Error when parsing JSON
Dennis Schafroth [Tue, 8 Nov 2011 19:21:52 +0000 (20:21 +0100)]
Fix: usesession false (when using SP). Using xml for now. Error when parsing JSON

13 years agoComment out onKeyPress
Dennis Schafroth [Tue, 8 Nov 2011 18:52:04 +0000 (19:52 +0100)]
Comment out onKeyPress

13 years agoAdd code to handle limit in search command
Dennis Schafroth [Tue, 8 Nov 2011 18:51:15 +0000 (19:51 +0100)]
Add code to handle limit in search command

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Tue, 8 Nov 2011 14:05:01 +0000 (15:05 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoCheck number of logical records when firing watches
Adam Dickmeiss [Tue, 8 Nov 2011 13:11:25 +0000 (14:11 +0100)]
Check number of logical records when firing watches

This is to ensure we don't fire watches prematurely.. Say that first
search/present response includes NO records that make it through
filtering.

13 years agoMore logging for limit stuff
Adam Dickmeiss [Tue, 8 Nov 2011 12:17:28 +0000 (13:17 +0100)]
More logging for limit stuff

13 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Tue, 8 Nov 2011 11:15:35 +0000 (12:15 +0100)]
Merge branch 'master' into bug_4688

13 years agoUse _chdir on Windows
Adam Dickmeiss [Tue, 8 Nov 2011 11:14:48 +0000 (12:14 +0100)]
Use _chdir on Windows

13 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Tue, 8 Nov 2011 11:09:13 +0000 (12:09 +0100)]
Merge branch 'master' into bug_4688

13 years agoConf pz:limitmap may perform local filtering
Adam Dickmeiss [Tue, 8 Nov 2011 11:07:05 +0000 (12:07 +0100)]
Conf pz:limitmap may perform local filtering

If pz:limitmap's leading string is 'local:', Pazpar2 will perform
local filtering for the search commands' limit parameter. Add tests
for local filtering on subject and date.

13 years agoMake subject part of two tests
Adam Dickmeiss [Mon, 7 Nov 2011 13:46:16 +0000 (14:46 +0100)]
Make subject part of two tests

Metadata type subject is now brief and extracted from more MARC21
fields. This is to be able to test facet limits later.

13 years agoCheck for valid limitmap
Adam Dickmeiss [Mon, 7 Nov 2011 11:23:32 +0000 (12:23 +0100)]
Check for valid limitmap

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 7 Nov 2011 10:25:36 +0000 (11:25 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoTest of iPhone Go
Dennis Schafroth [Mon, 7 Nov 2011 10:20:52 +0000 (11:20 +0100)]
Test of iPhone Go

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 7 Nov 2011 10:16:32 +0000 (11:16 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoMerge branch 'bytarget_block'
Dennis Schafroth [Mon, 7 Nov 2011 10:15:21 +0000 (11:15 +0100)]
Merge branch 'bytarget_block'

13 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Mon, 7 Nov 2011 10:14:31 +0000 (11:14 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

13 years agoFunction to handle iPhone Go. Prepare for limit parameter on search
Dennis Schafroth [Mon, 7 Nov 2011 10:14:17 +0000 (11:14 +0100)]
Function to handle iPhone Go. Prepare for limit parameter on search

13 years agoFix for handling Go on iPhone
Dennis Schafroth [Mon, 7 Nov 2011 10:13:11 +0000 (11:13 +0100)]
Fix for handling Go on iPhone

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 7 Nov 2011 09:23:54 +0000 (10:23 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

13 years agoAvoid session lock while client search is initiated
Adam Dickmeiss [Fri, 4 Nov 2011 14:35:46 +0000 (15:35 +0100)]
Avoid session lock while client search is initiated

Also rename session->clients to session->clients_active.

13 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Fri, 4 Nov 2011 13:34:58 +0000 (14:34 +0100)]
Merge branch 'master' into bug_4688

13 years agoRemove destroy_session - replaced by session_destroy.
Adam Dickmeiss [Fri, 4 Nov 2011 13:34:35 +0000 (14:34 +0100)]
Remove destroy_session - replaced by session_destroy.

13 years agoTermlist block test
Dennis Schafroth [Fri, 4 Nov 2011 13:00:19 +0000 (14:00 +0100)]
Termlist block test

13 years agoTermlist block test
Dennis Schafroth [Fri, 4 Nov 2011 12:59:52 +0000 (13:59 +0100)]
Termlist block test

13 years agoMerge branch 'master' into bytarget_block
Dennis Schafroth [Fri, 4 Nov 2011 12:56:14 +0000 (13:56 +0100)]
Merge branch 'master' into bytarget_block

13 years agoMore tests for reusing clients.
Adam Dickmeiss [Fri, 4 Nov 2011 12:55:33 +0000 (13:55 +0100)]
More tests for reusing clients.

13 years agoUse session_log rather than yaz_log
Adam Dickmeiss [Fri, 4 Nov 2011 12:55:14 +0000 (13:55 +0100)]
Use session_log rather than yaz_log

When displaying whether a client is newly created or reused.

13 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Fri, 4 Nov 2011 12:17:57 +0000 (13:17 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

13 years agore-add pointer cast
Dennis Schafroth [Fri, 4 Nov 2011 12:17:53 +0000 (13:17 +0100)]
re-add pointer cast

13 years agofix wrongly removed session_status function name
Dennis Schafroth [Fri, 4 Nov 2011 12:17:11 +0000 (13:17 +0100)]
fix wrongly removed session_status function name

13 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Fri, 4 Nov 2011 12:06:52 +0000 (13:06 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

13 years agoNow also release termlist watch
Dennis Schafroth [Fri, 4 Nov 2011 12:06:48 +0000 (13:06 +0100)]
Now also release termlist watch

13 years agofix merge
Dennis Schafroth [Fri, 4 Nov 2011 12:05:30 +0000 (13:05 +0100)]
fix merge

13 years agoLogging of released watch
Dennis Schafroth [Fri, 4 Nov 2011 12:04:29 +0000 (13:04 +0100)]
Logging of released watch

13 years agoFix length of watch structure
Dennis Schafroth [Fri, 4 Nov 2011 11:46:54 +0000 (12:46 +0100)]
Fix length of watch structure

13 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Thu, 3 Nov 2011 14:54:42 +0000 (15:54 +0100)]
Merge branch 'master' into bug_4688

13 years agoTypo: missing pointer in type cast
Dennis Schafroth [Thu, 3 Nov 2011 14:52:36 +0000 (15:52 +0100)]
Typo: missing pointer in type cast

13 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Thu, 3 Nov 2011 14:49:38 +0000 (15:49 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

Conflicts:
src/http_command.c

add active client check

13 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Thu, 3 Nov 2011 14:47:29 +0000 (15:47 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

Conflicts:
src/http_command.c

Added on two machines

13 years agoadd TERMLIST watch
Dennis Schafroth [Thu, 3 Nov 2011 14:46:27 +0000 (15:46 +0100)]
add TERMLIST watch

13 years agoNOW implemented on the right command: termlist
Dennis Schafroth [Thu, 3 Nov 2011 14:45:54 +0000 (15:45 +0100)]
NOW implemented on the right command: termlist

13 years agoComment out No suggestions found
Dennis Schafroth [Thu, 3 Nov 2011 14:45:12 +0000 (15:45 +0100)]
Comment out No suggestions found

13 years agoGet rid of warning "Setting '%s' not configured as metadata"
Adam Dickmeiss [Thu, 3 Nov 2011 14:35:09 +0000 (15:35 +0100)]
Get rid of warning "Setting '%s' not configured as metadata"

13 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Thu, 3 Nov 2011 14:15:24 +0000 (15:15 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

13 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Thu, 3 Nov 2011 14:14:23 +0000 (15:14 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

13 years agoLog on bytarget watch release
Dennis Schafroth [Thu, 3 Nov 2011 14:14:12 +0000 (15:14 +0100)]
Log on bytarget watch release

13 years agoMerge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Dennis Schafroth [Thu, 3 Nov 2011 13:50:04 +0000 (14:50 +0100)]
Merge branch 'bytarget_block' of ssh://git.indexdata.com/home/git/pub/pazpar2 into bytarget_block

13 years agorefactor: same logic
Dennis Schafroth [Thu, 3 Nov 2011 13:49:59 +0000 (14:49 +0100)]
refactor: same logic

13 years agoInvestigating empty bytarget response. More logging
Dennis Schafroth [Thu, 3 Nov 2011 13:48:42 +0000 (14:48 +0100)]
Investigating empty bytarget response. More logging

13 years agoEnable blocking on bytarget
Dennis Schafroth [Thu, 3 Nov 2011 13:19:07 +0000 (14:19 +0100)]
Enable blocking on bytarget

13 years agoMerge branch 'master' into bug_4688
Adam Dickmeiss [Thu, 3 Nov 2011 12:51:20 +0000 (13:51 +0100)]
Merge branch 'master' into bug_4688

13 years agoMake proper diagnostic for client connect failures
Adam Dickmeiss [Thu, 3 Nov 2011 12:44:30 +0000 (13:44 +0100)]
Make proper diagnostic for client connect failures

13 years agoAdd client_set_state_nb
Adam Dickmeiss [Thu, 3 Nov 2011 12:40:07 +0000 (13:40 +0100)]
Add client_set_state_nb

Is like client_set_state, but never calls session_alert_watch.
This is used in the search phase, when a show is never fired anyway
and also because session is locked already so session_alert_watch
would make a deal-lock.

13 years agoNew error: Already blocked
Dennis Schafroth [Thu, 3 Nov 2011 12:19:20 +0000 (13:19 +0100)]
New error: Already blocked

13 years agoFix: Send error response if set block fails.
Dennis Schafroth [Thu, 3 Nov 2011 12:18:43 +0000 (13:18 +0100)]
Fix: Send error response if set block fails.

13 years agoAdd bytarget watch
Dennis Schafroth [Thu, 3 Nov 2011 10:12:01 +0000 (11:12 +0100)]
Add bytarget watch

13 years agoRefactor for and implement bytarget block
Dennis Schafroth [Thu, 3 Nov 2011 10:10:46 +0000 (11:10 +0100)]
Refactor for and implement bytarget block

13 years agoRelease BYTARGET watch
Dennis Schafroth [Thu, 3 Nov 2011 10:09:46 +0000 (11:09 +0100)]
Release BYTARGET watch

13 years agoRemove obsolete comment
Adam Dickmeiss [Thu, 3 Nov 2011 08:58:31 +0000 (09:58 +0100)]
Remove obsolete comment

13 years agoMore tests for checking that we can re-use result set
Adam Dickmeiss [Wed, 2 Nov 2011 14:26:51 +0000 (15:26 +0100)]
More tests for checking that we can re-use result set

13 years agoClients cached within session
Adam Dickmeiss [Wed, 2 Nov 2011 14:24:39 +0000 (15:24 +0100)]
Clients cached within session

Clients are reused if query and other parameters are same for
command=search. For example, if a subset of databases are used and
query is the same, the result set from previous search is reused.

13 years agoVersion 1.6.5 v1.6.5
Dennis Schafroth [Tue, 1 Nov 2011 13:36:07 +0000 (13:36 +0000)]
Version 1.6.5