root / pykota / trunk / NEWS @ 1177

Revision 1177, 19.9 kB (checked in by jalet, 21 years ago)

CUPS backend added for people to experiment.

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