root / pykota / trunk / NEWS @ 1093

Revision 1089, 16.5 kB (checked in by jalet, 21 years ago)

Prevents email messages to be sent at modification/creation time for
a user/group quota

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