root / pykota / trunk / NEWS @ 1191

Revision 1191, 20.8 kB (checked in by jalet, 21 years ago)

SIGTERMs are now transmitted to original backends.

  • 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
5(c) 2003 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
[1189]24    - 1.16alpha8 :
25   
[1191]26        - Now cupspykota transmits SIGTERMS to the original 
27          backend when the user deletes a job being processed.
28         
[1189]29        - The documentation is now licensed under the terms of the
30          GNU GPL too.
31         
[1185]32    - 1.16alpha7 :
33   
34        - The CUPS backend is now fully functionnal (it seems).
35       
36        - From now on, the use of the pykota filter with CUPS
37          is deprecated. The pykota filter still has to be
38          used with LPRng though.
39       
[1179]40    - 1.16alpha6 :
41   
42        - Bug fixed : when edpykota was used to add a printer
43          with no user or group name, a bad user/group name "*" was
44          added to the database.
45         
[1178]46    - 1.16alpha5 :
47   
48        - New CUPS backend supports device enumeration !
49          This means that NO manual CUPS configuration has to
50          be done. All can now be done from CUPS web interface.
51       
[1177]52    - 1.16alpha4 :
53   
54        - New CUPS backend added.
55       
[1175]56    - 1.16alpha3 :
57       
58        - Minimal FAQ document added.
59       
[1172]60    - 1.16alpha2 :
61   
62        - CGI script now partially supports browser's language preference
63       
[1170]64    - 1.16alpha1 :
65   
66        - Ensures that the LDAP connection is really closed at end.
67       
68        - More complete error messages in case of LDAP operation failure.
69       
[1168]70    - 1.15 :
71     
72        - Documentation improved.
73       
[1156]74    - 1.15beta :
75   
76        - Command line tools now accept multiple printer
77          names or wildcards, separated with commas.
78         
[1152]79    - 1.15alpha9 :
80   
81        - External policy can be used to auto-add unknown users
82          and any other interesting things you may want to do.
83          WARNING : You can't auto-add printers for now.
84          They have to be created manually before.
85          Look at sample configuration file for examples.
86         
[1149]87    - 1.15alpha8 :
88   
89        - Job history can be disabled if needed.
90          This feature may be useful for people who use the LDAP
91          backend and don't want their LDAP tree to grow out of
92          control.
93       
[1138]94    - 1.15alpha7 :
95   
96        - More work done on caching wrt groups.
97       
[1135]98    - 1.15alpha6 :
99   
100        - Performance bottleneck with LDAP solved.
101       
[1130]102    - 1.15alpha5 :
103   
104        - Caching mechanism for all database queries.
105
[1123]106    - 1.15alpha4 :
107   
108        - Problem with Python 2.3 fixed. Needs some definitive
109          modification.
110         
[1121]111    - 1.15alpha3 :
112   
113        - CGI script now tries to restrict view when the
114          REMOTE_USER environment variable is set. This allows
115          people to protect its use with .htaccess files.
116          When unprotected, or if REMOTE_USER is 'root', then
117          unrestricted access is granted.
[1122]118          NB : REMOTE_USER is automatically set by the web server
119          (e.g. Apache) when a page with restricted access is viewed.
[1121]120         
[1116]121    - 1.15alpha2 :
122   
123        - Better detection of LPRng.
124       
125        - Outputs a warning if printing system is unknown.
126       
[1115]127    - 1.15alpha1 :
128   
129        - Bug fix in SQL code.
130       
[1113]131    - 1.14 :
132   
133        - The PostgreSQL database connection is now always closed before
134          exit. The LDAP database connection too, but it didn't suffer
135          from the problem anyway, AFAICT.
136       
[1111]137    - 1.14beta2 :
138   
139        - An LDAP-specific configuration field was introduced, usermail.
140          Use it to specify which LDAP attribute contains a valid email
141          address for the user. See sample configuration file for
142          details.
143       
[1105]144    - 1.14beta :
145   
146        - Two new LDAP-specific configuration fields were introduced,
147          newuser and newgroup. Use them to specify if you want to add
148          quota information to existing entries or elsewhere.
149          See sample configuration file for details.
150         
[1099]151    - 1.14alpha9 :
152   
153        - Documentation improved.
154       
155        - pykotme now also prints the user's account balance value
156          if the user is registered in the Quota Storage and his
157          limiting factor is "balance".
158         
[1095]159    - 1.14alpha8 :
160   
161        - bin/waitprinter.sh is now included to wait for
162          SNMP enabled printers to be idle again before
163          asking for their internal page counter.
164          See sample configuration file for details.
165         
[1089]166    - 1.14alpha7 :
167   
168        - edpykota now doesn't check if the user/group is above
169          quota. The check is only done at print time. This
170          prevents the sending of email messages when creating
171          user quotas if quota is already reached at creation
172          time.
173         
[1087]174    - 1.14alpha6 :
175   
176        - Configuration file split and moved to /etc/pykota/pykota.conf
177          and /etc/pykota/pykotadmin.conf to prevent simple users to
178          have Read/Write access to the Quota Database.
179          Don't forget to :
180         
181                $ chmod 640 /etc/pykota/pykotadmin.conf
182               
183        - storageuser and storageuserpw configuration fields reintroduced
184          for the same reason.
185         
186        - Code cleaning for future implementation of email addresses
187          support in the PostgreSQL and LDAP backends.
188         
[1085]189    - 1.14alpha5 :
190       
191        - Big bug fixed when changing the prices for a printer
192       
[1082]193    - 1.14alpha4 :
194   
195        - When adding an user, the user itself and its account balance
196          are now added in the same LDAP entry. Before they were added
197          as two different LDAP entries.
198         
[1079]199    - 1.14alpha3 :
200   
201        - Email field added to PostgreSQL database. An upgrade script
202          is included in initscripts/postgresql.
203       
[1078]204    - 1.14alpha2 :
205   
206        - Typo fixed when using the --prototype option to edpykota
207       
[1077]208    - 1.14alpha1 :
209   
210        - Poor man's treshold included : users with a low account
211          balance (below 1.0 by default, configurable) are sent
212          a warning message.
213         
214        - All warning messages to users are now configurable. 
215          NB : Warning messages to the administrator are not.
216       
[1068]217    - 1.13 :
218   
[1072]219        - Some small fixes wrt group handling.
220       
[1068]221        - The whole module code was passed through PyChecker and
222          several small code inconsistencies were fixed,
223          as well as a bug in the groups code.
224         
[1067]225    - 1.13alpha1 :
226   
227        - Bug fix wrt LDAP.
228       
[1065]229    - 1.12 :
230   
231        - More complete test added in edpykota.
232       
[1062]233    - 1.12alpha2 :
234   
235        - The previous bug fix was incomplete. This is corrected.
236       
[1061]237    - 1.12alpha1 :
238   
239        - Small bug fix.
240       
[1057]241    - 1.11 :
242   
243        - Now includes the pykotme command line tool, to produce
244          printing quotes for users.
245         
[1056]246    - 1.10 :
247   
248        - Bug fixed wrt quota reports when print limiting is by
249          account balance.
250         
[1052]251    - 1.09 :
252   
253        - Translations finalized.
254       
255        - Manpages updated.
256       
257        - Installation documentation improved wrt LDAP support.
258       
[1049]259    - 1.09beta2 :
260   
261        - The CGI script for quota reports works again, and
262          is much more powerful.
263       
[1043]264    - 1.09beta :
265   
266        - edpykota finalized
267       
[1041]268    - 1.09alpha2 :
269   
270        - LDAP schema modified a bit. Please upgrade.
271       
272        - LDAP backend works !
273       
274        - repykota and warnpykota allow the root user to pass
275          users or groups names on the command line. Users
276          and groups names may contain wildcards.
277         
278        - repykota and warnpykota only reports or warns the
279          current user when launched by non-root users.
280         
281        - Minor bug fixes. 
282   
[1029]283    - 1.09alpha1 :
284   
285        - More work on LDAP storage backend. Many options
286          were added to /etc/pykota.conf to give some
287          hints to the LDAP storage backend.
[1044]288         
289        - Severe database access optimizations were done by
290          rewriting most of the Quota Storage backends drivers.
[1029]291     
[1027]292    - 1.08 :
293   
294        - Major bug fix wrt LPRng support for remote jobs.
[1029]295       
[1027]296        - Major bug fix wrt increase/decrease account balances.
297       
[1021]298    - 1.08alpha8 :
299   
300        - Code refactoring.
[1029]301       
[1021]302        - A single user/password pair is used to connect
303          to the database backend. The storageuser configuration
304          field, and its associated passwords storageuserpw, are
305          not used anymore.
[1029]306         
[1022]307        - You can now set PyKota in debug mode, see sample configuration 
308          file for details.
309          WARNING : only Quota Storage backend queries are logged in
310          debug mode, for now.
[1021]311       
[1019]312    - 1.08alpha7 :
313   
314        - Very latest LDAP schema.
[1029]315       
[1019]316        - Code enhancement wrt easy pluggability of PyKota attributes
317          and object classes into an existing LDAP directory.
318       
[1017]319    - 1.08alpha6 :
320   
321        - Minor bug corrections
[1029]322       
[1017]323        - More work on LDAP : new schema
324       
[1016]325    - 1.08alpha5 :
326   
[1017]327        - More good work on LDAP storage.
328          repykota now works reasonably well with the sample LDAP directory.
[1016]329       
[1014]330    - 1.08alpha4 :
331   
332        - LDAP schema included.
333          THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS.
334          LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA
335          MAY CHANGE IN THE FUTURE. PLEASE TELL US
336          WHAT YOU THINK ABOUT THIS SCHEMA ON THE
337          MAILING LIST.
338         
[1000]339    - 1.08alpha3 :
340   
341        - External accounting methods were partly rewritten :
342         
343          - No more "broken pipe" should happen.
344         
345          - They now take care of the number of copies
346            This may be unneeded though, if the postscript
347            file already does this, because this would
348            overcharge users (number of copies counted
349            two times). NEEDS MORE TESTING.
350           
351          - The sample configuration file now contains 
352            an external accounting method example which should
353            work with all DSC compliant Postscript files.
354           
355        - Some small bugs were fixed.   
356       
[998]357    - 1.08alpha2 :
358   
359        - Now works with net-snmp v5.0 and above.
360          It already worked, but the sample configuration
[1000]361          file didn't contain appropriate values...
[998]362       
[991]363    - 1.07 : Release of the Shame !
364   
365        - The external accounting methods driver was left out of
366          the CVS tree. Nobody could use it since it wasn't included !
367         
[989]368    - 1.06 :
369   
370        - Severe bug fixed : if you had a printer in
371          power saving state which couldn't answer immediately,
372          a bug was triggered.
373          It was caused by a bad copy/paste which
374          forgot to import a Python module at run time.
375         
[980]376    - 1.05 :
377   
378        - External accounters are finally available !
379          This means that you can plug any page accounting
380          method you like by setting the appropriate
381          'accounter' field in /etc/pykota.conf
382          See the sample conf/pykota.conf.sample to
383          learn how to do.
384         
385          NB : Both 'external' and 'stupid' accounting methods
386               account a job size just before *this* job is
387               sent to the printer.
388               The original 'querying' method accounts a job
389               size just before *the next* job is sent to
390               the printer.
391       
[976]392    - 1.05alpha3 :
393   
394        - A 'stupid' and unreliable accounting method was
395          implemented to serve as an example on how to
396          do this sort of things. This method only counts
397          the 'showpage' statements in the input data.
398          See sample configuration file for details.
399          Pluggable accounting methods work, but I advise
400          you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE.
401          It is not reliable enough to be used.
[978]402          Use the 'querying' accounting method instead.
[976]403         
[973]404    - 1.05alpha2 :
405   
406        - Pluggable accounting methods.
407       
[975]408        - Better error handling.
409       
[962]410    - 1.05alpha1 :
411   
[969]412        - SECURITY file added to help improve PyKota's security.
413       
[962]414        - Extracting the printer's internal page counter is now
415          tried several times, waiting several seconds between
416          two tries. This lets the time to warm up for some printers
417          which don't answer when they are sleeping (my Apple
418          LaserWriter 16/600 PS is in this case, maybe others too)
419         
[970]420        - Small display bug fixed in repykota
421         
[960]422    - 1.04 :
[956]423   
424        - Default print policy for users/groups unknown from
425          the print quota system is now DENY instead of ALLOW,
426          since ALLOW can generate inaccurate results
427          (incorrect job sizes charged to the wrong persons)
428         
[954]429        - LPRng support works !
430       
[953]431        - A bug was introduced some time ago wrt printers' default
432          policy for unknown users. It is now corrected.
433       
[950]434        - repykota now displays prices per job and per page for each
435          printer, if they are defined.
436         
[947]437        - Minor display bug fixed in repykota.
438       
439        - Problem when running repykota with an empty database was fixed.
440       
[942]441    - 1.03 :
442   
443        - Upgrade script included for earlier versions.
444          Please look inside the initscripts subdirectory.
[965]445          THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE.
[942]446         
[932]447        - repykota now reports account balances too.
[929]448       
[932]449        - PyKota now has a nice logo, see the logos
450          subdirectory.
451       
[936]452        - Manual pages were finally updated.
453       
[927]454        - Group quotas seem to work now !
455       
[910]456        - The new database schema allows to keep an history of all
457          jobs as well as charge users per page and/or per job,
458          and track users' account balance.
459         
[917]460        - edpykota now accepts much more command line options to 
461          use the new functionnalities. See edpykota --help for
462          details.
463         
[885]464        - The installation script now allows to install the sample
465          configuration file during first installation.
[892]466         
467        - More group quota code works, but still not finished. 
[885]468       
[894]469        - The CGI script displays a link to PyKota's website.
470       
[899]471        - The job history is now kept, this will allow per-period
472          reports in the future.
[900]473         
474        - After having modified the quota for an user with edpykota,
475          a quota check is done to eventually warn the user/admin about
476          a quota which is too low to print.
477         
[901]478        - A workaround is provided for HP Printers : their internal
479          page counter is only saved to NVRAM in a 10 increment, so
480          if you switch them off and then on, the reported page counter
481          may be lower than the real number of pages printed.
482          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
[909]483          We unconditionnally set the last job's page count to
484          abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2))
485          in this case.
[908]486          For a more accurate accounting, never switch your HP printers
487          off.
[901]488         
489        - A fix is provided for printers which only have a volatile 
490          page counter (reset to 0 every time you switch the printer on)
[908]491          This should allow PyKota to work reasonably fine with HP Laserjet
492          4L/5L/6L, not perfect, but better than nothing.
[901]493          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
[908]494          For a more accurate accounting, never switch your HP printers
[925]495          off. This is untested, please report any problem.
[901]496         
[907]497        - A bug was fixed when edpykota --add was used with users who already
498          had a quota on the specified printer.
499         
[913]500        - A small display bug in repykota was introduced in preliminary
501          1.03 versions, and fixed later on.
[915]502         
503        - Some minor bugs which happened in rare situations were fixed.
[913]504       
[919]505        - Support for AppleTalk printers was added, see sample configuration
506          file for details.
[925]507         
508        - Users and group printing can now be controlled (limited) either by 
509          print quota or by account balance.
[919]510       
[877]511    - 1.02 :
[859]512   
[871]513        - The installation script now checks for software availability
514          and in case a software is missing asks the user if he
515          wants to continue with the installation or abort it.
516         
[872]517        - The configuration file pykota.conf is now expected to be
518          found in /etc instead of in /etc/cups
519          The installation script prompts the user to see if he
520          wants to move an old configuration file to the new location
521          if needed.
522         
[859]523        - Improved documentation.
524       
525        - You can now set the tcp/ip port on which the Quota Storage
526          Server is listening, see sample configuration file for details.
527       
[872]528        - Better general error handling.
[859]529       
[875]530        - Upgrade script for pre 1.01 PostgreSQL database schema is now
531          included as well.
532       
[852]533    - 1.01 :
534   
535        - The configuration file now accepts an option   
536          to choose the recipient(s) of the email messages :
537         
538            - DevNull means no one will receive them.
539            - User means only the user will receive them.
540            - Admin means only the admin will receive them.
541            - Both means the User and the Admin will receive them.
542           
[853]543        - The configuration file now uses hard-coded default values
544          when an option is not set. See sample configuration file
545          for details.
546         
[852]547        - Manual pages are included since 1.00, but I forgot to   
548          add this information to this file.
549         
[855]550        - Redistribution terms for the official package have 
551          softened and are now fully GPL compatible :
552          unrestricted modification is now allowed even for
553          the version number.
554         
[846]555    - 1.00 :
556   
557        - edpykota now accepts a --noquota option. This
558          disable quota checking while still doing page
559          accounting. This is really useful for people
560          who don't want to limit their users but want
561          to know how much pages they print.
562         
563        - Some untested scripts were added to retrieve
564          the life time page counter of non-SNMP printers.
565         
566        - Every directory now has a specific README file. 
567       
[833]568    - 0.99 :
569   
570        - Under some circumstances while the user wasn't allowed
571          to print, he didn't receive any email message. It is
572          now fixed.
573         
574        - When an user wasn't allowed to print, the quota for
[835]575          the previous user wasn't updated. This is now fixed.
[833]576         
[827]577    - 0.98 :
578   
579        - Correctly handle the case where the printer is switched off.
580       
[828]581        - Small bug wrt syslog fixed.
582       
[819]583    - 0.97 :
584   
585        - edpykota accepts wildcards on its command line for users/groups too
586          if the --add option is not set, e.g. :
587         
588              $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*"
589             
[821]590        - If no user name is passed at all, then a default wildcard of "*"
[819]591          which means apply the command on ALL users for this printer is used.
592         
593        - Small bug fixes.
594       
[803]595    - 0.96 :
596
[808]597        - Options requester, policy, admin, adminmail and gracedelay can now
[807]598          be set either globally or per printer. The printer option has
599          priority if both are defined.
[803]600
[807]601        - More powerful configuration parser.
602       
603        - If all options are defined globally, there's no need to
604          define a section for each printer in the configuration
605          file anymore. Just define a [global] section and it's ok.
[803]606
[797]607    - 0.95 :
608
[798]609        - External requesters for printers finally added.
[797]610
611        - Full internationalization (english and french are supported)
612 
613        - More complete quota usage report
614
615        - CGI script to access to the quota usage report
616
617        - Several bugs fixed.
618
619
620    - 0.9 :
621
622        - First public version
Note: See TracBrowser for help on using the browser.