root / pykota / trunk / NEWS @ 1742

Revision 1742, 48.1 kB (checked in by jalet, 20 years ago)

Fixed pykotaAccountBalance object location during creation

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