root / pykota / trunk / NEWS @ 1605

Revision 1605, 42.6 kB (checked in by jalet, 20 years ago)

pykosd is now a very good tool

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