root / pykota / trunk / NEWS @ 1049

Revision 1049, 13.8 kB (checked in by jalet, 21 years ago)

Much more powerful CGI script for quota reports

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