Commit Graph

1162 Commits

Author SHA1 Message Date
Paul POULAIN 134f50e6d2 #1492 MARC subfields structure: can't switch to tab with label "@"
replacing the @ by _ in the template, wich is valid.

I also have changed a little the behaviour : the New button appears only
for >010 fields (<10 have only the data, no real subfield)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-31 05:41:08 -05:00
Ryan Higgins 289d65efb7 fixes for auth_val interface:
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-29 17:14:21 -05:00
Paul POULAIN 8b7085a8ab removing useless code
the 3 parameters :
intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
intranetstylesheet => C4::Context->preference("intranetstylesheet"),
IntranetNav => C4::Context->preference("IntranetNav"),

are filled by Auth.pm automatically, removing them in templates

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-24 17:03:38 -05:00
Joshua Ferraro 44996f90f4 adding missing systempreferences to en
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-23 18:23:58 -05:00
Paul POULAIN fe18100ef3 moving some systemprefs to their correct tab
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-22 07:21:05 -05:00
Galen Charlton a2c245c77d call number work part 2 -- added framework for call number filing routines
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-21 22:11:37 -05:00
Galen Charlton 43d3efe391 classification sources part 1 - system preferences
Database schema definitions and system preferences support
for defining classification sources and filing rules.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-21 22:11:32 -05:00
Ryan Higgins 70f46147a6 Extending branch categories : adding search domains. partial commit.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-21 19:18:36 -05:00
Frederic Demians 701d6ef020 Circulation borrower name autocompletion
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-20 16:17:08 -05:00
Galen Charlton 9578340d77 fix for bug 1501 - removed reference to marc_biblio from framework test
Also added results of two subtests missing from the template.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 20:20:33 -05:00
Joe Atzberger c08afe45e2 admin/stopwords.pl -- More cleanup
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 19:42:42 -05:00
Joe Atzberger 082b2ffe89 admin/printers - basic cleanup
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 19:42:25 -05:00
Owen Leonard f35745d40e Formatting admin entry forms, improving breadcrumb navigation.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 16:25:47 -05:00
Paul POULAIN 917c1ab46c fines management (bugfixes & minor improvement)
- pay.pl fixed, the librarian can see patron fines & mark them paid
- fines2.pl fixed, the script now calculate the fines correctly from the finerules :
  * itemtype / patron category if it exist
  * itemtype / default if needed
- renamed misc/fines.pl as fines-sanop.pl
- added 2 systempreferences:
  * MaxFine: the max amount a patron can be charged for an item
  * NoReturnSetLost: how many days of late before a non returned item is marked lost & the patron charged for the full cost of replacement
(those values where hardcoded in fines2.pl
- C4/Circulation/Fines.pm has been removed (unused duplicate of C4/Overdues)

Note that SANOP feature about notify levels have NOT been ported here. I think they are too specific now, and the code is poorly written
I've renammed fines.pl to fines-sanop.pl to point that it is specific.
Thus, all notify_id related features are not used by anything (and always 0)
Can be interesting to reintroduce them, but that will probably be a large work...

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-18 16:25:00 -05:00
Paul POULAIN 4794cec244 #1485 (issuing rules improvement) continued
updating fines rules management :
- replacing '*' by default
- removing bottom line (*) that means nothing
- dealing correctly with .0000 fine values
- fixing fine storage

still fines.pl to do

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-12 22:22:40 -05:00
Paul POULAIN ef27099d90 #1485 (issuing rules improvement) continued
issuing rules are working as expeced with this commit.
working on finesrules now

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-12 22:22:37 -05:00
Paul POULAIN 28257e7a98 #1485 (issuing rules improvement) continued
IMPORTANT NOTE : all existing test database for 3.0 must manually delete ALL constraints on issuingrules table
(the update22to30.pl don't contain the constraints anymore, as kohastructure.sql, so are concerned only the existing 3.0 tests databases)

Filling issuingrules table :
- the issuingrules table can't have a constraint on categorycode, as we have a '*' categorycode (=default issuingrule)
- reintroducing the "default" issuingrule column
- changing some text ('*' replaced by something more explanatory)
- handling correctly the '0' (that is different from 'undefined'

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-12 22:22:12 -05:00
Paul POULAIN 94a441f57e #1485 saving issuingrules
lot of bugs to fix...
- a foreign key on patron category is stupid as we have a wildcard
- having a wildcard on itemtype is useless, removing it in template
- reindenting & removing some commented lines
- fixing some SQL bugs (insert/update lines)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-11 11:56:10 -05:00
Owen Leonard 4662ba0958 Refining navigation in MARC Framework pages; Fixing unfinished YUI-based toolbar on catalogue detail page: functional now, with some tweaks yet to be done.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-09 19:12:33 -05:00
Paul POULAIN c0c11a87c1 #1444: Porting marcEditor to authorities (tab management)
+ reindenting some code

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-09 19:01:59 -05:00
Joshua Ferraro 464b0e25e7 Revert "#1485 saving issuingrules"
This reverts commit 31eaffcb04.
2007-10-08 16:20:47 -05:00
Paul POULAIN 31eaffcb04 #1485 saving issuingrules
lot of bugs to fix...
- a foreign key on patron category is stupid as we have a wildcard
- having a wildcard on itemtype is useless, removing it in template
- reindenting & removing some commented lines
- fixing some SQL bugs (insert/update lines)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-08 15:52:52 -05:00
Paul POULAIN 3f58590a40 commenting a warn
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-05 19:53:46 -05:00
Joshua Ferraro 57408637b9 improvements to the system preferences
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-30 03:05:47 -05:00
Chris Cormack a682c0aa74 Fixing logic error that was busting templates.
DO NOT create an empty array by going my @array='';

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-29 19:56:22 -05:00
Mason James 6bd75d133f adding debuglevel to admin tab
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-27 20:25:00 -05:00
Paul POULAIN a3a4bfc5e6 IMPROVEMENT : reintroducing stopwords management
Zebra (and NoZebra) doesn't deal with stopwords.
It search the exact string the user types.
This commit :
- reintroduces stopword management script that was in 2.2
- add stopword management to Zebra & NoZebra searches.

PS : fortunatly, the stopwords table was not removed by updatedatabase, so nothing to do here.
(& the table is in kohastructure.sql)

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-24 15:32:06 -05:00
Chris Cormack 1a4fc157bf Applying the fix for bug 1416 from paul
Had to edit the patch as it was corrupt
2007-09-20 17:39:43 -05:00
Paul POULAIN 1450fd180e FIX for #1375
marc_subfield_structure.hidden lost on create new framework

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-18 15:05:51 -05:00
Owen Leonard a453c16632 Finishing cleanup of Admin templates: - Corrected markup generated by scripts. - Added standard or custom resident search form on all pages. - Add breadcrumb navigation to all pages
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-14 17:47:17 -05:00
Owen Leonard 737730e4a6 Continuing to add resident search form and breakcrumbs. Markup cleanup all around.
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-12 20:54:50 -05:00
Joshua Ferraro cefeb583ad fixing permissions on scripts
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-08-13 12:22:30 -05:00
Joshua Ferraro e9ae8c0686 patches from paul 2007-08-08 07:41:19 -05:00
Paul POULAIN f197e25ad9 wrong redirect link fixed
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-08 07:23:51 -05:00
kados 40af15d8e6 changing permissions on templates and scripts 2007-08-07 13:20:51 -05:00
jmf@arwen.metavore.com c0d85e87b4 From 0751ba130288bc69e9e563473e7fc25551edc40e Mon Sep 17 00:00:00 2001
From: kados <jmf@arwen.metavore.com>
Date: Sat, 4 Aug 2007 20:10:51 -0500
Subject: [PATCH] fixing permissions on all scripts

Signed-off-by: Chris Cormack <crc@arwen.metavore.com>
2007-08-04 22:41:41 -05:00
toins 5cce74881a re indenting 2007-07-12 15:26:22 +00:00
tipaul 24b5fab833 do not use REPLACE in SQL statements : it is not standard SQL, and don't work with integrity contraints : it's a delete/insert, not an UPDATE if the row exist. fixes the problem for borrower categories 2007-07-03 08:48:14 +00:00
rangi d27c5bb427 Fix for bug 1296, making surnames uppercase a systems preference 2007-07-02 02:30:15 +00:00
tipaul 8b29900d24 bugfix on adding a subfield 2007-06-26 09:17:56 +00:00
toins 371fc016e9 removing template->param already writed on Auth.pm 2007-06-11 15:19:46 +00:00
toins 55120ddf4e re-indent + little bugfix : '' instead of undef. 2007-06-08 09:42:18 +00:00
tipaul 577a7bf094 some (minor, functionnaly speaking) bugfixes 2007-06-05 08:54:17 +00:00
tipaul e1d907c688 various bugfixes on parameters modules + adding default NoZebraIndexes systempreference if it's empty 2007-05-04 16:24:08 +00:00
hdl 100e6a9808 functions that were in C4::Interface::CGI::Output are now in C4::Output.
So this implies quite a change for files.
Sorry about conflicts which will be caused.
directory Interface::CGI should now be dropped.
I noticed that many scripts (reports ones, but also some circ/stats.pl or opac-topissues) still use Date::Manip.
2007-04-24 13:54:28 +00:00
tipaul 7bd99ef365 removing all useless %env / $env 2007-04-18 17:00:14 +00:00
hdl fccd02e67b Adding Finerules script.
It tears issuingrules script into two.
+ Fixing save button that would bring back to default branch.
2007-04-16 16:54:33 +00:00
toins 3e764c663f - adding default value in marc_subfield_structure.
- now marc_subfields_structure displays subfields in tab view.
2007-03-19 18:35:12 +00:00
tipaul f8e9fb6445 rel_3_0 moved to HEAD (introducing new files) 2007-03-09 15:34:17 +00:00
tipaul 70501283b3 rel_3_0 moved to HEAD 2007-03-09 14:41:32 +00:00
tipaul 2ffd5b7228 rel_3_0 moved to HEAD 2007-03-09 14:28:54 +00:00
tgarip1957 4843e0ee78 Resynching Savannah 2006-11-15 01:41:51 +00:00
tgarip1957 04b2e6112f Finalized XML version for intranet 2006-09-27 21:19:21 +00:00
tgarip1957 5b41a8e262 New XML API 2006-09-11 17:41:54 +00:00
tgarip1957 7e52a5665c Clean up before final commits 2006-09-06 16:21:03 +00:00
tgarip1957 fe59c6c516 New framework handling. New koha_attr table for mapping MARC to koha 2006-09-01 22:03:00 +00:00
toins bebc33b5dd POD added, Call to Bookfund.pm added, SQL code movde in Bookfund.pm. 2006-07-31 15:56:06 +00:00
toins c136f56045 subs renamed according to coding guidelines. 2006-07-21 13:57:02 +00:00
toins 3c6410111b subs renamed according to coding guidelines. 2006-07-21 10:10:29 +00:00
toins cc9524a875 Head & rel_2_2 merged 2006-07-04 14:36:51 +00:00
alaurin c80648938c bug fixing :
- Printer selection for add a new branch, is now working

   - the branchname of librarian is not display automaticly if you add a new branch

   - the printqueue is now displayed on branches infos page and edit branch page
2006-06-12 09:38:52 +00:00
rangi a9fa80e4e1 Allowing the rental discount to be modified here too.
Rental discount effects the amount a borrower is charge to issue an item

eg, if a borrower category has rental discount of 20 (its a percentage) on itemtypes DVD, and a dvd costs $2 to borrow normally, then it will cos them $1.60
If not set it defaults to zero
2006-06-07 03:00:48 +00:00
rangi b98cbde880 Adding a sprintf to format the fields involving currency to 2 decimal places 2006-06-07 02:42:51 +00:00
bob_lyon ed8eee0aa6 merging katipo changes...
Adding new pref to the circ tab
2006-06-07 02:05:06 +00:00
bob_lyon e12623fd0b Merging Katipo changes...
adding new system pref 'reading history' to the Members tab
2006-06-06 23:45:45 +00:00
btoumi e55120f85f Add category type value with A for Adult P for Professional
I for Institution  and C for children
2006-05-23 14:26:15 +00:00
tipaul 90f484c145 adding cities & roadtype (from SAN-OP) 2006-05-23 11:44:23 +00:00
rangi 92c3ec8d45 Adding a new variable, memberofinstitution, this allows a borrower to belong to one or more institutions.
Needed by a library.
There will be a new table to go with this plus some changes to the add/modfiy members pages. But the default value for this variable will be 0(no) so most people wont see any changes at all
2006-05-22 22:32:46 +00:00
rangi 1263aaccc7 Merging in changes from dev_week branch 2006-05-22 22:24:37 +00:00
tgarip1957 fe631a8205 Authority tables are modified to be compatible with new MARC frameworks. This change is part of Authority Linking & Zebra authorities. Requires change in Mysql database. It will break head unless all changes regarding this is implemented. This warning will take place on all commits regarding this 2006-05-19 17:58:40 +00:00
alaurin 527c449099 committing new feature ip and printer management
adding two fields in branches table (branchip,branchprinter)

branchip : if the library enter an ip or ip range any librarian that connect from computer in this ip range will be temporarly affected to the corresponding branch .

branchprinter : the library  can select a default printer for a branch
2006-05-19 09:52:54 +00:00
tipaul 97182dceb2 improvements from SAN Ouest Provence :
* introducing a category_type into categories. It can be A (adult), C (children), P (Professionnal), I (institution/organisation).
* each category_type has it's own forms to create members.
* the borrowers table has been heavily modified (many fields changed), to get something more logic & readable
* reintroducing guarantor/guanrantee system that is now independant from hardcoded C/A for categories
* updating templates to fit template rules

(see mail feb, 17 on koha-devel "new features for borrowers" for more details)
2006-04-14 09:31:24 +00:00
plg 3bec20f948 new: function C4::Date::get_date_format_string_for_DHTMLcalendar based on
the system preference prefered date format.

improvement: book fund list and budget list screen redesigned. Filters on
each field. Columns are not sortable yet. Using DHTML Calendar to fill date
fields instead of manual filling. Pagination system. From the book fund
list, you can reach the budget list, filtered on a book fund, or not. A
budget can be added only from book fund list screen.

bug fixed: branchcode was missing in table aqbudget.

bug fixed: when setting a branchcode to a book fund, all associated budgets
move to this branchcode.

modification: when adding/modifying budget/fund, MySQL specific "REPLACE..."
statements replaced by standard SQL compliant statement.

bug fixed: when adding/modifying a budget, if the book fund is associated to
a branch, the branch selection is disabled and set to the book fund branch.
2006-04-13 08:36:42 +00:00
plg f71c0ed865 bug fixed: toggle was not working anymore in itemtypes management screen due
to previous commit.
2006-04-07 11:13:15 +00:00
plg c66d4eb161 modification: on itemtypes management screen, useless form are replaced by
simple links.

improvement: support of itemtype icons on prog template. The icons are
displayed on itemtypes management screen and on moremember screen.

improvement: use of pagination_bar on itemtypes management screen.

new: function were added in C4::Koha to manage itemtype image location
(local/remote). Warning: you must copy or symlink the itemtypeimg directory
from the opac template into the intranet template.
2006-04-07 11:10:25 +00:00
plg 3096d75677 bug fixed: on admin/stopwords, the calculation of the number of pages to
display in the pagination bar was wrong on extreme case (when number of
items equals the pagesize). Calculation replaced by a generic function
getnbpages in C4::Koha. This function could be useful elsewhere than in
stpwords management screen and avoid calculation bugs as I did.
2006-04-07 08:24:36 +00:00
plg aea8533844 Experimental rewrite of Stop Words administration screen. Feedback welcomed. 2006-04-06 11:00:08 +00:00
hdl b810e2d71e changing parameters template directory to admin 2006-02-24 11:15:01 +00:00
tipaul c7248b0b0d moving admin-home.pl to admin directory 2006-01-17 16:19:37 +00:00
tipaul d5938493d7 synch'ing head and rel_2_2 (from 2.2.5, including npl templates)
Seems not to break too many things, but i'm probably wrong here.
at least, new features/bugfixes from 2.2.5 are here (tested on some features on my head local copy)

- removing useless directories (koha-html and koha-plucene)
2006-01-06 16:39:37 +00:00
tipaul b38997925f big commit, still breaking things...
* synch with rel_2_2. Probably the last non manual synch, as rel_2_2 should not be modified deeply.
* code cleaning (cleaning warnings from perl -w) continued
2005-10-26 09:11:02 +00:00
tipaul cf94bf34fb new feature : image for itemtypes.
* run updater/updatedatabase to create imageurl field in itemtypes.
* go to Koha >> parameters >> itemtypes >> modify (or add) an itemtype. You will see around 20 nice images to choose between (thanks to owen). If you prefer your own image, you also can type a complete url (http://www.myserver.lib/path/to/my/image.gif)
* go to OPAC, and search something. In the result list, you now have the picture instead of the text itemtype.
2005-09-02 14:18:38 +00:00
tipaul 3897417124 adding some fields available for Letters 2005-08-05 15:50:46 +00:00
tipaul 89f7388354 synch'ing 2.2 and head 2005-08-04 12:12:13 +00:00
tipaul df6c6bcada Letters / alert system, continuing...
* adding a package Letters.pm, that manages Letters & alerts.
* adding feature : it's now possible to define a "letter" for any subscription created. If a letter is defined, users in OPAC can put an alert on the subscription. When an issue is marked "arrived", all users in the alert will recieve a mail (as defined in the "letter"). This last part (= send the mail) is not yet developped. (Should be done this week)
* adding feature : it's now possible to "put to an alert" in OPAC, for any serial subscription. The alert is stored in a new table, called alert. An alert can be put only if the librarian has activated them in subscription (and they activate it just by choosing a "letter" to sent to borrowers on new issues)
* adding feature : librarian can see in borrower detail which alerts they have put, and a user can see in opac-detail which alert they have put too.
Note that the system should be generic enough to manage any type of alert.
I plan to extend it soon to virtual shelves : a borrower will be able to put an alert on a virtual shelf, to be warned when something is changed in the virtual shelf (mail being sent once a day by cron, or manually by the shelf owner. Anyway, a mail won't be sent on every change, users would be spammed by Koha ;-) )
2005-08-04 08:54:54 +00:00
oleonard cb39259b1a Synching with rel_2_2. 2005-08-03 19:30:31 +00:00
tipaul 145f21e982 adding 2 fields to letter system :
* module (acquisition, catalogue...) : it will be usefull to show the librarian only letters he may be interested by.
* title, that will be used as mail subject.
2005-08-02 16:15:34 +00:00
tipaul 8caf4b5277 Introducing new "Letters" system : Letters will be used everytime you want to sent something to someone (through mail or paper). For example, sending a mail for overdues use letter that you can put as parameters. Sending a mail to a borrower when a suggestion is validated uses a letter too.
the letter table contains 3 fields :
* code => the code of the letter
* name => the complete name of the letter
* content => the complete text. It's a TEXT field type, so has no limits.

My next goal now is to work on point 2-I "serial issue alert"
With this feature, in serials, a user can subscribe the "issue alert". For every issue arrived/missing, a mail is sent to all subscribers of this list. The mail warns the user that the issue is arrive or missing. Will be in head.
(see mail on koha-devel, 2005/04/07)

The "serial issue alert" will be the 1st to use this letter system that probably needs some tweaking ;-)

Once it will be stabilised default letters (in any languages) could be added during installer to help the library begin with this new feature.
2005-07-28 15:10:12 +00:00
tipaul 3df7bdc5d3 For instance, the return date does not rely on the borrower expiration date. A systempref will be added in Koha, to modify return date calculation schema :
* ReturnBeforeExpiry = yes => return date can't be after expiry date
* ReturnBeforeExpiry = no  => return date can be after expiry date
2005-07-28 08:38:15 +00:00
hdl 552d398bf7 Adding page to display log views.
can be called by admin/viewlog.pl
Works with C4/Log.pm
uses action_logs table
2005-07-20 16:09:03 +00:00
hdl 979940ecba Modifying branch Selection : Now Superlibrarians are always able to see ALL branches budget, not simple librarians. 2005-07-12 13:59:38 +00:00
hdl b734534b18 Add branch selection and filter for budgets and funds.
May be too much... Funds could be enough....

It works provided you update your base adding branchcode both in aqbookfund AND aqbudget.
If selection in budget is not needed, I shall remove.
2005-07-06 17:47:22 +00:00
tipaul 5e44e797eb synch'ing 2.2 and head 2005-06-20 13:15:46 +00:00
tipaul d989e33d88 improving systempref selector :
* showing active tab better
* removing useless filter form
* adding some systemprefs to their correct tab
2005-06-20 13:12:11 +00:00
hdl 03e820d08c Displaying system preferences by category 2005-06-17 16:37:00 +00:00
genjimoto 22b8970807 script to edit the item subcategory table. 2005-06-02 03:31:16 +00:00
genjimoto 67cd0be3ed script to edit the category table. 2005-06-02 03:08:22 +00:00
genjimoto cb0562abd2 script to edit the media type table. 2005-06-02 02:37:32 +00:00
tipaul 4dea4ae494 synch'ing 2.2 and head 2005-05-04 08:50:48 +00:00
doxulting e576fa725b Adding a parameter to allow acces to people with management flag 2005-03-23 09:41:50 +00:00
doxulting 38cef54bd4 Adding a parameter to allow acces to people with management flag 2005-03-23 09:40:42 +00:00
doxulting 89318ac905 Adding a parameter to allow acces to people with management flag 2005-03-23 09:29:30 +00:00
tipaul 93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
oleonard 5f48b7b932 - formatting currency values
- fixing table row color toggle, and moving color values to the template (requires update to template)
2005-02-17 17:56:58 +00:00
oleonard 2f6a47427c Adding id attributes to script-generated form fields to allow more flexible interface (tying label for attribute to input's id allows label to be clicked to transfer focus to the form field) 2005-02-14 22:07:59 +00:00
oleonard 2bc14941ff Adding id attributes to CGI-generated form inputs so that HTML labels can transfer focus to the appropriate field. 2005-02-11 19:59:41 +00:00
oleonard f1500dd369 Updating table row color toggle to pass variable to the template instead of HTML value. Works now with CSS. 2005-02-11 16:24:11 +00:00
oleonard 01a2fe5e79 Switching from building 'edit' link in the script to building it in the template itself by creating edit_tagfield and edit_frameworkcode variables to pass to the template.
A change to the template is also required.
2005-02-10 22:42:56 +00:00
oleonard 262c959992 Changing table row color toggle so that color values can be specified in the template instead of the script (requires update to template) 2005-01-20 20:20:57 +00:00
oleonard ae427924d7 Changing table row color toggle so that color values can be specified in the template instead of the script (requires update to template) 2005-01-20 18:48:12 +00:00
oleonard 91cce6c60a Changing table row color toggle so that color values can be specified in the template instead of the script (requires update to template) 2005-01-20 17:37:56 +00:00
oleonard 7f377d39ac Moving HTML markup to the template 2005-01-10 21:33:54 +00:00
tipaul b02dc10f6e * partial support of the "linkage" MARC feature : if you enter a "link" on a MARC subfield, the magnifying glass won't search on the field, but on the linked field. I agree it's a partial support. Will be improved, but I need to investigate MARC21 & UNIMARC diffs on this topic. 2005-01-03 12:56:30 +00:00
tipaul a6ce64229e bugfix for CVS installations of Koha & modperl 2004-12-08 10:41:38 +00:00
tipaul 56ab39361e fixes from A. Tarallo, for mod_perl compliance 2004-12-03 16:50:39 +00:00
tipaul da14df0aed when deleting an itemtype, don't check issuingrules, but delete them too 2004-12-02 16:37:33 +00:00
oleonard 64d656ab31 Adding branchname to output for deletion confirmation screen (Bug 552) 2004-11-30 17:40:46 +00:00
tipaul 56d54d3d28 bugfix : returning to tag after modifying the tag. 2004-10-04 20:37:14 +00:00
tipaul da5c8dd25b fixes for notforloan management 2004-09-13 15:20:28 +00:00
rangi fbdf670fc7 Changing next_page to nextpage to match prevpage and all the templates seem to expect nextpage 2004-08-25 21:35:33 +00:00
tipaul 726c0565e8 various bugfixes 2004-08-18 16:05:14 +00:00
doxulting 0c3e1dd11b Some minor debug changes 2004-07-30 13:55:58 +00:00
doxulting f122180117 Beginning of serial commit 2004-07-30 13:54:27 +00:00
doxulting b1136e8813 Authorities 2004-07-08 10:15:59 +00:00
doxulting 4a8ae6a31b New stuff for authorities 2004-07-06 13:15:11 +00:00
doxulting cb6e87e420 debugged framework interface. Frameworks for ensmp are ready too 2004-06-25 09:17:49 +00:00
tipaul 6ffc27d72f bugfixes 2004-06-17 08:18:42 +00:00
tipaul 5cf0a788a1 MARC authority management (continued) 2004-06-10 08:58:34 +00:00
tipaul af996a21e8 * frameworks and itemtypes are independant
* bugfixes in authority types & framework management (mainly deletion)
2004-06-03 10:01:28 +00:00
tipaul bc2b9b7c6e improving systempreferences to show lists, radio button where applicable (was partially done by ?, buttemplate was not done) 2004-05-28 13:43:25 +00:00
tipaul ebd963a04d pagesize set to 100 (every systempref on the same html page) 2004-05-28 08:24:55 +00:00
tipaul 59ae3d902f hidding hidden & isurl constraints into MARC subfield structure 2004-05-28 08:24:14 +00:00
tipaul a9f96d62d6 MARC authorities management (1st draft) 2004-05-28 08:23:03 +00:00
doxulting 4ac706ccbe attention la base ne contient peut etre pas toutes les colonnes (maxissueqty dans issuingrules par exmple) 2004-05-24 12:16:19 +00:00
tipaul 88e67b8d3e framework management : 1 MARC framework for each itemtype 2004-05-18 15:22:10 +00:00
tipaul 703eca0aa5 issuingrules : the new script to manage issuing rules (issuing number & length by branch / itemtype / borrower type) 2004-05-06 14:51:22 +00:00
tipaul a4157fd8d2 continuing code cleaning & reordering 2004-05-04 16:15:56 +00:00
tipaul 8a6df5b308 (merged in issuingrules) 2004-05-04 15:32:35 +00:00
tipaul 1e0d19e820 removed (replaced by issuingrules.pl, script to come) 2004-05-04 15:24:34 +00:00
tipaul 3779ef4e29 *** empty log message *** 2004-04-14 19:44:33 +00:00
acli bc5c478a57 Make "Edit subfields" a template variable. This change should not affect
old templates.
2004-03-28 08:42:20 +00:00
tipaul 73953baf99 *** empty log message *** 2004-03-24 10:42:35 +00:00
tipaul b0cf7df697 synch'ing with 2.0 branch 2004-03-16 13:39:50 +00:00
acli fc4a43fcd0 Make the page headings translatable while trying not to break old templates 2004-03-11 05:42:55 +00:00
tipaul 3635a596cf synch'ing 2.0.0 branch and head 2004-02-11 08:35:31 +00:00
tipaul 7457de546a synch'ing with rel_2_0 version 2004-01-12 16:55:05 +00:00
oleonard 097c494a59 Changes to generated HTML to allow proper validation (&amp;, quoted attributes, etc.) 2003-12-30 20:56:16 +00:00
oleonard c88f1bbb91 Changes to generated HTML to allow proper validation 2003-12-30 19:59:02 +00:00
oleonard 8cb1182ddb Changes to generated HTML to allow proper validation (&amp;) 2003-12-30 17:47:10 +00:00
oleonard b1eb0ed3a3 Changes to generated HTML to allow proper validation (&amp;, quoted attributes, etc.) 2003-12-30 16:45:52 +00:00
oleonard 33678d2e4b Changes to generated HTML to allow proper validation (&amp;, quoted attributes, etc.) 2003-12-30 16:16:26 +00:00
tipaul f8bde9b034 sync'ing with rel_2_0 (mostly prepare/execute pb, bug #662) 2003-12-22 19:16:58 +00:00
tipaul 34701939ab fix for #577 2003-10-21 15:47:06 +00:00
tipaul 518d879544 moving & templating charges to admin part of Koha 2003-10-06 13:40:49 +00:00
tipaul 02381a2301 fix for 525 (If itemtype is not set, we get a broken more detail page) and translation to french 2003-09-04 15:03:00 +00:00
tipaul 48c2fefd1c demo mode added 2003-08-01 14:23:52 +00:00
wolfpac444 d0559ec4cf Fixed Bug #542 2003-07-18 13:34:14 +00:00
slef bdd6346c90 change show columns to use biblioitems bnotes too 2003-07-15 23:09:18 +00:00
tipaul 0ded1ac11e small fixes for thesaurus modification & removed useless "toponly" in templates 2003-07-10 14:11:46 +00:00
tipaul 1f349f1a92 Checking that all fields mapped to the item marc field (995 in UNIMARC) are mapped to a field in items SQL-table.
Previously, you had a warning only if fields mapped to item SQL-table was in more than 1 item marc field.
2003-07-04 13:24:52 +00:00
tipaul c3a71778ea fix for #471 2003-07-04 13:17:32 +00:00
tipaul bae44ceac7 (partial ?) fix for #512 2003-07-02 13:51:31 +00:00
tipaul 71817b0ab1 fixing bug in thesaurus entry modification 2003-07-02 12:49:43 +00:00
tipaul 4ed42893e8 fix for #473 2003-06-24 10:26:17 +00:00
tipaul eeef872737 small fix to add subtitles and subject in mappable fields. 2003-06-20 16:26:12 +00:00
plugz a4e5a8d358 FIX: Can offset display result 2003-06-20 12:59:19 +00:00
sergerenaux ca7bec7639 *** empty log message *** 2003-06-17 09:30:56 +00:00
tipaul 5e3ed3cbad fixes for #395 2003-06-13 14:41:32 +00:00
tipaul e363ddc14b fixes for bookfunds & budget. Should work now. I fix #223, #424 2003-06-13 13:46:01 +00:00
rangi 0dd1c92971 Small change to make branches order by branchcode in the list 2003-06-13 11:54:39 +00:00
tonnesen 6c203041b1 Using "boolean_preference()" call to get current status of YesNo type system
preferences.
2003-06-11 18:57:18 +00:00
tonnesen 53084f1a8c Fixed bug #35. System preference settings now give selectable options where
appropriate.
2003-06-11 18:45:36 +00:00
tipaul d8ed149e5f 1st draft for budget reordering
DOES NOT WORK.
But it's time for week end for me, so bugfix will wait until tuesday :-)
2003-06-06 14:50:35 +00:00
wolfpac444 9a9028c462 Fixed bug #252 2003-06-02 03:56:53 +00:00
wolfpac444 ac14b50092 Fixed bug that occurs when no branch information is entered (Bug #467) 2003-05-27 05:44:41 +00:00
tipaul 73bed78699 support for subtitles, additional authors, subject. 2003-05-19 13:49:08 +00:00
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 N°135.
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