root / pykota / trunk / NEWS @ 1678

Revision 1678, 44.6 kB (checked in by jalet, 20 years ago)

Tries to fix problem with subprocesses outputting more datas than needed

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