root / pykota / trunk / NEWS @ 1757

Revision 1757, 48.7 kB (checked in by jalet, 20 years ago)

Added the winbind_separator directive to pykota.conf to allow the admin to
strip out the Samba/Winbind domain name when users print.

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