root / pykota / trunk / NEWS @ 1664

Revision 1664, 43.5 kB (checked in by jalet, 20 years ago)

1.19 final is out.

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