root / pykota / trunk / NEWS @ 1522

Revision 1522, 37.5 kB (checked in by jalet, 20 years ago)

Payments history is now stored in database

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