root / pykota / trunk / NEWS @ 1956

Revision 1956, 53.5 kB (checked in by jalet, 19 years ago)

Added the reject_unknown directive to pykota.conf to reject user/group
creation if user or group is unknown to the system

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