Commit graph

236 commits

Author SHA1 Message Date
tipaul
66d43cb3c1 fixes for #130, 377 2003-05-13 15:43:17 +00:00
tipaul
3aae53c4e1 authentication fixes 2003-05-06 14:55:39 +00:00
tipaul
7629ac3f62 fix for #254 2003-05-02 16:18:51 +00:00
tipaul
26543b430e really proud of this commit :-)
z3950 search and import seems to works fine.
Let me explain how :
* a "search z3950" button is added in the addbiblio template.
* when clicked, a popup appears and z3950/search.pl is called
* z3950/search.pl calls addz3950search in the DB
* the z3950 daemon retrieve the records and stores them in z3950results AND in marc_breeding table.
* as long as there as searches pending, the popup auto refresh every 2 seconds, and says how many searches are pending.
* when the user clicks on a z3950 result => the parent popup is called with the requested biblio, and auto-filled

Note :
* character encoding support : (It's a nightmare...) In the z3950servers table, a "encoding" column has been added. You can put "UNIMARC" or "USMARC" in this column. Depending on this, the char_decode in C4::Biblio.pm replaces marc-char-encode by an iso 8859-1 encoding. Note that in the breeding import this value has been added too, for a better support.
* the marc_breeding and z3950* tables have been modified : they have an encoding column and the random z3950 number is stored too for convenience => it's the key I use to list only requested biblios in the popup.
2003-04-29 16:48:25 +00:00
wolfpac444
72f32f7ff7 *** empty log message *** 2003-04-13 05:54:18 +00:00
wolfpac444
758054a1b6 Bug fixes 2003-04-13 03:11:44 +00:00
wolfpac444
60b1489fe5 Fixed bug #299 2003-04-10 04:05:18 +00:00
wolfpac444
55b5cb1d1c Fixed a silly little typo ;-] 2003-04-08 17:08:37 +00:00
tipaul
bc9bf7850e fix for #222 2003-04-08 12:01:24 +00:00
tipaul
41560e80b8 fix for #184 2003-04-07 12:13:41 +00:00
wolfpac444
6419ed7c78 Added "toggle" color functionality to the templates 2003-04-05 03:35:09 +00:00
wolfpac444
e4d7a39bab Fixed the dates in aqbudget.pl 2003-04-05 03:19:33 +00:00
wolfpac444
2810acfb2a Templating... 2003-04-05 01:36:06 +00:00
wolfpac444
45dbf4d7b9 Templating... 2003-04-05 00:51:57 +00:00
wolfpac444
ab1294b661 Templating... 2003-04-05 00:35:37 +00:00
wolfpac444
fcbdef09f0 Templating... 2003-04-05 00:12:43 +00:00
wolfpac444
7dc774ec29 Templating... 2003-04-04 23:38:43 +00:00
wolfpac444
d35645d3c0 Minor fixes. 2003-04-04 22:39:45 +00:00
wolfpac444
d5cf2dfbb1 Templating... 2003-04-04 21:56:44 +00:00
wolfpac444
b845dac9a8 Templating... 2003-04-02 09:47:51 +00:00
wolfpac444
606cba8feb Changed "Date of Birth Required" to "Age Required" and removed the misleading examples. 2003-03-25 05:23:36 +00:00
tipaul
81e5ddd39c bugfix 214 : can enter stopwords separated by space or , 2003-03-18 11:58:49 +00:00
tipaul
09fbc6d33a template modifications => the templates now uses common default theme icon set. 2003-03-04 16:13:35 +00:00
wolfpac444
590956b49d Fixed &C4Connect problem and formating 2003-02-25 04:19:33 +00:00
wolfpac444
36a53b773b *** empty log message *** 2003-02-25 03:18:45 +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
01c8a830ca Missed setbranchinfo when SQL statements were converted to use ? 2003-02-09 08:31:04 +00:00
acli
338d829484 Converted the categories field in the default listing to a TMPL_LOOP + a
boolean TMPL_VAR
2003-02-09 07:55:13 +00:00
acli
d16adad21d Partial (incomplete) fix for bug 180 2003-02-09 07:41:22 +00:00
acli
0b48a8edf6 Trying to fix bug 130 here; corresponding changes will need to be made to
the templates
2003-02-09 06:56:43 +00:00
acli
13739fb5e3 Use ? for variables in all SQL statements 2003-02-09 06:39:07 +00:00
acli
76d997dfc2 Noted most likely correct tab size
Fixed some strange indentation
Noted stuff that needs to be fixed
Partial stub for "add new branch category" action
2003-02-09 06:14:32 +00:00
tipaul
98d746e42e small bugfix (execute with ?) 2003-02-05 15:52:24 +00:00
acli
0732091547 Make sure the total number of matching itemtypes is counted correctly;
counting categoryitems is unreliable (Bug 199)

Make a note near the begining that the file has 4-space tabs, and add
Local variables at the end for Emacs people
2003-02-05 04:20:14 +00:00
tipaul
5147ddfe45 templating itemtypes 2003-02-04 15:11:10 +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
acli
d16a9737d6 Handle non-latin1 charsets 2003-02-02 04:57:47 +00:00
tipaul
0333765bed bugfix for bugzilla #160 2003-01-28 13:04:08 +00:00
acli
4f3f0faadc Handle non-latin1 charsets 2003-01-26 04:23:34 +00:00
tipaul
4095d0d087 *** empty log message *** 2003-01-21 14:01:52 +00:00
tipaul
e0a3a53e5b add in parameters a "check marc" link.
this script checks MARC parameters and try to detect tome errors in configuration.
currently checks 7 differents things.

The 1.3.3 MARC21 parameters fails miserabily to this test : 3 errors !!!
2003-01-21 13:45:37 +00:00
tipaul
61368cb390 # cleaning 2003-01-20 13:48: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
492ca6fcc6 small bugfix to search on >= and not > 2002-12-18 10:56:41 +00:00
tipaul
73cd4c6081 small bugfix to avoid empty list at beginning 2002-12-18 10:55:16 +00:00
tipaul
d066b4cfdc bugfix for #143 : deletion ask for confirmation of the asked-for-deletion subfield, not for another one ! 2002-12-18 10:45:48 +00:00
tipaul
eaab1def1a bugfix to bug 142
But : modification of the behaviour : when you select 200 as search string in tag screen, the tags >200 are shown. Not only the 200 tag.
I think it's more logic and better.
2002-12-18 10:38:59 +00:00
tipaul
5f3749d437 adding authentification with Auth.pm
(note : i want to stay the 1st commiter in december as in november :-) )
2002-12-10 17:35:27 +00:00
tipaul
9123905d5d many bugfixes from Dombes Abbey tests 2002-12-10 13:29:32 +00:00
tipaul
19f65cfd12 bugfix for bug N135.
Note : yes, checks are performed only on client side.
I agree this is not very secure, but it's a rarely  modified value and koha 2.0 will need :
* IE5+ or Mozilla/Netscape 6+
* javascript enabled.

Maybe the best solution would be to include in *.inc files a test for javascript activated and refuse acces if it's not.
2002-12-02 15:55:19 +00:00
tipaul
6d929790ff bugfixes and improvments 2002-12-02 14:59:50 +00:00
tipaul
e0d4e702c3 road to 1.3.2 2002-11-19 12:32:22 +00:00
tipaul
a4c791f56c small bugfix 2002-11-18 09:42:54 +00:00
lavide
a628f878e5 templating this file and modify it so that all the budgets are on the screen
but for this moment only on budget by bookfund because there is primary key for bookfundid in aqbookfund and in aqbudget tables
2002-11-16 21:40:53 +00:00
lavide
c82e185ace add links to aqbudget.pl 2002-11-16 21:37:03 +00:00
tipaul
ebb6609879 *** empty log message *** 2002-11-12 16:41:12 +00:00
lavide
f8c08a6f69 fix that i had forgotten to template for $op=delete_confirm
and delete_confirmed
2002-11-11 08:36:44 +00:00
lavide
eb3336f193 : ----------------------------------------------------------------------
ii code for templating this script but there is now to add (tommorow) a line that modify the aqbudget table too
2002-11-10 21:29:59 +00:00
lavide
8afe6ff214 fix problem that only one branches was on the screenbr 2002-11-09 17:37:01 +00:00
tonnesen
dd934bdd4d Merging from rel-1-2 to trunk 2002-10-28 21:45:38 +00:00
tipaul
72f8328b0a road to 1.3.1
thesaurus / authorities support
2002-10-26 17:57:18 +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
lavide
b83190843c Modified Files
branches.pl
fix error in $script_name that was false:
2002-10-18 12:45:41 +00:00
lavide
86259e5f3a Yet the last version of branche.pl
after a good story with cvs using by a beginner
to use HTML::Template
2002-10-15 20:37:26 +00:00
lavide
5854328240 Modified File
branches.pl
to use HTML::Template
2002-10-15 20:27:18 +00:00
arensb
24b7b9a73d Removed trailing whitespace. 2002-10-13 09:31:35 +00:00
tipaul
bf1b862180 with this script, it's easy to see which koha-DB fields are not mapped to MARC-DB and map them. 2002-10-11 14:23:28 +00:00
tipaul
6d74968993 bugfixes + improvment in navigation 2002-10-11 09:19:57 +00:00
tipaul
b60daa6a8f road to 1.3.1 : marc parameter table management 2002-10-07 11:31:41 +00:00
tipaul
97fb83ca27 *** empty log message *** 2002-10-07 09:34:59 +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
finlayt
df88c1b7f5 Fixed bug by cleaning out crud. 2002-08-22 03:06:33 +00:00
tonnesen
1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
tonnesen
8e8ba7d976 too many arguments to mklink 2002-07-08 16:45:57 +00:00
tipaul
213daac431 only 1 change : buttun-add-new instead of button-add-variable.
Other diffs are due to "explanation" row adding, only in main branch
2002-07-04 12:46:42 +00:00
tonnesen
682ae23959 Merging bug fix from rel-1-2 2002-07-02 21:46:52 +00:00
dragon28
504d1c22e0 fixed a typo 2002-06-25 11:05:45 +00:00
dragon28
7266332902 fixed a typo 2002-06-25 10:58:07 +00:00
tonnesen
d5fbd761f5 Switched button-add-member to button-add-new in /admin/ scripts. 2002-06-24 18:40:56 +00:00
tipaul
0af09bc098 Beginning of marc stuff :
* in marc directory, the marcschema.sql contains now the new marc structure. The old one is in marcschema.old.sql.
* in marc directory, the fill_usmarc.pl script fills the structure tables with USMARC format in english. Thanks to steve for the BIG work getting them from LOC... It's still to do for UNIMARC in english, and of course in french for me ;-)
* in admin directory, the marctagstructure.pl script helps playing with the structure and modifying it... It's not ended (tomorrow, i hope it will be)
2002-05-16 16:20:40 +00:00
rangi
8a0aa32e8e Just a little fix to make it display an add variable button instead of add
new member.
add variable button is in koha-html
2002-05-16 02:16:27 +00:00
tipaul
c00363a571 Update of systempreferences table structure and admin script. Contains now a "help" fields that shows what param is supposed to do what. The params will be in the sample-DB. I've dumped the 3 I know. If there are others, let me know :
INSERT INTO systempreferences VALUES ('template', 'french', 'Template default name. Not used for instance');
INSERT INTO systempreferences VALUES ('autoBarcode', '', '1 or else. If 1, Barcode is auto-calculated');
INSERT INTO systempreferences VALUES ('acquisitions', 'normal', 'normal or simple : will use acquisition system found in directory acqui.simple or acquisition');
2002-05-15 12:17:35 +00:00
finlayt
9255f92b21 moredetail.pl presents circulation information taken from the
branchtransfers table

Circ2.pm has been changed a little

admin/branches.pl alows branches to be added, edited and deleted.

updatedatabase needs more fixing
2002-05-02 00:08:53 +00:00
rangi
9715feaa03 Fixing up the query to pickup budget 2002-04-05 03:09:18 +00:00
tipaul
28c9f74a6c scripts to manage parameters tables 2002-03-05 20:48:42 +00:00