root / pykota / trunk / NEWS @ 1130

Revision 1130, 18.6 kB (checked in by jalet, 21 years ago)

Storage caching mechanism added.

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