root / pykota / trunk / NEWS @ 1683

Revision 1683, 45.4 kB (checked in by jalet, 20 years ago)

Improvement in PostScript? parser to avoid being fooled by clever "students"

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