root / pykota / trunk / NEWS @ 2913

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

Fixed minor problems with pkipplib.

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