root / pykota / trunk / NEWS @ 1557

Revision 1557, 39.8 kB (checked in by jalet, 20 years ago)

Added comment about waitprinter.sh fix reversal

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