root / pykota / trunk / NEWS @ 1172

Revision 1172, 19.8 kB (checked in by jalet, 21 years ago)

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