root / pykota / trunk / NEWS @ 1894

Revision 1894, 52.0 kB (checked in by jalet, 20 years ago)

Version number changed to 1.20.

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