pazpar2-moved-to-github.git
9 years agoDeal with concurrent searches (within one session) PAZ-963
Adam Dickmeiss [Wed, 10 Sep 2014 07:38:48 +0000 (09:38 +0200)]
Deal with concurrent searches (within one session) PAZ-963

At this stage the 2nd search is simply ignored (OK returned)

9 years agoFix session_nmem may be used by multiple threads PAZ-962
Adam Dickmeiss [Tue, 9 Sep 2014 10:40:54 +0000 (12:40 +0200)]
Fix session_nmem may be used by multiple threads PAZ-962

9 years agoInitialize Libxml2 - for threaded operation PAZ-961
Adam Dickmeiss [Tue, 9 Sep 2014 09:08:05 +0000 (11:08 +0200)]
Initialize Libxml2 - for threaded operation PAZ-961

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 8 Sep 2014 12:33:16 +0000 (14:33 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

9 years agoAdd session lock for command=settings PAZ-960
Adam Dickmeiss [Mon, 8 Sep 2014 12:32:53 +0000 (14:32 +0200)]
Add session lock for command=settings PAZ-960

9 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/pazpar2
Heikki Levanto [Mon, 8 Sep 2014 12:05:05 +0000 (14:05 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/pazpar2

9 years agoUse CF starndard field names for issue, volume, page DBC-152
Heikki Levanto [Mon, 8 Sep 2014 12:03:40 +0000 (14:03 +0200)]
Use CF starndard field names for issue, volume, page  DBC-152

Can not find endpage in addata, skipping it. There is pages,
but it is in a strange format like 361-5 (meaning 361-365), etc.

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Fri, 5 Sep 2014 10:14:52 +0000 (12:14 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

9 years agoDump configuration file during start PAZ-957
Adam Dickmeiss [Fri, 5 Sep 2014 10:14:21 +0000 (12:14 +0200)]
Dump configuration file during start PAZ-957

9 years agoUpdate doc/common again
Adam Dickmeiss [Thu, 4 Sep 2014 08:19:05 +0000 (10:19 +0200)]
Update doc/common again

9 years agoMerge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/pazpar2
Heikki Levanto [Wed, 3 Sep 2014 10:59:00 +0000 (12:59 +0200)]
Merge branch 'master' of ssh://git.indexdata.com:222/home/git/pub/pazpar2

9 years agoprimo-pz2.xsl: Create individual author metadata elements
Heikki Levanto [Wed, 3 Sep 2014 10:57:25 +0000 (12:57 +0200)]
primo-pz2.xsl: Create individual author metadata elements

Used to make one author, with different names separated by semicolons,
from the display section of the result. Now takes all creatorcontrib
elements from the search section, which are individual author names.

9 years agoVersion 1.7.4 v1.7.4
Adam Dickmeiss [Tue, 2 Sep 2014 16:03:01 +0000 (16:03 +0000)]
Version 1.7.4

9 years agoLog ingest failures and record failures
Adam Dickmeiss [Mon, 1 Sep 2014 14:32:12 +0000 (16:32 +0200)]
Log ingest failures and record failures

9 years agoClean up logging PAZ-942
Adam Dickmeiss [Mon, 1 Sep 2014 13:29:24 +0000 (15:29 +0200)]
Clean up logging PAZ-942

Use session lead in more places. Log hits/records/filtered for each
target when fetching is complete. Log hit count when a search
(response) is received. Remove some less useful log messages.

9 years agoDon't log timing of show
Adam Dickmeiss [Mon, 1 Sep 2014 13:28:45 +0000 (15:28 +0200)]
Don't log timing of show

We already log the time elapsed for each HTTP request so this is
kind of redundant these days.

9 years agoFix warning about about missing (internal) stylesheet PAZ-956
Adam Dickmeiss [Mon, 1 Sep 2014 12:55:19 +0000 (14:55 +0200)]
Fix warning about about missing (internal) stylesheet PAZ-956

9 years agoRemove redundant include
Adam Dickmeiss [Mon, 1 Sep 2014 12:55:15 +0000 (14:55 +0200)]
Remove redundant include

9 years agoReport number of filtered records in bytarget PAZ-954
Adam Dickmeiss [Mon, 1 Sep 2014 12:34:59 +0000 (14:34 +0200)]
Report number of filtered records in bytarget PAZ-954

9 years agoMinor refactoring WRT offset(s)
Adam Dickmeiss [Mon, 1 Sep 2014 10:55:51 +0000 (12:55 +0200)]
Minor refactoring WRT offset(s)

9 years agoFix regression
Adam Dickmeiss [Mon, 1 Sep 2014 09:48:08 +0000 (11:48 +0200)]
Fix regression

Func insert_settings_values only called for initial non-cached xdoc.

9 years agoFix offset
Adam Dickmeiss [Mon, 1 Sep 2014 06:21:23 +0000 (08:21 +0200)]
Fix offset

9 years agoxdoc caching in client
Adam Dickmeiss [Mon, 1 Sep 2014 06:15:08 +0000 (08:15 +0200)]
xdoc caching in client

9 years agoVersion 1.7.3 v1.7.3
Adam Dickmeiss [Fri, 22 Aug 2014 11:10:58 +0000 (11:10 +0000)]
Version 1.7.3

9 years agopoll: add assert for number of FDs; abort on poll failure
Adam Dickmeiss [Fri, 22 Aug 2014 09:40:26 +0000 (11:40 +0200)]
poll: add assert for number of FDs; abort on poll failure

9 years agoVersion 1.7.2 v1.7.2
Adam Dickmeiss [Mon, 18 Aug 2014 11:31:06 +0000 (11:31 +0000)]
Version 1.7.2

9 years agoStop building for Ubuntu saucy, raring, quantal
Adam Dickmeiss [Mon, 18 Aug 2014 11:30:39 +0000 (11:30 +0000)]
Stop building for Ubuntu saucy, raring, quantal

9 years agoFix hang for 2nd use of target with unresolved DNS PAZ-949
Adam Dickmeiss [Mon, 18 Aug 2014 10:43:25 +0000 (12:43 +0200)]
Fix hang for 2nd use of target with unresolved DNS PAZ-949

9 years agodelete-trailing-whitespace
Adam Dickmeiss [Mon, 18 Aug 2014 08:32:10 +0000 (10:32 +0200)]
delete-trailing-whitespace

9 years agoDocumentation manref.xml depends on local.ent MP-566
Adam Dickmeiss [Fri, 15 Aug 2014 09:48:13 +0000 (11:48 +0200)]
Documentation manref.xml depends on local.ent MP-566

9 years agoVersion 1.7.1 v1.7.1
Adam Dickmeiss [Thu, 14 Aug 2014 09:30:56 +0000 (11:30 +0200)]
Version 1.7.1

9 years agoevent: do not poll unless IOCHAN flag is set
Adam Dickmeiss [Thu, 14 Aug 2014 09:28:22 +0000 (09:28 +0000)]
event: do not poll unless IOCHAN flag is set

The connection handler goes not expect "except" bits unless it
asks for it. Fixes infinite looping that sometimes happened when
connections were closed.

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 13 Aug 2014 13:02:52 +0000 (15:02 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

9 years agoOnly inspect for proper FD
Adam Dickmeiss [Wed, 13 Aug 2014 13:05:15 +0000 (15:05 +0200)]
Only inspect for proper FD

9 years agoUse IOCHAN for poll result inspection
Adam Dickmeiss [Wed, 13 Aug 2014 12:23:13 +0000 (14:23 +0200)]
Use IOCHAN for poll result inspection

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 13 Aug 2014 12:20:40 +0000 (14:20 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

9 years agoRemove configure check for some unused headers
Adam Dickmeiss [Wed, 13 Aug 2014 11:56:02 +0000 (13:56 +0200)]
Remove configure check for some unused headers

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 13 Aug 2014 11:53:33 +0000 (13:53 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

9 years agoCheck for unistd.h presense
Adam Dickmeiss [Wed, 13 Aug 2014 11:51:00 +0000 (13:51 +0200)]
Check for unistd.h presense

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 13 Aug 2014 11:48:48 +0000 (13:48 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

9 years agoUpdate NEWS
Adam Dickmeiss [Wed, 13 Aug 2014 11:45:44 +0000 (13:45 +0200)]
Update NEWS

9 years agoRemove unsed functuion pazpar2_sleep
Adam Dickmeiss [Wed, 13 Aug 2014 11:28:32 +0000 (13:28 +0200)]
Remove unsed functuion pazpar2_sleep

9 years agoUse simpler var for timeout in event loop
Adam Dickmeiss [Wed, 13 Aug 2014 11:26:51 +0000 (13:26 +0200)]
Use simpler var for timeout in event loop

9 years agoReformat
Adam Dickmeiss [Wed, 13 Aug 2014 11:23:30 +0000 (13:23 +0200)]
Reformat

9 years agoevent loop fixes for threaded operation PAZ-947
Adam Dickmeiss [Wed, 13 Aug 2014 09:53:51 +0000 (11:53 +0200)]
event loop fixes for threaded operation PAZ-947

9 years agoSimplify by using fact that yaz_poll ignores fd < 0 YAZ-947
Adam Dickmeiss [Wed, 13 Aug 2014 08:49:09 +0000 (10:49 +0200)]
Simplify by using fact that yaz_poll ignores fd < 0 YAZ-947

9 years agoRe-use fds array; fix for sel_fd in use PAZ-947
Adam Dickmeiss [Wed, 13 Aug 2014 08:38:49 +0000 (10:38 +0200)]
Re-use fds array; fix for sel_fd in use PAZ-947

9 years agoUsing yaz_poll rather than select PAZ-947
Adam Dickmeiss [Tue, 12 Aug 2014 19:42:40 +0000 (21:42 +0200)]
Using yaz_poll rather than select PAZ-947

9 years agoRemove outdated TODO
Adam Dickmeiss [Tue, 12 Aug 2014 14:02:31 +0000 (16:02 +0200)]
Remove outdated TODO

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Mike Taylor [Mon, 11 Aug 2014 16:53:11 +0000 (17:53 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

9 years agoFix documentation typo.
Mike Taylor [Mon, 11 Aug 2014 11:00:52 +0000 (12:00 +0100)]
Fix documentation typo.

9 years agoDo not build for Ubuntu oneiric
Adam Dickmeiss [Mon, 14 Jul 2014 12:45:34 +0000 (14:45 +0200)]
Do not build for Ubuntu oneiric

9 years agodebian/changelog now auto generated
Adam Dickmeiss [Mon, 14 Jul 2014 11:15:57 +0000 (13:15 +0200)]
debian/changelog now auto generated

9 years agotest: Pass PERF_PROG rather than option --perf
Adam Dickmeiss [Mon, 7 Jul 2014 14:52:30 +0000 (16:52 +0200)]
test: Pass PERF_PROG rather than option --perf

9 years agoAdd w(ait) for test_perf
Adam Dickmeiss [Mon, 7 Jul 2014 14:51:44 +0000 (16:51 +0200)]
Add w(ait) for test_perf

9 years agoOverride setting with same name (do not append) PAZ-945
Adam Dickmeiss [Fri, 4 Jul 2014 12:32:43 +0000 (14:32 +0200)]
Override setting with same name (do not append) PAZ-945

9 years agoFor testing ^[0-9] is sleep, ^w is wait
Adam Dickmeiss [Fri, 4 Jul 2014 09:30:39 +0000 (11:30 +0200)]
For testing ^[0-9] is sleep, ^w is wait

Allows us to have real wait and poll/wait until stable result.

9 years agoAdd config for test_perf test
Adam Dickmeiss [Thu, 3 Jul 2014 13:30:18 +0000 (15:30 +0200)]
Add config for test_perf test

9 years agotest_perf.sh fetches 100 records from yaz-ztest
Adam Dickmeiss [Thu, 3 Jul 2014 13:21:39 +0000 (15:21 +0200)]
test_perf.sh fetches 100 records from yaz-ztest

Part of PAZ-944

9 years agoOption --perf performs timing of pazpar2 process
Adam Dickmeiss [Thu, 3 Jul 2014 13:19:17 +0000 (15:19 +0200)]
Option --perf performs timing of pazpar2 process

Part of PAZ-944

9 years agoFix problem with first-time test and testno=1
Adam Dickmeiss [Thu, 3 Jul 2014 10:40:36 +0000 (12:40 +0200)]
Fix problem with first-time test and testno=1

9 years agoFix version passed to dpkg-maintscript-helper rm_conffile v1.7.0_2
Adam Dickmeiss [Fri, 27 Jun 2014 13:49:44 +0000 (15:49 +0200)]
Fix version passed to dpkg-maintscript-helper rm_conffile

9 years agoVersion 1.7.0 v1.7.0
Adam Dickmeiss [Fri, 27 Jun 2014 13:01:05 +0000 (15:01 +0200)]
Version 1.7.0

9 years agoUse dpkg-maintscript-helper rm_conffile to remove XSL files
Adam Dickmeiss [Fri, 27 Jun 2014 13:01:01 +0000 (15:01 +0200)]
Use dpkg-maintscript-helper rm_conffile to remove XSL files

These are now part of pazpar2-xsl.

9 years agoUpdate OPAC stylesheets for availabilityDate PAZ-943
Adam Dickmeiss [Thu, 26 Jun 2014 11:35:52 +0000 (13:35 +0200)]
Update OPAC stylesheets for availabilityDate PAZ-943

9 years agoFix too funny startrecs description
Adam Dickmeiss [Tue, 24 Jun 2014 12:19:59 +0000 (14:19 +0200)]
Fix too funny startrecs description

9 years agoFix broken ~ match if filter contains = PAZ-941
Adam Dickmeiss [Tue, 24 Jun 2014 12:07:35 +0000 (14:07 +0200)]
Fix broken ~ match if filter contains = PAZ-941

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 12 Jun 2014 17:17:45 +0000 (19:17 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

9 years agoDo not release for Ubuntu Lucid anymore
Adam Dickmeiss [Thu, 12 Jun 2014 17:17:39 +0000 (19:17 +0200)]
Do not release for Ubuntu Lucid anymore

9 years agoMerge branch 'master' of ssh://git/home/git/pub/pazpar2
Jakub Skoczen [Thu, 12 Jun 2014 10:52:51 +0000 (12:52 +0200)]
Merge branch 'master' of ssh://git/home/git/pub/pazpar2

9 years agoUse windowId when storing session cookie
Jakub Skoczen [Thu, 12 Jun 2014 10:52:24 +0000 (12:52 +0200)]
Use windowId when storing session cookie

9 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Thu, 12 Jun 2014 10:38:55 +0000 (12:38 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

9 years agoAdd pz:redis option
Adam Dickmeiss [Thu, 12 Jun 2014 09:06:56 +0000 (11:06 +0200)]
Add pz:redis option

9 years agoUpdate doc/common
Adam Dickmeiss [Thu, 12 Jun 2014 09:00:20 +0000 (11:00 +0200)]
Update doc/common

9 years agoUndo commit 79502c7f2d7163685633137c9f435fada3df413e
Mike Taylor [Thu, 12 Jun 2014 08:27:52 +0000 (09:27 +0100)]
Undo commit 79502c7f2d7163685633137c9f435fada3df413e
Jakub fears it might break on old IEs.

9 years agoUse
Mike Taylor [Wed, 28 May 2014 14:48:51 +0000 (15:48 +0100)]
Use
attrs[i].value
in place of the old
attrs[i].nodeValue
which Chrome 36.0.1985.18 beta says is deprecated.

9 years agoOmit tmp test file *.log.xml in dist
Adam Dickmeiss [Mon, 19 May 2014 11:40:19 +0000 (13:40 +0200)]
Omit tmp test file *.log.xml in dist

9 years agoAdd first CF XML test file
Adam Dickmeiss [Mon, 19 May 2014 11:39:11 +0000 (13:39 +0200)]
Add first CF XML test file

9 years agoRemove already present XSL files from /etc/pazpar2
Adam Dickmeiss [Tue, 6 May 2014 11:54:03 +0000 (13:54 +0200)]
Remove already present XSL files from /etc/pazpar2

If files are identical they can be safely removed because
the new version is in /usr/share/pazpar2/xsl

9 years agoRe-ingest native facets PAZ-934
Adam Dickmeiss [Tue, 6 May 2014 10:35:00 +0000 (12:35 +0200)]
Re-ingest native facets PAZ-934

9 years agotest files: remove redundant and useless comments
Adam Dickmeiss [Tue, 6 May 2014 09:42:44 +0000 (11:42 +0200)]
test files: remove redundant and useless comments

10 years agoSkip XSL tests for old Libxslt older than 1.1.24
Adam Dickmeiss [Thu, 1 May 2014 07:55:16 +0000 (07:55 +0000)]
Skip XSL tests for old Libxslt older than 1.1.24

At least version 1.1.17 produces slightly different results.

10 years agoUpdate comment to reflect reality about medium override
Adam Dickmeiss [Wed, 30 Apr 2014 09:52:06 +0000 (11:52 +0200)]
Update comment to reflect reality about medium override

10 years agoAdd a solr-pz2.xsl test with medium override
Adam Dickmeiss [Wed, 30 Apr 2014 09:19:11 +0000 (11:19 +0200)]
Add a solr-pz2.xsl test with medium override

10 years agoAllow xsltproc options to be given in input XML test files
Adam Dickmeiss [Wed, 30 Apr 2014 09:16:57 +0000 (11:16 +0200)]
Allow xsltproc options to be given in input XML test files

Eg: <!-- xsltproc: ##stringparam medium cd --> in file.xml will
invoke:
  xsltproc --stringparam medium cd file.xsl file.xml
We had to use a different notation for -- because that is
otherwise not allowed in XML comments.

10 years agoAdd first test files for solr-pz2 XSL
Adam Dickmeiss [Wed, 30 Apr 2014 08:41:58 +0000 (10:41 +0200)]
Add first test files for solr-pz2 XSL

10 years agoFix condition for medium PAZ-929 saga again
Adam Dickmeiss [Wed, 30 Apr 2014 08:40:57 +0000 (10:40 +0200)]
Fix condition for medium PAZ-929 saga again

10 years agoNew, generic, test_xsl script
Adam Dickmeiss [Wed, 30 Apr 2014 08:22:27 +0000 (10:22 +0200)]
New, generic, test_xsl script

10 years agoXSL test in etc/xsl
Adam Dickmeiss [Wed, 30 Apr 2014 08:01:08 +0000 (10:01 +0200)]
XSL test in etc/xsl

Makes it easer to work with XSL; now that test and files are
separate from the Pazpar2 tests.

10 years agoOnly put *.xsl files in pazpar2-xsl package
Adam Dickmeiss [Wed, 30 Apr 2014 07:42:53 +0000 (09:42 +0200)]
Only put *.xsl files in pazpar2-xsl package

So we can have test stuff in there as well

10 years agoMerge remote-tracking branch 'origin/paz-932'
Adam Dickmeiss [Thu, 24 Apr 2014 11:46:56 +0000 (13:46 +0200)]
Merge remote-tracking branch 'origin/paz-932'

10 years agoFix ref to tmarc.xsl in test_tmarc
Adam Dickmeiss [Thu, 24 Apr 2014 11:46:01 +0000 (13:46 +0200)]
Fix ref to tmarc.xsl in test_tmarc

10 years agoSeparate package: pazpar2-xsl
Adam Dickmeiss [Thu, 24 Apr 2014 11:34:54 +0000 (13:34 +0200)]
Separate package: pazpar2-xsl

10 years agoUpdate RPM for new location of XSL files
Adam Dickmeiss [Thu, 24 Apr 2014 11:10:01 +0000 (13:10 +0200)]
Update RPM for new location of XSL files

10 years agoXSL files in separate directory; remove some un-maintained XSLs
Adam Dickmeiss [Thu, 24 Apr 2014 11:00:34 +0000 (13:00 +0200)]
XSL files in separate directory; remove some un-maintained XSLs

10 years agoImplement <file path="path"/>
Adam Dickmeiss [Thu, 24 Apr 2014 10:26:14 +0000 (12:26 +0200)]
Implement <file path="path"/>

10 years agonormalize_record: missing else
Adam Dickmeiss [Thu, 24 Apr 2014 09:01:31 +0000 (11:01 +0200)]
normalize_record: missing else

10 years agonormalize_record: simple rename
Adam Dickmeiss [Thu, 24 Apr 2014 09:01:10 +0000 (11:01 +0200)]
normalize_record: simple rename

10 years agoVersion 1.6.41 v1.6.41
Adam Dickmeiss [Wed, 23 Apr 2014 11:53:15 +0000 (13:53 +0200)]
Version 1.6.41

10 years agoFix URL with leading http:// not working PAZ-933
Adam Dickmeiss [Wed, 23 Apr 2014 09:51:38 +0000 (11:51 +0200)]
Fix URL with leading http:// not working PAZ-933