root / pykota / trunk / NEWS @ 2935

Revision 2929, 79.0 kB (checked in by jerome, 18 years ago)

Fixed a problem with the overwriting of the job's billing code.

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