root / pykota / trunk / NEWS @ 1807

Revision 1807, 50.7 kB (checked in by jalet, 20 years ago)

Now warnpykota warns users limited by balance only once per launch.

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