Commit graph

11660 commits

Author SHA1 Message Date
Colin Campbell
7f0f83a6ec Enable warnings in koha2marclinks.pl
Fix code generating warnings with warnings enabled

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:25:47 -05:00
Colin Campbell
eee07ae861 Enable warnings in marctagstructure.pl
Fix a couple of comparisons generating warnings

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:25:45 -05:00
Colin Campbell
f4b3c131dc Bug 3723 Correct return of Institution in Patron Info Resp
While the comment correctly notes that the order of variable length
fields is not fixed some units expect mandatory fields to
follow the sequence in the protocol definition and fail
parsing otherwise. Moved institution id to its expected
place in the patron information response.

Indented the first half of the if (patron_valid) so its clearer
that two cases are handled here.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:22:29 -05:00
Colin Campbell
1deaecb6d8 (Bug 3767 - Return error if checkin passed an invalid item
If an invalid item barcode is passed to checkin
the sip2 connection dies. This is because although
no item object is created its mehods are called in Checkin
To maintain the connection properly catch the condition
and return the correct response to the unit
(should also fix Bug #3696 )

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:19:01 -05:00
0f5cba428d DB rev 116 - finish fixing default value of OrderPdfFormat
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:14:12 -05:00
Nicole Engard
0ded44769a bug 3923 followup - change orderpdfformat value if set wrong due to upgrade
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:13:20 -05:00
65540255d8 Fix for Bug 4138, Adding or deleting suggestions in the OPAC does not properly refresh the page
- Using redirect() and adding URL parameter to enable the display of
  messages on the screen confirming the action.
- Also correcting for JavaScript error in form validation routine.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:05:02 -05:00
Chris Nighswonger
d91ebf445f Bugfix: Enabling guide box configuration parameter
This patch enables turning the guide boxes on/off in the patron
cards layout editor.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 20:54:44 -05:00
Chris Nighswonger
2433a91e92 Removing depricated file from the C4::Labels module.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 20:54:40 -05:00
Chris Nighswonger
84d5b28f12 Bringing label, patroncard, and creator modules into conformity with the rest of C4 style.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 20:54:34 -05:00
Garry Collum
63bb60702f Bug 4142: Fixes XHTML errors in aqbudgetperiod.tmpl.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 20:54:26 -05:00
Colin Campbell
b5dafcf198 Bug 4140 label edit template links to non-existent script
changed link to point at labels script

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:46:15 -05:00
Nicole Engard
7c397b8d3b bug 3738 add preferences to new sys pref interface
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:46:13 -05:00
caf3e299f5 Merge branch '3.0.x-to-3.2.0' of /home/koha/koha1/dev into to-push
Forward-porting 3.0.x release notes.

* '3.0.x-to-3.2.0' of /home/koha/koha1/dev:
  forward-port rest of changes to 3.0.1 release notes
  Adding a translation note.
  Adding release notes for 3.0.1
  minor update on release notes
  Henri-Damien Laurent's release notes and version 3.0.2
  Preparing 3.0.3
  Updated references to Portuguese translation in Release Notes
  Followup release notes
  Adding release notes
  Update on release notes
  Adding 3.0.5 release notes

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:40:24 -05:00
f13f4b287c forward-port rest of changes to 3.0.1 release notes
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:38:01 -05:00
Henri-Damien LAURENT
932e937422 Adding a translation note.
(cherry picked from commit bd385c2248)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:34:23 -05:00
Henri-Damien LAURENT
b858912f5f Adding release notes for 3.0.1
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
(cherry picked from commit 7ce704ad98)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:34:09 -05:00
Henri-Damien LAURENT
c4ef8aaead minor update on release notes
(cherry picked from commit 65ac4e38ab)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:33:15 -05:00
eb6a87d401 Henri-Damien Laurent's release notes and version 3.0.2
(cherry picked from commit d010503b80)

Conflicts:

	Makefile.PL

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:32:23 -05:00
Henri-Damien LAURENT
abcb402f0a Preparing 3.0.3
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:31:05 -05:00
Ricardo Dias Marques
407da250e2 Updated references to Portuguese translation in Release Notes
Updated references to Portuguese translation in Release Notes
for the 3.0.4 Release:

- For OPAC, removed pt-PT from the list of Partial translations
  (because it already correctly appears in the list of complete ones)

- For Staff client, added pt-PT to the list of Partial translations
(cherry picked from commit f4eb63c728)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:29:31 -05:00
Henri-Damien LAURENT
59b67df036 Followup release notes
list involved in release notes for koha-devel were wrong
Thanks ricardo
(cherry picked from commit 0521828140)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:29:10 -05:00
Henri-Damien LAURENT
a37cc5b27e Adding release notes
(cherry picked from commit 2eba46985b)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:28:50 -05:00
Henri-Damien LAURENT
feb5cdfc8a Update on release notes
(cherry picked from commit 5983a8c381)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:28:14 -05:00
Henri-Damien LAURENT
7407f0af72 Adding 3.0.5 release notes
(cherry picked from commit cbaa3da19f)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:27:50 -05:00
e8f4b8dd00 Revert "overdue performance restored (INCOMPLETE FIX)"
Reverted because, as it describes itself, this was an incomplete
fix that simply commented out a feature that had been committed to HEAD
and sponsored by a library.  Bug 4139 has been opened for the underlying
performance issue.

This reverts commit 943aa38564.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 12:48:48 -05:00
Colin Campbell
5a087678da Bug 4133 Amend kohastructure to reflect earlier patch
updatedatebase is now setting aqorders.quantityreceived to NOT NULL
kohastructure needs bringing into line

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 11:47:05 -05:00
Colin Campbell
d3e2de3625 Bug 3810 Mail::Sendmail should not fail silently
The return from Mail::Sendmail should always be checked
Output the error message if it fails so we have some
indication of where to start looking if it fails

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 11:39:22 -05:00
a8564dbcf1 Fix for Bug 4093, OPAC Suggestions List has extra column
- This code was added to opac-suggestions.pl at one point by
  Garry Collum and was subsequently removed. Adding it back.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 11:37:05 -05:00
Chris Nighswonger
7b1a3d1ae8 Bugfix: Fixing issues with the patron card pdf rendering code
This patch fixes two bugs:

1. Correcting the text alignment alogrithms for center and right alignment

2. Changes a reference to layout to a copy of the layout to avoid performing
operations on the layout.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 11:25:49 -05:00
Colin Campbell
745ac87c20 Bug 4133 Ensure that orders have a valid quantity received
quantityreceived drives other parts of acq noticeably budget balances
ensure that a number (usually 0) is set in NewOrder
give field a valid default and set as not null
reinterpret exsting nulls in table as zero

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 11:21:48 -05:00
dd4f7a87d5 Fix for Bug 2869, 'do not delete' marc framework tag - reverts to 'default' framework
- "Do not delete" form was missing hidden framework code input.
- Also added details to breadcrumb navigation

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 10:50:21 -05:00
dae8244a03 Fix for Bug 4136, Invalid XHTML in spinelabel-print view
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 10:39:08 -05:00
b6b6be8e23 Markup error, closing tag missing
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 10:17:03 -05:00
Colin Campbell
55e9ac2ad3 Bug 3697 Return due date (SIP Field AH) in item info
Although the due date of an on loan item was being retrieved
the appropriate field in the Item object was not set
causing the due date not to be returned in the item
information response

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 10:13:43 -05:00
Colin Campbell
fb3f7966b4 Cleanup date handling in routing.pl
Remove dead code
Clarify the loop assigning dates
Remove the cause of undef warnings in the log

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 10:12:35 -05:00
Colin Campbell
d7c4412741 Add dependency Authen::CAS::Client
Required CPAN module was missing from deoendency list

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 10:00:59 -05:00
Colin Campbell
db511d897b Fix count in supplier dropdown in serials/claims.pl
Previous patch still used old variable name to get count causing
incorrect value to be returned

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 10:00:06 -05:00
Colin Campbell
e2e7f0d050 Correct misleading text
Some koha acq terminology is confusing to new users so lets at least
be consistent in our usages we are adding to the basket here not an order

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 09:54:59 -05:00
d4678b363a bug 2576 - fix XHTML validation errors generated by previous commit
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 09:14:59 -05:00
Jane Wagner
0e7fa3edbd Bug 2576 reopened -- turn off fines elsewhere in OPAC account
The original patch allowed use of the OPACFinesTab syspref to turn off
the Fines tab in the OPAC patron record.  However, a column for fines
still appears in the listing of overdues, and as a tab on the line with
Overdues, Holds, Fines, etc.  This patch turns off the other instances of
fine columns/displays if the syspref is off.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 09:12:33 -05:00
372ebb8bdd set koha_login_context in order to get auto-login for SCO working
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 09:01:25 -05:00
5c88458217 DB rev 114 - tweak AutoSelfCheckAllowed, AutoSelfCheckID, and AutoShelfCheckPass
* made AutoSelfCheckID and AUtoSelfCheckPass type free instead of textarea
* consolidated DB updates into one

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 08:47:13 -05:00
Jane Wagner
f52c54eb35 Bug 3738 Automate login to web-based self-check system
Some small, single-branch corporate and special libraries use unattended self-checkout stations, and would like to automate the staff login, so that just going to the sco/sco-main.pl URL would bring the self-check up ready for patron use.  This patch create three sysprefs, AutoSelfCheckAllowed, and AutoSelfCheckID/AutoSelfCheckPass. If the site wants to allow automated login, staff would then need to create the selfcheck user record and enter that login ID and password into the sysprefs.  The kohaclone/opac/sco/sco-main.pl script has been modified to check these sysprefs and pass values (if present and allowed) into the self-check URL.  The URL then bypasses the staff login page and comes up ready for checkout, waiting for the first patron barcode.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 08:43:07 -05:00
ff4d456072 Bug 3920 - Add 2 syspref to activate XSLT use in OPAC/Intranet
- Add two syspref:
  - OPACXSLTResultsDisplay
  - OPACXSLDetailsDispay
- Add them to .pref files and dispatch them beetween OPAC and Search
  tab.
- Upgrade DB version to 3.2 .113
- Fix something wrong in UNIMARCslim2intranetDetail.xsl
- Display OPAC result and detail pages using those syspref.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 08:08:44 -05:00
Matthias Meusburger
88e99d1c29 BZ4104: Removes tagging in staff client
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 07:59:46 -05:00
Garry Collum
fd2bf6043b Bug 3752: Fixed XHTML errors in opac-MARCdetail.tmpl
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 07:48:44 -05:00
Garry Collum
c6805cea9d Bugs 3646 and 2651: Changes the output of compact.xsl from html to xhtml.
Changes the output of compact.xsl to XHTML for catalogue/showmarc.pl?viewas=card.

Adds <title> element in <head>.
Removes link to nonexistent css file (bug 2651).

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 07:48:39 -05:00
Nicole Engard
96e4e27b42 bug 4129 fix display of html on the overdue report
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 07:39:57 -05:00
Garry Collum
2e6ea2d4cd Bug 3662: Invalid XHTML in update-child.tmpl - resubmission.
Missing </td> closing tag.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 07:39:55 -05:00