root / pykota / trunk / NEWS @ 1582

Revision 1582, 41.1 kB (checked in by jalet, 20 years ago)

Added code to handle the description field for printers

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