root / pykota / trunk / NEWS @ 2759

Revision 2759, 76.5 kB (checked in by jerome, 18 years ago)

Added support for an extended syntax for the 'onbackenderror' directive.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Id$
2
3PyKota - Print Quotas for CUPS and LPRng
4
5(c) 2003, 2004, 2005, 2006 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
20============================================================
21
22PyKota NEWS :
23       
24    - 1.24alpha15 :
25   
26        - Extended the functionnality of the 'onbackenderror' directive to
27          allow for configurable retries.
28         
29    - 1.24alpha14 :
30   
31        - Finished optimizations in edpykota and fixed some minor
32          problems with LDAP.
33         
34    - 1.24alpha13 :
35   
36        - Introduced the pkusers command line tool to manage users and 
37          users groups. This command doesn't deal with print quota entries,
38          which continue to be managed through the edpykota command line
39          tool.
40         
41        - Major rewrite and incompatible changes to command line options
42          in edpykota. This command now only deals with print quota
43          entries. Printers, users (or users groups) now have to be created
44          first using pkprinters or pkusers.
45         
46    - 1.24alpha12 :
47   
48        - Introduced the 'duplicatesdelay' directive to specify after
49          which duration two duplicate jobs are not considered duplicate
50          jobs anymore.
51         
52        - Introduced the 'balancezero' directive to specify any value 
53          as the balance limit instead of 0.0. This can allow admins to
54          give a few free credits to users, for example.
55         
56    - 1.24alpha11 :
57   
58        - Huge speed improvements when modifying billing codes and
59          printers.
60       
61        - Both pkbcodes and pkprinters now display the percent done
62          for all actions.
63         
64        - The pkinvoice invoice generator command line utility is now
65          included.
66         
67    - 1.24alpha10 :   
68   
69        - Huge speed improvements when deleting users, printers, and
70          billing codes.
71         
72    - 1.24alpha9 :
73   
74        - Preliminary support for MySQL, thanks to Matt Hyclak.
75       
76    - 1.24alpha8 :
77   
78        - The 'preaccounter' configuration directive was introduced to control
79          which parser to use for precomputation of the job's size. When unset,
80          the internal parser is used just like it was previously. See
81          conf/pykota.conf.sample for more details.
82         
83        - Now subprocesses launched through the overwrite_jobticket directive
84          can also output 'CANCEL', to represent the user's own choice to
85          cancel the print job.
86         
87    - 1.24alpha7 :
88     
89        - pkbanner now handles new print limiting modes correctly.
90       
91        - The cupspykota backend wrapper now accepts to be interrupted
92          with a kill -INT. This causes an immediate and clean abort
93          of the current print job.
94         
95        - Matt Hyclak contributed the possibility to store the printing
96          history in a MySQL database. See the contributed/ directory
97          for details.
98         
99        - Added 2006 to the copyright's years.
100       
101    - 1.24alpha6 :
102   
103        - Fixed internal SNMP and PJL handling code for very fast
104          printers : PyKota didn't see them going from 'idle'
105          to 'printing' to 'idle' again.
106         
107        - Now waitprinter.sh accepts SNMP version number and
108          community name as arguments, thanks to Brandon
109          Holbrook.
110         
111        - Now command line errors and Ctrl+C repectively cause
112          PyKota commands to exit with status -2 and -3.
113         
114    - 1.24alpha5 :
115   
116        - All command line tools now accept -A | --arguments filename.args
117          as a way to bypass the shell's maximal command line size :
118          just put each argument on a line by itself in a file, and
119          pass the file's name as the -A | --arguments command line
120          option's argument. For now this won't be documented in
121          commands' helps.
122         
123        - dumpykota can now dump the complete database in XML
124          format.
125         
126    - 1.24alpha4 :
127   
128        - Added support for the SQLite3 backend.
129          See pykota/initscripts/sqlite/README.sqlite
130       
131    - 1.24alpha3 :
132   
133        - Fix for mailandpopup.sh : smbstatus can't be run setuid,
134          so we regain priviledges before running an external
135          mailto directive.
136       
137    - 1.24alpha2 :
138   
139        - Introduce the "onbackenderror" directive in pykota.conf, to
140          control if the user must be charged or not whenever a real
141          CUPS backend fails. The default value is 'nocharge'.
142          Set it to 'charge' if you think your users can cause a CUPS
143          backend to fail.
144         
145        - Now mark original backends related problems as such in the
146          printing history. Modified printquota.cgi and pykota.css
147          to make them be more visible.
148         
149    - 1.24alpha1 :
150   
151        - Fixed a problem which caused backend errors to be ignored.
152       
153        - The sample LDIF file now contains the two necessary user
154          entries to have an LDAP PyKota Admin and an LDAP PyKota
155          ReadOnly user. The sample configuration files were updated
156          to contain the default passwords used in the LDIF file.
157         
158        - dumpykota is now more strict when checking arguments.   
159       
160    - 1.23 :
161   
162        - Many minor bug fixes and code cleaning.
163       
164        - Improved documentation.
165       
166        - Added Polish translation.
167       
168        - Improved French and Swedish translations.
169       
170    - 1.23beta :
171   
172        - Now the mailto directive is honored in all cases where the job is
173          denied or a warning has to be issued, and the correct reason
174          can be sent back to the user.
175         
176        - The PYKOTAREASON environment variable, if defined, contains the 
177          textual reason why the job was denied or a warning has to be
178          issued.
179       
180    - 1.23alpha31 :
181   
182        - Added support for --maxjobsize, --passthrough and --nopassthrough
183          in pkprinters. These modes are now also honored when printing.
184         
185        - Allows the admin to restrict the number of print queues which will
186          be treated by pkturnkey by passing queues' names as additionnal
187          arguments on pkturnkey's command line.
188         
189        - pkturnkey now supersedes pkhint with the help of the -c | --doconf
190          command line option.   
191         
192    - 1.23alpha30 :
193   
194        - Database changes : you MUST use upgrade-to-1.23.sql again if you
195          use PostgreSQL, or copy the new schema and restart your LDAP
196          server if you use LDAP.
197         
198        - The -C | --comment command line switch was added to edpykota to 
199          attach textual information to modifications done to a user's
200          account balance.
201         
202        - The -l | --limitby command line switch to edpykota was modified 
203          to allow 'noquota', 'nochange', and 'noprint'. See the edpykota
204          command's help or manual page for details.
205         
206        - The -i | --ingroups command line switch to repykota allows 
207          PyKota Administrators to only lists members of the specified
208          group or groups (separated with commas).
209         
210        - The -I | --increase command line switch to edpykota allows
211          to increase or decrease page limits.
212         
213        - Added the precomputed job's size and price to the history
214          for controlling purpose.
215       
216    - 1.23alpha29 :
217   
218        - Fixed a small problem with billing codes.
219       
220        - Exports some environment variables earlier, to render the script
221          launched by the overwrite_jobticket directive more powerful.
222         
223        - Now autopykota also creates print quota entries for the user on the
224          printers groups the current printer is a member of.
225         
226    - 1.23alpha28 :
227   
228        - Added users groups management to pkturnkey.
229       
230        - Fixed umask in setup script.
231       
232    - 1.23alpha27 :
233   
234        - Replaced the --dryrun command line option by the --force
235          command line option in pkturnkey, with exactly the opposite
236          effect (for security reasons).
237         
238    - 1.23alpha26 :
239   
240        - Allows parametrized pjl and snmp hardware accounting methods,
241          to be able to respectively set the TCP port and the SNMP
242          community.
243         
244    - 1.23alpha25 :
245   
246        - Added a --dryrun command line switch to pkturnkey.
247       
248        - Improved pkturnkey's general usability.
249       
250        - Added a manpage for pkturnkey.
251       
252    - 1.23alpha24 :
253   
254        - Allows different databases to be used depending on the
255          user's rights. This allows PyKota admins to directly
256          use a master LDAP server for read+write, while letting
257          normal users using the replicas for readonly access.
258          NB : using different storage backends is also possible,
259          but you're on your own there.
260         
261    - 1.23alpha23 :
262   
263        - Fixed a problem with banner accounting.
264   
265        - Introduction of the new 'pkturnkey' command line tool.
266       
267    - 1.23alpha22 :
268   
269        - The cupspykota backend was almost entirely rewritten from scratch.
270          It's now much more readable, maintainable, etc...
271         
272        - LPRng support is OFFICIALLY dropped for now. LPRng users are 
273          advised to download earlier releases or purchase the
274          PyKota v1.22HotFix1 Official release. LPRng support
275          MIGHT be re-added later.
276       
277    - 1.23alpha21 :
278     
279        - Fix for IPP requests which contain more than a single
280          job-originating-host-name attribute.
281         
282    - 1.23alpha20 :
283   
284        - Added the overwrite_jobticket directive. See pykota.conf.sample
285          for how to use it.
286         
287    - 1.23alpha19 :
288   
289        - Fixed an LDAP filtering problem when managing billing codes.
290       
291        - Added the unknown_billingcode directive. See pykota.conf.sample
292          for how to use it.
293       
294    - 1.23alpha18 :
295     
296        - Added the dump_bfd.php contribution.
297       
298        - Several fixes in the internal PJL accounter.
299       
300        - Now autopykota doesn't create unneeded print quota entries anymore.
301       
302        - Increased the timeout in the PJL hardware accounting code to
303          accomodate some printers (HP5000 at least).
304         
305    - 1.23alpha17 :
306   
307        - pkpgcounter is now distributed separately only. This
308          means that people must now download and install pkpgcounter
309          v1.56 or higher prior to being able to run PyKota.
310         
311        - Removed all the autoconf/automake stuff which was outdated 
312          and confusing.
313         
314    - 1.23alpha16 :
315     
316        - Extracted the GPL blurb from all commands' help, and use
317          a static version only once. This saves space big time, and
318          eases future translations.
319         
320    - 1.23alpha15 :
321   
322        - pkbcodes now works with the PostgreSQL backend.
323          NB : PLEASE RUN upgrade-to-1.23.sql AGAIN !!!
324       
325    - 1.23alpha14 :
326   
327        - Logs a warning when the user/group doesn't exist when running
328          edpykota.
329         
330    - 1.23alpha13 :
331   
332        - Minor fix for user groups because of latest database changes.
333       
334    - 1.23alpha12 :
335   
336        - Big database changes, use the migration scripts !
337       
338    - 1.23alpha11 :
339   
340        - Small fix to the PCL3/4/5 parser for some drivers.
341       
342    - 1.23alpha10 :
343   
344        - Fixed a bad exception name in cupspykota when parsing IPP messages.
345       
346        - Improved the IPP messages module : it can now generate IPP messages
347          in addition to parsing them.
348       
349    - 1.23alpha9 :   
350   
351        - The denyduplicates directive now accepts a command line as an
352          argument beside yes/no. The command is launched and must
353          print either ALLOW or DENY to its standard output. Then the
354          job gets allowed or denied by PyKota.
355          This will allow user interaction in the near future.
356         
357        - Introduced the new 'striptitle' directive to remove ugly prefixes
358          from print job's titles whenever a new print job is submitted.
359         
360        - Fixed internal SNMP accounter for printers which only have a life time
361          page counter, and not a volatile page counter.
362         
363    - 1.23alpha8 :
364   
365        - The data dumper can now summarize payments and history with the
366          help of the --sum command line option (or checkbox in the CGI).
367         
368        - The message used when the job's filename, title and options are
369          hidden because of the privacy directive is now translated at
370          retrieval time, instead of at saving time.
371         
372        - Minor fix in the LDAP backend code. 
373         
374    - 1.23alpha7 :
375   
376        - Improvements to the internal PJL and SNMP accounter : now should
377          support more printers and waste less time.
378         
379    - 1.23alpha6 :
380   
381        - The data dumper's start= and end= date filtering options now
382          accept a positive or negative offset to be added to the special
383          keywords 'yesterday', 'today', 'now', 'tomorrow'.
384          e.g. : dumpykota --data history start=yesterday-5 end=today
385         
386    - 1.23alpha5 :
387   
388        - The data dumper's start= and end= date filtering options now accept
389          the special keywords 'yesterday', 'today', 'now' and 'tomorrow'.
390         
391    - 1.23alpha4 :
392   
393        - The data dumper now accept start= and end= to specify the starting
394          and ending dates to dump the history.
395         
396    - 1.23alpha3 :
397   
398        - The destination link for the logo used in CGI scripts is
399          configurable.
400         
401        - Data dumper improved : it's faster and now datas are correctly
402          escaped.
403       
404        - The URL to the logo displayed in the CGI scripts is configurable.
405       
406    - 1.23alpha2 :
407   
408        - Fixed edpykota --prototype with balance.
409       
410        - Major rewrite of the IPP message parsing code to definitely
411          fix the job-originating-hostname IPP attribute problem.
412       
413    - 1.23alpha1 :   
414   
415        - Sets current username to the user CUPS runs as instead of "root"
416          when printing test pages from CUPS' web interface (because
417          the username is empty in this case).
418         
419        - Fix for strange values in job-originating-hostname
420       
421    - 1.22 :
422   
423        - Big improvements to the documentation.
424       
425    - 1.22beta :
426   
427        - Improved stability in pykotme and pykotme.cgi.
428       
429        - Fixed a permission problem in pykotme and pykosd.
430       
431        - Fixed an inconsitency between SQL and LDAP backends'
432          behavior in edpykota.
433         
434        - Improved stability and allowed tracebacks in CGI scripts.
435       
436        - Improved pykotme.cgi
437         
438    - 1.22alpha8 :
439   
440        - Fixed history retrieval for nonexisting printers or users.
441       
442        - Clicking on the billing code in printquota.cgi's job history
443          now shows all jobs matching this billing code.
444         
445        - Fixed the dump in CUPS' page_log format which didn't
446          dump the oldest entry.
447         
448        - The data dumper now accepts billingcode= and hostname= as
449          filters when dumping the job history.
450         
451        - The job billing code if present is now saved into the database,
452          and exported to subprocesses as the PYKOTAJOBBILLING environment
453          variable.
454         
455        - Ctrl+C now makes PyKota commands exit without a traceback.
456       
457        - Fixed an i18n problem with Python 2.1
458       
459    - 1.22alpha7 :
460   
461        - Fixed some problems with the retrieval of the history from LDAP.
462       
463    - 1.22alpha6 :
464   
465        - Early errors now produce meaningful error messages (finally !)
466       
467    - 1.22alpha5 :
468       
469        - SNMP and PJL improvements with regard to PowerSave / StandBy.
470       
471    - 1.22alpha4 :
472   
473        - Fixed charset problem under MacOSX.
474       
475        - Allows pkbanner to accept more info to display on its
476          command line.
477         
478    - 1.22alpha3 :
479   
480        - Fixes some case related problems with some LDAP backends.
481       
482        - Fixes some problem for printers which directly go from
483          "idle" to "warmup" and never to "printing" before
484          returning to "idle".
485         
486        - Some permissions settings may have prevented cupspykota
487          from parsing cupsd.conf, this is now fixed.
488         
489    - 1.22alpha2 :
490   
491        - Introduction of the web enabled print quote generator.
492       
493        - Fixed a potential race condition when several backend
494          wrappers were present in CUPS' backend directory.
495         
496        - Fixed dumpykota's output in CUPS' page_log format to better
497          match CUPS format.
498         
499    - 1.22alpha1 :
500   
501        - Import into Subversion.
502       
503    - 1.21 :
504   
505        - Improved documentation.
506       
507        - Improved dependencies checker.
508       
509        - Updated some translation files.
510       
511    - 1.21beta2 :
512   
513        - Fixed an LPRng specific bug.
514       
515        - Several improvements on stability issues with manually modified
516          LDAP trees.
517         
518        - Documentation improvements. 
519       
520    - 1.21beta :
521   
522        - Prepared translation files for next release.
523       
524    - 1.21alpha27 :
525   
526        - Allows software() (no arguments) to the software accounting
527          directive. This saves a lot of CPU since the job is not
528          parsed again : the precomputed size is used directly in this
529          case.
530         
531        - epykota's --prototype option now works fine with accounts
532          limited by balance.
533         
534    - 1.21alpha26 :
535   
536        - Fixed the handling of the 'maxdenybanners' directive.
537       
538        - Introduced the 'denyduplicates' directive.
539       
540        - Fixed some database related glitches.
541       
542    - 1.21alpha25 :
543   
544        - The job's size is now always precomputed, even when
545          'enforcement' is not set to 'strict'.
546         
547        - Introduction of the new 'trustjobsize' configuration directive
548          to workaround some problematic printers. See the sample
549          configuration file for details.
550         
551    - 1.21alpha24 :
552   
553        - Big database structure changes. An upgrade script
554          is now included for PostgreSQL. LDAP users may just
555          want to copy the new schema in place.
556         
557        - edpykota now recognizes the -o | --overcharge command line
558          option to set an overcharging or undercharging factor
559          on each print job's cost for a particular user.
560         
561        - repykota's output format has changed an is not limited to 
562          80 characters wide anymore. People who used to parse
563          repykota's output in their own tools are strongly advised
564          to parse dumpykota's output instead.
565         
566        - Introduction of the new 'maxdenybanners' configuration directive
567          to allow up to N (the directive's value) deny banners to be
568          printed even if the print account is forbidden to print.
569         
570        - Better detection of the number of copies in the PostScript parser.
571       
572    - 1.21alpha23 :
573   
574        - Traditional Chinese translation added.
575   
576        - Several fixes and performance improvements with the LDAP backend.
577       
578    - 1.21alpha22 :
579   
580        - edpykota's --delete command line option doesn't consider
581          '*' to be the default argument anymore :-)
582         
583    - 1.21alpha21 :
584   
585        - dumpykota.cgi can now be run as a normal user as opposed to
586          a PyKota administrator. No read access to pykotadmin.conf is
587          necessary anymore. This CGI scripts now honors the REMOTE_USER
588          environment variable just like printquota.cgi does, see
589          the file cgi-bin/README for details.
590          The command line tool dumpykota must still be run by a PyKota
591          administrator.
592         
593        - Fix exception's name error due to a change in recent versions
594          of PygreSQL.   
595         
596    - 1.21alpha20 :
597         
598        - Big bug fix wrt the datelimit field which was never reset.
599         
600    - 1.21alpha19 :
601   
602        - Introduction of the new dumpykota.cgi CGI script, which
603          allows third party tools like phpPrintAnalyzer to be
604          interfaced in real time with PyKota. To use it you
605          may have to change your web server's configuration,
606          please see pykota/cgi-bin/README
607         
608    - 1.21alpha18 :
609   
610        - Now dumpykota can dump the job history into CUPS' page_log
611          format (even when the printing system is LPRng). This allows
612          people to use tools like PrintAnalyzer or phpPrintAnalyzer
613          (two completely different beasts) with PyKota.
614         
615    - 1.21alpha17 :
616     
617        - Fixed field type's name in XML dumps.
618       
619        - Now drops priviledges to user 'pykota' when launched as root
620          (directly or as a CUPS backend), if such an user exists.
621         
622        - Fixed PCL3/4/5 parser for some drivers' output.
623       
624    - 1.21alpha16 :
625   
626        - fixed several recently introduced bugs in LDAP backend code,
627          thanks to Matt Hyclak.
628         
629    - 1.21alpha15 :
630     
631        - Normalized field names between LDAP and PostgreSQL backends
632          in dumpykota's output.
633         
634        - dumpykota filtering capabilities are now supported within
635          the LDAP backend too.
636         
637    - 1.21alpha14 :
638   
639        - dumpykota now supports extended filtering possibilities
640          with the PostgreSQL backend (LDAP support will come soon).
641         
642    - 1.21alpha13 :
643   
644        - Added a --debug command line option to pkpgcounter, so
645          that people may see what really happens, and what will
646          be available in the future :-)
647         
648    - 1.21alpha12 :
649   
650        - Fixed a bug with non standard pkbanner command lines.
651       
652        - Now logs as errors the differences between precomputed and
653          computed job sizes. **CUPS only for now**
654         
655    - 1.21alpha11 :
656   
657        - Now user and group print quota entries can be stored directly
658          below the user or group with the LDAP backend, using them
659          as branches. Thanks to Stefan Wold for the patch.
660          See the sample configuration file for details.
661         
662        - TLS is now supported with the LDAP backend. Thanks to Stefan
663          Wold for the patch.
664          See the sample configuration file for details.
665         
666        - edpkota now accepts the -U | --used value command line argument
667          to preset the page counters to an initial value. Thanks to
668          Wilson Roberto Afonso and Matt Hyclak for the patch.
669         
670    - 1.21alpha10 :
671   
672        - Now automatically reconnects up to three times if the LDAP server
673          returned an error, possibly due to a timeout.
674         
675    - 1.21alpha9 :
676   
677        - Now searches the configuration files in 'pykota' system user's
678          home directory. The 'pykota' system user and group have
679          to be created by the system administrator, and given
680          sufficient permissions to PyKota's configuration files.
681         
682    - 1.21alpha8 :
683   
684        - Added the new reject_unknown directive to reject the
685          creation of user or groups which are unknown to the system.
686         
687    - 1.21alpha7 :
688   
689        - Introduction of the pkmail email gateway.
690       
691    - 1.21alpha6 :
692   
693        - Fix for LPRng filenames.
694       
695        - Added Turkish translation thanks to Baris Cicek.
696       
697    - 1.21alpha5 :
698   
699        - Improved ESC/P2 miniparser for Stylus Photo printers.
700       
701        - Implemented the --savetoner command line option to pkbanner.
702       
703        - Improved pkbanner's help and messages.
704       
705    - 1.21alpha4 :
706   
707        - Fixed job's data file detection code for LPRng.
708       
709        - Fixed a problem with PJL and PowerSave mode,
710          thanks to Wilson Roberto Afonso.
711       
712    - 1.21alpha3 :
713   
714        - PyKota can now generate its own banners, and either account
715          for them or not, depending on newly introduced directives
716          in pykota.conf
717          Thanks to Matt Hyclak for the patch.
718         
719    - 1.21alpha2 :
720   
721        - Installation script is now non interactive again, as it should
722          have stayed from the beginning. Dependencies checking can
723          be done by launching the checkdeps.py command.
724         
725    - 1.21alpha1 :
726   
727        - added an IPP messages miniparser. Extraction of the client
728          hostname is now considered to be fiable, at least until
729          the CUPS developpers change something...
730       
731    - 1.20 :
732   
733        - Version number changed.
734       
735    - 1.20beta :
736   
737        - Norwegian (Bokm� preliminary translation added.
738       
739        - German translation was finalized.
740       
741        - Greek translation was finalized.
742       
743        - For urgent legal reasons, a "privacy" directive has been added
744          to pykota.conf, to hide jobs' title, filename and options
745          in the history.
746         
747        - Minor changes in the debian directory.
748       
749    - 1.20alpha27 :
750   
751        - Fixed many problems with translation files. In particular
752          the Brazilian Portuguese translation file was incorrectly
753          installed into the french "breton" locale directory.
754         
755        - Finished French translation. 
756         
757    - 1.20alpha26 :
758   
759        - LPRng support code should now better detect network
760          printers' hostnames or IP addresses.
761         
762        - Fix for recently introduced bug in LPRng support.
763       
764        - Fix for incorrect locale setting when starting.
765       
766    - 1.20alpha25 :
767   
768        - pkprinters allows --list to normal users, but require user
769          to be a PyKota administrator when another command line
770          option is used.
771         
772        - pkhint doesn't use absolute path to search for helper commands
773          anymore.
774         
775        - Spanish translation ready for 1.20.   
776       
777    - 1.20alpha24 :
778   
779        - Now warnpykota only warns users limited by balance once.
780       
781        - Now warnpykota only warns users who have ever printed,
782          to not cause confusion to users who have just opened
783          their account.
784       
785        - Prepared help messages for translations.
786       
787    - 1.20alpha23 :
788   
789        - Add workaround for locale problem.
790       
791    - 1.20alpha22 :
792   
793        - Hopefully final fix for data encoding charset.
794       
795        - edpykota now refuse to work if the user is not a PyKota admin.
796       
797        - Fixes a recently introduced bug with users groups and PostgreSQL.
798       
799    - 1.20alpha21 :
800   
801        - Now dumpykota refuses to launch if the current user is not
802          a PyKota administrator (a PyKota administrator is an user
803          allowed to read the pykotadmin.conf file).
804         
805        - Now any PyKota administrator can use repykota and warnpykota
806          with additionnal arguments, not only the root user.
807         
808        - Improved documentation a bit.
809       
810    - 1.20alpha20 :
811   
812        - Reduced delay in internal SNMP and PJL_over_TCP handlers
813          from 2 to 1 second.
814       
815        - dumpykota can now output XML.
816       
817    - 1.20alpha19 :
818   
819        - Improved user groups and user groups quotas dumps in dumpykota.
820       
821        - Finished implementation of LDAP support in dumpykota.
822       
823        - The md5 sum of the job's datas is now available as an
824          hexadecimal digest in the PYKOTAMD5SUM environment variable.
825         
826        - The description, filename, title, and options fields
827          are now stored as UTF-8 strings in both LDAP and PostgreSQL.
828          Proper charset is used during extraction from the database.
829         
830    - 1.20alpha18 :
831   
832        - Experimental autopykota command to initialize user
833          account and quota entries on first print while not
834          resetting the balance value if not needed.
835         
836        - Added the new "winbind_separator" directive to strip
837          out the Samba/Winbind domain name while printing if
838          needed (Off by default).
839         
840    - 1.20alpha17 :
841   
842        - Added --hardreset command line option to edpykota.
843       
844        - Fixed problem with accented chars in title, filename
845          or options and LDAP backend.
846         
847    - 1.20alpha16 :
848   
849        - Internal handling of socket based PJL queries over
850          port tcp/9100 is now available with the magic
851          'pjl' value in the hardware accounter.
852         
853    - 1.20alpha15 :
854   
855        - LDAP pykotaAccountBalance objects were always created
856          attached to the pykotaUser objects. This is now
857          fixed and the value of balancebase in pykota.conf
858          is now correctly used.
859         
860    - 1.20alpha14 :
861   
862        - Belgian translations added (copy of the french ones).
863       
864        - External hardware accounter now loops until
865          a result can be read correctly.
866         
867        - pkhint now suggest the internal snmp handling instead
868          of the external one.
869         
870    - 1.20alpha13 :
871     
872        - Hardware accounter now accepts the special
873          'snmp' value, meaning ALL is done from main code
874          without launching any subprocess.
875          You need the http://pysnmp.sf.net Python module
876          for this to work (tested with v3.4.2)
877         
878        - Increased delay between two loops iterations 
879          to 2 seconds in waitprinter.sh to diminish
880          CPU load.
881         
882    - 1.20alpha12 :
883   
884        - waitprinter.sh rewritten from scratch to wait
885          for printer status stabilization.
886       
887    - 1.20alpha11 :
888   
889        - Generic data dumper 'dumpykota' introduced.
890          Works only with PostgreSQL backend for now.
891         
892    - 1.20alpha10 :
893   
894        - Added fix for incorrect job's size computation when
895          hardware accounting fails.
896         
897    - 1.20alpha9 :
898   
899        - Small fixes wrt subprocesses.
900       
901    - 1.20alpha8 :
902   
903        - Added full support of PCL3 : HP Deskjet printers are now
904          supported.
905       
906    - 1.20alpha7 :
907   
908        - First draft of PCL3GUI (Deskjet 640C for example) analyzer.
909          Needs more work, but no documentation is available.
910       
911    - 1.20alpha6 :
912     
913        - Improved mailandpopup.sh script.
914       
915        - Small fixes for LPRng.
916       
917        - Now exports PYKOTAPRINTERHOSTNAME for network printers'
918          hostname or IP address. Set to 'localhost' when not
919          meaningful.
920         
921        - Fixed issue with how mod_auth_ldap Apache modules
922          fills the REMOTE_USER environment variable.
923         
924        - Fixed a bug in LDAP user deletion code.
925       
926    - 1.20alpha5 :
927     
928        - Introduces the new configuration directive 'onaccountererror'
929          to specify what must be done whenever the software or
930          hardware accounter fails. Allowed values are 'continue' and
931          'stop' (default).
932         
933        - Minor fix in software accounter for a recently introduced
934          problem.
935         
936    - 1.20alpha4 :
937   
938        - Added support for more ghostscript devices in ESC/P2
939          analyzer : stcolor, st800, escp, escpc are now supported.
940         
941    - 1.20alpha3 :
942       
943        - Small improvement in PostScript parser to avoid being
944          fooled by a change in number of copies :
945          The user can't ask for 200 copies of page 1 and 1 copy
946          of page 2 to fool PyKota anymore :
947          this would have been accounted for as 1 copy only, but
948          now the maximum value seen is used.
949         
950        - Relax checks for PCL5 header to accomodate some strange
951          printer drivers.
952         
953        - Now hardware accounting method works like software
954          accounting method wrt the subprocess' output.
955         
956        - Hardware and Software accounting stop the print queue 
957          when the accounting subprocess didn't work. This will
958          be configurable in the near future.
959         
960    - 1.20alpha2 :
961   
962        - Now software accounting method reads accounter's
963          answer until a line with a single integer is
964          obtained or until all of its output has been read.
965          This should fix the problem some people have
966          when strange locale related messages are sent
967          when running subprocesses (Solaris only ?).
968         
969        - First version of ESC/P2 analyzer. Seems to work
970          ok at least with 'epson', 'epsonc', 'eps9mid'
971          and 'esp9high' ghostscript devices. Needs more
972          work to correctly analyze other devices.
973       
974    - 1.20alpha1 :
975   
976        - Fixed problem with number of copies in PCLXL parser.
977       
978        - Fixed problem with number of copies in PCL5 parser,
979          when number of copies was set outside of and before first
980          page.
981       
982        - Added workaround for number of copies directly set in
983          PostScript code.
984         
985        - Added german translation.
986       
987        - Fixed problem on first print for user group quota when
988          "enforcement: strict" is used.
989       
990        - Fixed interpolation problem in french translation.
991       
992    - 1.19 :
993   
994        - Updated existing translations.   
995       
996        - Added final Thai and Greek translations.
997       
998        - Minor last minute bug fixes.
999       
1000    - 1.19beta :
1001   
1002        - LPRng support for both software and hardware accounting seems
1003          to be OK.
1004         
1005        - Translation files fixed because of fuzzy matching problem. 
1006       
1007        - Fixed path to Swedish translation: 'sv' instead of 'se'.
1008       
1009        - Added first draft of Thai translation.
1010       
1011        - Fixed some minor bugs with Pychecker.
1012       
1013    - 1.19alpha35 :
1014   
1015        - Generic PDL analyzer now supports Binary PostScript documents
1016          in addition to DSC compliant ones.
1017       
1018    - 1.19alpha34 :
1019   
1020        - LPRng support : software accounting seems to work fine,
1021          but hardware accounting doesn't work yet.
1022   
1023    - 1.19alpha33 :
1024   
1025        - pykosd now accepts command line arguments. Enjoy !
1026          NB : due to a bug in xosd, you need xosd version 2.2.8
1027          or higher if you don't use the default C locale.
1028         
1029    - 1.19alpha32 :
1030   
1031        - Early (not working) version of the LPRng support rewrite.
1032       
1033        - Saner default configuration file.
1034       
1035    - 1.19alpha31 :
1036   
1037        - Fixed a double Python2.1 incompatibility with newer versions,
1038          which prevented the PCL5 and the PCLXL parsers to work with
1039          this older version of Python.
1040         
1041    - 1.19alpha30 :
1042   
1043        - Introduction of preliminary version of the pykosd command
1044       
1045        - Usernames, Groupnames and Printernames can now contain
1046          ANY character, expected '/' and '@'.
1047       
1048        - Integrated most of the Debian work from Sergio
1049          Gonz�z Gonz�z
1050         
1051    - 1.19alpha29 :
1052   
1053        - PCLXL parser should now correctly handle number of
1054          copies set for each page.
1055         
1056        - Added testsuite for generic PDL analyzer.
1057       
1058        - Typo fixed in PCLXL parser.
1059       
1060        - Correctly dispatches error messages depending on the
1061          situation : tools which can be run interactively will
1062          ALWAYS output their logs to stderr, excepted for
1063          their DEBUG messages, for which the "logger:"
1064          directive as set in pykota.conf will be honored.
1065          Tools which can't be run interactively will ALWAYS
1066          honor the "logger:" directive as set in pykota.conf
1067         
1068    - 1.19alpha28 :
1069   
1070        - The description field for printers can now be set,
1071          and is displayed in reports.
1072         
1073        - Fixed a small problem in SQL backend code.
1074         
1075        - Improved pkhint
1076       
1077        - First working PCL6 (aka PCLXL) parser !
1078          Doesn't handle copies yet.
1079       
1080    - 1.19alpha27 :
1081   
1082        - Additionnal 10% speed increase in PCL5 parser for GhostScript
1083          generated files (untested yet with other PCL files).
1084         
1085        - Reintroduced the use of mmap in PCL5 parser : this speedups
1086          PCL5 parsing by almost 4 times.
1087          This 4x with the 3x below give us in fact a twelvefold increase
1088          in performance for PCL5 parsing !
1089         
1090        - The Python accelerator Psyco is now used if available
1091          in the generic PDL parser : it speedups PCL5 parsing by
1092          almost three times automagically.
1093         
1094    - 1.19alpha26 :
1095   
1096        - Fixed PCL5 parser according to the sources of rastertohp.
1097       
1098        - Fixed number of copies handling in PCL5 parser : the number
1099          of copies could vary from page to page.
1100         
1101        - Added more debug information to PCLXL parser. 
1102       
1103    - 1.19alpha25 :
1104   
1105        - Added new "description" field to printers in both
1106          PostgreSQL and LDAP. No code to handle this yet.
1107         
1108        - Reversed the fix for power save mode in printers : 
1109          no paper or tray open would have caused people to
1110          be undercharged.
1111         
1112        - Preliminary version of MySQL initialization script.
1113         
1114    - 1.19alpha24 :
1115   
1116        - Native PDF parsing code now works perfectly with
1117          Python 2.1 and above, and is way faster than before.
1118          GhostScript is not used anymore to convert PDF to PS,
1119          because PDF is parsed directly.
1120         
1121    - 1.19alpha23 :
1122   
1123        - Fixed waitprinter.sh wrt PowerSave mode and some
1124          printers. Thanks to Ryan Suarez.
1125       
1126        - Smart PDL analyzer now recognizes PDF too : two
1127          PDF parsing methods are used : a native one which
1128          is very fast but requires Python 2.3 or above, and
1129          a slower one which uses Ghostscript. PyKota detects
1130          automatically which method to use depending on your
1131          version of Python.
1132       
1133        - All tracebacks now include PyKota's version number.
1134         
1135    - 1.19alpha22 :
1136   
1137        - Ensures that the file pointer for job's data is
1138          reset to the start of the job's datas after the
1139          job's size pre-computation phase.
1140         
1141        - Improved PostScript detection code for bad drivers
1142          which don't correctly switch languages between PJL
1143          and PS.
1144       
1145        - Even better debugging code.
1146       
1147    - 1.19alpha21 :
1148   
1149        - Additionnal check.
1150       
1151    - 1.19alpha20 :
1152   
1153        - More complete logging messages wrt accounters.
1154       
1155        - Now catches early failures occuring when the configuration
1156          files are parsed.
1157       
1158    - 1.19alpha19 :
1159   
1160        - Fixed over-verbose exits when displaying help
1161          or version.
1162         
1163        - Extended some PATH in the shell scripts 
1164       
1165        - Deleting an user now also deletes his payments history.
1166       
1167        - Doesn't explicitely ignore SIGCHLD anymore. This seems to
1168          cause problems.
1169
1170    - 1.19alpha18 :
1171   
1172        - History of payments is now stored in the database, and
1173          updated each time an user's balance is modified with
1174          edpykota --balance. This history represents each time
1175          the user was given some positive or negative credit,
1176          but doesn't reflect price paid for jobs, which appear
1177          in the jobs history instead.
1178         
1179        - Jobs history web reports now include the job's size in
1180          bytes. Also columns were reordered to render the report
1181          more easily readable.
1182         
1183    - 1.19alpha17 :
1184   
1185        - Mysterious bug (program exited unexpectedly without leaving
1186          any log message) which occured once in a while when
1187          cancelling jobs should be fixed now.
1188         
1189        - New 'crashrecipient' directive. Disabled by 
1190          default. See sample configuration file to see how
1191          to activate it. It is suggested that you activate it.
1192         
1193        - New PYKOTAJOBSIZEBYTES environment variable exported, 
1194          which contains the job's size in bytes. Empty jobs
1195          are now denied. This value is now stored in the job
1196          history (but not yet displayed from the web interface)
1197         
1198        - Preliminary work on payments storage : the PostgreSQL 
1199          and LDAP schemas should be OK now, but no code is written
1200          yet to support this functionnality.
1201         
1202    - 1.19alpha16 :
1203   
1204        - the newuser and newgroup LDAP specific directives now accept
1205          a second parameter to attach(), "fail" or "warn". If no entry
1206          is found to attach PyKota attributes to, and "fail" was used,
1207          then action is aborted and program exits in error. If "warn"
1208          is used, a new entry is created but a warning message is logged.
1209         
1210        - The job's originating hostname is now stored in the database,
1211          and exported as PYKOTAJOBORIGINATINGHOSTNAME in the environment.
1212       
1213    - 1.19alpha15 :
1214   
1215        - The old pykota filter is now removed. This means that
1216          currently PyKota doesn't support LPRng anymore, but
1217          LPRng support will be re-added, improved, in the near future.
1218         
1219    - 1.19alpha14 :
1220   
1221        - PYKOTAPRECOMPUTEDJOBSIZE and PYKOTAPRECOMPUTEDJOBPRICE
1222          are now exported as environment variables.
1223         
1224        - Heavy CPU usage is now completely fixed it seems, by
1225          introducing some 0.01 second sleeping when nothing to do.
1226         
1227        - Pre-computation of the job's size is now only
1228          done when enforcement is "STRICT", this saves
1229          CPU for people who don't want to use this new
1230          feature.
1231         
1232        - New 'enforcement' directive which accepts either
1233          STRICT or LAXIST. See sample configuration file
1234          for details.
1235         
1236    - 1.19alpha13 :
1237   
1238        - Get back to an old version of the polling loop which
1239          worked fine, but non-optimally. Will be optimized
1240          as time permits.
1241         
1242    - 1.19alpha12 :
1243   
1244        - Job's size is now precomputed unconditionnally using
1245          the generic PDL analyzer.
1246          NB : This value is not yet used to pre-allow/deny the
1247          job.
1248       
1249    - 1.19alpha11 :
1250   
1251        - The pykota filter is now completely deprecated and
1252          can't be used anymore. LPRng users MUST download
1253          an older version of PyKota. CUPS users MUST use
1254          cupspykota. Better support for LPRng will come
1255          in the near future.
1256         
1257    - 1.19alpha10 :
1258   
1259        - pykotme now uses generic PDL Analyzer directly instead
1260          of spawning a new process.
1261         
1262        - Improvements to generic PDL Analyzer.
1263       
1264        - 25% Speedup in PCL parser. Getting more of the Python version
1265          will probably be difficult, since the completely table driven
1266          parser I wrote is slower than the original algorithm. Then,
1267          the original algorithm is still used for now.
1268          Probable that more speed could be achieved using mmap, at the
1269          expense of severe memory consumption.
1270       
1271        - configuration simplifications : the "accounter" directive's
1272          'hardware' arguments now accepts what was in the "requester"
1273          directive as it's content. The "requester" directive is not
1274          supported anymore. See sample configuration file for details.
1275       
1276    - 1.19alpha9 :
1277       
1278        - pkpgcounter is now just a wrapper around the PDLAnalyzer class
1279       
1280        - pykotaOptions LDAP attribute now accepts non-ascii characters
1281          too.
1282         
1283        - First try at cupspykota main loop rewrite
1284       
1285    - 1.19alpha8 :
1286   
1287        - 'querying' accounting method is now called 'hardware'
1288       
1289        - 'external' accounting method is now called 'software'
1290       
1291        - 'stupid' accounting method doesn't exist anymore
1292       
1293        - 'snmp' requester doesn't exist anymore
1294       
1295        - code simplifications in external requester
1296       
1297    - 1.19alpha7 :
1298     
1299        - Database schema change (both LDAP and PostgreSQL) to
1300          allow storage of the job-originating-hostname attribute.
1301          An SQL upgrade script is present. The code is not yet
1302          capable of setting/retrieving this attribute. Support
1303          for this functionnality will be added in the future.
1304         
1305    - 1.19alpha6 :
1306   
1307        - problems connecting to SMTP servers are now catched.
1308       
1309        - pykotme now uses pkpgcounter to compute the size of the
1310          job. This modification adds PCL5 and soon PCLXL (PCL6)
1311          support. You can now get quotes for PCL in addition to
1312          PostScript.
1313         
1314        - pkpgcounter now includes first try at PCLXL parser. 
1315          It is currently disabled until it's finished.
1316         
1317    - 1.19alpha5 :
1318   
1319        - cupspykota polling loop fix for MacOSX (at least)
1320       
1321        - logging subsystem now logs PID too, to ease diagnosing
1322          problems under heavy load.
1323         
1324        - pkpgcounter enhancements.
1325       
1326        - pkprinters --skipexisting now tells pkprinters to not
1327          modify existing printers when --add is used.
1328          pkprinters logs a warning message whenever --add is
1329          used and a printer already exists.
1330         
1331        - LDAP schema now allows accented chars in pykotaFileName
1332          and pykotaTitle attributes.
1333       
1334    - 1.19alpha4 :
1335   
1336        - a bad copy&paste prevented pkpgcounter to work at all, this
1337          is now fixed.
1338         
1339        - improved PCL support in pkpgcounter, with the use of
1340          HP PCL/PJL Reference Set
1341          PCL5 Printer Language Technical Quick Reference Guide
1342       
1343        - pkpgcounter now uses mmap to speed things up : duration
1344          is halved with the sample 87 pages PCL document I use for
1345          testing.
1346         
1347    - 1.19alpha3 :
1348   
1349        - pkprinters now accepts the --list command line argument
1350          to list informations about printers.
1351         
1352    - 1.19alpha2 :
1353   
1354        - pkpgcounter is now included as a smart external
1355          accounter which can handle both PostScript and PCL.
1356         
1357    - 1.19alpha1 :
1358   
1359        - PYKOTALIMITBY environment variable is now exported too.
1360       
1361        - Inclusion of Michele Baldessari's work on autotools.
1362       
1363    - 1.18 :
1364   
1365        - Improved documentation
1366       
1367    - 1.18beta2 :
1368     
1369        - Fix for raw jobs with cupspykota
1370       
1371    - 1.18beta :
1372   
1373        - Small fix for new waitprinter.sh script
1374       
1375        - Better tracebacks on error conditions
1376       
1377        - Improved translations
1378       
1379        - Improved documentation
1380       
1381    - 1.18alpha15 :
1382
1383        - waitprinter.sh replaced by a new and possibly faster
1384          and more powerful one.
1385   
1386        - Names can now begin with a digit.
1387       
1388        - Stability improvement for quotas set on printers groups.
1389       
1390    - 1.18alpha14 :
1391   
1392        - Catches more (all ?) problems with SMTP servers instead
1393          of breaking.
1394         
1395        - Italian translation added.
1396       
1397    - 1.18alpha13 :
1398   
1399        - Pre and Post hooks are now available in the pykota
1400          filter as well.
1401         
1402        - The pykota filter doesn't check last user's quota
1403          anymore when delayed hardware accounting is used :
1404          this will be done anyway the next time the last
1405          user will print again. This saves some database
1406          queries which are unneeded.
1407       
1408    - 1.18alpha12 :
1409   
1410        - Pre and Post hooks to external commands with many
1411          many environment variables available are useable
1412          from the cupspykota backend.
1413          See sample configuration file for details and help.
1414         
1415    - 1.18alpha11 :
1416   
1417        - Hopefully final fix wrt groups (users and printers)
1418       
1419    - 1.18alpha10 :
1420   
1421        - Fixed nested printer groups accounting.
1422       
1423        - Fixed user groups + printer groups problem.
1424       
1425    - 1.18alpha9 :
1426   
1427        - Fix for LDAP problem when job price was 0.
1428       
1429        - Fix for empty user groups with LDAP.
1430       
1431        - Preliminary version of the snmpprinterstatus command added.
1432       
1433    - 1.18alpha8 :
1434   
1435        - Don't retrieve data when not needed.
1436          This avoids many database queries.
1437       
1438    - 1.18alpha7 :
1439   
1440        - New experimental ldapcache directive to improve
1441          LDAP caching.
1442         
1443    - 1.18alpha6 :
1444       
1445        - New configuration directive added : maildomain
1446          to specify the domain to send mail to when user
1447          email address is not set in PyKota database.
1448         
1449        - More complete email message headers. 
1450         
1451    - 1.18alpha5 :
1452   
1453        - Debian packaging specific files, contributed by
1454          Peter Hawkins are now included in the project's tree.
1455         
1456        - Preliminary work on future low-level LDAP caching to speed
1457          up modifications (at least).
1458         
1459    - 1.18alpha4 :
1460   
1461        - Applied some of the modifications suggested by
1462          Peter Hawkins, for better Debian integration.
1463          Most notably cupspykota, pykota, and the shell
1464          scripts are now installed into /usr/share/pykota
1465          instead of into /usr/bin
1466          BEWARE : double check that your symbolic link
1467          to cupspykota is correct, and that your pykota.conf
1468          file use correct path for the shell scripts like
1469          waitprinter.sh and al.
1470         
1471        - pkhint command added, to help in configuring correct
1472          accounting method for PyKota.
1473         
1474    - 1.18alpha3 :
1475   
1476        - Fixed a rare bug in cupspykota backend which gave
1477          incorrect "CUPS backend died abnormally" messages.
1478       
1479    - 1.18alpha2 :
1480   
1481        - Added the pkprinters command line tool to manage printers
1482          exclusively.
1483       
1484    - 1.18alpha1 :
1485   
1486        - Preliminary work on Relationnal Database Independance.
1487       
1488        - Sample report made from OpenOffice.org added as PDF and SXC.
1489       
1490    - 1.17 :
1491   
1492        - Finalized release.
1493       
1494    - 1.17alpha2 :
1495   
1496        - Fix stupid software accounting bug in the CUPS backend.
1497       
1498    - 1.17alpha1 :
1499   
1500        - User/Group deletion code in edpykota rewritten.
1501       
1502    - 1.16 :
1503   
1504        - Preliminary documentation on how to use OpenOffice.org
1505          to create personnalized reports for PyKota + PostgreSQL.
1506         
1507        - Spanish installation guide for CUPS+PyKota+PostgreSQL
1508          added to the documentation. Doesn't yet document v1.16
1509          though.
1510       
1511        - Portuguese Portuguese translation replaces Brazilian
1512          Portuguese Translation. Brazilian portuguese
1513          translation is still available under the 'br' locale.
1514       
1515    - 1.16beta3 :
1516   
1517        - Swedish translation added.
1518       
1519        - Small fix in documentation.
1520       
1521    - 1.16beta2 :
1522   
1523        - Small fix for job cancelling code while job already
1524          printing in CUPS backend.
1525         
1526        - Big fix wrt printing policies for unknown users. 
1527       
1528    - 1.16beta1 :
1529   
1530        - Manpages upgraded.
1531       
1532    - 1.16alpha26 :
1533   
1534        - Job price is now computed like this :
1535       
1536          SUM((NbPages * PricePerPage) + PricePerJob)
1537         
1538          For current printer and all the printers groups it is
1539          a member of, if any.
1540         
1541          This may be difficult to grasp, but offers unprecedented
1542          flexibility.
1543         
1544    - 1.16alpha25 :
1545   
1546        - Email address can be set at user creation time,
1547          using the following syntax :
1548         
1549            $ edpykota --add username/email@yourdomain.com
1550       
1551    - 1.16alpha24 :
1552   
1553        - CGI script now can show the printing history.
1554       
1555        - Bug wrt number of copies should be fixed.
1556       
1557        - Major code refactoring => It is now possible to
1558          automatically add printers on first print.
1559       
1560    - 1.16alpha23 :
1561   
1562        - Fixed potential accuracy problem if a user printed on
1563          several printers at the very same time.
1564       
1565    - 1.16alpha22 :
1566   
1567        - edpykota now allows adding printers to printer groups
1568       
1569    - 1.16alpha21 :
1570   
1571        - Allows the dot in user and printer names.
1572       
1573        - Printer groups are now cached too.
1574       
1575    - 1.16alpha20 :
1576   
1577        - Fixed several small bugs with the help of PyChecker.
1578       
1579    - 1.16alpha19 :
1580     
1581        - Fixed a bug in PostgreSQL backend's code.
1582       
1583    - 1.16alpha18 :
1584   
1585        - Initial code for printer groups support. Printer groups have
1586          to be added with external tools like psql or gq for example.
1587          Printer groups seems to work fine with users. Untested with user
1588          groups for now.
1589
1590        - Several minor visual problems fixed in reports.
1591       
1592        - Fixed a bug in LDAP date handling.
1593       
1594        - Fix for LDAP problem with some combination of OpenLDAP + Python-LDAP
1595          + some particular settings.
1596         
1597        - mailandpopup.sh shell script added. See sample configuration file
1598          for details.
1599       
1600        - Several environment variables are now exported when executing
1601          external commands (accounters, requesters, mailers) :
1602           
1603            PYKOTAUSERNAME => user who is printing
1604            PYKOTAPRINTERNAME => printer on which the job is being sent
1605            PYKOTATITLE => Job's title
1606            PYKOTAFILENAME => Job's filename
1607            PYKOTACOPIES => number of copies asked
1608            PYKOTAOPTIONS => print command options (-o with CUPS)
1609         
1610    - 1.16alpha17 :
1611   
1612        - Added portugues translation.
1613       
1614        - Major code refactoring in accounters.
1615       
1616    - 1.16alpha16 :
1617   
1618        - Code refactoring, and addition of a real HTML reporter, to
1619          have nice looking and useful web based reports (in the future).
1620       
1621        - Added utolower configuration option to convert all usernames
1622          to lowercase during printing.
1623         
1624    - 1.15alpha15 :
1625   
1626        - Now includes the papwaitprinter.sh shell script to wait for
1627          AppleTalk enabled printers.
1628         
1629    - 1.16alpha14 :
1630   
1631        - Now printing on a printer not defined in the Quota Storage,
1632          results in the job being cancelled or stopped, depending
1633          on the printing system.
1634         
1635    - 1.16alpha13 :
1636   
1637        - Small bugfix wrt Python v2.1
1638       
1639        - If username is an empty string, user root is assumed.
1640       
1641        - 'postgresql' is not recognized anymore as a storage backend,
1642          you have to use 'pgstorage' instead. 'postgresql' used to
1643          be supported for compatibility with very old PyKota versions,
1644          this is not the case anymore.
1645         
1646    - 1.16alpha12 :
1647   
1648        - Job price added to job history, to keep accounting correct
1649          if a printer price per page or per job is modified and the
1650          history is not reset : the history would have given a false
1651          amount of money charged before the printer's prices were
1652          modified, this addition solves the problem.
1653         
1654    - 1.16alpha11 :
1655   
1656        - Some preliminary modifications to the database structure for
1657          PostgreSQL and OpenLDAP. A script to upgrade a PostgreSQL
1658          database is now provided. LDAP attributes now support
1659          eq, pres and sub indexes.
1660         
1661        - Job history now contains additional informations : 
1662          number of copies, filename, title and print options.
1663         
1664    - 1.16alpha10 :
1665       
1666        - Some modifications done to external policy handling.
1667          See sample configuration file for details.
1668   
1669        - Spanish translation added.
1670       
1671    - 1.16alpha9 :
1672   
1673        - mailto can be set to external(...) to warn users above
1674          quota with any command of your choice (e.g. linpopup).
1675          Several parameters are available, see sample configuration
1676          file for details.
1677         
1678    - 1.16alpha8 :
1679   
1680        - Now cupspykota transmits SIGTERMS to the original 
1681          backend when the user deletes a job being processed.
1682         
1683        - The documentation is now licensed under the terms of the
1684          GNU GPL too.
1685         
1686    - 1.16alpha7 :
1687   
1688        - The CUPS backend is now fully functionnal (it seems).
1689       
1690        - From now on, the use of the pykota filter with CUPS
1691          is deprecated. The pykota filter still has to be
1692          used with LPRng though.
1693       
1694    - 1.16alpha6 :
1695   
1696        - Bug fixed : when edpykota was used to add a printer
1697          with no user or group name, a bad user/group name "*" was
1698          added to the database.
1699         
1700    - 1.16alpha5 :
1701   
1702        - New CUPS backend supports device enumeration !
1703          This means that NO manual CUPS configuration has to
1704          be done. All can now be done from CUPS web interface.
1705       
1706    - 1.16alpha4 :
1707   
1708        - New CUPS backend added.
1709       
1710    - 1.16alpha3 :
1711       
1712        - Minimal FAQ document added.
1713       
1714    - 1.16alpha2 :
1715   
1716        - CGI script now partially supports browser's language preference
1717       
1718    - 1.16alpha1 :
1719   
1720        - Ensures that the LDAP connection is really closed at end.
1721       
1722        - More complete error messages in case of LDAP operation failure.
1723       
1724    - 1.15 :
1725     
1726        - Documentation improved.
1727       
1728    - 1.15beta :
1729   
1730        - Command line tools now accept multiple printer
1731          names or wildcards, separated with commas.
1732         
1733    - 1.15alpha9 :
1734   
1735        - External policy can be used to auto-add unknown users
1736          and any other interesting things you may want to do.
1737          WARNING : You can't auto-add printers for now.
1738          They have to be created manually before.
1739          Look at sample configuration file for examples.
1740         
1741    - 1.15alpha8 :
1742   
1743        - Job history can be disabled if needed.
1744          This feature may be useful for people who use the LDAP
1745          backend and don't want their LDAP tree to grow out of
1746          control.
1747       
1748    - 1.15alpha7 :
1749   
1750        - More work done on caching wrt groups.
1751       
1752    - 1.15alpha6 :
1753   
1754        - Performance bottleneck with LDAP solved.
1755       
1756    - 1.15alpha5 :
1757   
1758        - Caching mechanism for all database queries.
1759
1760    - 1.15alpha4 :
1761   
1762        - Problem with Python 2.3 fixed. Needs some definitive
1763          modification.
1764         
1765    - 1.15alpha3 :
1766   
1767        - CGI script now tries to restrict view when the
1768          REMOTE_USER environment variable is set. This allows
1769          people to protect its use with .htaccess files.
1770          When unprotected, or if REMOTE_USER is 'root', then
1771          unrestricted access is granted.
1772          NB : REMOTE_USER is automatically set by the web server
1773          (e.g. Apache) when a page with restricted access is viewed.
1774         
1775    - 1.15alpha2 :
1776   
1777        - Better detection of LPRng.
1778       
1779        - Outputs a warning if printing system is unknown.
1780       
1781    - 1.15alpha1 :
1782   
1783        - Bug fix in SQL code.
1784       
1785    - 1.14 :
1786   
1787        - The PostgreSQL database connection is now always closed before
1788          exit. The LDAP database connection too, but it didn't suffer
1789          from the problem anyway, AFAICT.
1790       
1791    - 1.14beta2 :
1792   
1793        - An LDAP-specific configuration field was introduced, usermail.
1794          Use it to specify which LDAP attribute contains a valid email
1795          address for the user. See sample configuration file for
1796          details.
1797       
1798    - 1.14beta :
1799   
1800        - Two new LDAP-specific configuration fields were introduced,
1801          newuser and newgroup. Use them to specify if you want to add
1802          quota information to existing entries or elsewhere.
1803          See sample configuration file for details.
1804         
1805    - 1.14alpha9 :
1806   
1807        - Documentation improved.
1808       
1809        - pykotme now also prints the user's account balance value
1810          if the user is registered in the Quota Storage and his
1811          limiting factor is "balance".
1812         
1813    - 1.14alpha8 :
1814   
1815        - bin/waitprinter.sh is now included to wait for
1816          SNMP enabled printers to be idle again before
1817          asking for their internal page counter.
1818          See sample configuration file for details.
1819         
1820    - 1.14alpha7 :
1821   
1822        - edpykota now doesn't check if the user/group is above
1823          quota. The check is only done at print time. This
1824          prevents the sending of email messages when creating
1825          user quotas if quota is already reached at creation
1826          time.
1827         
1828    - 1.14alpha6 :
1829   
1830        - Configuration file split and moved to /etc/pykota/pykota.conf
1831          and /etc/pykota/pykotadmin.conf to prevent simple users to
1832          have Read/Write access to the Quota Database.
1833          Don't forget to :
1834         
1835                $ chmod 640 /etc/pykota/pykotadmin.conf
1836               
1837        - storageuser and storageuserpw configuration fields reintroduced
1838          for the same reason.
1839         
1840        - Code cleaning for future implementation of email addresses
1841          support in the PostgreSQL and LDAP backends.
1842         
1843    - 1.14alpha5 :
1844       
1845        - Big bug fixed when changing the prices for a printer
1846       
1847    - 1.14alpha4 :
1848   
1849        - When adding an user, the user itself and its account balance
1850          are now added in the same LDAP entry. Before they were added
1851          as two different LDAP entries.
1852         
1853    - 1.14alpha3 :
1854   
1855        - Email field added to PostgreSQL database. An upgrade script
1856          is included in initscripts/postgresql.
1857       
1858    - 1.14alpha2 :
1859   
1860        - Typo fixed when using the --prototype option to edpykota
1861       
1862    - 1.14alpha1 :
1863   
1864        - Poor man's treshold included : users with a low account
1865          balance (below 1.0 by default, configurable) are sent
1866          a warning message.
1867         
1868        - All warning messages to users are now configurable. 
1869          NB : Warning messages to the administrator are not.
1870       
1871    - 1.13 :
1872   
1873        - Some small fixes wrt group handling.
1874       
1875        - The whole module code was passed through PyChecker and
1876          several small code inconsistencies were fixed,
1877          as well as a bug in the groups code.
1878         
1879    - 1.13alpha1 :
1880   
1881        - Bug fix wrt LDAP.
1882       
1883    - 1.12 :
1884   
1885        - More complete test added in edpykota.
1886       
1887    - 1.12alpha2 :
1888   
1889        - The previous bug fix was incomplete. This is corrected.
1890       
1891    - 1.12alpha1 :
1892   
1893        - Small bug fix.
1894       
1895    - 1.11 :
1896   
1897        - Now includes the pykotme command line tool, to produce
1898          printing quotes for users.
1899         
1900    - 1.10 :
1901   
1902        - Bug fixed wrt quota reports when print limiting is by
1903          account balance.
1904         
1905    - 1.09 :
1906   
1907        - Translations finalized.
1908       
1909        - Manpages updated.
1910       
1911        - Installation documentation improved wrt LDAP support.
1912       
1913    - 1.09beta2 :
1914   
1915        - The CGI script for quota reports works again, and
1916          is much more powerful.
1917       
1918    - 1.09beta :
1919   
1920        - edpykota finalized
1921       
1922    - 1.09alpha2 :
1923   
1924        - LDAP schema modified a bit. Please upgrade.
1925       
1926        - LDAP backend works !
1927       
1928        - repykota and warnpykota allow the root user to pass
1929          users or groups names on the command line. Users
1930          and groups names may contain wildcards.
1931         
1932        - repykota and warnpykota only reports or warns the
1933          current user when launched by non-root users.
1934         
1935        - Minor bug fixes. 
1936   
1937    - 1.09alpha1 :
1938   
1939        - More work on LDAP storage backend. Many options
1940          were added to /etc/pykota.conf to give some
1941          hints to the LDAP storage backend.
1942         
1943        - Severe database access optimizations were done by
1944          rewriting most of the Quota Storage backends drivers.
1945     
1946    - 1.08 :
1947   
1948        - Major bug fix wrt LPRng support for remote jobs.
1949       
1950        - Major bug fix wrt increase/decrease account balances.
1951       
1952    - 1.08alpha8 :
1953   
1954        - Code refactoring.
1955       
1956        - A single user/password pair is used to connect
1957          to the database backend. The storageuser configuration
1958          field, and its associated passwords storageuserpw, are
1959          not used anymore.
1960         
1961        - You can now set PyKota in debug mode, see sample configuration 
1962          file for details.
1963          WARNING : only Quota Storage backend queries are logged in
1964          debug mode, for now.
1965       
1966    - 1.08alpha7 :
1967   
1968        - Very latest LDAP schema.
1969       
1970        - Code enhancement wrt easy pluggability of PyKota attributes
1971          and object classes into an existing LDAP directory.
1972       
1973    - 1.08alpha6 :
1974   
1975        - Minor bug corrections
1976       
1977        - More work on LDAP : new schema
1978       
1979    - 1.08alpha5 :
1980   
1981        - More good work on LDAP storage.
1982          repykota now works reasonably well with the sample LDAP directory.
1983       
1984    - 1.08alpha4 :
1985   
1986        - LDAP schema included.
1987          THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS.
1988          LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA
1989          MAY CHANGE IN THE FUTURE. PLEASE TELL US
1990          WHAT YOU THINK ABOUT THIS SCHEMA ON THE
1991          MAILING LIST.
1992         
1993    - 1.08alpha3 :
1994   
1995        - External accounting methods were partly rewritten :
1996         
1997          - No more "broken pipe" should happen.
1998         
1999          - They now take care of the number of copies
2000            This may be unneeded though, if the postscript
2001            file already does this, because this would
2002            overcharge users (number of copies counted
2003            two times). NEEDS MORE TESTING.
2004           
2005          - The sample configuration file now contains 
2006            an external accounting method example which should
2007            work with all DSC compliant Postscript files.
2008           
2009        - Some small bugs were fixed.   
2010       
2011    - 1.08alpha2 :
2012   
2013        - Now works with net-snmp v5.0 and above.
2014          It already worked, but the sample configuration
2015          file didn't contain appropriate values...
2016       
2017    - 1.07 : Release of the Shame !
2018   
2019        - The external accounting methods driver was left out of
2020          the CVS tree. Nobody could use it since it wasn't included !
2021         
2022    - 1.06 :
2023   
2024        - Severe bug fixed : if you had a printer in
2025          power saving state which couldn't answer immediately,
2026          a bug was triggered.
2027          It was caused by a bad copy/paste which
2028          forgot to import a Python module at run time.
2029         
2030    - 1.05 :
2031   
2032        - External accounters are finally available !
2033          This means that you can plug any page accounting
2034          method you like by setting the appropriate
2035          'accounter' field in /etc/pykota.conf
2036          See the sample conf/pykota.conf.sample to
2037          learn how to do.
2038         
2039          NB : Both 'external' and 'stupid' accounting methods
2040               account a job size just before *this* job is
2041               sent to the printer.
2042               The original 'querying' method accounts a job
2043               size just before *the next* job is sent to
2044               the printer.
2045       
2046    - 1.05alpha3 :
2047   
2048        - A 'stupid' and unreliable accounting method was
2049          implemented to serve as an example on how to
2050          do this sort of things. This method only counts
2051          the 'showpage' statements in the input data.
2052          See sample configuration file for details.
2053          Pluggable accounting methods work, but I advise
2054          you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE.
2055          It is not reliable enough to be used.
2056          Use the 'querying' accounting method instead.
2057         
2058    - 1.05alpha2 :
2059   
2060        - Pluggable accounting methods.
2061       
2062        - Better error handling.
2063       
2064    - 1.05alpha1 :
2065   
2066        - SECURITY file added to help improve PyKota's security.
2067       
2068        - Extracting the printer's internal page counter is now
2069          tried several times, waiting several seconds between
2070          two tries. This lets the time to warm up for some printers
2071          which don't answer when they are sleeping (my Apple
2072          LaserWriter 16/600 PS is in this case, maybe others too)
2073         
2074        - Small display bug fixed in repykota
2075         
2076    - 1.04 :
2077   
2078        - Default print policy for users/groups unknown from
2079          the print quota system is now DENY instead of ALLOW,
2080          since ALLOW can generate inaccurate results
2081          (incorrect job sizes charged to the wrong persons)
2082         
2083        - LPRng support works !
2084       
2085        - A bug was introduced some time ago wrt printers' default
2086          policy for unknown users. It is now corrected.
2087       
2088        - repykota now displays prices per job and per page for each
2089          printer, if they are defined.
2090         
2091        - Minor display bug fixed in repykota.
2092       
2093        - Problem when running repykota with an empty database was fixed.
2094       
2095    - 1.03 :
2096   
2097        - Upgrade script included for earlier versions.
2098          Please look inside the initscripts subdirectory.
2099          THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE.
2100         
2101        - repykota now reports account balances too.
2102       
2103        - PyKota now has a nice logo, see the logos
2104          subdirectory.
2105       
2106        - Manual pages were finally updated.
2107       
2108        - Group quotas seem to work now !
2109       
2110        - The new database schema allows to keep an history of all
2111          jobs as well as charge users per page and/or per job,
2112          and track users' account balance.
2113         
2114        - edpykota now accepts much more command line options to 
2115          use the new functionnalities. See edpykota --help for
2116          details.
2117         
2118        - The installation script now allows to install the sample
2119          configuration file during first installation.
2120         
2121        - More group quota code works, but still not finished. 
2122       
2123        - The CGI script displays a link to PyKota's website.
2124       
2125        - The job history is now kept, this will allow per-period
2126          reports in the future.
2127         
2128        - After having modified the quota for an user with edpykota,
2129          a quota check is done to eventually warn the user/admin about
2130          a quota which is too low to print.
2131         
2132        - A workaround is provided for HP Printers : their internal
2133          page counter is only saved to NVRAM in a 10 increment, so
2134          if you switch them off and then on, the reported page counter
2135          may be lower than the real number of pages printed.
2136          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
2137          We unconditionnally set the last job's page count to
2138          abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2))
2139          in this case.
2140          For a more accurate accounting, never switch your HP printers
2141          off.
2142         
2143        - A fix is provided for printers which only have a volatile 
2144          page counter (reset to 0 every time you switch the printer on)
2145          This should allow PyKota to work reasonably fine with HP Laserjet
2146          4L/5L/6L, not perfect, but better than nothing.
2147          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
2148          For a more accurate accounting, never switch your HP printers
2149          off. This is untested, please report any problem.
2150         
2151        - A bug was fixed when edpykota --add was used with users who already
2152          had a quota on the specified printer.
2153         
2154        - A small display bug in repykota was introduced in preliminary
2155          1.03 versions, and fixed later on.
2156         
2157        - Some minor bugs which happened in rare situations were fixed.
2158       
2159        - Support for AppleTalk printers was added, see sample configuration
2160          file for details.
2161         
2162        - Users and group printing can now be controlled (limited) either by 
2163          print quota or by account balance.
2164       
2165    - 1.02 :
2166   
2167        - The installation script now checks for software availability
2168          and in case a software is missing asks the user if he
2169          wants to continue with the installation or abort it.
2170         
2171        - The configuration file pykota.conf is now expected to be
2172          found in /etc instead of in /etc/cups
2173          The installation script prompts the user to see if he
2174          wants to move an old configuration file to the new location
2175          if needed.
2176         
2177        - Improved documentation.
2178       
2179        - You can now set the tcp/ip port on which the Quota Storage
2180          Server is listening, see sample configuration file for details.
2181       
2182        - Better general error handling.
2183       
2184        - Upgrade script for pre 1.01 PostgreSQL database schema is now
2185          included as well.
2186       
2187    - 1.01 :
2188   
2189        - The configuration file now accepts an option   
2190          to choose the recipient(s) of the email messages :
2191         
2192            - DevNull means no one will receive them.
2193            - User means only the user will receive them.
2194            - Admin means only the admin will receive them.
2195            - Both means the User and the Admin will receive them.
2196           
2197        - The configuration file now uses hard-coded default values
2198          when an option is not set. See sample configuration file
2199          for details.
2200         
2201        - Manual pages are included since 1.00, but I forgot to   
2202          add this information to this file.
2203         
2204        - Redistribution terms for the official package have 
2205          softened and are now fully GPL compatible :
2206          unrestricted modification is now allowed even for
2207          the version number.
2208         
2209    - 1.00 :
2210   
2211        - edpykota now accepts a --noquota option. This
2212          disable quota checking while still doing page
2213          accounting. This is really useful for people
2214          who don't want to limit their users but want
2215          to know how much pages they print.
2216         
2217        - Some untested scripts were added to retrieve
2218          the life time page counter of non-SNMP printers.
2219         
2220        - Every directory now has a specific README file. 
2221       
2222    - 0.99 :
2223   
2224        - Under some circumstances while the user wasn't allowed
2225          to print, he didn't receive any email message. It is
2226          now fixed.
2227         
2228        - When an user wasn't allowed to print, the quota for
2229          the previous user wasn't updated. This is now fixed.
2230         
2231    - 0.98 :
2232   
2233        - Correctly handle the case where the printer is switched off.
2234       
2235        - Small bug wrt syslog fixed.
2236       
2237    - 0.97 :
2238   
2239        - edpykota accepts wildcards on its command line for users/groups too
2240          if the --add option is not set, e.g. :
2241         
2242              $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*"
2243             
2244        - If no user name is passed at all, then a default wildcard of "*"
2245          which means apply the command on ALL users for this printer is used.
2246         
2247        - Small bug fixes.
2248       
2249    - 0.96 :
2250
2251        - Options requester, policy, admin, adminmail and gracedelay can now
2252          be set either globally or per printer. The printer option has
2253          priority if both are defined.
2254
2255        - More powerful configuration parser.
2256       
2257        - If all options are defined globally, there's no need to
2258          define a section for each printer in the configuration
2259          file anymore. Just define a [global] section and it's ok.
2260
2261    - 0.95 :
2262
2263        - External requesters for printers finally added.
2264
2265        - Full internationalization (english and french are supported)
2266 
2267        - More complete quota usage report
2268
2269        - CGI script to access to the quota usage report
2270
2271        - Several bugs fixed.
2272
2273
2274    - 0.9 :
2275
2276        - First public version
Note: See TracBrowser for help on using the browser.