root / pykota / trunk / NEWS @ 1785

Revision 1785, 50.0 kB (checked in by jalet, 20 years ago)

Minor changes to allow any PyKota administrator to launch enhanced versions
of the commands, and not only the root user.

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