wip/koha-chris_n.git
10 years agoFix FSF address in directory circ/
Lars Wirzenius [Tue, 16 Mar 2010 02:31:09 +0000 (15:31 +1300)]
Fix FSF address in directory circ/

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFix FSF address in directory admin/
Lars Wirzenius [Tue, 16 Mar 2010 02:31:03 +0000 (15:31 +1300)]
Fix FSF address in directory admin/

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoReplace inline copy of GPL-2 with a reference to /usr/share/common/licenses.
Lars Wirzenius [Tue, 16 Mar 2010 02:31:00 +0000 (15:31 +1300)]
Replace inline copy of GPL-2 with a reference to /usr/share/common/licenses.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFix FSF address in directory authorities/
Lars Wirzenius [Tue, 16 Mar 2010 02:31:04 +0000 (15:31 +1300)]
Fix FSF address in directory authorities/

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFix FSF address in directory catalogue/
Lars Wirzenius [Tue, 16 Mar 2010 02:31:07 +0000 (15:31 +1300)]
Fix FSF address in directory catalogue/

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFix FSF address in directory install_misc/
Lars Wirzenius [Tue, 16 Mar 2010 02:31:12 +0000 (15:31 +1300)]
Fix FSF address in directory install_misc/

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFix FSF address in directory etc/
Lars Wirzenius [Tue, 16 Mar 2010 02:31:10 +0000 (15:31 +1300)]
Fix FSF address in directory etc/

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFix copyright license statements to use the right old address for the FSF.
Lars Wirzenius [Tue, 16 Mar 2010 02:30:59 +0000 (15:30 +1300)]
Fix copyright license statements to use the right old address for the FSF.

Looks like someone has done some search/replace on character codes with
patterns that match the address. Oops.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFix FSF address in directory basket/
Lars Wirzenius [Tue, 16 Mar 2010 02:31:05 +0000 (15:31 +1300)]
Fix FSF address in directory basket/

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoRemove whitespace from ends of lines of copyright statement.
Lars Wirzenius [Tue, 16 Mar 2010 02:30:58 +0000 (15:30 +1300)]
Remove whitespace from ends of lines of copyright statement.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoAdd script to replace old FSF address on Temple Street with new one.
Lars Wirzenius [Tue, 16 Mar 2010 02:30:56 +0000 (15:30 +1300)]
Add script to replace old FSF address on Temple Street with new one.

This assumes certain patterns for the paragraph that contains
the FSF's address. It is not a generic tool.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoAdd script to find source files with copyright license problems.
Lars Wirzenius [Tue, 16 Mar 2010 02:30:55 +0000 (15:30 +1300)]
Add script to find source files with copyright license problems.

The files reported are those with a copyright statement, but
without a reference to the GPL2 or later, or with a non-current
FSF address.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFix wording of 'at your option' in GPL license statement
Lars Wirzenius [Tue, 16 Mar 2010 02:31:01 +0000 (15:31 +1300)]
Fix wording of 'at your option' in GPL license statement

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoUpdate LICENSE with a fresh copy from upstream. This updates the FSF address, and...
Lars Wirzenius [Tue, 16 Mar 2010 02:30:57 +0000 (15:30 +1300)]
Update LICENSE with a fresh copy from upstream. This updates the FSF address, and refers to the LGPL with its current name, and changes a few other minor things of the typographical sort. No semantic changes.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobug 3482: add PrintNoticesMaxLines to new syspref editor
Galen Charlton [Wed, 17 Mar 2010 00:11:14 +0000 (20:11 -0400)]
bug 3482: add PrintNoticesMaxLines to new syspref editor

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobump up DBrev to 125
Galen Charlton [Wed, 17 Mar 2010 00:03:44 +0000 (20:03 -0400)]
bump up DBrev to 125

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoMerge branch 'Bug3482' of git://github.com/ptfs/Koha-PTFS into to-push
Galen Charlton [Wed, 17 Mar 2010 00:02:31 +0000 (20:02 -0400)]
Merge branch 'Bug3482' of git://github.com/ptfs/Koha-PTFS into to-push

* 'Bug3482' of git://github.com/ptfs/Koha-PTFS:
  Bug 3482: Updated DB version
  Bug 3482 changed name of notices file
  Bug 3482 Allow hold notices to be sent in print form
  Add expiration date, today to hold notices
  Modified to use dirspec only
  Bug 3482 Print Notices via HTML

10 years agoFixes bug 4232: Undefined hash references in Label Creator
Koha User [Wed, 10 Mar 2010 20:37:45 +0000 (20:37 +0000)]
Fixes bug 4232: Undefined hash references in Label Creator

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agosync staff version of MARC21slimUtils.xsl with OPAC version
Galen Charlton [Mon, 1 Mar 2010 16:25:08 +0000 (11:25 -0500)]
sync staff version of MARC21slimUtils.xsl with OPAC version

Fixes following error when displaying records with 880 fields:

runtime error: file .../MARC21slim2intranetDetail.xsl line 63 element call-template The called template 'm880Select' was not found.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoBug 3567: Consider ISO language codes as well
Wolfgang Heymans [Fri, 18 Sep 2009 10:02:01 +0000 (12:02 +0200)]
Bug 3567: Consider ISO language codes as well

Consider ISO language codes like 'Hebr' as well as 2-letter MARC codes like '2(' when checking trailing '/r' in linkage field.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoMerge branch 'translation' of git://git.workbuffer.org/git/koha into master
Galen Charlton [Fri, 26 Feb 2010 11:58:44 +0000 (06:58 -0500)]
Merge branch 'translation' of git://git.workbuffer.org/git/koha into master

* 'translation' of git://git.workbuffer.org/git/koha:
  Ukranian sql updates Serhij Dubyk
  Deleting unneeded Russian files - Thanks Serhij Dubyk
  Updated Russian SQL files

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoUkranian sql updates Serhij Dubyk
Chris Cormack [Fri, 26 Feb 2010 08:43:58 +0000 (21:43 +1300)]
Ukranian sql updates Serhij Dubyk

10 years agoDeleting unneeded Russian files - Thanks Serhij Dubyk
Chris Cormack [Fri, 26 Feb 2010 08:36:26 +0000 (21:36 +1300)]
Deleting unneeded Russian files - Thanks Serhij Dubyk

10 years agoUpdated Russian SQL files
Chris Cormack [Fri, 26 Feb 2010 08:21:40 +0000 (21:21 +1300)]
Updated Russian SQL files

10 years agoBug 3482: Updated DB version
J. David Bavousett [Mon, 22 Feb 2010 16:02:01 +0000 (11:02 -0500)]
Bug 3482: Updated DB version

Updated DB version and inserted mandatory SQL for this series of patches.

10 years agoBug 3482 changed name of notices file
J. David Bavousett [Fri, 21 Aug 2009 18:40:29 +0000 (14:40 -0400)]
Bug 3482 changed name of notices file

10 years agoBug 3482 Allow hold notices to be sent in print form
Jesse Weaver [Thu, 11 Jun 2009 20:49:15 +0000 (14:49 -0600)]
Bug 3482 Allow hold notices to be sent in print form

This is done by saving the notices in the message_queue table with
type 'print'. The notices are generated from a notice named
HOLD_PRINT. At the end of the day, they are dumped to an HTML file and
marked as sent by a new cronjob.

This setup is intended to be temporary; modules/batch/ shouldn't be around
forever.

Mandatory SQL:
INSERT INTO message_transport_types (message_transport_type) values ('print');

10 years agoAdd expiration date, today to hold notices
Jesse Weaver [Thu, 11 Jun 2009 17:40:01 +0000 (11:40 -0600)]
Add expiration date, today to hold notices

This adds the new, virtual placeholders <<today>> and
<<reserves.expirationdate> that can be used in letter templates.

10 years agoModified to use dirspec only
J. David Bavousett [Wed, 14 Oct 2009 12:19:37 +0000 (08:19 -0400)]
Modified to use dirspec only

This commit modifies overdue_notices so that the -html parameter
only requires a directory specification.

10 years agoBug 3482 Print Notices via HTML
Kyle M Hall [Mon, 22 Feb 2010 15:21:31 +0000 (10:21 -0500)]
Bug 3482 Print Notices via HTML

Modified overdue_notices.pl to support output of html for printing.
The -html option will e-mail notices to those with e-mail, and output
html to print for borrowers without e-mail.

When system preference PrintNoticesMaxLines is set to a positive
integer, it will limit the number of items on the notice to that
number, and append a message to the end telling the borrower to
check his or her account for the full listing of items.  This only
affects print notices, not emailed ones.

Mandatory SQL:

INSERT INTO `systempreferences`
  ( `variable` , `value` , `options` , `explanation` , `type` ) i
  VALUES ( 'PrintNoticesMaxLines', '0', '', i
  'If greater than 0, sets the maximum number of lines an overdue notice will print. If the number of items is greater than this number, the notice will end with a warning asking the borrower to check their online account for a full list of overdue items.',
  'Integer' );

Conflicts:

installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql
misc/cronjobs/overdue_notices.pl

10 years agoBug 2655: Fixes availabilty counts if items are on hold shelf. Patch (2/2)
Garry Collum [Sun, 21 Feb 2010 01:21:01 +0000 (20:21 -0500)]
Bug 2655: Fixes availabilty counts if items are on hold shelf. Patch (2/2)

This fixes the opac results - non xsl transformed - and the intranet result lists.

Also fixes opac-detail which was showing all items 'on hold' if there was a bib level request, whether items were on the hold shelf or not.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoBug 2655: Partial fix for Items on hold shelf showing as available.
Garry Collum [Sun, 21 Feb 2010 00:16:23 +0000 (19:16 -0500)]
Bug 2655: Partial fix for Items on hold shelf showing as available.

Fixes the opac results (opac-search.pl), if using xsl to transform data.  I have no way to test UNIMARC results, if someone could test it for me.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFixing history.txt was biblibre not bywater
Chris Cormack [Mon, 22 Feb 2010 00:17:58 +0000 (13:17 +1300)]
Fixing history.txt was biblibre not bywater

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoUpdated history
Chris Cormack [Sun, 21 Feb 2010 20:08:39 +0000 (09:08 +1300)]
Updated history

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoMerge branch 'translation' of git://git.workbuffer.org/git/koha into master
Galen Charlton [Mon, 22 Feb 2010 01:07:04 +0000 (20:07 -0500)]
Merge branch 'translation' of git://git.workbuffer.org/git/koha into master

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoLast 2 pref files
Chris Cormack [Sun, 21 Feb 2010 23:20:41 +0000 (12:20 +1300)]
Last 2 pref files

10 years agoRussian prefs
Chris Cormack [Sun, 21 Feb 2010 23:17:23 +0000 (12:17 +1300)]
Russian prefs

10 years agoLast of the syspref fixes
Chris Cormack [Sun, 21 Feb 2010 23:14:19 +0000 (12:14 +1300)]
Last of the syspref fixes

10 years agoRevert "(bug #3778) GetBranchesLoop and searchMyLibraryFirst"
Galen Charlton [Sun, 21 Feb 2010 23:04:15 +0000 (18:04 -0500)]
Revert "(bug #3778) GetBranchesLoop and searchMyLibraryFirst"

Reverting this commit to resolve bug 4016.  This revert has the
same effect as a patch submitted by Garry Collum on 20 February 2010.

This reverts commit 2345dc7c27381aad51d5c1a7f566a9ce0b728ac5.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoMore pref fixing, somehow the french got used rather than the english
Chris Cormack [Sun, 21 Feb 2010 22:39:42 +0000 (11:39 +1300)]
More pref fixing, somehow the french got used rather than the english

10 years agoFixing arabic and maori prefs
Chris Cormack [Sun, 21 Feb 2010 22:34:32 +0000 (11:34 +1300)]
Fixing arabic and maori prefs

10 years agoFixing Malaysian preferences
Chris Cormack [Sun, 21 Feb 2010 22:30:35 +0000 (11:30 +1300)]
Fixing Malaysian preferences

10 years agoRemoving doubled up file
Chris Cormack [Sun, 21 Feb 2010 22:25:24 +0000 (11:25 +1300)]
Removing doubled up file

10 years agoSystempref files
Chris Cormack [Sun, 21 Feb 2010 19:57:41 +0000 (08:57 +1300)]
Systempref files

10 years agoLast of the template updates
Chris Cormack [Sun, 21 Feb 2010 08:19:15 +0000 (21:19 +1300)]
Last of the template updates

10 years agoAdding a few new languages and more updates
Chris Cormack [Sun, 21 Feb 2010 08:11:29 +0000 (21:11 +1300)]
Adding a few new languages and more updates

10 years agoContinuing updates
Chris Cormack [Sun, 21 Feb 2010 08:00:43 +0000 (21:00 +1300)]
Continuing updates

10 years agoContinuing po updates
Chris Cormack [Sun, 21 Feb 2010 07:44:38 +0000 (20:44 +1300)]
Continuing po updates

10 years agoContinuing language updates
Chris Cormack [Sat, 20 Feb 2010 19:36:14 +0000 (08:36 +1300)]
Continuing language updates

10 years agoMore language updates
Chris Cormack [Sat, 20 Feb 2010 09:44:14 +0000 (22:44 +1300)]
More language updates

10 years agoLanguage updates
Chris Cormack [Sat, 20 Feb 2010 09:24:09 +0000 (22:24 +1300)]
Language updates

10 years agoMore updated po files
Chris Cormack [Sat, 20 Feb 2010 09:15:52 +0000 (22:15 +1300)]
More updated po files

10 years agoAdding preference po files
Chris Cormack [Sat, 20 Feb 2010 09:05:54 +0000 (22:05 +1300)]
Adding preference po files

10 years agoUpdating templates
Chris Cormack [Sat, 20 Feb 2010 09:02:49 +0000 (22:02 +1300)]
Updating templates

10 years agoFrench updates
Chris Cormack [Sat, 20 Feb 2010 08:42:38 +0000 (21:42 +1300)]
French updates

10 years agoIntranet po files before updating
Chris Cormack [Sat, 20 Feb 2010 08:34:46 +0000 (21:34 +1300)]
Intranet po files before updating

10 years agoOpac files before updates
Chris Cormack [Sat, 20 Feb 2010 08:33:32 +0000 (21:33 +1300)]
Opac files before updates

10 years agoGerman updates
Chris Cormack [Thu, 18 Feb 2010 20:25:39 +0000 (09:25 +1300)]
German updates

10 years agoGerman Updates
Chris Cormack [Thu, 18 Feb 2010 20:11:31 +0000 (09:11 +1300)]
German Updates

10 years agoDutch (Nederlands) updates
Chris Cormack [Tue, 9 Feb 2010 17:55:28 +0000 (06:55 +1300)]
Dutch (Nederlands) updates

10 years agoDutch (nederlands) and German updates
Chris Cormack [Sat, 6 Feb 2010 09:03:30 +0000 (22:03 +1300)]
Dutch (nederlands) and German updates

10 years agoNepalese and Dutch (Nederlands)
Chris Cormack [Fri, 5 Feb 2010 08:56:08 +0000 (21:56 +1300)]
Nepalese and Dutch (Nederlands)

10 years agoDutch flemish opac update
Chris Cormack [Fri, 5 Feb 2010 08:55:03 +0000 (21:55 +1300)]
Dutch flemish opac update

10 years agoLanguage updates
Chris Cormack [Fri, 5 Feb 2010 08:45:21 +0000 (21:45 +1300)]
Language updates

10 years agoShifting dutch to dutch, flemish
Chris Cormack [Fri, 5 Feb 2010 08:42:56 +0000 (21:42 +1300)]
Shifting dutch to dutch, flemish

10 years agoBugfix Makefile.PL check for dollar signs
Michael Hafen [Fri, 19 Feb 2010 16:24:14 +0000 (09:24 -0700)]
Bugfix Makefile.PL check for dollar signs

Missed the lines where dollar signs are quoted for DB_PASS and ZEBRA_PASS.
Don't need to quote (double-quote) those two lines now.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoAdd instructions to INSTALL and README.robots about robots.txt
Michael Hafen [Fri, 19 Feb 2010 16:34:10 +0000 (09:34 -0700)]
Add instructions to INSTALL and README.robots about robots.txt

Instructions are given in INSTALL and README.robots about adding a robots.txt
file to the opac to prevent search engines from indexing Koha.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoBug 3609 Fix fr-FR user permissions
Frédéric Demians [Sat, 20 Feb 2010 07:49:52 +0000 (08:49 +0100)]
Bug 3609 Fix fr-FR user permissions

- Translation
- Add missing permissions: execute_reports, create_reports
- Rename properly: batchmod and batchdel

This has to be done for other languages.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoAdd pl-PL to syspref test
Frédéric Demians [Sat, 20 Feb 2010 07:49:51 +0000 (08:49 +0100)]
Add pl-PL to syspref test

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoBug 3609 Test for user permissions translated values
Frédéric Demians [Sat, 20 Feb 2010 07:49:50 +0000 (08:49 +0100)]
Bug 3609 Test for user permissions translated values

This new test identifies incoherences between 'en' user permissions and
translated versions.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoRemoving bogus style declaration
Owen Leonard [Fri, 19 Feb 2010 21:13:05 +0000 (16:13 -0500)]
Removing bogus style declaration

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agomove ReservesMaxPickUpDelay to Holds Policy on Circ Prefs
Nicole Engard [Wed, 17 Feb 2010 12:12:55 +0000 (07:12 -0500)]
move ReservesMaxPickUpDelay to Holds Policy on Circ Prefs

This preference didn't make sense in Interface - it's a holds
policy related preference and so I've moved it to that area.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobug 3242 follow-up: fix crash when emailLibrarianWhenHoldIsPlaced is ON
Galen Charlton [Fri, 19 Feb 2010 10:55:05 +0000 (05:55 -0500)]
bug 3242 follow-up: fix crash when emailLibrarianWhenHoldIsPlaced is ON

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobug 4182: add emailLibrarianWhenHoldIsPlaced to preferences editor
Galen Charlton [Fri, 19 Feb 2010 10:51:47 +0000 (05:51 -0500)]
bug 4182: add emailLibrarianWhenHoldIsPlaced to preferences editor

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobug 3242: insert new HOLDPLACED letter template (DBrev 124)
Galen Charlton [Fri, 19 Feb 2010 10:47:50 +0000 (05:47 -0500)]
bug 3242: insert new HOLDPLACED letter template (DBrev 124)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years ago(bug #3242) send email when hold is placed
Nahuel ANGELINETTI [Fri, 28 Aug 2009 13:19:26 +0000 (15:19 +0200)]
(bug #3242) send email when hold is placed

[cherry-picked from 3.0.x]

This add a new letter in database, and each time a new hold is placed, a new mail is enqueued.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
10 years agobug 2970: extend new hold priority change permission
Galen Charlton [Fri, 19 Feb 2010 10:21:11 +0000 (05:21 -0500)]
bug 2970: extend new hold priority change permission

Now covers the new hold request priority buttons.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobump to DBrev 123
Galen Charlton [Fri, 19 Feb 2010 10:13:45 +0000 (05:13 -0500)]
bump to DBrev 123

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFix for Bug 2970, Create a permission for modifying holds priority
Owen Leonard [Wed, 10 Feb 2010 21:18:58 +0000 (16:18 -0500)]
Fix for Bug 2970, Create a permission for modifying holds priority

Adding two new granular permissions under 'reserveforothers,' place_holds
and modify_holds_priority. If a user does not have modify_holds_priority
permission, the option to change the priority of a hold is hidden.
Revised patch includes changes to mandatory data files including
properly translated fr-FR version.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoWhoops missed Magnus Enger
Chris Cormack [Fri, 19 Feb 2010 08:51:35 +0000 (21:51 +1300)]
Whoops missed Magnus Enger

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobump DBrev to 122
Galen Charlton [Fri, 19 Feb 2010 04:05:28 +0000 (23:05 -0500)]
bump DBrev to 122

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoDBRev 122 — OAI Server fixes
Frédéric Demians [Thu, 18 Feb 2010 20:46:18 +0000 (21:46 +0100)]
DBRev 122 — OAI Server fixes

- Add OAI-PMH:ConfFile.
- Suppress OAI-PMH:Subset which isn't is .pref file and was never used
  by OAI Server.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobug 1532: various code cleanup
Galen Charlton [Fri, 19 Feb 2010 03:42:53 +0000 (22:42 -0500)]
bug 1532: various code cleanup

* export C4::Reserves::CancelExpiredReserves
* rename  misc/cronjobs/cancel_expired_reserves.pl
  to misc/cronjobs/holds/cancel_expired_holds.pl
* added cancel_expired_holds.pl to example crontab
* fix staff crash if AllowHoldDateInFuture is on
* expirationdate is now nullable instead of relying
  on 0000-00-00

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobug 1532: fix XHTML validation errors
Galen Charlton [Fri, 19 Feb 2010 03:15:06 +0000 (22:15 -0500)]
bug 1532: fix XHTML validation errors

Also changed some titles to use "hold" instead of "reserve"
for display purposes.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobug 1532: tweak new reserves columns and add to init SQL (DB rev 121)
Galen Charlton [Fri, 19 Feb 2010 02:45:56 +0000 (21:45 -0500)]
bug 1532: tweak new reserves columns and add to init SQL (DB rev 121)

Changed type of lowestpriority from BOOL to tinyint(1) - BOOL was likely
OK, but made it tinyint(1) to match the rest of the flag columns.  We
should look into converting those to BOOL en masse in 3.4.

Also made expirationdate nullable.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years ago(bug 1532) Reserves Updates Ported From Dev_Week
Kyle M Hall [Wed, 23 Sep 2009 16:10:23 +0000 (16:10 +0000)]
(bug 1532) Reserves Updates Ported From Dev_Week

This is a much improved re-implementation of the reserves updates from dev_week.
Less new code has been added, and more existing functions are used instead of adding new ones.

The 'Lock Hold' function has been removed due to it not working as intended.

[RM note for documentation: this adds the following features:

* ability to specify an expiration date for a hold request
  when placing it via the staff interface or OPAC
* daily batch job to cancel expired holds
* nice interface to change the priority of hold
  requests for a bib in the staff interface]

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoAdding some clarity to the acquistion called off line in the history
Chris Cormack [Thu, 18 Feb 2010 21:46:37 +0000 (10:46 +1300)]
Adding some clarity to the acquistion called off line in the history

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoUpdating credits and history document
Chris Cormack [Thu, 18 Feb 2010 21:19:30 +0000 (10:19 +1300)]
Updating credits and history document

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoBug 2505: Enabled warnings in opac-userdetails.pl.
Garry Collum [Fri, 19 Feb 2010 00:30:56 +0000 (19:30 -0500)]
Bug 2505: Enabled warnings in opac-userdetails.pl.

No warnings generated.

The only files left in koha/opac are changelanguage.pl and opac-user.pl.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoBug 4227: Removes unused opac-logout.pl.
Garry Collum [Fri, 19 Feb 2010 01:21:11 +0000 (20:21 -0500)]
Bug 4227: Removes unused opac-logout.pl.

Performed a recursive grep on the entire file structure to confirm.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobug 3825 followup: fix errors in template
Galen Charlton [Thu, 18 Feb 2010 21:34:43 +0000 (16:34 -0500)]
bug 3825 followup: fix errors in template

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years ago(bug #3825) improve waiting holds
Nahuel ANGELINETTI [Wed, 2 Dec 2009 10:44:43 +0000 (11:44 +0100)]
(bug #3825) improve waiting holds

[cherry-pick from 3.0.x]

This patch :
 * fix indentation
 * Separate waiting holds from holds over with tabs
 * Select only holds for librarian library

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoFix for Bug 4219, strange artifacts showing on lists in the staff client
Owen Leonard [Thu, 18 Feb 2010 20:06:44 +0000 (15:06 -0500)]
Fix for Bug 4219, strange artifacts showing on lists in the staff client

Recent change to C4/VirtualShelves/Page.pm caused display of subtitles
to break in the staff client display of lists

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoRevert "bug 3765: move road type after address"
Galen Charlton [Thu, 18 Feb 2010 19:02:56 +0000 (14:02 -0500)]
Revert "bug 3765: move road type after address"

Reverted at patch submitter's request - see bug 3765
for details.

This reverts commit 3b8542bbfe698fedde9f822ac96a45cb8a19122b.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobugfix Guided Reports - allow user specified limit in sql
Michael Hafen [Wed, 4 Nov 2009 21:31:48 +0000 (14:31 -0700)]
bugfix Guided Reports - allow user specified limit in sql

Tweak the regular expression in strip_limit to work.
Tweak execute_query to use the user limit if it's lower than the hard coded one.
Also total is calculated somewhere else now.

This helps most with the csv export of a report so the user can set their own
limit instead of having the hard coded limit of 9999.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoadd memcached questions to koha-install-log
Michael Hafen [Wed, 18 Nov 2009 15:37:40 +0000 (08:37 -0700)]
add memcached questions to koha-install-log

Add the use_memcached question to rewrite-config.pl and all three questions
to koha-install-log.  So that we don't have to keep answering these questions
when we upgrade/install with the --prev-install-log option.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agohave Makefile.PL check for dollar signs
Michael Hafen [Wed, 18 Nov 2009 21:38:49 +0000 (14:38 -0700)]
have Makefile.PL check for dollar signs

Make treats any $ as an internal variable except $$.  So have Makefile.PL when
getting values turn any $ into $$.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoRevert "Add basic restrictive robots.txt file to opac"
Galen Charlton [Thu, 18 Feb 2010 18:22:46 +0000 (13:22 -0500)]
Revert "Add basic restrictive robots.txt file to opac"

Per discussion on 12/9/2009, reverting.  I agree with Nicole Engard
that a restrictive robots.txt for the OPAC should *not* be the
default.  A patch for a README on how to do it would be nice, though.

This reverts commit 6822d69d955627302abe3f78bcbc5bf2c8db2a36.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agoAdded Locale::PO dependency in Makefile.PL
Ricardo Dias Marques [Wed, 21 Oct 2009 00:34:15 +0000 (00:34 +0000)]
Added Locale::PO dependency in Makefile.PL

In one of my setups, "install-code.pl pt-PT" complained
about a missing "Locale::PO". So, I'm adding it to
Makefile.PL. I'm using the version 0.17 as minimum
required because it's the one that's available in
Debian 5.0.2. ("lenny").

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
10 years agobug 3651 followup: updated for new GetMember() parameter style
Galen Charlton [Thu, 18 Feb 2010 17:59:46 +0000 (12:59 -0500)]
bug 3651 followup: updated for new GetMember() parameter style

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>