root / pykota / trunk / NEWS @ 1761

Revision 1761, 49.1 kB (checked in by jalet, 20 years ago)

Should now correctly deal with charsets both when storing into databases and when
retrieving datas. Works with both PostgreSQL and LDAP.

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