root / pykota / trunk / NEWS @ 1676

Revision 1676, 44.3 kB (checked in by jalet, 20 years ago)

First draft of ESC/P2 (mini-)parser.

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