root / pykota / trunk / NEWS @ 1692

Revision 1692, 46.0 kB (checked in by jalet, 20 years ago)

Fixed bug in LDAP user deletion code which didn't correctly delete the user's
pykotaLastJob entries.

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