root / pykota / trunk / NEWS @ 2773

Revision 2773, 76.8 kB (checked in by jerome, 18 years ago)

pkusers is now optimized like pkprinters, pkbcodes and edpykota.

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