Clay Fouts [Wed, 30 May 2012 19:56:09 +0000 (12:56 -0700)]
Minor update: 4.12.0
Clay Fouts [Thu, 24 May 2012 20:28:01 +0000 (13:28 -0700)]
Micro update: 4.11.3
Clay Fouts [Thu, 24 May 2012 20:27:21 +0000 (13:27 -0700)]
Merge branch 'PT17991037-item_damage' into ptfs-master
Clay Fouts [Thu, 24 May 2012 18:43:13 +0000 (11:43 -0700)]
Revert "[Fixes
21052301] Functional changes only - validating barcode"
This reverts commit
1db784f195fc4a58a41db056ef3c0066731a1c61.
Clay Fouts [Wed, 23 May 2012 19:33:53 +0000 (12:33 -0700)]
Don't delete session upon failed permissions check
check_cookie_auth and check_api_auth will delete the user's
whole session if they fail a permissions check. This is
a little heavy handed, and it makes certain permissions
structures impossible. This commit refactors check_cookie_auth
completely and removes the session deletion section from
check_api_auth.
Clay Fouts [Tue, 22 May 2012 23:11:26 +0000 (16:11 -0700)]
Merge pull request #351 from rfy/PT-
27657565
PT-
27657565 -- Adds capability to limit advanced search to book format a...
Clay Fouts [Tue, 22 May 2012 01:18:49 +0000 (18:18 -0700)]
Clay Fouts [Mon, 21 May 2012 22:05:18 +0000 (15:05 -0700)]
[#
17988819] Store TalkingTech messages in database
This changes the TalkingTech message enqueueing such
that new message entries get added to a database table
rather than written to the filesystem. Also provides
a new cron job that emits the pending entries as a
single ttech-formatted string, marking the queue done
in the process.
Rashid Faraby [Fri, 18 May 2012 15:12:22 +0000 (15:12 +0000)]
PT-
27657565 -- Adds capability to limit advanced search to book format and adult audience.
Clay Fouts [Fri, 18 May 2012 01:36:14 +0000 (18:36 -0700)]
[#
14780809] Add format/itype/ccode/etc. quicksearch limiter
Clay Fouts [Fri, 18 May 2012 01:35:23 +0000 (18:35 -0700)]
Suppress warning in C4::Languages
Clay Fouts [Wed, 16 May 2012 21:28:55 +0000 (14:28 -0700)]
Merge pull request #349 from wagnerj/PT24985605-rev
[#
24985605] Add identifiers to various sections of OPAC
Clay Fouts [Wed, 16 May 2012 20:58:36 +0000 (13:58 -0700)]
Merge pull request #347 from dlbptfs/SIP_CT
[#
28917481] SIP2 no longer delivering CT field to sorter
jwt01 [Mon, 14 May 2012 14:40:34 +0000 (14:40 +0000)]
[#
24985605] Add identifiers to various sections of OPAC
Sponsored by National Association of Realtors. Adds unique
identifiers to various places in the OPAC so they can be
changed or hidden with a jquery and controlled by separate
stylesheet entries. Identifiers include separate IDs for each
left-side tab on the patron OPAC account, Holds tab and table
headers, Pickup location table headers, Place Hold wording in
Cart, and empty placeholder IDs which can be used for custom
messages on the account Checked Out, Overdue, and Holds tab
(also on the Confirm Holds screen).
In addition, created unique identifiers for the labels and contents
of many fields in the XSLT results list and title display screens.
This allows sites to reword the labels, change the font/color, or
hide a particular label and field altogether.
See separate documentation for details on usage and syntax.
David Birmingham [Tue, 1 May 2012 22:19:26 +0000 (18:19 -0400)]
[#
28917481] SIP2 no longer delivering CT field to sorter
It appears that the CT field was only being added when a transfer was
being triggered by a hold. The case of an item being returned to a
non-homebranch library was providing an alert to transfer the item, but
not including the destination location (CT) field.
Clay Fouts [Sun, 22 Apr 2012 01:01:06 +0000 (18:01 -0700)]
Enable DB caching in C4::Auth::get_all_subpermissions
Clay Fouts [Sat, 21 Apr 2012 06:16:20 +0000 (23:16 -0700)]
Employ caching in C4::Languages
Clay Fouts [Wed, 18 Apr 2012 17:52:37 +0000 (10:52 -0700)]
Installer referencing wrong data directory base
Clay Fouts [Thu, 12 Apr 2012 18:52:38 +0000 (11:52 -0700)]
[refactor #
24595459] Calculate proper patron expiry
Clay Fouts [Tue, 10 Apr 2012 15:00:30 +0000 (08:00 -0700)]
[#
27776675] Fix variable scope for notice triggers editor
Clay Fouts [Fri, 6 Apr 2012 20:01:47 +0000 (13:01 -0700)]
Remove syspref count test; dubious utility
Clay Fouts [Fri, 6 Apr 2012 19:58:08 +0000 (12:58 -0700)]
Merge pull request #344 from dlbptfs/PT27547969
[#
27547969] Clear negative notforloan status on checkin
David Birmingham [Thu, 5 Apr 2012 22:13:58 +0000 (18:13 -0400)]
[#
27547969] Clear negative notforloan status on checkin
This patch incorporates a new syspref (ClearNotForLoan) that, when enabled,
will set the item.notforloan status to zero when an item is checked in and
previously had a negative value.
Clay Fouts [Tue, 27 Mar 2012 15:38:29 +0000 (08:38 -0700)]
[#
27040815] Don't overwrite location with null permanent location
Clay Fouts [Mon, 26 Mar 2012 22:24:55 +0000 (15:24 -0700)]
Micro update: 4.11.2
Clay Fouts [Mon, 26 Mar 2012 21:59:24 +0000 (14:59 -0700)]
Merge pull request #338 from xds/warnings_25359541
[#
2535941] warnings spamming log files
Clay Fouts [Mon, 26 Mar 2012 21:51:23 +0000 (14:51 -0700)]
Merge pull request #335 from xds/catch_circ_err_25237465
[#
25237465] catch circ error gracefully.
Clay Fouts [Mon, 26 Mar 2012 21:33:06 +0000 (14:33 -0700)]
Merge pull request #339 from dlbptfs/PT25834941
[#
25834941] Add Shelving Location to SIP2 Script
Robert Phillips [Thu, 15 Mar 2012 14:44:34 +0000 (14:44 +0000)]
[Fixes
21052301] Functional changes only - validating barcode
This commit fixes LK story
21052301, including the problem mentioned
in comments there about validation failures on patron cardnumber
when creating a new patron and trying to save after ignoring
previous errors found for the cardnumber after leaving the card number
field.
Robert Phillips [Thu, 15 Mar 2012 16:36:21 +0000 (16:36 +0000)]
[Fixes #
24595459] patron record creation- auto calculate not working as expected
Added a date-calcuation check to memberentry.pl for ops insert,modify,save.
Also added a preparatory conversion of the required base date, dateenrolled, to iso
format before calling GetExpiryDate() to calculate the expiry date. This is the date
that the story reported was not correctly calculated.
Removed two prior unnecessary calls to GetExpiryDate in the code that also had
no pre-check and conversion to iso of the dateenrolled date.
Clay Fouts [Mon, 26 Mar 2012 20:30:26 +0000 (13:30 -0700)]
Write all params to error log in CatchErrors middleware
Clay Fouts [Mon, 26 Mar 2012 18:55:59 +0000 (11:55 -0700)]
Merge pull request #341 from ctfliblime/PT26875895-patroncats
Merge in ConstrainPatronsDeeply pref and related code
David Birmingham [Fri, 23 Mar 2012 23:13:15 +0000 (19:13 -0400)]
[#
25834941] Add Shelving Location to SIP2 Script
This patch uses the items.location value for the SIP2 sort bin field (CL).
This SIP2 field is only used in the response message (10) to a checkin.
Clay Fouts [Thu, 22 Mar 2012 23:56:59 +0000 (16:56 -0700)]
[#
26875895] Update member viewing scripts to still obey patron groups
Clay Fouts [Thu, 22 Mar 2012 23:52:58 +0000 (16:52 -0700)]
[#
26875895] Create helper function BranchesAreSiblings
Clay Fouts [Thu, 22 Mar 2012 23:52:13 +0000 (16:52 -0700)]
[#
26875895] Push check for group constraint into its own function
Clay Fouts [Thu, 22 Mar 2012 18:50:47 +0000 (11:50 -0700)]
[#
26875895] Add "ConstrainPatronsDeeply" syspref
Andrew Shapiro [Fri, 16 Mar 2012 23:31:38 +0000 (19:31 -0400)]
[#
2535941] warnings spamming log files
Clay Fouts [Thu, 15 Mar 2012 23:08:45 +0000 (16:08 -0700)]
[#
24229095] Cannot add matchchecks to matching rules
The functional piece of this is changing the iterated variable
of the match-check loop from @mp_nums to @mc_nums, which looks
like it was introduced as a pasteo in the original development.
Also updated the script magic.
Clay Fouts [Thu, 15 Mar 2012 21:52:20 +0000 (14:52 -0700)]
Add tests for syspref defaults consistency
Clay Fouts [Wed, 14 Mar 2012 22:02:52 +0000 (15:02 -0700)]
Minor update: 4.11.1
Clay Fouts [Wed, 14 Mar 2012 21:37:26 +0000 (14:37 -0700)]
Quiesce warnings in C4::Reserves::_GetNextReserve
Andrew Shapiro [Wed, 14 Mar 2012 21:36:49 +0000 (17:36 -0400)]
[#
25237465] catch circ error gracefully.
Robert Phillips [Tue, 13 Mar 2012 13:37:02 +0000 (13:37 +0000)]
[Fixes #
21102599] Moving item to a bib - display 245$b, change labels
Changed check_barcode.pl to glean the 245$b (title remainder) value for
an item and return it in the 'data' object for use by a getJSON call in
additem.tmpl.
Changed additem.tmpl to display the 245$b value and changed a couple of
labels as requested by the story.
Clay Fouts [Wed, 14 Mar 2012 21:10:53 +0000 (14:10 -0700)]
Merge remote-tracking branch 'origin/ptfs-master' into ptfs-master
Clay Fouts [Wed, 14 Mar 2012 21:10:32 +0000 (14:10 -0700)]
Merge pull request #334 from dlbptfs/PT24502945
[#
24502945] Running Suppressed item through checkin removes suppress sta...
Clay Fouts [Wed, 14 Mar 2012 21:08:10 +0000 (14:08 -0700)]
Merge remote-tracking branch 'sjw/PT24762913-rev' into ptfs-master
Conflicts:
installer/data/mysql/updatedatabase.pl
Clay Fouts [Wed, 14 Mar 2012 21:03:10 +0000 (14:03 -0700)]
Fixes to updatedatabase.pl
Clay Fouts [Wed, 14 Mar 2012 20:59:56 +0000 (13:59 -0700)]
Merge remote-tracking branch 'sjw/PT22637669-rev' into ptfs-master
Conflicts:
installer/data/mysql/updatedatabase.pl
Clay Fouts [Wed, 14 Mar 2012 20:54:33 +0000 (13:54 -0700)]
Merge pull request #333 from wagnerj/PT26190279-rev
[#
26190279] Give Checkout history table unique identifier
Clay Fouts [Wed, 14 Mar 2012 20:51:41 +0000 (13:51 -0700)]
Merge pull request #325 from dlbptfs/PT25834983
[#
25834983] Enhance SIP2 for ITG communication to pass 'Lost Item' statu...
Clay Fouts [Wed, 14 Mar 2012 20:46:21 +0000 (13:46 -0700)]
Merge pull request #270 from rfy/PT-
13543949
PT-
13543949 -- Adds the capability to customize advanced search limits criteria in the OPAC and staff clients.
David Birmingham [Tue, 13 Mar 2012 23:20:55 +0000 (19:20 -0400)]
[#
24502945] Running Suppressed item through checkin removes suppress status
Changed the assignment of default values to an item's withdrawn, suppressed,
or not for loan status.
jwt01 [Tue, 13 Mar 2012 18:08:19 +0000 (18:08 +0000)]
[#
26190279] Give Checkout history table unique identifier
Added a table identifier (and reworded one of the headers slightly)
to allow use of jquery statements to affect the table display.
Added table identifier of checkouthistt -- now this jquery will hide
(for example) the second column (patron name)
$("#checkouthistt").find("tbody td:nth-child(2),thead th:nth-child(2)").hide();
Also changed one column header from Library to Owning Library. These
jquery statements will allow relabeling the library headers:
$("#checkouthistt th:contains('Issuing Library')").replaceWith("\<th\>Checked out at\<\/th\>");
$("#checkouthistt th:contains('Owning Library')").replaceWith("\<th\>Belongs To\<\/th\>");
Andrew Shapiro [Mon, 12 Mar 2012 18:14:42 +0000 (11:14 -0700)]
Merge pull request #329 from xds/fix_table_fields_259467887
Fix table fields
259467887
xds [Fri, 9 Mar 2012 18:59:00 +0000 (13:59 -0500)]
[#
25946787] sync items and subscription_defaults schema
Clay Fouts [Fri, 9 Mar 2012 20:17:56 +0000 (12:17 -0800)]
[#
25974505] Disable patron group checking in reserves handling
In situations where a bib had reserves on it by patrons
belonging to branches not in the current agent's branch group,
CheckReserves would trigger an exception by eventually calling
GetCircControlBranch with an undefined borrower category.
This is not a nice solution, but it will do until we can
rethink the permissions architecture for how patron hiding
can work.
David Birmingham [Tue, 6 Mar 2012 20:24:55 +0000 (15:24 -0500)]
[#
25834983] Enhance SIP2 for ITG communication to pass 'Lost Item' status
Utilized the SIP2 CH (item properties) field to pass the descriptive
infomation represented by the items.itemlost value.
Clay Fouts [Fri, 2 Mar 2012 21:07:34 +0000 (13:07 -0800)]
[#
21102187] Refine display of item-specific reserves
Clay Fouts [Fri, 2 Mar 2012 01:02:29 +0000 (17:02 -0800)]
[#
16738683] "Ignore, Keep here" button initiates a transfer
Clay Fouts [Thu, 1 Mar 2012 00:20:45 +0000 (16:20 -0800)]
Merge pull request #323 from podengo/pt24012069
[Fixes PT24012069] - Add otherstatus and damaged info to holds queue rep...
Clay Fouts [Wed, 29 Feb 2012 21:31:11 +0000 (13:31 -0800)]
Merge pull request #322 from ctfliblime/PT25662245-missing-itemholds
PTFS PT
11434853 remove paging from Holds Queue Report
Clay Fouts [Wed, 29 Feb 2012 21:18:33 +0000 (13:18 -0800)]
[#
20608005/#
25662245] Item-level holds not getting fulfilled
Yet another instance of what amounts to a "type" error
emerging from the arbitrary and inconsistent naming
of data members. In this case it was that a data member
named "borrowercategory" was being passed to GetIssuingRule(),
but the data passed into the calling function had that value
stored as its column name, "categorycode".
Haskell is looking better all the time.
Robert Phillips [Wed, 29 Feb 2012 20:03:09 +0000 (20:03 +0000)]
[Fixes PT24012069] - Add otherstatus and damaged info to holds queue report.
Bring from table items column values for otherstatus and damaged through the
Reserves GetHoldsQueItems routine for use by view_holdsqueue.pl.
The purpose is to generate template variables to control display of this info,
along with span class ids so end users can use other Koha facilities to
control their display characteristics.
Clay Fouts [Wed, 29 Feb 2012 01:26:32 +0000 (17:26 -0800)]
Merge pull request #321 from ctfliblime/PT24011971-local_items
[#
24011971] Enable OPAC search constraints based on category name
Clay Fouts [Wed, 29 Feb 2012 00:46:25 +0000 (16:46 -0800)]
Tidying up the formatting and dead code in C4::Search::searchResults()
Clay Fouts [Mon, 27 Feb 2012 23:30:42 +0000 (15:30 -0800)]
[#
24011971] Enable OPAC search constraints based on category name
Instead of placing the CCL string into the <default_search_limit>
contents, a branchcategory name can be specified in the "group"
attirbute of the tag, as such:
<opachosts>
<opac hostname="my-opac.kohalibrary.com">
<default_search_limit group="GROUP1" override="1" />
</opac>
</opachosts>
This will prompt Koha to set default search limits, selecting
only titles having items available at branches in the given
branch category.
Search results and title details can be further limited to
display only information about items that are part of the
search domain of the current agent. This is accomplished by
adding a 'hide_other_items="1"' attribute to the tag, as:
<default_search_limit group="GROUP1"
hide_other_items="1"
override="1" />
Clay Fouts [Fri, 24 Feb 2012 00:15:11 +0000 (16:15 -0800)]
[#
12097135] Subscription defaults not picking up framework defaults
Clay Fouts [Thu, 23 Feb 2012 01:29:56 +0000 (17:29 -0800)]
[#
19174343] Dirty cache handling mutates branch info
C4::Branch::GetBranchInfo() returns a format just slightly
different from GetBranches(), renaming "category" attr to
"categories". The problem was that it was doing this to
the cached master copy, so all future calls to GetBranches
would return the mutated copy. This patch just clones the
branch info.
Clay Fouts [Wed, 22 Feb 2012 18:45:42 +0000 (10:45 -0800)]
[#
24589597] Passed holdsqueue items retain former callnumber
Clay Fouts [Tue, 21 Feb 2012 07:31:59 +0000 (23:31 -0800)]
[#
25237193] Delete member exits non-zero
Clay Fouts [Tue, 21 Feb 2012 07:11:40 +0000 (23:11 -0800)]
[#
25060133] Update opac-downloadshelf to use Perl's "given" feature
Clay Fouts [Sun, 19 Feb 2012 07:28:36 +0000 (23:28 -0800)]
[#
25161833] (more) Clean up IP address parsing
There are some proxies which insert a non-IP value into
the HTTP_X_FORWARDED_FOR header (e.g. "unknown") to
protect privacy or who knows why. This would bunge up
Koha's IP detection. This patch looks for something that
looks like a good address, then if all else fails it
resorts to reporting that the client is not in any branch.
Clay Fouts [Sun, 19 Feb 2012 01:04:57 +0000 (17:04 -0800)]
Fix up miscellaneous errors resulting from bad bib numbers
Clay Fouts [Sat, 18 Feb 2012 23:56:13 +0000 (15:56 -0800)]
[#
25161833] Clean up IP address parsing
If there's more than one proxy standing between the client
and Koha's web server, the HTTP_X_FORWARDED_FOR header may
contain more than one IP address. C4::Branch::GetBranchByIp
was not prepared for this condition, and it would cause an
exception.
Clay Fouts [Sat, 18 Feb 2012 23:25:42 +0000 (15:25 -0800)]
Add error catching middleware
Clay Fouts [Sat, 18 Feb 2012 23:23:58 +0000 (15:23 -0800)]
Don't close STDOUT
Clay Fouts [Thu, 16 Feb 2012 23:36:35 +0000 (15:36 -0800)]
Merge remote-tracking branch 'origin/ptfs-master' into ptfs-master
Clay Fouts [Thu, 16 Feb 2012 23:35:49 +0000 (15:35 -0800)]
[#
25088735] OPAC users can renew arbitrary items
jwt01 [Mon, 13 Feb 2012 12:55:54 +0000 (12:55 +0000)]
[#
24762913] Adds required authvals
Adds default entries into authorized values for BOR_NOTES
and MANUAL_INV.
jwt01 [Mon, 13 Feb 2012 12:46:25 +0000 (12:46 +0000)]
[#
22637669] Add default sample BILLING notice
Adds a default BILLING notice to the delivered sample
notices. Also rewords the default ODUE notice to use
items.content rather than biblio title and other fields.
Clay Fouts [Sat, 11 Feb 2012 01:43:29 +0000 (17:43 -0800)]
Merge pull request #315 from wagnerj/PT7635667
[#
7635667] Restore itype icon display to advanced search
Clay Fouts [Sat, 11 Feb 2012 01:42:08 +0000 (17:42 -0800)]
Merge pull request #314 from wagnerj/PT24759991
[#
24759991] Remove list of lost items from patron details
jwt01 [Fri, 10 Feb 2012 13:21:05 +0000 (13:21 +0000)]
[#
7635667] Restore itype icon display to advanced search
The OPAC advanced search page was not displaying icons if
any had been assigned to item types. Restoring that display.
jwt01 [Fri, 10 Feb 2012 13:02:23 +0000 (13:02 +0000)]
[#
24759991] Remove list of lost items from patron details
The old list of Lost items on the patron details tab is now
redundant and causes display problems on sites using patron
images. This commit removes that display and the code
producing it.
Clay Fouts [Thu, 9 Feb 2012 21:49:11 +0000 (13:49 -0800)]
Merge remote-tracking branch 'origin/ptfs-master' into ptfs-master
Clay Fouts [Thu, 9 Feb 2012 21:39:57 +0000 (13:39 -0800)]
[#
24590587] Unable to pass some items in holds queue
The main functional part of this piece is the area
around line 423 of C4::Reserves, where being called
from ModReservePass had the borrowers.categorycode
stored in a different value than when called from
GetReservesForQueue. What a mess.
Clay Fouts [Thu, 9 Feb 2012 16:38:19 +0000 (08:38 -0800)]
Merge pull request #313 from ctfliblime/PT-
12917055-ctf
[#
12917055] Customize search relevancy ranking
Rashid Faraby [Thu, 9 Feb 2012 03:43:59 +0000 (03:43 +0000)]
[#
12917055] Customize search relevancy ranking
Adds possibility to adjust relevancy ranking search by allowing
user to prioritize segments of the CCL query. For example, a
user could specifya CCL snippet like:
(rtype=a not format,regExpr-1=[a-z]) and language=eng
in the AdjustRelevancyRanking syspref. This will generate a
search result which will prioritize book materials in English.
If blank entry is specified the syspref, Zebra will use the
regular relevancy ranking defined in Koha.
Clay Fouts [Wed, 8 Feb 2012 21:07:44 +0000 (13:07 -0800)]
[#
24643365] Revert "Simplify OPAC login linkage"
This reverts commit
0e9cce03aea10d2975e6106aa15a56d3e407ccae.
Clay Fouts [Wed, 8 Feb 2012 15:11:28 +0000 (07:11 -0800)]
[#
24638745] Database handle not setting timezone
Clay Fouts [Tue, 7 Feb 2012 19:51:06 +0000 (11:51 -0800)]
Set KOHA_CONF env var based on load-time config
Clay Fouts [Tue, 7 Feb 2012 19:49:21 +0000 (11:49 -0800)]
Improperly formatted branch IP ranges can result in exceptions
Clay Fouts [Tue, 7 Feb 2012 19:45:32 +0000 (11:45 -0800)]
Merge remote-tracking branch 'origin/ptfs-master' into ptfs-master
Clay Fouts [Tue, 7 Feb 2012 19:43:27 +0000 (11:43 -0800)]
[#
24588637] Fully specify call to CheckReserves
Depending on module load ordering, C4::Circulation may not
know the full qualification for C4::Reserves functions.
Clay Fouts [Tue, 7 Feb 2012 17:42:54 +0000 (09:42 -0800)]
Merge pull request #309 from wagnerj/PT12466971-rev2
[#
12466971] Add IntranetUserCSS syspref
Clay Fouts [Tue, 7 Feb 2012 00:39:29 +0000 (16:39 -0800)]
[#
14554159] reverting invasive schema changes
jwt01 [Thu, 2 Feb 2012 13:14:54 +0000 (13:14 +0000)]
[#
12466971] Add IntranetUserCSS syspref
Adds a system preference for staff side stylesheet changes,
similar to the OPACUserCSS syspref.
Clay Fouts [Wed, 1 Feb 2012 20:56:21 +0000 (12:56 -0800)]
Merge pull request #306 from wagnerj/PT18396711
[#
18396711] Ability to take runtime parameter for reports
Clay Fouts [Wed, 1 Feb 2012 20:40:16 +0000 (12:40 -0800)]
Merge pull request #308 from dlbptfs/PT21556717
[#
21556717] Circulation wizard "unknown value"