root / pykota / trunk / NEWS @ 1848

Revision 1848, 51.2 kB (checked in by jalet, 20 years ago)

Fixes recently introduced bug

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