root / pykota / trunk / NEWS @ 1121

Revision 1121, 18.3 kB (checked in by jalet, 21 years ago)

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