root / pykota / trunk / NEWS @ 1933

Revision 1933, 52.9 kB (checked in by jalet, 19 years ago)

Fixed internal PJL handling wrt the 35078 PowerSave? mode.

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