root / pykota / trunk / NEWS @ 1099

Revision 1099, 17.0 kB (checked in by jalet, 21 years ago)

Better documentation.
pykotme now displays the current user's account balance.
Some test changed in ldap module.

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