root / pykota / trunk / NEWS @ 1771

Revision 1771, 49.5 kB (checked in by jalet, 20 years ago)

dumpykota can now output datas in the XML format

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