root / pykota / trunk / NEWS @ 1907

Revision 1905, 52.5 kB (checked in by jalet, 20 years ago)

Installation script is now non-interactive again, and doesn't install
the sample configuration files into /etc/pykota anymore.
Dependencies check is now done by running checkdeps.py
The database creation scripts will now be included in RPM packages.

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