root / pykota / trunk / NEWS @ 1611

Revision 1611, 42.8 kB (checked in by jalet, 20 years ago)

Software accounting seems to be OK with LPRng support now

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