root / pykota / trunk / NEWS @ 1116

Revision 1116, 17.9 kB (checked in by jalet, 21 years ago)

Improvement of the printing system detection code.

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