root / pykota / trunk / NEWS @ 1604

Revision 1604, 42.4 kB (checked in by jalet, 20 years ago)

Sanitized the sample configuration file

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