root / pykota / trunk / NEWS @ 1572

Revision 1572, 40.6 kB (checked in by jalet, 20 years ago)

mmap reintroduced in PCL5 parser

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