root / pykota / trunk / NEWS @ 1095

Revision 1095, 16.7 kB (checked in by jalet, 21 years ago)

waitprinter.sh is now included to prevent PyKota from asking the
printer's internal page counter while a job is still being printer.

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