root / pykota / trunk / NEWS @ 1573

Revision 1573, 40.7 kB (checked in by jalet, 20 years ago)

Additionnal speedup for GhostScript? generated PCL5 files

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