root / pykota / trunk / NEWS @ 1850

Revision 1850, 51.3 kB (checked in by jalet, 20 years ago)

Should fix the printer's hostname or IP address detection code.

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