root / pykota / trunk / NEWS @ 1113

Revision 1113, 17.7 kB (checked in by jalet, 21 years ago)

1.14 is out !

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