root / pykota / trunk / NEWS @ 1584

Revision 1584, 41.5 kB (checked in by jalet, 20 years ago)

Better dispatching of error messages

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