root / pykota / trunk / NEWS @ 1499

Revision 1499, 35.5 kB (checked in by jalet, 20 years ago)

accounter.py : old code deleted
the rest : now exports PYKOTAPRECOMPUTEDJOBSIZE and PYKOTAPRECOMPUTEDJOBPRICE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Id$
2
3PyKota - Print Quota for CUPS
4
5(c) 2003-2004 Jerome Alet <alet@librelogiciel.com>
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
19
20============================================================
21
22PyKota NEWS :
23
24    - 1.19alpha14 :
25   
26        - PYKOTAPRECOMPUTEDJOBSIZE and PYKOTAPRECOMPUTEDJOBPRICE
27          are now exported as environment variables.
28         
29        - Heavy CPU usage is now completely fixed it seems, by
30          introducing some 0.01 second sleeping when nothing to do.
31         
32        - Pre-computation of the job's size is now only
33          done when enforcement is "STRICT", this saves
34          CPU for people who don't want to use this new
35          feature.
36         
37        - New 'enforcement' directive which accepts either
38          STRICT or LAXIST. See sample configuration file
39          for details.
40         
41    - 1.19alpha13 :
42   
43        - Get back to an old version of the polling loop which
44          worked fine, but non-optimally. Will be optimized
45          as time permits.
46         
47    - 1.19alpha12 :
48   
49        - Job's size is now precomputed unconditionnally using
50          the generic PDL analyzer.
51          NB : This value is not yet used to pre-allow/deny the
52          job.
53       
54    - 1.19alpha11 :
55   
56        - The pykota filter is now completely deprecated and
57          can't be used anymore. LPRng users MUST download
58          an older version of PyKota. CUPS users MUST use
59          cupspykota. Better support for LPRng will come
60          in the near future.
61         
62    - 1.19alpha10 :
63   
64        - pykotme now uses generic PDL Analyzer directly instead
65          of spawning a new process.
66         
67        - Improvements to generic PDL Analyzer.
68       
69        - 25% Speedup in PCL parser. Getting more of the Python version
70          will probably be difficult, since the completely table driven
71          parser I wrote is slower than the original algorithm. Then,
72          the original algorithm is still used for now.
73          Probable that more speed could be achieved using mmap, at the
74          expense of severe memory consumption.
75       
76        - configuration simplifications : the "accounter" directive's
77          'hardware' arguments now accepts what was in the "requester"
78          directive as it's content. The "requester" directive is not
79          supported anymore. See sample configuration file for details.
80       
81    - 1.19alpha9 :
82       
83        - pkpgcounter is now just a wrapper around the PDLAnalyzer class
84       
85        - pykotaOptions LDAP attribute now accepts non-ascii characters
86          too.
87         
88        - First try at cupspykota main loop rewrite
89       
90    - 1.19alpha8 :
91   
92        - 'querying' accounting method is now called 'hardware'
93       
94        - 'external' accounting method is now called 'software'
95       
96        - 'stupid' accounting method doesn't exist anymore
97       
98        - 'snmp' requester doesn't exist anymore
99       
100        - code simplifications in external requester
101       
102    - 1.19alpha7 :
103     
104        - Database schema change (both LDAP and PostgreSQL) to
105          allow storage of the job-originating-hostname attribute.
106          An SQL upgrade script is present. The code is not yet
107          capable of setting/retrieving this attribute. Support
108          for this functionnality will be added in the future.
109         
110    - 1.19alpha6 :
111   
112        - problems connecting to SMTP servers are now catched.
113       
114        - pykotme now uses pkpgcounter to compute the size of the
115          job. This modification adds PCL5 and soon PCLXL (PCL6)
116          support. You can now get quotes for PCL in addition to
117          PostScript.
118         
119        - pkpgcounter now includes first try at PCLXL parser. 
120          It is currently disabled until it's finished.
121         
122    - 1.19alpha5 :
123   
124        - cupspykota polling loop fix for MacOSX (at least)
125       
126        - logging subsystem now logs PID too, to ease diagnosing
127          problems under heavy load.
128         
129        - pkpgcounter enhancements.
130       
131        - pkprinters --skipexisting now tells pkprinters to not
132          modify existing printers when --add is used.
133          pkprinters logs a warning message whenever --add is
134          used and a printer already exists.
135         
136        - LDAP schema now allows accented chars in pykotaFileName
137          and pykotaTitle attributes.
138       
139    - 1.19alpha4 :
140   
141        - a bad copy&paste prevented pkpgcounter to work at all, this
142          is now fixed.
143         
144        - improved PCL support in pkpgcounter, with the use of
145          HP PCL/PJL Reference Set
146          PCL5 Printer Language Technical Quick Reference Guide
147       
148        - pkpgcounter now uses mmap to speed things up : duration
149          is halved with the sample 87 pages PCL document I use for
150          testing.
151         
152    - 1.19alpha3 :
153   
154        - pkprinters now accepts the --list command line argument
155          to list informations about printers.
156         
157    - 1.19alpha2 :
158   
159        - pkpgcounter is now included as a smart external
160          accounter which can handle both PostScript and PCL.
161         
162    - 1.19alpha1 :
163   
164        - PYKOTALIMITBY environment variable is now exported too.
165       
166        - Inclusion of Michele Baldessari's work on autotools.
167       
168    - 1.18 :
169   
170        - Improved documentation
171       
172    - 1.18beta2 :
173     
174        - Fix for raw jobs with cupspykota
175       
176    - 1.18beta :
177   
178        - Small fix for new waitprinter.sh script
179       
180        - Better tracebacks on error conditions
181       
182        - Improved translations
183       
184        - Improved documentation
185       
186    - 1.18alpha15 :
187
188        - waitprinter.sh replaced by a new and possibly faster
189          and more powerful one.
190   
191        - Names can now begin with a digit.
192       
193        - Stability improvement for quotas set on printers groups.
194       
195    - 1.18alpha14 :
196   
197        - Catches more (all ?) problems with SMTP servers instead
198          of breaking.
199         
200        - Italian translation added.
201       
202    - 1.18alpha13 :
203   
204        - Pre and Post hooks are now available in the pykota
205          filter as well.
206         
207        - The pykota filter doesn't check last user's quota
208          anymore when delayed hardware accounting is used :
209          this will be done anyway the next time the last
210          user will print again. This saves some database
211          queries which are unneeded.
212       
213    - 1.18alpha12 :
214   
215        - Pre and Post hooks to external commands with many
216          many environment variables available are useable
217          from the cupspykota backend.
218          See sample configuration file for details and help.
219         
220    - 1.18alpha11 :
221   
222        - Hopefully final fix wrt groups (users and printers)
223       
224    - 1.18alpha10 :
225   
226        - Fixed nested printer groups accounting.
227       
228        - Fixed user groups + printer groups problem.
229       
230    - 1.18alpha9 :
231   
232        - Fix for LDAP problem when job price was 0.
233       
234        - Fix for empty user groups with LDAP.
235       
236        - Preliminary version of the snmpprinterstatus command added.
237       
238    - 1.18alpha8 :
239   
240        - Don't retrieve data when not needed.
241          This avoids many database queries.
242       
243    - 1.18alpha7 :
244   
245        - New experimental ldapcache directive to improve
246          LDAP caching.
247         
248    - 1.18alpha6 :
249       
250        - New configuration directive added : maildomain
251          to specify the domain to send mail to when user
252          email address is not set in PyKota database.
253         
254        - More complete email message headers. 
255         
256    - 1.18alpha5 :
257   
258        - Debian packaging specific files, contributed by
259          Peter Hawkins are now included in the project's tree.
260         
261        - Preliminary work on future low-level LDAP caching to speed
262          up modifications (at least).
263         
264    - 1.18alpha4 :
265   
266        - Applied some of the modifications suggested by
267          Peter Hawkins, for better Debian integration.
268          Most notably cupspykota, pykota, and the shell
269          scripts are now installed into /usr/share/pykota
270          instead of into /usr/bin
271          BEWARE : double check that your symbolic link
272          to cupspykota is correct, and that your pykota.conf
273          file use correct path for the shell scripts like
274          waitprinter.sh and al.
275         
276        - pkhint command added, to help in configuring correct
277          accounting method for PyKota.
278         
279    - 1.18alpha3 :
280   
281        - Fixed a rare bug in cupspykota backend which gave
282          incorrect "CUPS backend died abnormally" messages.
283       
284    - 1.18alpha2 :
285   
286        - Added the pkprinters command line tool to manage printers
287          exclusively.
288       
289    - 1.18alpha1 :
290   
291        - Preliminary work on Relationnal Database Independance.
292       
293        - Sample report made from OpenOffice.org added as PDF and SXC.
294       
295    - 1.17 :
296   
297        - Finalized release.
298       
299    - 1.17alpha2 :
300   
301        - Fix stupid software accounting bug in the CUPS backend.
302       
303    - 1.17alpha1 :
304   
305        - User/Group deletion code in edpykota rewritten.
306       
307    - 1.16 :
308   
309        - Preliminary documentation on how to use OpenOffice.org
310          to create personnalized reports for PyKota + PostgreSQL.
311         
312        - Spanish installation guide for CUPS+PyKota+PostgreSQL
313          added to the documentation. Doesn't yet document v1.16
314          though.
315       
316        - Portuguese Portuguese translation replaces Brasilian
317          Portuguese Translation. Brasilian portuguese
318          translation is still available under the 'br' locale.
319       
320    - 1.16beta3 :
321   
322        - Swedish translation added.
323       
324        - Small fix in documentation.
325       
326    - 1.16beta2 :
327   
328        - Small fix for job cancelling code while job already
329          printing in CUPS backend.
330         
331        - Big fix wrt printing policies for unknown users. 
332       
333    - 1.16beta1 :
334   
335        - Manpages upgraded.
336       
337    - 1.16alpha26 :
338   
339        - Job price is now computed like this :
340       
341          SUM((NbPages * PricePerPage) + PricePerJob)
342         
343          For current printer and all the printers groups it is
344          a member of, if any.
345         
346          This may be difficult to grasp, but offers unprecedented
347          flexibility.
348         
349    - 1.16alpha25 :
350   
351        - Email address can be set at user creation time,
352          using the following syntax :
353         
354            $ edpykota --add username/email@yourdomain.com
355       
356    - 1.16alpha24 :
357   
358        - CGI script now can show the printing history.
359       
360        - Bug wrt number of copies should be fixed.
361       
362        - Major code refactoring => It is now possible to
363          automatically add printers on first print.
364       
365    - 1.16alpha23 :
366   
367        - Fixed potential accuracy problem if a user printed on
368          several printers at the very same time.
369       
370    - 1.16alpha22 :
371   
372        - edpykota now allows adding printers to printer groups
373       
374    - 1.16alpha21 :
375   
376        - Allows the dot in user and printer names.
377       
378        - Printer groups are now cached too.
379       
380    - 1.16alpha20 :
381   
382        - Fixed several small bugs with the help of PyChecker.
383       
384    - 1.16alpha19 :
385     
386        - Fixed a bug in PostgreSQL backend's code.
387       
388    - 1.16alpha18 :
389   
390        - Initial code for printer groups support. Printer groups have
391          to be added with external tools like psql or gq for example.
392          Printer groups seems to work fine with users. Untested with user
393          groups for now.
394
395        - Several minor visual problems fixed in reports.
396       
397        - Fixed a bug in LDAP date handling.
398       
399        - Fix for LDAP problem with some combination of OpenLDAP + Python-LDAP
400          + some particular settings.
401         
402        - mailandpopup.sh shell script added. See sample configuration file
403          for details.
404       
405        - Several environment variables are now exported when executing
406          external commands (accounters, requesters, mailers) :
407           
408            PYKOTAUSERNAME => user who is printing
409            PYKOTAPRINTERNAME => printer on which the job is being sent
410            PYKOTATITLE => Job's title
411            PYKOTAFILENAME => Job's filename
412            PYKOTACOPIES => number of copies asked
413            PYKOTAOPTIONS => print command options (-o with CUPS)
414         
415    - 1.16alpha17 :
416   
417        - Added portugues translation.
418       
419        - Major code refactoring in accounters.
420       
421    - 1.16alpha16 :
422   
423        - Code refactoring, and addition of a real HTML reporter, to
424          have nice looking and useful web based reports (in the future).
425       
426        - Added utolower configuration option to convert all usernames
427          to lowercase during printing.
428         
429    - 1.15alpha15 :
430   
431        - Now includes the papwaitprinter.sh shell script to wait for
432          AppleTalk enabled printers.
433         
434    - 1.16alpha14 :
435   
436        - Now printing on a printer not defined in the Quota Storage,
437          results in the job being cancelled or stopped, depending
438          on the printing system.
439         
440    - 1.16alpha13 :
441   
442        - Small bugfix wrt Python v2.1
443       
444        - If username is an empty string, user root is assumed.
445       
446        - 'postgresql' is not recognized anymore as a storage backend,
447          you have to use 'pgstorage' instead. 'postgresql' used to
448          be supported for compatibility with very old PyKota versions,
449          this is not the case anymore.
450         
451    - 1.16alpha12 :
452   
453        - Job price added to job history, to keep accounting correct
454          if a printer price per page or per job is modified and the
455          history is not reset : the history would have given a false
456          amount of money charged before the printer's prices were
457          modified, this addition solves the problem.
458         
459    - 1.16alpha11 :
460   
461        - Some preliminary modifications to the database structure for
462          PostgreSQL and OpenLDAP. A script to upgrade a PostgreSQL
463          database is now provided. LDAP attributes now support
464          eq, pres and sub indexes.
465         
466        - Job history now contains additional informations : 
467          number of copies, filename, title and print options.
468         
469    - 1.16alpha10 :
470       
471        - Some modifications done to external policy handling.
472          See sample configuration file for details.
473   
474        - Spanish translation added.
475       
476    - 1.16alpha9 :
477   
478        - mailto can be set to external(...) to warn users above
479          quota with any command of your choice (e.g. linpopup).
480          Several parameters are available, see sample configuration
481          file for details.
482         
483    - 1.16alpha8 :
484   
485        - Now cupspykota transmits SIGTERMS to the original 
486          backend when the user deletes a job being processed.
487         
488        - The documentation is now licensed under the terms of the
489          GNU GPL too.
490         
491    - 1.16alpha7 :
492   
493        - The CUPS backend is now fully functionnal (it seems).
494       
495        - From now on, the use of the pykota filter with CUPS
496          is deprecated. The pykota filter still has to be
497          used with LPRng though.
498       
499    - 1.16alpha6 :
500   
501        - Bug fixed : when edpykota was used to add a printer
502          with no user or group name, a bad user/group name "*" was
503          added to the database.
504         
505    - 1.16alpha5 :
506   
507        - New CUPS backend supports device enumeration !
508          This means that NO manual CUPS configuration has to
509          be done. All can now be done from CUPS web interface.
510       
511    - 1.16alpha4 :
512   
513        - New CUPS backend added.
514       
515    - 1.16alpha3 :
516       
517        - Minimal FAQ document added.
518       
519    - 1.16alpha2 :
520   
521        - CGI script now partially supports browser's language preference
522       
523    - 1.16alpha1 :
524   
525        - Ensures that the LDAP connection is really closed at end.
526       
527        - More complete error messages in case of LDAP operation failure.
528       
529    - 1.15 :
530     
531        - Documentation improved.
532       
533    - 1.15beta :
534   
535        - Command line tools now accept multiple printer
536          names or wildcards, separated with commas.
537         
538    - 1.15alpha9 :
539   
540        - External policy can be used to auto-add unknown users
541          and any other interesting things you may want to do.
542          WARNING : You can't auto-add printers for now.
543          They have to be created manually before.
544          Look at sample configuration file for examples.
545         
546    - 1.15alpha8 :
547   
548        - Job history can be disabled if needed.
549          This feature may be useful for people who use the LDAP
550          backend and don't want their LDAP tree to grow out of
551          control.
552       
553    - 1.15alpha7 :
554   
555        - More work done on caching wrt groups.
556       
557    - 1.15alpha6 :
558   
559        - Performance bottleneck with LDAP solved.
560       
561    - 1.15alpha5 :
562   
563        - Caching mechanism for all database queries.
564
565    - 1.15alpha4 :
566   
567        - Problem with Python 2.3 fixed. Needs some definitive
568          modification.
569         
570    - 1.15alpha3 :
571   
572        - CGI script now tries to restrict view when the
573          REMOTE_USER environment variable is set. This allows
574          people to protect its use with .htaccess files.
575          When unprotected, or if REMOTE_USER is 'root', then
576          unrestricted access is granted.
577          NB : REMOTE_USER is automatically set by the web server
578          (e.g. Apache) when a page with restricted access is viewed.
579         
580    - 1.15alpha2 :
581   
582        - Better detection of LPRng.
583       
584        - Outputs a warning if printing system is unknown.
585       
586    - 1.15alpha1 :
587   
588        - Bug fix in SQL code.
589       
590    - 1.14 :
591   
592        - The PostgreSQL database connection is now always closed before
593          exit. The LDAP database connection too, but it didn't suffer
594          from the problem anyway, AFAICT.
595       
596    - 1.14beta2 :
597   
598        - An LDAP-specific configuration field was introduced, usermail.
599          Use it to specify which LDAP attribute contains a valid email
600          address for the user. See sample configuration file for
601          details.
602       
603    - 1.14beta :
604   
605        - Two new LDAP-specific configuration fields were introduced,
606          newuser and newgroup. Use them to specify if you want to add
607          quota information to existing entries or elsewhere.
608          See sample configuration file for details.
609         
610    - 1.14alpha9 :
611   
612        - Documentation improved.
613       
614        - pykotme now also prints the user's account balance value
615          if the user is registered in the Quota Storage and his
616          limiting factor is "balance".
617         
618    - 1.14alpha8 :
619   
620        - bin/waitprinter.sh is now included to wait for
621          SNMP enabled printers to be idle again before
622          asking for their internal page counter.
623          See sample configuration file for details.
624         
625    - 1.14alpha7 :
626   
627        - edpykota now doesn't check if the user/group is above
628          quota. The check is only done at print time. This
629          prevents the sending of email messages when creating
630          user quotas if quota is already reached at creation
631          time.
632         
633    - 1.14alpha6 :
634   
635        - Configuration file split and moved to /etc/pykota/pykota.conf
636          and /etc/pykota/pykotadmin.conf to prevent simple users to
637          have Read/Write access to the Quota Database.
638          Don't forget to :
639         
640                $ chmod 640 /etc/pykota/pykotadmin.conf
641               
642        - storageuser and storageuserpw configuration fields reintroduced
643          for the same reason.
644         
645        - Code cleaning for future implementation of email addresses
646          support in the PostgreSQL and LDAP backends.
647         
648    - 1.14alpha5 :
649       
650        - Big bug fixed when changing the prices for a printer
651       
652    - 1.14alpha4 :
653   
654        - When adding an user, the user itself and its account balance
655          are now added in the same LDAP entry. Before they were added
656          as two different LDAP entries.
657         
658    - 1.14alpha3 :
659   
660        - Email field added to PostgreSQL database. An upgrade script
661          is included in initscripts/postgresql.
662       
663    - 1.14alpha2 :
664   
665        - Typo fixed when using the --prototype option to edpykota
666       
667    - 1.14alpha1 :
668   
669        - Poor man's treshold included : users with a low account
670          balance (below 1.0 by default, configurable) are sent
671          a warning message.
672         
673        - All warning messages to users are now configurable. 
674          NB : Warning messages to the administrator are not.
675       
676    - 1.13 :
677   
678        - Some small fixes wrt group handling.
679       
680        - The whole module code was passed through PyChecker and
681          several small code inconsistencies were fixed,
682          as well as a bug in the groups code.
683         
684    - 1.13alpha1 :
685   
686        - Bug fix wrt LDAP.
687       
688    - 1.12 :
689   
690        - More complete test added in edpykota.
691       
692    - 1.12alpha2 :
693   
694        - The previous bug fix was incomplete. This is corrected.
695       
696    - 1.12alpha1 :
697   
698        - Small bug fix.
699       
700    - 1.11 :
701   
702        - Now includes the pykotme command line tool, to produce
703          printing quotes for users.
704         
705    - 1.10 :
706   
707        - Bug fixed wrt quota reports when print limiting is by
708          account balance.
709         
710    - 1.09 :
711   
712        - Translations finalized.
713       
714        - Manpages updated.
715       
716        - Installation documentation improved wrt LDAP support.
717       
718    - 1.09beta2 :
719   
720        - The CGI script for quota reports works again, and
721          is much more powerful.
722       
723    - 1.09beta :
724   
725        - edpykota finalized
726       
727    - 1.09alpha2 :
728   
729        - LDAP schema modified a bit. Please upgrade.
730       
731        - LDAP backend works !
732       
733        - repykota and warnpykota allow the root user to pass
734          users or groups names on the command line. Users
735          and groups names may contain wildcards.
736         
737        - repykota and warnpykota only reports or warns the
738          current user when launched by non-root users.
739         
740        - Minor bug fixes. 
741   
742    - 1.09alpha1 :
743   
744        - More work on LDAP storage backend. Many options
745          were added to /etc/pykota.conf to give some
746          hints to the LDAP storage backend.
747         
748        - Severe database access optimizations were done by
749          rewriting most of the Quota Storage backends drivers.
750     
751    - 1.08 :
752   
753        - Major bug fix wrt LPRng support for remote jobs.
754       
755        - Major bug fix wrt increase/decrease account balances.
756       
757    - 1.08alpha8 :
758   
759        - Code refactoring.
760       
761        - A single user/password pair is used to connect
762          to the database backend. The storageuser configuration
763          field, and its associated passwords storageuserpw, are
764          not used anymore.
765         
766        - You can now set PyKota in debug mode, see sample configuration 
767          file for details.
768          WARNING : only Quota Storage backend queries are logged in
769          debug mode, for now.
770       
771    - 1.08alpha7 :
772   
773        - Very latest LDAP schema.
774       
775        - Code enhancement wrt easy pluggability of PyKota attributes
776          and object classes into an existing LDAP directory.
777       
778    - 1.08alpha6 :
779   
780        - Minor bug corrections
781       
782        - More work on LDAP : new schema
783       
784    - 1.08alpha5 :
785   
786        - More good work on LDAP storage.
787          repykota now works reasonably well with the sample LDAP directory.
788       
789    - 1.08alpha4 :
790   
791        - LDAP schema included.
792          THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS.
793          LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA
794          MAY CHANGE IN THE FUTURE. PLEASE TELL US
795          WHAT YOU THINK ABOUT THIS SCHEMA ON THE
796          MAILING LIST.
797         
798    - 1.08alpha3 :
799   
800        - External accounting methods were partly rewritten :
801         
802          - No more "broken pipe" should happen.
803         
804          - They now take care of the number of copies
805            This may be unneeded though, if the postscript
806            file already does this, because this would
807            overcharge users (number of copies counted
808            two times). NEEDS MORE TESTING.
809           
810          - The sample configuration file now contains 
811            an external accounting method example which should
812            work with all DSC compliant Postscript files.
813           
814        - Some small bugs were fixed.   
815       
816    - 1.08alpha2 :
817   
818        - Now works with net-snmp v5.0 and above.
819          It already worked, but the sample configuration
820          file didn't contain appropriate values...
821       
822    - 1.07 : Release of the Shame !
823   
824        - The external accounting methods driver was left out of
825          the CVS tree. Nobody could use it since it wasn't included !
826         
827    - 1.06 :
828   
829        - Severe bug fixed : if you had a printer in
830          power saving state which couldn't answer immediately,
831          a bug was triggered.
832          It was caused by a bad copy/paste which
833          forgot to import a Python module at run time.
834         
835    - 1.05 :
836   
837        - External accounters are finally available !
838          This means that you can plug any page accounting
839          method you like by setting the appropriate
840          'accounter' field in /etc/pykota.conf
841          See the sample conf/pykota.conf.sample to
842          learn how to do.
843         
844          NB : Both 'external' and 'stupid' accounting methods
845               account a job size just before *this* job is
846               sent to the printer.
847               The original 'querying' method accounts a job
848               size just before *the next* job is sent to
849               the printer.
850       
851    - 1.05alpha3 :
852   
853        - A 'stupid' and unreliable accounting method was
854          implemented to serve as an example on how to
855          do this sort of things. This method only counts
856          the 'showpage' statements in the input data.
857          See sample configuration file for details.
858          Pluggable accounting methods work, but I advise
859          you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE.
860          It is not reliable enough to be used.
861          Use the 'querying' accounting method instead.
862         
863    - 1.05alpha2 :
864   
865        - Pluggable accounting methods.
866       
867        - Better error handling.
868       
869    - 1.05alpha1 :
870   
871        - SECURITY file added to help improve PyKota's security.
872       
873        - Extracting the printer's internal page counter is now
874          tried several times, waiting several seconds between
875          two tries. This lets the time to warm up for some printers
876          which don't answer when they are sleeping (my Apple
877          LaserWriter 16/600 PS is in this case, maybe others too)
878         
879        - Small display bug fixed in repykota
880         
881    - 1.04 :
882   
883        - Default print policy for users/groups unknown from
884          the print quota system is now DENY instead of ALLOW,
885          since ALLOW can generate inaccurate results
886          (incorrect job sizes charged to the wrong persons)
887         
888        - LPRng support works !
889       
890        - A bug was introduced some time ago wrt printers' default
891          policy for unknown users. It is now corrected.
892       
893        - repykota now displays prices per job and per page for each
894          printer, if they are defined.
895         
896        - Minor display bug fixed in repykota.
897       
898        - Problem when running repykota with an empty database was fixed.
899       
900    - 1.03 :
901   
902        - Upgrade script included for earlier versions.
903          Please look inside the initscripts subdirectory.
904          THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE.
905         
906        - repykota now reports account balances too.
907       
908        - PyKota now has a nice logo, see the logos
909          subdirectory.
910       
911        - Manual pages were finally updated.
912       
913        - Group quotas seem to work now !
914       
915        - The new database schema allows to keep an history of all
916          jobs as well as charge users per page and/or per job,
917          and track users' account balance.
918         
919        - edpykota now accepts much more command line options to 
920          use the new functionnalities. See edpykota --help for
921          details.
922         
923        - The installation script now allows to install the sample
924          configuration file during first installation.
925         
926        - More group quota code works, but still not finished. 
927       
928        - The CGI script displays a link to PyKota's website.
929       
930        - The job history is now kept, this will allow per-period
931          reports in the future.
932         
933        - After having modified the quota for an user with edpykota,
934          a quota check is done to eventually warn the user/admin about
935          a quota which is too low to print.
936         
937        - A workaround is provided for HP Printers : their internal
938          page counter is only saved to NVRAM in a 10 increment, so
939          if you switch them off and then on, the reported page counter
940          may be lower than the real number of pages printed.
941          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
942          We unconditionnally set the last job's page count to
943          abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2))
944          in this case.
945          For a more accurate accounting, never switch your HP printers
946          off.
947         
948        - A fix is provided for printers which only have a volatile 
949          page counter (reset to 0 every time you switch the printer on)
950          This should allow PyKota to work reasonably fine with HP Laserjet
951          4L/5L/6L, not perfect, but better than nothing.
952          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
953          For a more accurate accounting, never switch your HP printers
954          off. This is untested, please report any problem.
955         
956        - A bug was fixed when edpykota --add was used with users who already
957          had a quota on the specified printer.
958         
959        - A small display bug in repykota was introduced in preliminary
960          1.03 versions, and fixed later on.
961         
962        - Some minor bugs which happened in rare situations were fixed.
963       
964        - Support for AppleTalk printers was added, see sample configuration
965          file for details.
966         
967        - Users and group printing can now be controlled (limited) either by 
968          print quota or by account balance.
969       
970    - 1.02 :
971   
972        - The installation script now checks for software availability
973          and in case a software is missing asks the user if he
974          wants to continue with the installation or abort it.
975         
976        - The configuration file pykota.conf is now expected to be
977          found in /etc instead of in /etc/cups
978          The installation script prompts the user to see if he
979          wants to move an old configuration file to the new location
980          if needed.
981         
982        - Improved documentation.
983       
984        - You can now set the tcp/ip port on which the Quota Storage
985          Server is listening, see sample configuration file for details.
986       
987        - Better general error handling.
988       
989        - Upgrade script for pre 1.01 PostgreSQL database schema is now
990          included as well.
991       
992    - 1.01 :
993   
994        - The configuration file now accepts an option   
995          to choose the recipient(s) of the email messages :
996         
997            - DevNull means no one will receive them.
998            - User means only the user will receive them.
999            - Admin means only the admin will receive them.
1000            - Both means the User and the Admin will receive them.
1001           
1002        - The configuration file now uses hard-coded default values
1003          when an option is not set. See sample configuration file
1004          for details.
1005         
1006        - Manual pages are included since 1.00, but I forgot to   
1007          add this information to this file.
1008         
1009        - Redistribution terms for the official package have 
1010          softened and are now fully GPL compatible :
1011          unrestricted modification is now allowed even for
1012          the version number.
1013         
1014    - 1.00 :
1015   
1016        - edpykota now accepts a --noquota option. This
1017          disable quota checking while still doing page
1018          accounting. This is really useful for people
1019          who don't want to limit their users but want
1020          to know how much pages they print.
1021         
1022        - Some untested scripts were added to retrieve
1023          the life time page counter of non-SNMP printers.
1024         
1025        - Every directory now has a specific README file. 
1026       
1027    - 0.99 :
1028   
1029        - Under some circumstances while the user wasn't allowed
1030          to print, he didn't receive any email message. It is
1031          now fixed.
1032         
1033        - When an user wasn't allowed to print, the quota for
1034          the previous user wasn't updated. This is now fixed.
1035         
1036    - 0.98 :
1037   
1038        - Correctly handle the case where the printer is switched off.
1039       
1040        - Small bug wrt syslog fixed.
1041       
1042    - 0.97 :
1043   
1044        - edpykota accepts wildcards on its command line for users/groups too
1045          if the --add option is not set, e.g. :
1046         
1047              $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*"
1048             
1049        - If no user name is passed at all, then a default wildcard of "*"
1050          which means apply the command on ALL users for this printer is used.
1051         
1052        - Small bug fixes.
1053       
1054    - 0.96 :
1055
1056        - Options requester, policy, admin, adminmail and gracedelay can now
1057          be set either globally or per printer. The printer option has
1058          priority if both are defined.
1059
1060        - More powerful configuration parser.
1061       
1062        - If all options are defined globally, there's no need to
1063          define a section for each printer in the configuration
1064          file anymore. Just define a [global] section and it's ok.
1065
1066    - 0.95 :
1067
1068        - External requesters for printers finally added.
1069
1070        - Full internationalization (english and french are supported)
1071 
1072        - More complete quota usage report
1073
1074        - CGI script to access to the quota usage report
1075
1076        - Several bugs fixed.
1077
1078
1079    - 0.9 :
1080
1081        - First public version
Note: See TracBrowser for help on using the browser.