root / pykota / trunk / NEWS @ 1791

Revision 1791, 50.3 kB (checked in by jalet, 20 years ago)

Added ugly workaround for strange locale problem

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