Commit Graph

79 Commits

Author SHA1 Message Date
tipaul 13922e8276 fixing bug when a search gets more than 10 biblios : now, user can reach biblio 10, 20, 30... 2003-03-19 21:01:01 +00:00
tipaul 05e5034932 bugfixes + adding buttons to switch between normal and MARC view of a record 2003-03-07 16:34:04 +00:00
wolfpac444 4d88a09509 Removed the unecessary $dbh argument from being passed.
Resolved a few minor FIXMEs.
2003-02-19 01:01:06 +00:00
tipaul fa0f51d9c2 Support for 000 -> 010 fields.
Those fields doesn't have subfields.
In koha, we will use a specific "trick" : fields <10 will have a "virtual" subfield : "@".
Note it's only virtual : when rebuilding the MARC::Record, the koha API handle correctly "@" subfields => the resulting MARC record has a 00x field without subfield.
2003-02-12 11:01:04 +00:00
acli b5ecefd485 Minor factoring in C4/Biblio.pm, plus change to export the per-tag
'mandatory' property to a per-subfield 'tag_mandatory' template parameter,
so that addbiblio.tmpl can distinguish between mandatory subfields in a
mandatory tag and mandatory subfields in an optional tag

Not-minor factoring in acqui.simple/addbiblio.pl to make the if-else blocks
smaller, and to add some POD; need further testing for this

Added function to check if a MARC subfield name is "koha-internal" (instead
of checking it for 'lib' and 'tag' everywhere); temporarily added to Koha.pm

Use above function in acqui.simple/additem.pl and search.marc/search.pl
2003-02-03 18:46:00 +00:00
acli 1bf47197ba Added some POD, minor comment fixes 2003-02-03 07:03:06 +00:00
acli 52a5fd4bbd Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
Create output_html_with_http_headers function to contain the "print $query
->header(-type => guesstype...),..." call. This is in preparation for
non-HTML output (e.g., text/xml) and charset conversion before output in
the future.

Created C4/Interface/CGI/Template.pm to hold convenience functions specific
to the CGI interface using HTML::Template

Modified moremembers.pl to make the "sex" field localizable for languages
where M and F doesn't make sense
2003-02-02 07:18:37 +00:00
tipaul 75a46dc5bd removing use MARC::Charset
Was a buggy test
2003-01-28 15:28:31 +00:00
tipaul 3f3aec97e0 user can now search in breeding farm with isbn/issn or title. Title/name are stored in breeding farm and showed when a search is done 2003-01-28 15:00:30 +00:00
acli 48bd1f1b3c Handle non-latin1 charsets 2003-01-26 23:21:49 +00:00
tipaul a9b32d47f4 upgrading import in breeding farm (you can now search on ISBN or on title) AND character encoding. 2003-01-23 12:26:41 +00:00
tipaul 70adcdf925 character encoding ISO646 => 8859-1, first draft 2003-01-21 08:13:50 +00:00
acli 125c7f9c7e Handle meta tags for non-latin1 charsets 2003-01-20 07:39:27 +00:00
acli ea50c2acb6 Preliminary fix of the CGI.pm problem of always assuming that everything is
in ISO-8859-1.

A new C4::Charset module (tentative name) has been created to guess the
charset of a piece of HTML markup. The CGI programs will be modified to use
this module as they are encountered during translation.
2003-01-19 06:15:44 +00:00
tipaul 3b6f7a6d06 little improvments (mandatory subfields in item appear red if not filled) 2003-01-14 16:45:33 +00:00
tipaul 1f4e2fb312 warn removing 2003-01-14 16:43:50 +00:00
tipaul 08ba8abf0f bugfix : use gettemplate_and_user instead of gettemplate.
fix a blank screen in 1.3.3 in "import in breeding farm"
2003-01-14 16:41:17 +00:00
tipaul 63c8e57b7a removing trailing # 2003-01-06 13:06:28 +00:00
tipaul d9fa74c37e minor bugfix (for biblio modification) 2002-12-19 14:20:27 +00:00
tipaul dd696c61e8 adding authentification with Auth.pm and
MAJOR BUGFIX on marc biblio modification
2002-12-12 16:34:41 +00:00
tipaul 6c9d2864d6 * bugfixes
* improvements done during dombes intallation/tests
* adding authentication (new Auth.pm)
2002-12-10 13:29:09 +00:00
tipaul ef66fec140 bugfixes : enable entering a biblio without isbn
Note that parameter must be modified and changed to "isbn not mandatory" (mandatory on default 1.3.2 install)
2002-12-02 15:13:04 +00:00
tipaul 58df1490fb moved to misc 2002-11-22 10:21:12 +00:00
tipaul ba814c7544 moving z3950 related scripts to specific dir 2002-11-22 10:15:22 +00:00
tipaul 5a83c14404 small bugfix 2002-11-22 10:13:20 +00:00
tipaul 448ffb8109 deleting unused scripts 2002-11-21 09:22:06 +00:00
tipaul e0d4e702c3 road to 1.3.2 2002-11-19 12:32:22 +00:00
tipaul e11872aeb1 road to 1.3.2 :
* many bugfixes
* adding value_builder : you can map a subfield in the marc_subfield_structure to a sub stored in "value_builder" directory. In this directory you can create screen used to build values with any method. In this commit is a 1st draft of the builder for 100$a unimarc french subfield, which is composed of 35 digits, with 12 differents values (only the 4th first are provided for instance)
2002-11-12 15:58:43 +00:00
tipaul 81367c84eb Road to 1.3.2
* bugfixes and improvements
* manage mandatory MARC subfields
* new table : authorised_values. this table contains categories and authorised values for the category. On MARC management, you can map a subfield to a authorised_values category. If you do this, the subfield can only be filled with a authorised_value of the selected category.
this submit contains everything needed :
* updatedatabase
* admin screens
* "links" management
* creation of a html-list if a subfield is mapped to an authorised value.

Note this is different from authorities support, which will come soon.
The authorised_values is supposed to contains a "small" number of authorised values for a category (less than 50-100). If you enter more authorised values than this, it should be hard to find what you want in a BIG list...
2002-10-25 10:55:46 +00:00
tipaul ebc08585d4 road to 1.3.2 : adding a biblio in MARC format.
seems to work a few.
still to do :
* manage html checks (mandatory subfields...)
* add list of acceptable values (authorities)
* manage ## in MARC format
* manage correctly repeatable fields
and probably a LOT of bugfixes
2002-10-22 15:50:23 +00:00
arensb d9f9d49ba3 Added a FIXME comment. 2002-10-16 12:46:19 +00:00
arensb 15d6ecc822 Added some FIXME comments. 2002-10-16 12:42:29 +00:00
tipaul 2745c7b218 road to 1.3.2. Full rewrite of marcimport.pl.
The acquisition system in MARC version will work like this :
* marcimport will put marc records into a "breeding farm" table.
* when the user want to add a biblio, he enters first the ISBN/ISSN of the biblio. koha searches into breeding farm and if the record exists, it is shown to the user to help him adding the biblio. When the biblio is added, it's deleted from the breeding farm.

This commit :
* modify acqui.simple home page  (addbooks.pl)
* adds import into breeding farm

Please note that :
* z3950 functionnality is dropped from "marcimport" will be added somewhere else.
* templates are in a new acqui.simple sub directory, and the marcimport template directory will become obsolete soon.I think this is more logic
2002-10-15 10:14:43 +00:00
tipaul c4892ded4d merging arens + my modifs/bugfixes 2002-10-14 07:40:04 +00:00
arensb eff606ba56 Replaced expressions of the form "$x = $x <op> $y" with "$x <op>= $y".
Thus, $x = $x+2 becomes $x += 2, and so forth.
2002-10-13 11:32:14 +00:00
arensb 3f910752da Added magic RCS comment.
Removed trailing whitespace.
2002-10-13 07:45:05 +00:00
arensb 7197a3735b Added magic RCS comment.
Removed trailing whitespace.
2002-10-13 07:31:21 +00:00
arensb a9e5b8bb76 Added a FIXME comment. 2002-10-13 06:30:01 +00:00
arensb 8702b5f680 Replaced &requireDBI with C4::Context->dbh, thus making the "use
Fixed muffed quotes in &gettemplate calls.
Added a temporary print statement in &z3950menu, so it'll print
something instead of giving a browser error.
2002-10-11 12:45:10 +00:00
tonnesen d04d6cace7 switched from picktemplate() to gettemplate() 2002-10-09 18:09:16 +00:00
arensb 888c451d3d Added a FIXME comment. 2002-10-07 00:50:33 +00:00
arensb dbca39823f Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
2002-10-05 09:44:27 +00:00
tonnesen 1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
tipaul 64dae2746d Now, the acqui.simple system...
marcimport.pl has been almost completly rewritten, so LOT OF BUGS TO COME !!! You've been warned. It seems to work, but...

As with my former messages, nothing seems to have been changed... but ...
* marcimport now uses HTML::Template.
* marcimport now uses MARC::Record. that means that when you import a record, the old-DB is populated with the data as in version 1.2, but the MARC-DB part is filled with full MARC::Record.

<IMPORTANT NOTE>
to get correct response times, you MUST add an index on isbn, issn and lccn rows in biblioitem table. Note this should be done in 1.2 too...
</IMPORTANT NOTE>

<IMPORTANT NOTE2>
acqui.simple manage biblio, biblioitems and items tables quite properly. Normal acquisition system manages biblio, biblioitems BUT NOT items. That will be done in the near future...
</IMPORTANT NOTE2>

what's next now ?
* bug tracking, of course... Surely a dozen of dozens...
* LOT of developpments, i'll surely write a mail to koha-devel tomorrow (as it's time for dinner in France, and i plan to play NeverwinterNights after dinner ;-) ...
2002-07-24 16:24:20 +00:00
tonnesen 219e006412 merging changes from rel-1-2 2002-07-02 22:08:50 +00:00
tonnesen 04dd31fa07 47 files to go, 47 files to go, take one down, pass it around...
46 files to go.
2002-06-20 18:17:51 +00:00
tonnesen 3d0fb625a0 Third in the series of branch merges. Starting to run out of easy stuff. :) 2002-06-20 17:45:18 +00:00
tonnesen cb7441a537 More merges in from rel-1-2
All of the changes so far have been minor.  I did uncomment delbiblio($biblio)
in delbiblio.pl in the main branch to match delbiblio.pl in rel-1-2
2002-06-20 17:33:07 +00:00
tipaul ac230f070e trying to merge rel-1-2 into main branch... test with this script, choosen randomly ;-) 2002-06-20 15:56:51 +00:00
amillar 509f14159e Moved addition of Biblioitem to separate subroutine 2002-05-23 20:49:31 +00:00