root / pykota / trunk / NEWS @ 1741

Revision 1741, 47.9 kB (checked in by jalet, 20 years ago)

Belgian translations added as a copy of the french ones

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