root / pykota / trunk / NEWS @ 2904

Revision 2904, 78.8 kB (checked in by jerome, 18 years ago)

Previously reported MySQL problem is now fixed.

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