]> git.evergreen-ils.org Git - contrib/equinox.git/log
contrib/equinox.git
16 months agoerrant line sending a copy of the row master
Rogan Hamby [Mon, 12 Dec 2022 14:31:37 +0000 (09:31 -0500)]
errant line sending a copy of the row

2 years agomake it possible to do multiple libraries at once and remove need to build arrays
Rogan Hamby [Wed, 28 Jul 2021 12:09:34 +0000 (08:09 -0400)]
make it possible to do multiple libraries at once and remove need to build arrays

2 years agomake script more effecient by not building arrays for output
Rogan Hamby [Tue, 27 Jul 2021 21:24:58 +0000 (17:24 -0400)]
make script more effecient by not building arrays for output

3 years agocontribution from Blake Henderson, tested with cooperation of CollectionHQ
Rogan Hamby [Mon, 17 Aug 2020 19:59:20 +0000 (15:59 -0400)]
contribution from Blake Henderson, tested with cooperation of CollectionHQ

3 years agopatch from Blake Henderson adding subjct and genre
Rogan Hamby [Thu, 6 Aug 2020 13:10:03 +0000 (09:10 -0400)]
patch from Blake Henderson adding subjct and genre

4 years agoBookNet Canada export: stop using string interpolation in SQL statements
Galen Charlton [Mon, 13 Jan 2020 19:05:39 +0000 (14:05 -0500)]
BookNet Canada export: stop using string interpolation in SQL statements

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
4 years agoBookNet Canada export: fix incorrect counts
Galen Charlton [Mon, 13 Jan 2020 18:59:11 +0000 (13:59 -0500)]
BookNet Canada export: fix incorrect counts

Various "COUNT(foo.id)" needed to become "COUNT(DISTINCT foo.id)"
when gathering lending counts to avoid duplication of rows due
to the outer joins in the query.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
4 years agotypo fix
Rogan Hamby [Tue, 3 Dec 2019 13:43:01 +0000 (08:43 -0500)]
typo fix

4 years agoreplacing the 'current use' with static zero because it is being used as renewals...
Rogan Hamby [Thu, 25 Jul 2019 15:05:52 +0000 (11:05 -0400)]
replacing the 'current use' with static zero because it is being used as renewals and renewals circs are being double counted since they are also in the circ count

4 years agomoving most recent circ from action.circulation to all_circulation
Rogan Hamby [Wed, 24 Jul 2019 13:16:07 +0000 (09:16 -0400)]
moving most recent circ from action.circulation to all_circulation

5 years agoadding last_circ_lib into collectionhq items script
Rogan Hamby [Wed, 17 Apr 2019 15:12:37 +0000 (11:12 -0400)]
adding last_circ_lib into collectionhq items script

5 years agoabove the treeline files for koha
Rogan Hamby [Wed, 7 Nov 2018 16:56:33 +0000 (11:56 -0500)]
above the treeline files for koha

5 years agoadding note for admins as to when to run booknet script
Rogan Hamby [Fri, 13 Jul 2018 19:51:19 +0000 (15:51 -0400)]
adding note for admins as to when to run booknet script

5 years agosimpler naming for output file and bug fixes
Rogan Hamby [Fri, 8 Jun 2018 15:56:48 +0000 (11:56 -0400)]
simpler naming for output file and bug fixes

5 years agosettting static value to capture all historical circs in data extract
Rogan Hamby [Fri, 8 Jun 2018 15:32:18 +0000 (11:32 -0400)]
settting static value to capture all historical circs in data extract

5 years agoadding a convenient script for historical extracts for above the treeline
Rogan Hamby [Fri, 8 Jun 2018 15:23:59 +0000 (11:23 -0400)]
adding a convenient script for historical extracts for above the treeline

5 years agoremove redundant line
Rogan Hamby [Thu, 31 May 2018 16:54:11 +0000 (12:54 -0400)]
remove redundant line

5 years agosome conditions to make sending partial file transfers to treeline a little cleaner
Rogan Hamby [Thu, 17 May 2018 15:14:09 +0000 (11:14 -0400)]
some conditions to make sending partial file transfers to treeline a little cleaner

5 years agoremoved double commas
Rogan Hamby [Wed, 16 May 2018 18:38:07 +0000 (14:38 -0400)]
removed double commas

5 years agofixing word choice in README for above the treeline script
Rogan Hamby [Tue, 15 May 2018 13:06:43 +0000 (09:06 -0400)]
fixing word choice in README for above the treeline script

5 years agoadded above the treeline script and documentation
Rogan Hamby [Thu, 10 May 2018 18:30:20 +0000 (14:30 -0400)]
added above the treeline script and documentation

5 years agobooknet canada files
Rogan Hamby [Thu, 19 Apr 2018 18:38:11 +0000 (14:38 -0400)]
booknet canada files

8 years agoosrfsys log parser
Jason Etheridge [Fri, 25 Sep 2015 18:10:22 +0000 (14:10 -0400)]
osrfsys log parser

Some tweaks probably needed to the regular expressions within based on the log format.

./trace_logs.pl [--follow-pid] [--follow-auth] [--follow-trace] [--include-errors] [--search="substring"] [logfile1] [logfile2] [...]
or ./trace_logs.pl [-p] [-a] [-t] [-e] [-s "substring"] [logfile1] [logfile2] [...]
This script searches the specified (or piped) logfiles and spits out lines containing the "substring".
It optionally parses the logfiles and prints out related lines based on PID, threadtrace, and authtoken
values that it encounters in the matching lines.  --include-errors will pull in lines containing [ERR

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
9 years agonewitems.cgi - simple CGI script for linking to a list of new items in an Evergreen...
Galen Charlton [Wed, 17 Sep 2014 15:50:24 +0000 (11:50 -0400)]
newitems.cgi - simple CGI script for linking to a list of new items in an Evergreen catalog.

It accepts a list of one or more Evergreen location IDs (passed via
the "loc") CGI parameter and an optional count.  It then fetches
the list of bib IDs of the $count newest items in those locations,
then generates an HTTP redirect to a TPAC search results page.

To use, place it on the Evergreen web server in a directory that's
configured to run CGI scripts.

An example of a URL using this script:

http://catalog.example.org/cgi-bin/newitems.cgi?count=30&loc=123&loc=124

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
9 years agoUpdate from Michael Tate
Mike Rylander [Thu, 8 May 2014 15:35:30 +0000 (11:35 -0400)]
Update from Michael Tate

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoMerge branch 'master' of git.evergreen-ils.org:contrib/equinox
Jason Etheridge [Fri, 28 Mar 2014 20:19:43 +0000 (16:19 -0400)]
Merge branch 'master' of git.evergreen-ils.org:contrib/equinox

10 years agofrom the "Evergreen Availability Monitoring"
Michael Tate [Fri, 28 Mar 2014 20:18:11 +0000 (16:18 -0400)]
from the "Evergreen Availability Monitoring"

EG2014 conference talk

10 years agoLimit circ_modifier selection to items owned by submission lib(s)
Jason Boyer [Thu, 13 Feb 2014 20:44:44 +0000 (15:44 -0500)]
Limit circ_modifier selection to items owned by submission lib(s)

Without limiting the items considered to the submission library
it's possible that the circ_modifier chosen may not be in use
anywhere at that library.

Signed-off-by: Jason Boyer <jboyer1@library.in.gov>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agostylistic tweak - capitalize keyword
Galen Charlton [Thu, 13 Feb 2014 20:37:36 +0000 (15:37 -0500)]
stylistic tweak - capitalize keyword

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agoFix issue with change in copy "floating" datatype
Jeff Godin [Thu, 13 Feb 2014 20:26:25 +0000 (15:26 -0500)]
Fix issue with change in copy "floating" datatype

In recent versions of Evergreen, asset.copy.floating changed from a bool
to an int, which results in an error like the following:

 operator does not exist: integer = boolean
 SELECT CASE floating WHEN TRUE THEN 'Y' ELSE NULL END FROM a...

This change attempts to accommodate this change in datatype in a
backward-compatible way.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agouse passive mode to upload to CollectionHQ
Galen Charlton [Mon, 30 Dec 2013 18:28:50 +0000 (13:28 -0500)]
use passive mode to upload to CollectionHQ

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agofix return type of two collectionHQ functions
Galen Charlton [Mon, 30 Dec 2013 18:14:11 +0000 (13:14 -0500)]
fix return type of two collectionHQ functions

The write_*_rows_to_stdout() functions return nothing, so
set the return type accordingly to avoid
"control reached end of function without RETURN" warnings.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agomore Community Day nagios plugins
Michael Tate [Thu, 14 Nov 2013 20:59:26 +0000 (15:59 -0500)]
more Community Day nagios plugins

courtesy of Michael Tate

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
10 years agoREADME updated, typos fixed and prettyfied by Michael Tate.
Anoop Atre [Fri, 13 Sep 2013 21:08:06 +0000 (17:08 -0400)]
README updated, typos fixed and prettyfied by Michael Tate.

10 years agoCleaning up, eg-stats has been moved under monitoring.
Anoop Atre [Fri, 13 Sep 2013 20:51:15 +0000 (16:51 -0400)]
Cleaning up, eg-stats has been moved under monitoring.

10 years agoMoved eg-stats under monitoring, updated README and added nagios plugins.
Anoop Atre [Thu, 12 Sep 2013 19:19:54 +0000 (15:19 -0400)]
Moved eg-stats under monitoring, updated README and added nagios plugins.

10 years agoAdding eg-stats files for monitoring Evergreen services
Anoop Atre [Wed, 4 Sep 2013 21:56:28 +0000 (17:56 -0400)]
Adding eg-stats files for monitoring Evergreen services

11 years agoEvergreen report templates
Galen Charlton [Thu, 31 Jan 2013 18:28:02 +0000 (13:28 -0500)]
Evergreen report templates

Two sets of report templates for Evergreen.  These can
be installed using psql, e.g.,

psql -U evergreen < EvergreenReportTemplates.sql
psql -U evergreen < EvergreenAdditionalReportsTemplates.sql

EvergreenReportTemplates.sql contains patron, circulation, and cataloging
and collection reports, while EvergreenAdditionalReportsTemplates.sql
contains additional patron, circulation, cataloging, and acquisitions reports.

The reports were written by Shae Tetterton and packaged by Steve
Callender.  Sponsorship and testing were provided by Bibliomation,
the King County Library System, Kirtland Community College, and the
Pioneer Library System.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agocollectionHQ: fix query to retrieve price from bib record
Galen Charlton [Mon, 3 Dec 2012 17:46:57 +0000 (12:46 -0500)]
collectionHQ: fix query to retrieve price from bib record

Also includes a bit of whitespace cleanup.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoadd copyright and sponsorship statement
Galen Charlton [Fri, 12 Oct 2012 19:00:24 +0000 (15:00 -0400)]
add copyright and sponsorship statement

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agovarious speed improvements to the collectionHQ extract
Galen Charlton [Thu, 27 Sep 2012 21:43:13 +0000 (17:43 -0400)]
various speed improvements to the collectionHQ extract

This is the result of a first pass to remove inefficient
queries on metabib.real_full_rec and auditor.asset_copy_history.

Most of the changes don't affect the output, but there are a
couple exceptions:

- the new version is more likely to pick the first 082$a
  for the class number (which is also more correct)
- the script now bases the "current use count" on the date that
  the item was last transited to the current circ lib, rather than
  the date the circ lib simply changed.

The last change is the most uncertain.  One the one hand, it helps
proof the extract against pruning of the asset.copy auditor table.
On the other hand, if items change their circ library without getting
formally transited (which might be theoretically possible for
some workflows) the current use count *might* be calculated
differently than expected.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agomodernize the README for database backups
Galen Charlton [Tue, 4 Sep 2012 18:42:23 +0000 (14:42 -0400)]
modernize the README for database backups

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agodoubled shebang noticed by bshum and gmcharlt -- thanks!
Mike Rylander [Wed, 17 Mar 2010 18:06:15 +0000 (18:06 +0000)]
doubled shebang noticed by bshum and gmcharlt -- thanks!

git-svn-id: svn://svn.open-ils.org/ILS-Contrib@836 6d9bc8c9-1ec2-4278-b937-99fde70a366f

11 years agoadding db backup scripts, and an overview README of how to use them
Mike Rylander [Wed, 17 Mar 2010 17:57:36 +0000 (17:57 +0000)]
adding db backup scripts, and an overview README of how to use them

git-svn-id: svn://svn.open-ils.org/ILS-Contrib@835 6d9bc8c9-1ec2-4278-b937-99fde70a366f

11 years agofix bib query so that each bib is extracted only once
Galen Charlton [Thu, 2 Aug 2012 18:40:05 +0000 (14:40 -0400)]
fix bib query so that each bib is extracted only once

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agomake sure deleted bibs are excluded
Galen Charlton [Thu, 2 Aug 2012 16:20:57 +0000 (12:20 -0400)]
make sure deleted bibs are excluded

Belt-and-suspenders

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoScope collectionHQ extract to org unit + children
Jeff Godin [Thu, 2 Aug 2012 16:01:03 +0000 (12:01 -0400)]
Scope collectionHQ extract to org unit + children

Enable collectionHQ extract functions to scope to a specified org
unit ID and that org unit's children. Specify a default org unit of
1 to closely reproduce previous behavior.

NOTE: Even with an org unit of 1, this work-in-progress changes
previous behavior due to requiring an asset.call_number with
owning_lib in scope. Previously ALL bibs were included.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agocollectionHQ data extraction report
Galen Charlton [Wed, 1 Aug 2012 19:21:44 +0000 (15:21 -0400)]
collectionHQ data extraction report

Scripts to produce a report of bibs and items from
an Evergreen database for submission to collectionHQ.

These scripts were sponsored by the King County Library System.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoinitial README and license info for ESI's Evergreen contribs
Galen Charlton [Wed, 1 Aug 2012 19:13:23 +0000 (15:13 -0400)]
initial README and license info for ESI's Evergreen contribs

Signed-off-by: Galen Charlton <gmc@esilibrary.com>