root / pykota / trunk / NEWS @ 1943

Revision 1943, 53.3 kB (checked in by jalet, 19 years ago)

Fix problem with spaces at the end of filenames in LPRng

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