root / pykota / trunk / NEWS @ 1788

Revision 1788, 50.1 kB (checked in by jalet, 20 years ago)

Note about recent fix for groups

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