root / pykota / trunk / NEWS @ 1674

Revision 1674, 44.0 kB (checked in by jalet, 20 years ago)

Fixed number of copies in PCL5 parser

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