root / pykota / trunk / NEWS @ 1699

Revision 1699, 46.5 kB (checked in by jalet, 20 years ago)

First draft of PCL3GUI analyzer.

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