Commit Graph

34374 Commits

Author SHA1 Message Date
oleonard 8685f8cac9 Synching with rel_2_2. 2005-08-04 20:52:22 +00:00
oleonard bbefd8b396 More programmer's templates 2005-08-04 19:43:45 +00:00
tipaul 51970b1a7c Synch really broke this script... 2005-08-04 16:07:58 +00:00
tipaul 7ab8e9ca45 oops... error in synch between 2.2 and head 2005-08-04 16:02:55 +00:00
tipaul 887f317724 fixing a bug preventing compilation 2005-08-04 14:48:53 +00:00
tipaul e218294c2c fixing a bug in synch 2005-08-04 14:35:54 +00:00
tipaul c52e5b61dd synch'ing 2.2 and head 2005-08-04 14:10:52 +00:00
tipaul e905da9945 synch'ing 2.2 and head 2005-08-04 14:02:52 +00:00
tipaul 14488354a8 synch'ing 2.2 and head 2005-08-04 13:48:31 +00:00
tipaul 2cd0bc1da8 synch'ing 2.2 and head 2005-08-04 13:27:37 +00:00
tipaul 984cbad1ac synch'ing 2.2 and head 2005-08-04 13:19:54 +00:00
tipaul 89f7388354 synch'ing 2.2 and head 2005-08-04 12:12:13 +00:00
tipaul ed9616f474 synch'ing 2.2 and head 2005-08-04 09:52:32 +00:00
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 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
hdl d1c234a0d9 pruning a warn message. 2005-08-03 12:50:08 +00:00
hdl 5764a0dcf1 Adding Confirm_deletion javascript. 2005-08-02 16:29:17 +00:00
tipaul 991242c415 adding serial module as option 2005-08-02 16:20:15 +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
hdl 60c06f16c7 Bug fixing :
Using holdingbranch and not Location to locate an item.
2005-08-02 15:49:25 +00:00
hdl 72ea04145b Adding Independant branches Management for items, i.e
Only items on the same branch as user can be created, modified, deleted.
If trying to get an item which homebranch is different from user branch AND that user is not superlibrarian, then go back to additem.
2005-08-01 14:36:49 +00:00
hdl 0960f3245c Removing some unuseful warns.
Adding an error management for memberentry : Branch.
2005-07-29 16:14:37 +00:00
hdl 8a87b560ac Fixing bug in deletemem.pl :
flags verification was not good.

Adding branch Independancy management.
In memberentry.pl and deletemem.pl
2005-07-29 16:12:53 +00:00
hdl 31ca1f9770 Adding superlibrarian rights when IndependantBranches is set. 2005-07-29 08:33:48 +00:00
rangi b7d3329ecf If MARC is switched off, it will now jump to detail.pl instead of
MARCdetail.pl when only one result is found
This provides for a more consistent experience
2005-07-29 00:56:22 +00:00
hdl d997258580 First step of independacy branch management.
Displaying only librarian branch if librarian is not superlibrarian and IndependantBranches is set.
2005-07-28 17:38:29 +00:00
hdl 87d94a85da Adding branch independancy management.
Showing management buttons if same branch librarian.
TODO : control of user branch before displayin modify pages.
2005-07-28 17:30:18 +00:00
hdl 1b11e86c9e Some Bug Fixes 2005-07-28 15:40:52 +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
hdl b645144bcb Synching with 2.2 : Bug Fixing
Moving form page to page lost search parameters.
2005-07-28 09:57:52 +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 5d22c28ea2 Implementing Independancy Branches management :
- Trying to get a basket not owned by so of his own branch leads to mainpage.
- Lists onlys ths baskets owned by someon of user's brach.

Auth.pm now sends a cookie with userenv informations.
2005-07-28 07:52:02 +00:00
hdl 7bd7c514e4 Adding branch Independancy support for searchsugestion. 2005-07-26 17:01:11 +00:00
hdl 31fca3dfd2 Bug Fixing for independantBranches support.
Addign a Cookie containing user specific vars such as :
branch,
firstname,
surname,
cardnumber...
may be criticized from a lawyer point of view, since name and surname are given.
But the real need is for userid and branch.
And it is achieved.
Auth passes now TWO cookies :
a session cookie
And an environment cookie.
2005-07-26 15:58:47 +00:00
tipaul b8e4963f90 some bugfixes, but still don't work correctly 2005-07-26 10:12:48 +00:00
hdl 22b7a4864b Adding IndependantBranches System preference variable in order to manage Branch independancy. 2005-07-26 08:19:47 +00:00
hdl 5fa6925444 Adding Branch Independancy.
Still under development.
2005-07-26 07:50:27 +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
oleonard 777680af4b New programmer templates 2005-07-22 16:46:26 +00:00
oleonard 452710a6b3 New programmer templates 2005-07-22 16:39:56 +00:00
oleonard 2dd4767aea New programmer template 2005-07-22 16:31:28 +00:00
hellen ea53e8ffb8 adjustment for 2.2.3 2005-07-21 15:28:59 +00:00
oleonard 5ca2c6fa93 First draft of programmer's templates: a stripped-down version of the templates for use by programmers in adding and testing new functionality. Template-authors can use these templates to track changes that need to be incorporated into their custom templates. 2005-07-20 21:36:24 +00:00
oleonard 66cbdb6309 First draft of programmer's templates: a stripped-down version of the templates for use by programmers in adding and testing new functionality. Template-authors can use these templates to track changes that need to be incorporated into their custom templates. 2005-07-20 21:23:37 +00:00
oleonard a21d94ec7c First draft of programmer's templates: a stripped-down version of the templates for use by programmers in adding and testing new functionality. Template-authors can use these templates to track changes that need to be incorporated into their custom templates. 2005-07-20 18:55:20 +00:00
hellen db8c316c68 adjustments for 2.2.3 2005-07-20 17:25:07 +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 6bbbfe0b18 Adding Borrowers count feature.
Note : This COULD be reported in 2.2 branch.
2005-07-20 09:52:31 +00:00
oleonard 79f14c1f15 First draft of programmer's templates: a stripped-down version of the templates for use by programmers in adding and testing new functionality. Template-authors can use these templates to track changes that need to be incorporated into their custom templates. 2005-07-19 21:03:33 +00:00