root / pykota / trunk / NEWS @ 1541

Revision 1541, 38.3 kB (checked in by jalet, 20 years ago)

Smarter initialisation code

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