root / pykota / trunk / NEWS @ 1768

Revision 1768, 49.3 kB (checked in by jalet, 20 years ago)

Finished LDAP support for dumpykota.

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