root / pykota / trunk / NEWS @ 1175

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

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