root / pykota / trunk / NEWS @ 1599

Revision 1599, 42.2 kB (checked in by jalet, 20 years ago)

Fix for Python2.1 incompatibilities

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