root / pykota / trunk / NEWS @ 1122

Revision 1122, 18.4 kB (checked in by jalet, 21 years ago)

More complete comment.

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