root / pykota / trunk / NEWS @ 1940

Revision 1940, 53.1 kB (checked in by jalet, 19 years ago)

Fixed Epson Stylus Photo problem in software accounting

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