root / pykota / trunk / NEWS @ 1952

Revision 1952, 53.4 kB (checked in by jalet, 19 years ago)

Introduced the new pkmail command as a simple email gateway

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# $Id$
2
3PyKota - Print Quota for CUPS
4
5(c) 2003-2004 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
19
20============================================================
21
22PyKota NEWS :
23
24    - 1.21alpha7 :
25   
26        - Introduction of the pkmail email gateway.
27       
28    - 1.21alpha6 :
29   
30        - Fix for LPRng filenames.
31       
32        - Added Turkish translation thanks to Baris Cicek.
33       
34    - 1.21alpha5 :
35   
36        - Improved ESC/P2 miniparser for Stylus Photo printers.
37       
38        - Implemented the --savetoner command line option to pkbanner.
39       
40        - Improved pkbanner's help and messages.
41       
42    - 1.21alpha4 :
43   
44        - Fixed job's data file detection code for LPRng.
45       
46        - Fixed a problem with PJL and PowerSave mode,
47          thanks to Wilson Roberto Afonso.
48       
49    - 1.21alpha3 :
50   
51        - PyKota can now generate its own banners, and either account
52          for them or not, depending on newly introduced directives
53          in pykota.conf
54          Thanks to Matt Hyclak for the patch.
55         
56    - 1.21alpha2 :
57   
58        - Installation script is now non interactive again, as it should
59          have stayed from the beginning. Dependencies checking can
60          be done by launching the checkdeps.py command.
61         
62    - 1.21alpha1 :
63   
64        - added an IPP messages miniparser. Extraction of the client
65          hostname is now considered to be fiable, at least until
66          the CUPS developpers change something...
67       
68    - 1.20 :
69   
70        - Version number changed.
71       
72    - 1.20beta :
73   
74        - Norwegian (Bokm� preliminary translation added.
75       
76        - German translation was finalized.
77       
78        - Greek translation was finalized.
79       
80        - For urgent legal reasons, a "privacy" directive has been added
81          to pykota.conf, to hide jobs' title, filename and options
82          in the history.
83         
84        - Minor changes in the debian directory.
85       
86    - 1.20alpha27 :
87   
88        - Fixed many problems with translation files. In particular
89          the brasilian portuguese translation file was incorrectly
90          installed into the french "breton" locale directory.
91         
92        - Finished French translation. 
93         
94    - 1.20alpha26 :
95   
96        - LPRng support code should now better detect network
97          printers' hostnames or IP addresses.
98         
99        - Fix for recently introduced bug in LPRng support.
100       
101        - Fix for incorrect locale setting when starting.
102       
103    - 1.20alpha25 :
104   
105        - pkprinters allows --list to normal users, but require user
106          to be a PyKota administrator when another command line
107          option is used.
108         
109        - pkhint doesn't use absolute path to search for helper commands
110          anymore.
111         
112        - Spanish translation ready for 1.20.   
113       
114    - 1.20alpha24 :
115   
116        - Now warnpykota only warns users limited by balance once.
117       
118        - Now warnpykota only warns users who have ever printed,
119          to not cause confusion to users who have just opened
120          their account.
121       
122        - Prepared help messages for translations.
123       
124    - 1.20alpha23 :
125   
126        - Add workaround for locale problem.
127       
128    - 1.20alpha22 :
129   
130        - Hopefully final fix for data encoding charset.
131       
132        - edpykota now refuse to work if the user is not a PyKota admin.
133       
134        - Fixes a recently introduced bug with users groups and PostgreSQL.
135       
136    - 1.20alpha21 :
137   
138        - Now dumpykota refuses to launch if the current user is not
139          a PyKota administrator (a PyKota administrator is an user
140          allowed to read the pykotadmin.conf file).
141         
142        - Now any PyKota administrator can use repykota and warnpykota
143          with additionnal arguments, not only the root user.
144         
145        - Improved documentation a bit.
146       
147    - 1.20alpha20 :
148   
149        - Reduced delay in internal SNMP and PJL_over_TCP handlers
150          from 2 to 1 second.
151       
152        - dumpykota can now output XML.
153       
154    - 1.20alpha19 :
155   
156        - Improved user groups and user groups quotas dumps in dumpykota.
157       
158        - Finished implementation of LDAP support in dumpykota.
159       
160        - The md5 sum of the job's datas is now available as an
161          hexadecimal digest in the PYKOTAMD5SUM environment variable.
162         
163        - The description, filename, title, and options fields
164          are now stored as UTF-8 strings in both LDAP and PostgreSQL.
165          Proper charset is used during extraction from the database.
166         
167    - 1.20alpha18 :
168   
169        - Experimental autopykota command to initialize user
170          account and quota entries on first print while not
171          resetting the balance value if not needed.
172         
173        - Added the new "winbind_separator" directive to strip
174          out the Samba/Winbind domain name while printing if
175          needed (Off by default).
176         
177    - 1.20alpha17 :
178   
179        - Added --hardreset command line option to edpykota.
180       
181        - Fixed problem with accented chars in title, filename
182          or options and LDAP backend.
183         
184    - 1.20alpha16 :
185   
186        - Internal handling of socket based PJL queries over
187          port tcp/9100 is now available with the magic
188          'pjl' value in the hardware accounter.
189         
190    - 1.20alpha15 :
191   
192        - LDAP pykotaAccountBalance objects were always created
193          attached to the pykotaUser objects. This is now
194          fixed and the value of balancebase in pykota.conf
195          is now correctly used.
196         
197    - 1.20alpha14 :
198   
199        - Belgian translations added (copy of the french ones).
200       
201        - External hardware accounter now loops until
202          a result can be read correctly.
203         
204        - pkhint now suggest the internal snmp handling instead
205          of the external one.
206         
207    - 1.20alpha13 :
208     
209        - Hardware accounter now accepts the special
210          'snmp' value, meaning ALL is done from main code
211          without launching any subprocess.
212          You need the http://pysnmp.sf.net Python module
213          for this to work (tested with v3.4.2)
214         
215        - Increased delay between two loops iterations 
216          to 2 seconds in waitprinter.sh to diminish
217          CPU load.
218         
219    - 1.20alpha12 :
220   
221        - waitprinter.sh rewritten from scratch to wait
222          for printer status stabilization.
223       
224    - 1.20alpha11 :
225   
226        - Generic data dumper 'dumpykota' introduced.
227          Works only with PostgreSQL backend for now.
228         
229    - 1.20alpha10 :
230   
231        - Added fix for incorrect job's size computation when
232          hardware accounting fails.
233         
234    - 1.20alpha9 :
235   
236        - Small fixes wrt subprocesses.
237       
238    - 1.20alpha8 :
239   
240        - Added full support of PCL3 : HP Deskjet printers are now
241          supported.
242       
243    - 1.20alpha7 :
244   
245        - First draft of PCL3GUI (Deskjet 640C for example) analyzer.
246          Needs more work, but no documentation is available.
247       
248    - 1.20alpha6 :
249     
250        - Improved mailandpopup.sh script.
251       
252        - Small fixes for LPRng.
253       
254        - Now exports PYKOTAPRINTERHOSTNAME for network printers'
255          hostname or IP address. Set to 'localhost' when not
256          meaningful.
257         
258        - Fixed issue with how mod_auth_ldap Apache modules
259          fills the REMOTE_USER environment variable.
260         
261        - Fixed a bug in LDAP user deletion code.
262       
263    - 1.20alpha5 :
264     
265        - Introduces the new configuration directive 'onaccountererror'
266          to specify what must be done whenever the software or
267          hardware accounter fails. Allowed values are 'continue' and
268          'stop' (default).
269         
270        - Minor fix in software accounter for a recently introduced
271          problem.
272         
273    - 1.20alpha4 :
274   
275        - Added support for more ghostscript devices in ESC/P2
276          analyzer : stcolor, st800, escp, escpc are now supported.
277         
278    - 1.20alpha3 :
279       
280        - Small improvement in PostScript parser to avoid being
281          fooled by a change in number of copies :
282          The user can't ask for 200 copies of page 1 and 1 copy
283          of page 2 to fool PyKota anymore :
284          this would have been accounted for as 1 copy only, but
285          now the maximum value seen is used.
286         
287        - Relax checks for PCL5 header to accomodate some strange
288          printer drivers.
289         
290        - Now hardware accounting method works like software
291          accounting method wrt the subprocess' output.
292         
293        - Hardware and Software accounting stop the print queue 
294          when the accounting subprocess didn't work. This will
295          be configurable in the near future.
296         
297    - 1.20alpha2 :
298   
299        - Now software accounting method reads accounter's
300          answer until a line with a single integer is
301          obtained or until all of its output has been read.
302          This should fix the problem some people have
303          when strange locale related messages are sent
304          when running subprocesses (Solaris only ?).
305         
306        - First version of ESC/P2 analyzer. Seems to work
307          ok at least with 'epson', 'epsonc', 'eps9mid'
308          and 'esp9high' ghostscript devices. Needs more
309          work to correctly analyze other devices.
310       
311    - 1.20alpha1 :
312   
313        - Fixed problem with number of copies in PCLXL parser.
314       
315        - Fixed problem with number of copies in PCL5 parser,
316          when number of copies was set outside of and before first
317          page.
318       
319        - Added workaround for number of copies directly set in
320          PostScript code.
321         
322        - Added german translation.
323       
324        - Fixed problem on first print for user group quota when
325          "enforcement: strict" is used.
326       
327        - Fixed interpolation problem in french translation.
328       
329    - 1.19 :
330   
331        - Updated existing translations.   
332       
333        - Added final Thai and Greek translations.
334       
335        - Minor last minute bug fixes.
336       
337    - 1.19beta :
338   
339        - LPRng support for both software and hardware accounting seems
340          to be OK.
341         
342        - Translation files fixed because of fuzzy matching problem. 
343       
344        - Fixed path to Swedish translation: 'sv' instead of 'se'.
345       
346        - Added first draft of Thai translation.
347       
348        - Fixed some minor bugs with Pychecker.
349       
350    - 1.19alpha35 :
351   
352        - Generic PDL analyzer now supports Binary PostScript documents
353          in addition to DSC compliant ones.
354       
355    - 1.19alpha34 :
356   
357        - LPRng support : software accounting seems to work fine,
358          but hardware accounting doesn't work yet.
359   
360    - 1.19alpha33 :
361   
362        - pykosd now accepts command line arguments. Enjoy !
363          NB : due to a bug in xosd, you need xosd version 2.2.8
364          or higher if you don't use the default C locale.
365         
366    - 1.19alpha32 :
367   
368        - Early (not working) version of the LPRng support rewrite.
369       
370        - Saner default configuration file.
371       
372    - 1.19alpha31 :
373   
374        - Fixed a double Python2.1 incompatibility with newer versions,
375          which prevented the PCL5 and the PCLXL parsers to work with
376          this older version of Python.
377         
378    - 1.19alpha30 :
379   
380        - Introduction of preliminary version of the pykosd command
381       
382        - Usernames, Groupnames and Printernames can now contain
383          ANY character, expected '/' and '@'.
384       
385        - Integrated most of the Debian work from Sergio
386          Gonz�z Gonz�z
387         
388    - 1.19alpha29 :
389   
390        - PCLXL parser should now correctly handle number of
391          copies set for each page.
392         
393        - Added testsuite for generic PDL analyzer.
394       
395        - Typo fixed in PCLXL parser.
396       
397        - Correctly dispatches error messages depending on the
398          situation : tools which can be run interactively will
399          ALWAYS output their logs to stderr, excepted for
400          their DEBUG messages, for which the "logger:"
401          directive as set in pykota.conf will be honored.
402          Tools which can't be run interactively will ALWAYS
403          honor the "logger:" directive as set in pykota.conf
404         
405    - 1.19alpha28 :
406   
407        - The description field for printers can now be set,
408          and is displayed in reports.
409         
410        - Fixed a small problem in SQL backend code.
411         
412        - Improved pkhint
413       
414        - First working PCL6 (aka PCLXL) parser !
415          Doesn't handle copies yet.
416       
417    - 1.19alpha27 :
418   
419        - Additionnal 10% speed increase in PCL5 parser for GhostScript
420          generated files (untested yet with other PCL files).
421         
422        - Reintroduced the use of mmap in PCL5 parser : this speedups
423          PCL5 parsing by almost 4 times.
424          This 4x with the 3x below give us in fact a twelvefold increase
425          in performance for PCL5 parsing !
426         
427        - The Python accelerator Psyco is now used if available
428          in the generic PDL parser : it speedups PCL5 parsing by
429          almost three times automagically.
430         
431    - 1.19alpha26 :
432   
433        - Fixed PCL5 parser according to the sources of rastertohp.
434       
435        - Fixed number of copies handling in PCL5 parser : the number
436          of copies could vary from page to page.
437         
438        - Added more debug information to PCLXL parser. 
439       
440    - 1.19alpha25 :
441   
442        - Added new "description" field to printers in both
443          PostgreSQL and LDAP. No code to handle this yet.
444         
445        - Reversed the fix for power save mode in printers : 
446          no paper or tray open would have caused people to
447          be undercharged.
448         
449        - Preliminary version of MySQL initialization script.
450         
451    - 1.19alpha24 :
452   
453        - Native PDF parsing code now works perfectly with
454          Python 2.1 and above, and is way faster than before.
455          GhostScript is not used anymore to convert PDF to PS,
456          because PDF is parsed directly.
457         
458    - 1.19alpha23 :
459   
460        - Fixed waitprinter.sh wrt PowerSave mode and some
461          printers. Thanks to Ryan Suarez.
462       
463        - Smart PDL analyzer now recognizes PDF too : two
464          PDF parsing methods are used : a native one which
465          is very fast but requires Python 2.3 or above, and
466          a slower one which uses Ghostscript. PyKota detects
467          automatically which method to use depending on your
468          version of Python.
469       
470        - All tracebacks now include PyKota's version number.
471         
472    - 1.19alpha22 :
473   
474        - Ensures that the file pointer for job's data is
475          reset to the start of the job's datas after the
476          job's size pre-computation phase.
477         
478        - Improved PostScript detection code for bad drivers
479          which don't correctly switch languages between PJL
480          and PS.
481       
482        - Even better debugging code.
483       
484    - 1.19alpha21 :
485   
486        - Additionnal check.
487       
488    - 1.19alpha20 :
489   
490        - More complete logging messages wrt accounters.
491       
492        - Now catches early failures occuring when the configuration
493          files are parsed.
494       
495    - 1.19alpha19 :
496   
497        - Fixed over-verbose exits when displaying help
498          or version.
499         
500        - Extended some PATH in the shell scripts 
501       
502        - Deleting an user now also deletes his payments history.
503       
504        - Doesn't explicitely ignore SIGCHLD anymore. This seems to
505          cause problems.
506
507    - 1.19alpha18 :
508   
509        - History of payments is now stored in the database, and
510          updated each time an user's balance is modified with
511          edpykota --balance. This history represents each time
512          the user was given some positive or negative credit,
513          but doesn't reflect price paid for jobs, which appear
514          in the jobs history instead.
515         
516        - Jobs history web reports now include the job's size in
517          bytes. Also columns were reordered to render the report
518          more easily readable.
519         
520    - 1.19alpha17 :
521   
522        - Mysterious bug (program exited unexpectedly without leaving
523          any log message) which occured once in a while when
524          cancelling jobs should be fixed now.
525         
526        - New 'crashrecipient' directive. Disabled by 
527          default. See sample configuration file to see how
528          to activate it. It is suggested that you activate it.
529         
530        - New PYKOTAJOBSIZEBYTES environment variable exported, 
531          which contains the job's size in bytes. Empty jobs
532          are now denied. This value is now stored in the job
533          history (but not yet displayed from the web interface)
534         
535        - Preliminary work on payments storage : the PostgreSQL 
536          and LDAP schemas should be OK now, but no code is written
537          yet to support this functionnality.
538         
539    - 1.19alpha16 :
540   
541        - the newuser and newgroup LDAP specific directives now accept
542          a second parameter to attach(), "fail" or "warn". If no entry
543          is found to attach PyKota attributes to, and "fail" was used,
544          then action is aborted and program exits in error. If "warn"
545          is used, a new entry is created but a warning message is logged.
546         
547        - The job's originating hostname is now stored in the database,
548          and exported as PYKOTAJOBORIGINATINGHOSTNAME in the environment.
549       
550    - 1.19alpha15 :
551   
552        - The old pykota filter is now removed. This means that
553          currently PyKota doesn't support LPRng anymore, but
554          LPRng support will be re-added, improved, in the near future.
555         
556    - 1.19alpha14 :
557   
558        - PYKOTAPRECOMPUTEDJOBSIZE and PYKOTAPRECOMPUTEDJOBPRICE
559          are now exported as environment variables.
560         
561        - Heavy CPU usage is now completely fixed it seems, by
562          introducing some 0.01 second sleeping when nothing to do.
563         
564        - Pre-computation of the job's size is now only
565          done when enforcement is "STRICT", this saves
566          CPU for people who don't want to use this new
567          feature.
568         
569        - New 'enforcement' directive which accepts either
570          STRICT or LAXIST. See sample configuration file
571          for details.
572         
573    - 1.19alpha13 :
574   
575        - Get back to an old version of the polling loop which
576          worked fine, but non-optimally. Will be optimized
577          as time permits.
578         
579    - 1.19alpha12 :
580   
581        - Job's size is now precomputed unconditionnally using
582          the generic PDL analyzer.
583          NB : This value is not yet used to pre-allow/deny the
584          job.
585       
586    - 1.19alpha11 :
587   
588        - The pykota filter is now completely deprecated and
589          can't be used anymore. LPRng users MUST download
590          an older version of PyKota. CUPS users MUST use
591          cupspykota. Better support for LPRng will come
592          in the near future.
593         
594    - 1.19alpha10 :
595   
596        - pykotme now uses generic PDL Analyzer directly instead
597          of spawning a new process.
598         
599        - Improvements to generic PDL Analyzer.
600       
601        - 25% Speedup in PCL parser. Getting more of the Python version
602          will probably be difficult, since the completely table driven
603          parser I wrote is slower than the original algorithm. Then,
604          the original algorithm is still used for now.
605          Probable that more speed could be achieved using mmap, at the
606          expense of severe memory consumption.
607       
608        - configuration simplifications : the "accounter" directive's
609          'hardware' arguments now accepts what was in the "requester"
610          directive as it's content. The "requester" directive is not
611          supported anymore. See sample configuration file for details.
612       
613    - 1.19alpha9 :
614       
615        - pkpgcounter is now just a wrapper around the PDLAnalyzer class
616       
617        - pykotaOptions LDAP attribute now accepts non-ascii characters
618          too.
619         
620        - First try at cupspykota main loop rewrite
621       
622    - 1.19alpha8 :
623   
624        - 'querying' accounting method is now called 'hardware'
625       
626        - 'external' accounting method is now called 'software'
627       
628        - 'stupid' accounting method doesn't exist anymore
629       
630        - 'snmp' requester doesn't exist anymore
631       
632        - code simplifications in external requester
633       
634    - 1.19alpha7 :
635     
636        - Database schema change (both LDAP and PostgreSQL) to
637          allow storage of the job-originating-hostname attribute.
638          An SQL upgrade script is present. The code is not yet
639          capable of setting/retrieving this attribute. Support
640          for this functionnality will be added in the future.
641         
642    - 1.19alpha6 :
643   
644        - problems connecting to SMTP servers are now catched.
645       
646        - pykotme now uses pkpgcounter to compute the size of the
647          job. This modification adds PCL5 and soon PCLXL (PCL6)
648          support. You can now get quotes for PCL in addition to
649          PostScript.
650         
651        - pkpgcounter now includes first try at PCLXL parser. 
652          It is currently disabled until it's finished.
653         
654    - 1.19alpha5 :
655   
656        - cupspykota polling loop fix for MacOSX (at least)
657       
658        - logging subsystem now logs PID too, to ease diagnosing
659          problems under heavy load.
660         
661        - pkpgcounter enhancements.
662       
663        - pkprinters --skipexisting now tells pkprinters to not
664          modify existing printers when --add is used.
665          pkprinters logs a warning message whenever --add is
666          used and a printer already exists.
667         
668        - LDAP schema now allows accented chars in pykotaFileName
669          and pykotaTitle attributes.
670       
671    - 1.19alpha4 :
672   
673        - a bad copy&paste prevented pkpgcounter to work at all, this
674          is now fixed.
675         
676        - improved PCL support in pkpgcounter, with the use of
677          HP PCL/PJL Reference Set
678          PCL5 Printer Language Technical Quick Reference Guide
679       
680        - pkpgcounter now uses mmap to speed things up : duration
681          is halved with the sample 87 pages PCL document I use for
682          testing.
683         
684    - 1.19alpha3 :
685   
686        - pkprinters now accepts the --list command line argument
687          to list informations about printers.
688         
689    - 1.19alpha2 :
690   
691        - pkpgcounter is now included as a smart external
692          accounter which can handle both PostScript and PCL.
693         
694    - 1.19alpha1 :
695   
696        - PYKOTALIMITBY environment variable is now exported too.
697       
698        - Inclusion of Michele Baldessari's work on autotools.
699       
700    - 1.18 :
701   
702        - Improved documentation
703       
704    - 1.18beta2 :
705     
706        - Fix for raw jobs with cupspykota
707       
708    - 1.18beta :
709   
710        - Small fix for new waitprinter.sh script
711       
712        - Better tracebacks on error conditions
713       
714        - Improved translations
715       
716        - Improved documentation
717       
718    - 1.18alpha15 :
719
720        - waitprinter.sh replaced by a new and possibly faster
721          and more powerful one.
722   
723        - Names can now begin with a digit.
724       
725        - Stability improvement for quotas set on printers groups.
726       
727    - 1.18alpha14 :
728   
729        - Catches more (all ?) problems with SMTP servers instead
730          of breaking.
731         
732        - Italian translation added.
733       
734    - 1.18alpha13 :
735   
736        - Pre and Post hooks are now available in the pykota
737          filter as well.
738         
739        - The pykota filter doesn't check last user's quota
740          anymore when delayed hardware accounting is used :
741          this will be done anyway the next time the last
742          user will print again. This saves some database
743          queries which are unneeded.
744       
745    - 1.18alpha12 :
746   
747        - Pre and Post hooks to external commands with many
748          many environment variables available are useable
749          from the cupspykota backend.
750          See sample configuration file for details and help.
751         
752    - 1.18alpha11 :
753   
754        - Hopefully final fix wrt groups (users and printers)
755       
756    - 1.18alpha10 :
757   
758        - Fixed nested printer groups accounting.
759       
760        - Fixed user groups + printer groups problem.
761       
762    - 1.18alpha9 :
763   
764        - Fix for LDAP problem when job price was 0.
765       
766        - Fix for empty user groups with LDAP.
767       
768        - Preliminary version of the snmpprinterstatus command added.
769       
770    - 1.18alpha8 :
771   
772        - Don't retrieve data when not needed.
773          This avoids many database queries.
774       
775    - 1.18alpha7 :
776   
777        - New experimental ldapcache directive to improve
778          LDAP caching.
779         
780    - 1.18alpha6 :
781       
782        - New configuration directive added : maildomain
783          to specify the domain to send mail to when user
784          email address is not set in PyKota database.
785         
786        - More complete email message headers. 
787         
788    - 1.18alpha5 :
789   
790        - Debian packaging specific files, contributed by
791          Peter Hawkins are now included in the project's tree.
792         
793        - Preliminary work on future low-level LDAP caching to speed
794          up modifications (at least).
795         
796    - 1.18alpha4 :
797   
798        - Applied some of the modifications suggested by
799          Peter Hawkins, for better Debian integration.
800          Most notably cupspykota, pykota, and the shell
801          scripts are now installed into /usr/share/pykota
802          instead of into /usr/bin
803          BEWARE : double check that your symbolic link
804          to cupspykota is correct, and that your pykota.conf
805          file use correct path for the shell scripts like
806          waitprinter.sh and al.
807         
808        - pkhint command added, to help in configuring correct
809          accounting method for PyKota.
810         
811    - 1.18alpha3 :
812   
813        - Fixed a rare bug in cupspykota backend which gave
814          incorrect "CUPS backend died abnormally" messages.
815       
816    - 1.18alpha2 :
817   
818        - Added the pkprinters command line tool to manage printers
819          exclusively.
820       
821    - 1.18alpha1 :
822   
823        - Preliminary work on Relationnal Database Independance.
824       
825        - Sample report made from OpenOffice.org added as PDF and SXC.
826       
827    - 1.17 :
828   
829        - Finalized release.
830       
831    - 1.17alpha2 :
832   
833        - Fix stupid software accounting bug in the CUPS backend.
834       
835    - 1.17alpha1 :
836   
837        - User/Group deletion code in edpykota rewritten.
838       
839    - 1.16 :
840   
841        - Preliminary documentation on how to use OpenOffice.org
842          to create personnalized reports for PyKota + PostgreSQL.
843         
844        - Spanish installation guide for CUPS+PyKota+PostgreSQL
845          added to the documentation. Doesn't yet document v1.16
846          though.
847       
848        - Portuguese Portuguese translation replaces Brasilian
849          Portuguese Translation. Brasilian portuguese
850          translation is still available under the 'br' locale.
851       
852    - 1.16beta3 :
853   
854        - Swedish translation added.
855       
856        - Small fix in documentation.
857       
858    - 1.16beta2 :
859   
860        - Small fix for job cancelling code while job already
861          printing in CUPS backend.
862         
863        - Big fix wrt printing policies for unknown users. 
864       
865    - 1.16beta1 :
866   
867        - Manpages upgraded.
868       
869    - 1.16alpha26 :
870   
871        - Job price is now computed like this :
872       
873          SUM((NbPages * PricePerPage) + PricePerJob)
874         
875          For current printer and all the printers groups it is
876          a member of, if any.
877         
878          This may be difficult to grasp, but offers unprecedented
879          flexibility.
880         
881    - 1.16alpha25 :
882   
883        - Email address can be set at user creation time,
884          using the following syntax :
885         
886            $ edpykota --add username/email@yourdomain.com
887       
888    - 1.16alpha24 :
889   
890        - CGI script now can show the printing history.
891       
892        - Bug wrt number of copies should be fixed.
893       
894        - Major code refactoring => It is now possible to
895          automatically add printers on first print.
896       
897    - 1.16alpha23 :
898   
899        - Fixed potential accuracy problem if a user printed on
900          several printers at the very same time.
901       
902    - 1.16alpha22 :
903   
904        - edpykota now allows adding printers to printer groups
905       
906    - 1.16alpha21 :
907   
908        - Allows the dot in user and printer names.
909       
910        - Printer groups are now cached too.
911       
912    - 1.16alpha20 :
913   
914        - Fixed several small bugs with the help of PyChecker.
915       
916    - 1.16alpha19 :
917     
918        - Fixed a bug in PostgreSQL backend's code.
919       
920    - 1.16alpha18 :
921   
922        - Initial code for printer groups support. Printer groups have
923          to be added with external tools like psql or gq for example.
924          Printer groups seems to work fine with users. Untested with user
925          groups for now.
926
927        - Several minor visual problems fixed in reports.
928       
929        - Fixed a bug in LDAP date handling.
930       
931        - Fix for LDAP problem with some combination of OpenLDAP + Python-LDAP
932          + some particular settings.
933         
934        - mailandpopup.sh shell script added. See sample configuration file
935          for details.
936       
937        - Several environment variables are now exported when executing
938          external commands (accounters, requesters, mailers) :
939           
940            PYKOTAUSERNAME => user who is printing
941            PYKOTAPRINTERNAME => printer on which the job is being sent
942            PYKOTATITLE => Job's title
943            PYKOTAFILENAME => Job's filename
944            PYKOTACOPIES => number of copies asked
945            PYKOTAOPTIONS => print command options (-o with CUPS)
946         
947    - 1.16alpha17 :
948   
949        - Added portugues translation.
950       
951        - Major code refactoring in accounters.
952       
953    - 1.16alpha16 :
954   
955        - Code refactoring, and addition of a real HTML reporter, to
956          have nice looking and useful web based reports (in the future).
957       
958        - Added utolower configuration option to convert all usernames
959          to lowercase during printing.
960         
961    - 1.15alpha15 :
962   
963        - Now includes the papwaitprinter.sh shell script to wait for
964          AppleTalk enabled printers.
965         
966    - 1.16alpha14 :
967   
968        - Now printing on a printer not defined in the Quota Storage,
969          results in the job being cancelled or stopped, depending
970          on the printing system.
971         
972    - 1.16alpha13 :
973   
974        - Small bugfix wrt Python v2.1
975       
976        - If username is an empty string, user root is assumed.
977       
978        - 'postgresql' is not recognized anymore as a storage backend,
979          you have to use 'pgstorage' instead. 'postgresql' used to
980          be supported for compatibility with very old PyKota versions,
981          this is not the case anymore.
982         
983    - 1.16alpha12 :
984   
985        - Job price added to job history, to keep accounting correct
986          if a printer price per page or per job is modified and the
987          history is not reset : the history would have given a false
988          amount of money charged before the printer's prices were
989          modified, this addition solves the problem.
990         
991    - 1.16alpha11 :
992   
993        - Some preliminary modifications to the database structure for
994          PostgreSQL and OpenLDAP. A script to upgrade a PostgreSQL
995          database is now provided. LDAP attributes now support
996          eq, pres and sub indexes.
997         
998        - Job history now contains additional informations : 
999          number of copies, filename, title and print options.
1000         
1001    - 1.16alpha10 :
1002       
1003        - Some modifications done to external policy handling.
1004          See sample configuration file for details.
1005   
1006        - Spanish translation added.
1007       
1008    - 1.16alpha9 :
1009   
1010        - mailto can be set to external(...) to warn users above
1011          quota with any command of your choice (e.g. linpopup).
1012          Several parameters are available, see sample configuration
1013          file for details.
1014         
1015    - 1.16alpha8 :
1016   
1017        - Now cupspykota transmits SIGTERMS to the original 
1018          backend when the user deletes a job being processed.
1019         
1020        - The documentation is now licensed under the terms of the
1021          GNU GPL too.
1022         
1023    - 1.16alpha7 :
1024   
1025        - The CUPS backend is now fully functionnal (it seems).
1026       
1027        - From now on, the use of the pykota filter with CUPS
1028          is deprecated. The pykota filter still has to be
1029          used with LPRng though.
1030       
1031    - 1.16alpha6 :
1032   
1033        - Bug fixed : when edpykota was used to add a printer
1034          with no user or group name, a bad user/group name "*" was
1035          added to the database.
1036         
1037    - 1.16alpha5 :
1038   
1039        - New CUPS backend supports device enumeration !
1040          This means that NO manual CUPS configuration has to
1041          be done. All can now be done from CUPS web interface.
1042       
1043    - 1.16alpha4 :
1044   
1045        - New CUPS backend added.
1046       
1047    - 1.16alpha3 :
1048       
1049        - Minimal FAQ document added.
1050       
1051    - 1.16alpha2 :
1052   
1053        - CGI script now partially supports browser's language preference
1054       
1055    - 1.16alpha1 :
1056   
1057        - Ensures that the LDAP connection is really closed at end.
1058       
1059        - More complete error messages in case of LDAP operation failure.
1060       
1061    - 1.15 :
1062     
1063        - Documentation improved.
1064       
1065    - 1.15beta :
1066   
1067        - Command line tools now accept multiple printer
1068          names or wildcards, separated with commas.
1069         
1070    - 1.15alpha9 :
1071   
1072        - External policy can be used to auto-add unknown users
1073          and any other interesting things you may want to do.
1074          WARNING : You can't auto-add printers for now.
1075          They have to be created manually before.
1076          Look at sample configuration file for examples.
1077         
1078    - 1.15alpha8 :
1079   
1080        - Job history can be disabled if needed.
1081          This feature may be useful for people who use the LDAP
1082          backend and don't want their LDAP tree to grow out of
1083          control.
1084       
1085    - 1.15alpha7 :
1086   
1087        - More work done on caching wrt groups.
1088       
1089    - 1.15alpha6 :
1090   
1091        - Performance bottleneck with LDAP solved.
1092       
1093    - 1.15alpha5 :
1094   
1095        - Caching mechanism for all database queries.
1096
1097    - 1.15alpha4 :
1098   
1099        - Problem with Python 2.3 fixed. Needs some definitive
1100          modification.
1101         
1102    - 1.15alpha3 :
1103   
1104        - CGI script now tries to restrict view when the
1105          REMOTE_USER environment variable is set. This allows
1106          people to protect its use with .htaccess files.
1107          When unprotected, or if REMOTE_USER is 'root', then
1108          unrestricted access is granted.
1109          NB : REMOTE_USER is automatically set by the web server
1110          (e.g. Apache) when a page with restricted access is viewed.
1111         
1112    - 1.15alpha2 :
1113   
1114        - Better detection of LPRng.
1115       
1116        - Outputs a warning if printing system is unknown.
1117       
1118    - 1.15alpha1 :
1119   
1120        - Bug fix in SQL code.
1121       
1122    - 1.14 :
1123   
1124        - The PostgreSQL database connection is now always closed before
1125          exit. The LDAP database connection too, but it didn't suffer
1126          from the problem anyway, AFAICT.
1127       
1128    - 1.14beta2 :
1129   
1130        - An LDAP-specific configuration field was introduced, usermail.
1131          Use it to specify which LDAP attribute contains a valid email
1132          address for the user. See sample configuration file for
1133          details.
1134       
1135    - 1.14beta :
1136   
1137        - Two new LDAP-specific configuration fields were introduced,
1138          newuser and newgroup. Use them to specify if you want to add
1139          quota information to existing entries or elsewhere.
1140          See sample configuration file for details.
1141         
1142    - 1.14alpha9 :
1143   
1144        - Documentation improved.
1145       
1146        - pykotme now also prints the user's account balance value
1147          if the user is registered in the Quota Storage and his
1148          limiting factor is "balance".
1149         
1150    - 1.14alpha8 :
1151   
1152        - bin/waitprinter.sh is now included to wait for
1153          SNMP enabled printers to be idle again before
1154          asking for their internal page counter.
1155          See sample configuration file for details.
1156         
1157    - 1.14alpha7 :
1158   
1159        - edpykota now doesn't check if the user/group is above
1160          quota. The check is only done at print time. This
1161          prevents the sending of email messages when creating
1162          user quotas if quota is already reached at creation
1163          time.
1164         
1165    - 1.14alpha6 :
1166   
1167        - Configuration file split and moved to /etc/pykota/pykota.conf
1168          and /etc/pykota/pykotadmin.conf to prevent simple users to
1169          have Read/Write access to the Quota Database.
1170          Don't forget to :
1171         
1172                $ chmod 640 /etc/pykota/pykotadmin.conf
1173               
1174        - storageuser and storageuserpw configuration fields reintroduced
1175          for the same reason.
1176         
1177        - Code cleaning for future implementation of email addresses
1178          support in the PostgreSQL and LDAP backends.
1179         
1180    - 1.14alpha5 :
1181       
1182        - Big bug fixed when changing the prices for a printer
1183       
1184    - 1.14alpha4 :
1185   
1186        - When adding an user, the user itself and its account balance
1187          are now added in the same LDAP entry. Before they were added
1188          as two different LDAP entries.
1189         
1190    - 1.14alpha3 :
1191   
1192        - Email field added to PostgreSQL database. An upgrade script
1193          is included in initscripts/postgresql.
1194       
1195    - 1.14alpha2 :
1196   
1197        - Typo fixed when using the --prototype option to edpykota
1198       
1199    - 1.14alpha1 :
1200   
1201        - Poor man's treshold included : users with a low account
1202          balance (below 1.0 by default, configurable) are sent
1203          a warning message.
1204         
1205        - All warning messages to users are now configurable. 
1206          NB : Warning messages to the administrator are not.
1207       
1208    - 1.13 :
1209   
1210        - Some small fixes wrt group handling.
1211       
1212        - The whole module code was passed through PyChecker and
1213          several small code inconsistencies were fixed,
1214          as well as a bug in the groups code.
1215         
1216    - 1.13alpha1 :
1217   
1218        - Bug fix wrt LDAP.
1219       
1220    - 1.12 :
1221   
1222        - More complete test added in edpykota.
1223       
1224    - 1.12alpha2 :
1225   
1226        - The previous bug fix was incomplete. This is corrected.
1227       
1228    - 1.12alpha1 :
1229   
1230        - Small bug fix.
1231       
1232    - 1.11 :
1233   
1234        - Now includes the pykotme command line tool, to produce
1235          printing quotes for users.
1236         
1237    - 1.10 :
1238   
1239        - Bug fixed wrt quota reports when print limiting is by
1240          account balance.
1241         
1242    - 1.09 :
1243   
1244        - Translations finalized.
1245       
1246        - Manpages updated.
1247       
1248        - Installation documentation improved wrt LDAP support.
1249       
1250    - 1.09beta2 :
1251   
1252        - The CGI script for quota reports works again, and
1253          is much more powerful.
1254       
1255    - 1.09beta :
1256   
1257        - edpykota finalized
1258       
1259    - 1.09alpha2 :
1260   
1261        - LDAP schema modified a bit. Please upgrade.
1262       
1263        - LDAP backend works !
1264       
1265        - repykota and warnpykota allow the root user to pass
1266          users or groups names on the command line. Users
1267          and groups names may contain wildcards.
1268         
1269        - repykota and warnpykota only reports or warns the
1270          current user when launched by non-root users.
1271         
1272        - Minor bug fixes. 
1273   
1274    - 1.09alpha1 :
1275   
1276        - More work on LDAP storage backend. Many options
1277          were added to /etc/pykota.conf to give some
1278          hints to the LDAP storage backend.
1279         
1280        - Severe database access optimizations were done by
1281          rewriting most of the Quota Storage backends drivers.
1282     
1283    - 1.08 :
1284   
1285        - Major bug fix wrt LPRng support for remote jobs.
1286       
1287        - Major bug fix wrt increase/decrease account balances.
1288       
1289    - 1.08alpha8 :
1290   
1291        - Code refactoring.
1292       
1293        - A single user/password pair is used to connect
1294          to the database backend. The storageuser configuration
1295          field, and its associated passwords storageuserpw, are
1296          not used anymore.
1297         
1298        - You can now set PyKota in debug mode, see sample configuration 
1299          file for details.
1300          WARNING : only Quota Storage backend queries are logged in
1301          debug mode, for now.
1302       
1303    - 1.08alpha7 :
1304   
1305        - Very latest LDAP schema.
1306       
1307        - Code enhancement wrt easy pluggability of PyKota attributes
1308          and object classes into an existing LDAP directory.
1309       
1310    - 1.08alpha6 :
1311   
1312        - Minor bug corrections
1313       
1314        - More work on LDAP : new schema
1315       
1316    - 1.08alpha5 :
1317   
1318        - More good work on LDAP storage.
1319          repykota now works reasonably well with the sample LDAP directory.
1320       
1321    - 1.08alpha4 :
1322   
1323        - LDAP schema included.
1324          THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS.
1325          LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA
1326          MAY CHANGE IN THE FUTURE. PLEASE TELL US
1327          WHAT YOU THINK ABOUT THIS SCHEMA ON THE
1328          MAILING LIST.
1329         
1330    - 1.08alpha3 :
1331   
1332        - External accounting methods were partly rewritten :
1333         
1334          - No more "broken pipe" should happen.
1335         
1336          - They now take care of the number of copies
1337            This may be unneeded though, if the postscript
1338            file already does this, because this would
1339            overcharge users (number of copies counted
1340            two times). NEEDS MORE TESTING.
1341           
1342          - The sample configuration file now contains 
1343            an external accounting method example which should
1344            work with all DSC compliant Postscript files.
1345           
1346        - Some small bugs were fixed.   
1347       
1348    - 1.08alpha2 :
1349   
1350        - Now works with net-snmp v5.0 and above.
1351          It already worked, but the sample configuration
1352          file didn't contain appropriate values...
1353       
1354    - 1.07 : Release of the Shame !
1355   
1356        - The external accounting methods driver was left out of
1357          the CVS tree. Nobody could use it since it wasn't included !
1358         
1359    - 1.06 :
1360   
1361        - Severe bug fixed : if you had a printer in
1362          power saving state which couldn't answer immediately,
1363          a bug was triggered.
1364          It was caused by a bad copy/paste which
1365          forgot to import a Python module at run time.
1366         
1367    - 1.05 :
1368   
1369        - External accounters are finally available !
1370          This means that you can plug any page accounting
1371          method you like by setting the appropriate
1372          'accounter' field in /etc/pykota.conf
1373          See the sample conf/pykota.conf.sample to
1374          learn how to do.
1375         
1376          NB : Both 'external' and 'stupid' accounting methods
1377               account a job size just before *this* job is
1378               sent to the printer.
1379               The original 'querying' method accounts a job
1380               size just before *the next* job is sent to
1381               the printer.
1382       
1383    - 1.05alpha3 :
1384   
1385        - A 'stupid' and unreliable accounting method was
1386          implemented to serve as an example on how to
1387          do this sort of things. This method only counts
1388          the 'showpage' statements in the input data.
1389          See sample configuration file for details.
1390          Pluggable accounting methods work, but I advise
1391          you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE.
1392          It is not reliable enough to be used.
1393          Use the 'querying' accounting method instead.
1394         
1395    - 1.05alpha2 :
1396   
1397        - Pluggable accounting methods.
1398       
1399        - Better error handling.
1400       
1401    - 1.05alpha1 :
1402   
1403        - SECURITY file added to help improve PyKota's security.
1404       
1405        - Extracting the printer's internal page counter is now
1406          tried several times, waiting several seconds between
1407          two tries. This lets the time to warm up for some printers
1408          which don't answer when they are sleeping (my Apple
1409          LaserWriter 16/600 PS is in this case, maybe others too)
1410         
1411        - Small display bug fixed in repykota
1412         
1413    - 1.04 :
1414   
1415        - Default print policy for users/groups unknown from
1416          the print quota system is now DENY instead of ALLOW,
1417          since ALLOW can generate inaccurate results
1418          (incorrect job sizes charged to the wrong persons)
1419         
1420        - LPRng support works !
1421       
1422        - A bug was introduced some time ago wrt printers' default
1423          policy for unknown users. It is now corrected.
1424       
1425        - repykota now displays prices per job and per page for each
1426          printer, if they are defined.
1427         
1428        - Minor display bug fixed in repykota.
1429       
1430        - Problem when running repykota with an empty database was fixed.
1431       
1432    - 1.03 :
1433   
1434        - Upgrade script included for earlier versions.
1435          Please look inside the initscripts subdirectory.
1436          THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE.
1437         
1438        - repykota now reports account balances too.
1439       
1440        - PyKota now has a nice logo, see the logos
1441          subdirectory.
1442       
1443        - Manual pages were finally updated.
1444       
1445        - Group quotas seem to work now !
1446       
1447        - The new database schema allows to keep an history of all
1448          jobs as well as charge users per page and/or per job,
1449          and track users' account balance.
1450         
1451        - edpykota now accepts much more command line options to 
1452          use the new functionnalities. See edpykota --help for
1453          details.
1454         
1455        - The installation script now allows to install the sample
1456          configuration file during first installation.
1457         
1458        - More group quota code works, but still not finished. 
1459       
1460        - The CGI script displays a link to PyKota's website.
1461       
1462        - The job history is now kept, this will allow per-period
1463          reports in the future.
1464         
1465        - After having modified the quota for an user with edpykota,
1466          a quota check is done to eventually warn the user/admin about
1467          a quota which is too low to print.
1468         
1469        - A workaround is provided for HP Printers : their internal
1470          page counter is only saved to NVRAM in a 10 increment, so
1471          if you switch them off and then on, the reported page counter
1472          may be lower than the real number of pages printed.
1473          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
1474          We unconditionnally set the last job's page count to
1475          abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2))
1476          in this case.
1477          For a more accurate accounting, never switch your HP printers
1478          off.
1479         
1480        - A fix is provided for printers which only have a volatile 
1481          page counter (reset to 0 every time you switch the printer on)
1482          This should allow PyKota to work reasonably fine with HP Laserjet
1483          4L/5L/6L, not perfect, but better than nothing.
1484          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
1485          For a more accurate accounting, never switch your HP printers
1486          off. This is untested, please report any problem.
1487         
1488        - A bug was fixed when edpykota --add was used with users who already
1489          had a quota on the specified printer.
1490         
1491        - A small display bug in repykota was introduced in preliminary
1492          1.03 versions, and fixed later on.
1493         
1494        - Some minor bugs which happened in rare situations were fixed.
1495       
1496        - Support for AppleTalk printers was added, see sample configuration
1497          file for details.
1498         
1499        - Users and group printing can now be controlled (limited) either by 
1500          print quota or by account balance.
1501       
1502    - 1.02 :
1503   
1504        - The installation script now checks for software availability
1505          and in case a software is missing asks the user if he
1506          wants to continue with the installation or abort it.
1507         
1508        - The configuration file pykota.conf is now expected to be
1509          found in /etc instead of in /etc/cups
1510          The installation script prompts the user to see if he
1511          wants to move an old configuration file to the new location
1512          if needed.
1513         
1514        - Improved documentation.
1515       
1516        - You can now set the tcp/ip port on which the Quota Storage
1517          Server is listening, see sample configuration file for details.
1518       
1519        - Better general error handling.
1520       
1521        - Upgrade script for pre 1.01 PostgreSQL database schema is now
1522          included as well.
1523       
1524    - 1.01 :
1525   
1526        - The configuration file now accepts an option   
1527          to choose the recipient(s) of the email messages :
1528         
1529            - DevNull means no one will receive them.
1530            - User means only the user will receive them.
1531            - Admin means only the admin will receive them.
1532            - Both means the User and the Admin will receive them.
1533           
1534        - The configuration file now uses hard-coded default values
1535          when an option is not set. See sample configuration file
1536          for details.
1537         
1538        - Manual pages are included since 1.00, but I forgot to   
1539          add this information to this file.
1540         
1541        - Redistribution terms for the official package have 
1542          softened and are now fully GPL compatible :
1543          unrestricted modification is now allowed even for
1544          the version number.
1545         
1546    - 1.00 :
1547   
1548        - edpykota now accepts a --noquota option. This
1549          disable quota checking while still doing page
1550          accounting. This is really useful for people
1551          who don't want to limit their users but want
1552          to know how much pages they print.
1553         
1554        - Some untested scripts were added to retrieve
1555          the life time page counter of non-SNMP printers.
1556         
1557        - Every directory now has a specific README file. 
1558       
1559    - 0.99 :
1560   
1561        - Under some circumstances while the user wasn't allowed
1562          to print, he didn't receive any email message. It is
1563          now fixed.
1564         
1565        - When an user wasn't allowed to print, the quota for
1566          the previous user wasn't updated. This is now fixed.
1567         
1568    - 0.98 :
1569   
1570        - Correctly handle the case where the printer is switched off.
1571       
1572        - Small bug wrt syslog fixed.
1573       
1574    - 0.97 :
1575   
1576        - edpykota accepts wildcards on its command line for users/groups too
1577          if the --add option is not set, e.g. :
1578         
1579              $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*"
1580             
1581        - If no user name is passed at all, then a default wildcard of "*"
1582          which means apply the command on ALL users for this printer is used.
1583         
1584        - Small bug fixes.
1585       
1586    - 0.96 :
1587
1588        - Options requester, policy, admin, adminmail and gracedelay can now
1589          be set either globally or per printer. The printer option has
1590          priority if both are defined.
1591
1592        - More powerful configuration parser.
1593       
1594        - If all options are defined globally, there's no need to
1595          define a section for each printer in the configuration
1596          file anymore. Just define a [global] section and it's ok.
1597
1598    - 0.95 :
1599
1600        - External requesters for printers finally added.
1601
1602        - Full internationalization (english and french are supported)
1603 
1604        - More complete quota usage report
1605
1606        - CGI script to access to the quota usage report
1607
1608        - Several bugs fixed.
1609
1610
1611    - 0.9 :
1612
1613        - First public version
Note: See TracBrowser for help on using the browser.