root / pykota / trunk / NEWS @ 1123

Revision 1123, 18.5 kB (checked in by jalet, 21 years ago)

Problem with Python 2.3 fixed : a bug of me.

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