root / pykota / trunk / NEWS @ 1056

Revision 1056, 14.1 kB (checked in by jalet, 21 years ago)

Bug fixed when wanting a report and an user/group was limited by account balance

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