root / pykota / trunk / NEWS @ 1774

Revision 1774, 49.6 kB (checked in by jalet, 20 years ago)

Reduced delay from 2 to 1 seconds in internal SNMP and PJL_over_TCP
handlers

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