Commit graph

1547 commits

Author SHA1 Message Date
1a0ca2874f Bug 15533 - DBRev 3.23.00.055
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-04-29 10:31:19 +00:00
e27bca77c7 Bug 15532 - DBRev 3.23.00.054 2016-04-29 10:23:47 +00:00
Brendan Gallagher
68235527aa DBRev Bug 16217 - Notice' names may have diverged
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-29 02:26:46 +00:00
6d52cd63f3 Bug 12752: FIX letter names in 3.15.00.041
3.15.00.041 was wrong, the name of the letter should not always been the
name of the first HOLD notice.
PREDUE_PHONE should be updated with the first name of the PREDUE notice,
same for OVERDUE_PHONE and OVERDUE

Signed-off-by: Chris Cormack <chrisc@catalyst.net.z>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-28 23:27:36 +00:00
a63a51381b Bug 14686 - DBRev fix - add missing call to SetVersion
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-04-27 17:00:22 +00:00
Brendan Gallagher
19d2dfb733 DBRev for Bug 14686 - New menu option and permission for file uploading
Signed-off-by: Brendan Gallagher <bredan@bywatersolutions.com>
2016-04-27 16:24:18 +00:00
Bernardo Gonzalez Kriegel
a25bfbfc57 Bug 16361: Installer syntax error
Bug 16354 introduces a syntax error on updatedatabase.pl
see comment #5 there

To test
1) Check error on update 3.23.00.051
2) Apply the patch
3) run updatedabase again (perhaps changing 051 to XXX)

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
happy again!

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-04-27 12:55:45 +00:00
Brendan Gallagher
4e6baf6185 Forgot extra $dbh
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-27 02:38:35 +00:00
Brendan Gallagher
ee652b07ca DBREv Bug 16354 - Fix FK constraints for edifact_messages table
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-26 23:14:02 +00:00
Brendan Gallagher
ca405ec114 Bug 12478: (RM followup) fix syntax error in updatedatabase.pl
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
2016-04-26 15:03:26 -06:00
Brendan Gallagher
f24dd95e5d DBRev for Bug 12478 - Elasticsearch support for Koha
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-26 20:55:25 +00:00
Chris
bc21573db4 Bug 12478 : Remove the rest of the references to the old mapping tables
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-26 20:20:13 +00:00
Chris
2e18cca19f Bug 12478 : Remove reference to deprecated table elasticsearch_mapping.sql
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-26 20:20:12 +00:00
7d10460156 Bug 14899: DB changes
This patch applies several changes to the DB structure introduced by
the previous ES patch set:

1/ Add a search_field.label column
=> It will be easier to understand what the search_field does.
Indeed, some are not user friendly: acqdate, an, pl, ff8-23, ln, etc.
TODO later: Update the labels with correct values (at the moment
label=name)

2/ Update the foreign key search_marc_to_field.search_marc_map_id with
on delete cascase. This will permit to automatically remove the entries
in search_marc_to_field when they are deleted in search_marc_map.

3/ Remove the index_name_2 unique constraint on the search_marc_map table.
I don't understand how this could be useful, it was defined like (index_name,
marc_type, marc_field), so it means a mapping cannot be defined twice with
different values for facet, suggestible and sort.
This limitation does not seem to make sense.
Robin, please correct me if I am wrong :)

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-26 20:20:10 +00:00
Robin Sheat
0b9483a691 Bug 12478: fix some issues on rebase
There were rebase conflicts that it was just easier to postpone until
afterwards.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-26 20:20:09 +00:00
Robin Sheat
1d22202fb1 Bug 12478 - set up database tables for elasticsearch
This sets up the database changes needed to run ES. This isn't intended
to be ready for upstreaming, just to make testing easier.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-26 20:20:03 +00:00
Brendan Gallagher
c1270d5c72 Missed $ in commit...
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-22 23:42:47 +00:00
Brendan Gallagher
9e350eee19 DBREV Bug 12267 - Allow password option in Patron Attribute non functional 2016-04-22 16:27:13 -07:00
Brendan Gallagher
b7d36141fb DBRev update - Bug 5979 - Add separate OPACISBD system preference 2016-04-22 03:19:56 +00:00
Brendan Gallagher
e126fc0a19 DBRev for Bug 15008 - Add custom HTML areas to circulation and reports home pages
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-04-07 05:45:42 +00:00
Brendan A Gallagher
b14c46c942 DBRev fix - "" was wrong smartquotes. fixed
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-04-05 16:21:03 +00:00
Brendan A Gallagher
c84fe12d5e DBrev adding in the missing update DBversion = "3.23.00.046";
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-04-05 15:57:05 +00:00
Brendan A Gallagher
9f9e0ea002 DBRev Bug 7736 - Edifact QUOTE and ORDER functionality
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-04-01 20:54:09 +00:00
Brendan A Gallagher
7a3c9951bb DBRev Bug 10988 - Allow login via Google OAuth2 (OpenID Connect)
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-04-01 19:46:47 +00:00
Brendan A Gallagher
79fa6ec68a DBrev Bug 16070 - Empty (undef) system preferences may cause some issues
in combination with memcache

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-31 19:56:00 +00:00
Brendan A Gallagher
7661629e98 fixing DBrev Bug 16103
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-31 17:54:46 +00:00
Brendan A Gallagher
18644009c6 DBrev Bug 16004 - Replace items.new with items.new_status
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-31 17:06:26 +00:00
Brendan A Gallagher
b1f4707165 DBrev updates for Bug 16007 - Correction of 'Remove columns branchcode,
categorytype from table overduerules_transport_types'

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-31 15:08:02 +00:00
Brendan Gallagher
b129de0355 DBREV for Bug 16019 - Remove unused blue.css
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-03-22 01:03:03 +00:00
3b96bf7516 Bug 16019: Add a warning in the update DB process if intranetcolorstylesheet=blue.css
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2016-03-22 01:01:24 +00:00
Brendan A Gallagher
361ee8beab DBRev Bug 15084 - Move the currency related code to
Koha::Acquisition::Currenc[y|ies]

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-09 15:14:48 +00:00
0c40349096 Bug 15084: [QA Follow-up] Correct field length of currency
Bug 15084 added a FK constraint while the fields in the database are not
in sync as to length. This will produce errors when using currency codes
longer than three characters. Probably you won't, but nobody stopped
users from entering EURO or DOLLAR etc. Not to speak about TestBuilder
too.

This patch corrects the database revision for aqorders in updatedatabase,
because we need to change the field length before adding the FK constraint.
It also updates other currency fields < 10 chars (via atomicupdate).
RM: So please add that dbrev too in updatedatabase.

Note that another report should deal with adding missing constraints on
the currency code in suggestions and aqbooksellers.
Also note that the aqorder fields listprice and invoiceprice refer to
currency. Imo these are very poor names for currency codes; you should
never call something a price when you mean a currency code!

Similar changes are applied to kohastructure.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested the db revisions.

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-09 15:04:35 +00:00
Brendan A Gallagher
6f25627519 DBREV Bug 14694 - Make decreaseloanHighHolds more flexible 2016-03-07 17:56:24 +00:00
Brendan A Gallagher
e88457a9fa DBRev Bug 15084 - Move the currency related code to
Koha::Acquisition::Currenc[y|ies]
2016-03-03 21:15:14 +00:00
Brendan A Gallagher
209531eae9 DBRev Bug 12803 - Add ability to skip closed libraries when generating
the holds queue
2016-03-03 20:27:04 +00:00
Brendan A Gallagher
256785f5db DBRev update Bug 14168 - enhance streaming cataloging to include youtube
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-03 19:12:06 +00:00
Brendan A Gallagher
74fbe017ef DBrev Bug 11023 - Automatic item modification by age (Was "Toggle new
status for items")
2016-03-02 23:08:52 +00:00
Jonathan Druart
5e36ca7818 Bug 11023: DB changes
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-03-02 22:56:31 +00:00
Brendan Gallagher
3eab27f3ef DBREV Bug 14659 - Allow patrons to enter card number and patron category on OPAC registration page
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-03-02 04:37:40 +00:00
Brendan Gallagher
73808a1fd0 DBREV - Bug 15675 - Add issue_id column to accountlines and use it for updating fines
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-03-02 03:36:01 +00:00
447b1ea939 Bug 14395 - DBRev 3.23.00.031 2016-02-26 14:36:24 +00:00
e06aa32496 Bug 15311 - DBRev 3.23.00.030
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-02-26 14:20:39 +00:00
Barry Cannon
62860d53ae Bug 15311 - Let libraries set text to display when OpacMaintenance = on
Added new systempreference OpacMaintenanceNotice.
When OpacMaintenance is ON the HTML contents of OpacMaintenanceNotice will
be displayed.
Enabling OpacMaintenance is all that is required to enable this preference.
If OpacMaintenanceNotice is undefined, the default (original) notice will
appear when OpacMaintenance is enabled.

To test:
- Enable OpacMaintenance systempreference
- Observe the default maintenance message when OPAC is viewed
- Edit OpacMaintenanceNotice systempreference, adding custom HTML
- Observe the custom HTML appear on the opac
- Remove OpacMaintenanceNotice (mindful of orphaned spaces etc.)
- Observe the default opac notice appears in the opac
- Disable OpacMaintenance
- Observce opac is back online

Moving code to atomic update and fixing merge conflict

NOTE: Accounted for an SQL typo and autoescaping of the template.
      If someone else could test this, then I would be fine with
      marking it signed off.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-02-26 14:19:20 +00:00
a99c29b309 Bug 14199 - DBRev 3.23.00.029
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-02-26 14:08:03 +00:00
b73b68f629 Bug 14658 - DBRev 3.23.00.028
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-02-26 13:51:29 +00:00
eaaea6ed27 Bug 4941 - DBRev 3.23.00.027 2016-02-26 12:28:55 +00:00
f0d8e0d657 Bug 15891 [Followup]
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-02-24 13:34:09 +00:00
e146afa93a Bug 15891: Fix errors on updatedatabase
Two curly braces..

Test plan:
Run the update.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-02-24 13:33:52 +00:00
Brendan Gallagher
dcae2ad7b4 DBRev Bug 15343 - Allow patrons to choose their own password on self registration
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-02-24 04:09:36 +00:00
Brendan Gallagher
7220b2798d DBrev Bug 15526 - Drop nozebra database table
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-02-24 02:17:53 +00:00