root / pykota / trunk / NEWS @ 1683

Revision 1683, 45.4 kB (checked in by jalet, 20 years ago)

Improvement in PostScript? parser to avoid being fooled by clever "students"

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