[Koha-bugs] [Bug 7167] updatedatabase improvements

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 27 16:34:05 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7167

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #6832|0                           |1
        is obsolete|                            |

--- Comment #50 from Paul Poulain <paul.poulain at biblibre.com> 2012-02-27 15:34:05 UTC ---
Created attachment 7903
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7903
New version for updatedatabase

This patch use DataTable, see BUG|BZ 6836
      - css/datatables.css
      - lib/jquery/plugins/jquery.dataTables.min.js
      - js/datatables.js

    patch embedded :
        YAML Config file

    add a section
     <installdir>/path/to/your/install/dir</installdir>
    in your koha-conf.xml

http://bugs.koha-community.org/show_bug.cgi?id=7167

Bug 7167 follow-up

Major changes:
* creating database tables for update on the fly, the  1st time the update
script is called
* adding missing file: C4/Config/File/YAML.pm
* version is checked on mainpage.pl (and here only). If syspref Version differ
from kohaversion.pl, the old updatedatabase is launched. If there are updates
missing from new mechanism, the updatedatabase page is reached
* kohaversion check on each page is now useless in Auth.pm, removed dead code
* Updated installer: at the end of the process, retrieve all updates and
automatically mark them "OK", as they're included in installer

Minor changes:
* adding copyright
* adding poddoc
* updating a warning, for better clarity
* switching from $$var to $var->
* small TT glitch fixed in updatedatabase.tt
* about.pl now returns the Version systempreference PLUS all the patches that
have been applied

Bug 7167 follow-up perlcritic & numbers display & partial apply depending on
DEBUG

* add use strict to updatedatabase, that is now perlcritic compliant
* partial apply of DB revs is now managed by DEBUG env variable = if DEBUG=0,
the user can just apply every DBrev. If DEBUG=1, we're in a dev env, the user
know has the option to apply DBrevs one by one
Display:
* in updatedatabase, small spelling changes
* in about.pl, remove 0 just after . (3.06.01 is displayed as 3.6.1)
* improve the display of applied numbers on about.pl
 - before this patch, if you have N, N+1, N+2, N+3 and N+10 DB rev applied,
about was displaying : , N+1 / N+2 / N+3 / N+10
 - after this patch you have N......N+3 / N+10
* add ORDER BY into list_versions_already_knows to have number retrieved in the
same order whatever the order they are applied

http://bugs.koha-community.org/show_bug.cgi?id=6679

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list