root / pykota / trunk / NEWS @ 1485

Revision 1485, 34.1 kB (checked in by jalet, 20 years ago)

Speed improvement

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