root / pykota / trunk / NEWS @ 1771

Revision 1771, 49.5 kB (checked in by jalet, 20 years ago)

dumpykota can now output datas in the XML format

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