Commit graph

224 commits

Author SHA1 Message Date
tipaul
bee8cebb41 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:55:54 +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
22b7a4864b Adding IndependantBranches System preference variable in order to manage Branch independancy. 2005-07-26 08:19:47 +00:00
tipaul
7621b4fd06 we have decided that moving to Koha 3.0 requires being already in Koha 2.2.x
So, the updatedatabase script can highly be cleaned (90% removed).
Let's play with the new Koha DB structure now ;-)
2005-07-25 15:35:38 +00:00
hellen
db8c316c68 adjustments for 2.2.3 2005-07-20 17:25:07 +00:00
hdl
e4a19baab6 Adding an object field to action_logs.
+ Minor Correction to updatedatabase
Changing Activate_Log from choice to YesNo Variable.
2005-07-19 16:48:15 +00:00
hdl
bec1be7090 Adding Log Facility.
Needs Two Update in database...
On more table (action_logs)
And One more syspref Activate_Log, with On|Off values.
Maintainance has been sweeped of previous Log functions
addbiblio.pl contains a sample of code using Log.pm
To be generalized to Authorities, acquisitions, members soon.
2005-07-15 16:10:31 +00:00
hdl
ec94689218 Adding a log facility for actions watching.
Code to be widely used in order to report data modifications.
2005-07-14 09:53:10 +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
f55e808ec0 synch'ing 2.2 and head 2005-06-20 14:33:32 +00:00
genjimoto
9724d3b061 New Feature: catalogsearch() has a new parameter, $sqlstring. A developer puts into it whatever they want to tack onto the end of the where statement. See usage in opac-search.pl 2005-06-01 21:35:05 +00:00
tipaul
64cd740d2b synch'ing 2.2 and head 2005-05-04 08:58:30 +00:00
doxulting
73a6264654 Adding 2 flags to separate the rights in the parameter section 2005-03-23 09:23:04 +00:00
hdl
4ca134c52a Adding MIME and delimiter support to system preferences 2005-02-24 11:28:35 +00:00
tipaul
e2914a4499 Improvement : adding a systempref to define default view in OPAC (either normal, MARC or ISBD). Created automatically during install or update. Check that you have a Koha >> parameters >> systempreferences >> BiblioDefaultView, Variable type : Choice, Variable options : normal|marc|isbd 2004-12-10 16:11:29 +00:00
tipaul
25bf4e04a3 adding acquisition permission 2004-12-02 17:17:00 +00:00
tipaul
8b01923b5b bugfix for auth_header creation 2004-11-26 20:26:49 +00:00
tipaul
ba80395e5d adding itemcallnumber entry 2004-11-23 09:11:08 +00:00
tipaul
9d92123a83 removing ldap systempref, it's now in C4/Auth_with_ldap.pm separate package 2004-11-16 13:03:45 +00:00
tipaul
d6044c0567 bugfix 2004-11-08 19:57:32 +00:00
tipaul
8d868bb448 adding a "location" field to the library.
This field is useful when the callnumber contains no information on the room where the item is stored.
With this field, we now have 3 levels of informations to find a book :
* the branch.
* the location.
* the callnumber.

This should be versatile enough to solve any storing method.
This hack is quite simple, due to the nice Biblio.pm API. The MARC => koha db link is automatically managed. Just add the link in the parameters section.
2004-09-06 10:00:19 +00:00
tipaul
8dd23037cd bugfixes 2004-08-12 14:50:50 +00:00
tipaul
1e33d3ca1a changing DB structure to calculate next issue number.
Seems to work fine.

Still misses the date calculation & the test of end of subscription (maybe for monday ?)
2004-08-06 16:38:41 +00:00
tipaul
566f12b455 Acquisition & Suggestion :
* acquisition rewritte : create a aqbasket table to deal with "bookseller order header".
* add "close basket" feature : a closed basket can't be modified
* suggestion feature : manage suggestions in acquisition (after suggestion filled in OPAC)
2004-07-15 09:46:31 +00:00
tipaul
fe850f8737 adding 2 free fields that can be used for sorting purposes 2004-07-06 08:24:17 +00:00
tipaul
73de15b3ff Adding 2 new fields, called "sort1" and "sort2"
They can be used for sorting & statistics reasons by the library.
2004-07-02 15:55:06 +00:00
rangi
31b20b5015 Fixing typo 2004-06-26 23:34:26 +00:00
tipaul
4f09f602f3 fixes in DB structure 2004-06-23 13:03:09 +00:00
tipaul
9619bb3c81 adding -s (silent) flag, to have a silent install.
only updater will be verbose
2004-06-22 11:30:57 +00:00
tipaul
d58d49bb9a missing Marc_Search index on marc_word 2004-06-17 15:19:44 +00:00
tipaul
4161d6fba6 DB modifs : merging tag & subfield in marc_word table 2004-06-17 08:25:21 +00:00
tipaul
e7e930ab39 MARC authority management (continued) 2004-06-10 08:28:40 +00:00
tipaul
1525f78ad6 * frameworks and itemtypes are independant
WARNING : will work only if applied to a 2.0 base. some modifs have been done since last commit that will NOT be applied if you run updatedatabase again.
2004-06-03 12:46:58 +00:00
tipaul
9c8d22eefa bugfix 2004-05-28 09:56:21 +00:00
tipaul
f2d64b92e1 adding :
* MARC authority file
* seealso & hidden in MARC biblio structure.
2004-05-28 08:32:00 +00:00
tipaul
275542c036 *** empty log message *** 2004-05-18 09:50:07 +00:00
tipaul
425a91c086 css is now the default theme for OPAC.
It will be the theme used for improvements and new things in OPAC.
2004-05-10 09:29:33 +00:00
tipaul
f2b3acaf7d adding table issuingrules (previously called categoryitem 2004-05-06 14:56:51 +00:00
tipaul
472ed63c80 adding printcirculationsplit parameter (already existed, but was not in systempref by defaul) 2004-05-03 09:32:25 +00:00
tipaul
81eb3e6fc6 seealso field set to 255 chars 2004-04-14 19:49:00 +00:00
tipaul
0b468a1a96 *** empty log message *** 2004-03-11 16:06:20 +00:00
tipaul
1498ce1415 adding seealso feature in MARC searches 2004-03-06 20:26:13 +00:00
tipaul
af08d677c5 synch'ing 2.0.0 branch (RC4 tag) and head 2004-02-11 08:42:01 +00:00
tipaul
2e85cd80fd fix for 625 2003-12-18 17:23:22 +00:00
tipaul
abebb31d30 OPAC now show a systempref variable in main/home screen => easier to change for a library. 2003-12-15 14:39:52 +00:00
tipaul
afd24deea6 setting default acquisition to NORMAL, which is better, imho (it's always possible to add a biblio directly through catalogue menu entry) 2003-12-04 12:51:41 +00:00
tipaul
87819d35b1 bugfixes for biblio deletion 2003-12-03 17:47:14 +00:00
tipaul
a6c85616dc * removing too verbose messages.
* creating a fulltext index on bibliothesaurus
2003-11-28 10:08:33 +00:00
slef
2983976716 lengthen cardnumber to 16 and make it unique 2003-11-12 16:14:42 +00:00
tipaul
fb8dadc918 adding marc fields in deletedbiblio & deleteditems 2003-11-06 15:07:11 +00:00
rangi
73e7c08589 Making the borrowenumber an auto_increment field 2003-10-23 20:33:53 +00:00
slef
101d05478f Omitted annotation added. Closes: 624 2003-10-20 16:13:01 +00:00
slef
80f17291cd Adding USMARC to LOC z3950 entry 2003-10-20 16:10:19 +00:00
tipaul
d90136a57e oups... typo fix in z3950random field definition 2003-10-01 15:03:45 +00:00
tipaul
db7b80b859 fixing "z3950daemon not null" problem by changing the field to "null" instead of "not null". 2003-10-01 13:43:48 +00:00
tipaul
d496f547cf adding barcode NOT mandatory feature. Just run updatedatabase to get it.
Note it's impossible to issue an item without barcode, as issue/returns is based on barcode...
2003-09-30 16:22:05 +00:00
acli
e0fcae1ea9 Minor spelling correction 2003-07-16 04:08:29 +00:00
tipaul
2076eafb85 fixing a bug that occured when adding a field into a table. 2003-07-11 11:50:29 +00:00
tipaul
7472c8a866 *** empty log message *** 2003-07-07 15:37:20 +00:00
tipaul
7275c3a7bf (again) fix to avoid errors when creating fields that are primary keys and a previous primary key exist. 2003-07-07 15:36:13 +00:00
tipaul
0e2711298b fix to avoid errors when creating fields that are primary keys and a previous primary key exist. 2003-07-07 15:23:56 +00:00
tipaul
a8574a5b83 fixing bug #526 : gst rate is now calculated through systempref gist entry.
Before this fix :
* was harcoded to 12,5%
* some bugs in template parameters prevented the javascript to work.
* some bugs prevented some calculations to be done properly.
2003-07-07 14:11:16 +00:00
tipaul
3f5bfff353 *** empty log message *** 2003-06-23 15:54:32 +00:00
tipaul
711c90b460 *** empty log message *** 2003-06-23 11:26:21 +00:00
tonnesen
e27b19afdf Added modifications required to the systempreferences table by the new
systempreferences.pl script.  The systempreferences.pl script will not work
properly until this table is updated.
2003-06-11 21:28:22 +00:00
tipaul
fabcd43b38 bugfix : borrowers modifs overwritten by stupid hash entry existing twice. 2003-05-26 10:41:53 +00:00
slef
160a8ec768 Initial fix to bug 456: hardwired paths 2003-05-20 19:50:41 +00:00
tipaul
1a3e1c2248 adding zipcode and homezipcode into borrowers table (bug #246 2003-05-15 12:23:33 +00:00
wolfpac444
00fef22485 Added "noissuescharge" parameter 2003-05-08 12:48:23 +00:00
wolfpac444
6dab0986f9 Bug fixes 2003-05-08 12:26:14 +00:00
rangi
1d3d460222 Fixing bug 429
(Wording changes in the explanation fields in system preferences)
2003-05-03 05:39:57 +00:00
rangi
cfeed6336a Adding the textmessaging column to the borrowers table.
insertdata.pl is expecting this to exist, and hence modifying/adding
borrowers was broken.

Also ran they script thru perltidy
2003-05-02 23:01:09 +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
tipaul
a3c119a356 z3950 support is coming...
* adding a syntax column in z3950 table = this column will say wether the z3950 must be called with PerferedRecordsyntax => USMARC or PerferedRecordsyntax => UNIMARC. I tried some french UNIMARC z3950 servers, and some only send USMARC, some only UNIMARC, some can answer with both.
Note this is a 1st draft. More to follow (today ? I hope).
2003-04-29 08:09:42 +00:00
wolfpac444
0ceb10e7ab Added "father" column to bibliothesaurus table 2003-04-22 10:48:27 +00:00
tipaul
0435cd1e25 last commits before 1.9.1 2003-04-04 08:44:39 +00:00
tipaul
feae3136b4 adding checkdigit parameter that choose how to check the members cardnumber.
At the moment :
* none = no checking
* katipo = checked as before
2003-03-18 10:58:19 +00:00
acli
b297952138 Corrected syntax error reported by Benedict
Made the indentation somewhat easier to read; the messiness probably caused
the original syntax error.
2003-01-30 01:47:48 +00:00
tipaul
5fdedad728 userflag table now created in upgrade script (bugfix #171) 2003-01-28 15:13:30 +00:00
acli
38953ec4ce Reworded the description for "acquisitions" to make it fit on the screen
Added "iso" to dateformat, since dateformat is not yet being used anyway
2003-01-27 03:12:49 +00:00
tipaul
9bea22eeef introducint marcflavour in systempref file : used for character decoding 2003-01-23 12:30:02 +00:00
tipaul
219c8df7d1 bugfix (NOTE : this bugs makes installation of the 1.3.3 a little fuzzy. Please fix your DB if you installed 1.3.3) 2003-01-21 09:03:27 +00:00
tipaul
a913fc3bca adding a MARC parameter in systempref ( which is ON or OFF)
the search will be a marc search if MARC=ON
and a standard (v1.2) search if MARC=OFF
2003-01-16 10:29:45 +00:00
tipaul
29ee4abc63 *** empty log message *** 2003-01-06 13:32:43 +00:00
tipaul
22e89e1685 bugfix 2003-01-06 13:11:45 +00:00
tipaul
002f594a70 last bugfixes before 1.3.3 : systempref table correctly filled 2003-01-06 11:14:11 +00:00
tipaul
de2403d8cb bugfixes (davide mails in koha-dev) 2002-12-10 13:27:47 +00:00
tipaul
a62eca9863 road to 1.3.2. Updating db structure during installation 2002-11-26 15:04:54 +00:00
tipaul
448ffb8109 deleting unused scripts 2002-11-21 09:22:06 +00:00
tonnesen
12d23c81fd Merged some features over from rel-1-2, including primary key checking. 2002-11-12 17:42:40 +00:00
tipaul
f8993bd8d3 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 16:44:38 +00:00
arensb
604d27ea8d (bug fix): Fixed typo. 2002-10-30 14:00:23 +00:00
tipaul
08e46e6de0 road to 1.3.2
Thesaurus / authorities support. db schema update
2002-10-26 17:59:35 +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
d5d09d1c9c fixme corrected, re-indent and adding the marc_breeding table (see commit of marcimport.pl for more explanations about breeding) 2002-10-15 10:08:19 +00:00
tipaul
15e0b1d05f bugfix 2002-10-14 11:48:59 +00:00
arensb
5428fada05 Added some FIXME comments. 2002-10-10 04:48:57 +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
tipaul
3120194e94 long WAS the road to 1.3.0...
coming VERY SOON NOW...
modifying installer and buildrelease to update the DB
2002-09-24 13:49:26 +00:00
tipaul
81555c597a long WAS the road to 1.3.0...
coming VERY SOON NOW...
modifying installer and buildrelease to update the DB
2002-09-24 12:56:02 +00:00
tonnesen
1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
finlayt
2413b4a7a8 added "notforloan" field to the itemtypes table. 2002-07-31 02:34:27 +00:00
rangi
9b815d5af3 Making sure fix makes it into the main branch as well
Fix for bug 69
2002-07-20 22:30:06 +00:00
tonnesen
ae635b497b Added sessionqueries table and password/userid fields to borrowers table 2002-07-08 16:20:26 +00:00
tonnesen
7d616eca8b bug fix 2002-07-04 18:05:36 +00:00
tonnesen
084045c40c Merged changes from rel-1-2. Abstracted table structure changes by alan. 2002-07-04 16:41:06 +00:00
tonnesen
a39e9a34c0 Fixed bug. $sth->execute after $sti->prepare. 2002-06-25 16:59:27 +00:00
tipaul
4f51774662 merging rel-1-2 and main 2002-06-24 15:00:13 +00:00
amillar
c5c559fc55 add websites table 2002-06-14 05:24:58 +00:00
amillar
3715bf0516 Modularize table creation, driven by hash instead of redundant code. 2002-05-21 05:47:24 +00:00
amillar
97a5af0b2d Add comments, make branchrelations consistent with other table additions 2002-05-21 05:12:42 +00:00
amillar
1984194f78 Removing Catalogue.pm because it doesn't compile cleanly yet 2002-05-18 06:56:13 +00:00
tipaul
f2509ca2b2 First, run updater/thesaurus_create.pl.
It creates a thesaurus table and fills it with data in bibliosubject. Thesaurus
contains 2 columns : freelib and stdlib. This permits connecting differents forms for a word/sentence (HUGO may be mapped to V. Hugo, Victor Hugo...)
In modbib.pl, you will see "..." near subject. If you   click on this ..., a popup appear. It has 4 parts : the Subject field, a search field with Search button. If you enter a value here and click Search, a list of thesaurus entries starting by what you enter appear.
If you select a value and click "OK", the value is added to the subject list.
When you've finished, click END. the window is closed, and the value copied to main subject window.

Make heavy use of javascript. TESTED UNDER MOZILLA 0.99. Please test under IE.

Administration of thesaurus table will come soon (with html::template) ...
2002-05-14 11:26:09 +00:00
rangi
bdcc8271a2 Fixing a typo 2002-05-06 21:59:40 +00:00
tipaul
5c164fdc70 updated database.mysql : dropped unused tables, created indexes : old database.mysql updated by updatedatabase2.pl script 2002-05-02 09:19:49 +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
finlayt
8c792b7917 added database patchs to the updater/updatedatabase script
changes the type of the datesent and datearrived fields in the
branchtransfers table from date to datetime.

completely re-organises the branchcategories table. As this has previously
been unused it shouldnt effect anyone.
2002-03-26 05:08:52 +00:00
tipaul
19829f142c Script to apply to sample DB only. It makes a few modifications in the DB (indexes creation, some data deletion, and unused tables drop)
Creates a thesaurus table from the bilbiosubject one
2002-03-19 15:39:31 +00:00
tipaul
5836e7a9ee Sample database only for parameters tables 2002-03-19 15:37:15 +00:00
tonnesen
3e37c422fc Added code to determine mysqld version for possibility of converting
databases to MyISAM format
2001-11-19 23:28:59 +00:00
tonnesen
c910f99b9b Added some more tables to the database updater. Modified barcode to be
20 characters long instead of 9.
2001-11-19 20:29:46 +00:00
tonnesen
95fb76586f Script that will update existing databases, creating any new tables,
adding, modifying or removing any fields from existing tables.

This is in very early stages.  Need to go through and ascertain which
tables and fields need to be added/modified.  Also need to add a "backup"
before any modifications are made.  Thoughts on this are welcome.
2001-11-19 18:26:50 +00:00