root / pykota / trunk / NEWS @ 1049

Revision 1049, 13.8 kB (checked in by jalet, 21 years ago)

Much more powerful CGI script for quota reports

  • 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
[1049]24    - 1.09beta2 :
25   
26        - The CGI script for quota reports works again, and
27          is much more powerful.
28       
[1043]29    - 1.09beta :
30   
31        - edpykota finalized
32       
[1041]33    - 1.09alpha2 :
34   
35        - LDAP schema modified a bit. Please upgrade.
36       
37        - LDAP backend works !
38       
39        - repykota and warnpykota allow the root user to pass
40          users or groups names on the command line. Users
41          and groups names may contain wildcards.
42         
43        - repykota and warnpykota only reports or warns the
44          current user when launched by non-root users.
45         
46        - Minor bug fixes. 
47   
[1029]48    - 1.09alpha1 :
49   
50        - More work on LDAP storage backend. Many options
51          were added to /etc/pykota.conf to give some
52          hints to the LDAP storage backend.
[1044]53         
54        - Severe database access optimizations were done by
55          rewriting most of the Quota Storage backends drivers.
[1029]56     
[1027]57    - 1.08 :
58   
59        - Major bug fix wrt LPRng support for remote jobs.
[1029]60       
[1027]61        - Major bug fix wrt increase/decrease account balances.
62       
[1021]63    - 1.08alpha8 :
64   
65        - Code refactoring.
[1029]66       
[1021]67        - A single user/password pair is used to connect
68          to the database backend. The storageuser configuration
69          field, and its associated passwords storageuserpw, are
70          not used anymore.
[1029]71         
[1022]72        - You can now set PyKota in debug mode, see sample configuration 
73          file for details.
74          WARNING : only Quota Storage backend queries are logged in
75          debug mode, for now.
[1021]76       
[1019]77    - 1.08alpha7 :
78   
79        - Very latest LDAP schema.
[1029]80       
[1019]81        - Code enhancement wrt easy pluggability of PyKota attributes
82          and object classes into an existing LDAP directory.
83       
[1017]84    - 1.08alpha6 :
85   
86        - Minor bug corrections
[1029]87       
[1017]88        - More work on LDAP : new schema
89       
[1016]90    - 1.08alpha5 :
91   
[1017]92        - More good work on LDAP storage.
93          repykota now works reasonably well with the sample LDAP directory.
[1016]94       
[1014]95    - 1.08alpha4 :
96   
97        - LDAP schema included.
98          THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS.
99          LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA
100          MAY CHANGE IN THE FUTURE. PLEASE TELL US
101          WHAT YOU THINK ABOUT THIS SCHEMA ON THE
102          MAILING LIST.
103         
[1000]104    - 1.08alpha3 :
105   
106        - External accounting methods were partly rewritten :
107         
108          - No more "broken pipe" should happen.
109         
110          - They now take care of the number of copies
111            This may be unneeded though, if the postscript
112            file already does this, because this would
113            overcharge users (number of copies counted
114            two times). NEEDS MORE TESTING.
115           
116          - The sample configuration file now contains 
117            an external accounting method example which should
118            work with all DSC compliant Postscript files.
119           
120        - Some small bugs were fixed.   
121       
[998]122    - 1.08alpha2 :
123   
124        - Now works with net-snmp v5.0 and above.
125          It already worked, but the sample configuration
[1000]126          file didn't contain appropriate values...
[998]127       
[991]128    - 1.07 : Release of the Shame !
129   
130        - The external accounting methods driver was left out of
131          the CVS tree. Nobody could use it since it wasn't included !
132         
[989]133    - 1.06 :
134   
135        - Severe bug fixed : if you had a printer in
136          power saving state which couldn't answer immediately,
137          a bug was triggered.
138          It was caused by a bad copy/paste which
139          forgot to import a Python module at run time.
140         
[980]141    - 1.05 :
142   
143        - External accounters are finally available !
144          This means that you can plug any page accounting
145          method you like by setting the appropriate
146          'accounter' field in /etc/pykota.conf
147          See the sample conf/pykota.conf.sample to
148          learn how to do.
149         
150          NB : Both 'external' and 'stupid' accounting methods
151               account a job size just before *this* job is
152               sent to the printer.
153               The original 'querying' method accounts a job
154               size just before *the next* job is sent to
155               the printer.
156       
[976]157    - 1.05alpha3 :
158   
159        - A 'stupid' and unreliable accounting method was
160          implemented to serve as an example on how to
161          do this sort of things. This method only counts
162          the 'showpage' statements in the input data.
163          See sample configuration file for details.
164          Pluggable accounting methods work, but I advise
165          you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE.
166          It is not reliable enough to be used.
[978]167          Use the 'querying' accounting method instead.
[976]168         
[973]169    - 1.05alpha2 :
170   
171        - Pluggable accounting methods.
172       
[975]173        - Better error handling.
174       
[962]175    - 1.05alpha1 :
176   
[969]177        - SECURITY file added to help improve PyKota's security.
178       
[962]179        - Extracting the printer's internal page counter is now
180          tried several times, waiting several seconds between
181          two tries. This lets the time to warm up for some printers
182          which don't answer when they are sleeping (my Apple
183          LaserWriter 16/600 PS is in this case, maybe others too)
184         
[970]185        - Small display bug fixed in repykota
186         
[960]187    - 1.04 :
[956]188   
189        - Default print policy for users/groups unknown from
190          the print quota system is now DENY instead of ALLOW,
191          since ALLOW can generate inaccurate results
192          (incorrect job sizes charged to the wrong persons)
193         
[954]194        - LPRng support works !
195       
[953]196        - A bug was introduced some time ago wrt printers' default
197          policy for unknown users. It is now corrected.
198       
[950]199        - repykota now displays prices per job and per page for each
200          printer, if they are defined.
201         
[947]202        - Minor display bug fixed in repykota.
203       
204        - Problem when running repykota with an empty database was fixed.
205       
[942]206    - 1.03 :
207   
208        - Upgrade script included for earlier versions.
209          Please look inside the initscripts subdirectory.
[965]210          THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE.
[942]211         
[932]212        - repykota now reports account balances too.
[929]213       
[932]214        - PyKota now has a nice logo, see the logos
215          subdirectory.
216       
[936]217        - Manual pages were finally updated.
218       
[927]219        - Group quotas seem to work now !
220       
[910]221        - The new database schema allows to keep an history of all
222          jobs as well as charge users per page and/or per job,
223          and track users' account balance.
224         
[917]225        - edpykota now accepts much more command line options to 
226          use the new functionnalities. See edpykota --help for
227          details.
228         
[885]229        - The installation script now allows to install the sample
230          configuration file during first installation.
[892]231         
232        - More group quota code works, but still not finished. 
[885]233       
[894]234        - The CGI script displays a link to PyKota's website.
235       
[899]236        - The job history is now kept, this will allow per-period
237          reports in the future.
[900]238         
239        - After having modified the quota for an user with edpykota,
240          a quota check is done to eventually warn the user/admin about
241          a quota which is too low to print.
242         
[901]243        - A workaround is provided for HP Printers : their internal
244          page counter is only saved to NVRAM in a 10 increment, so
245          if you switch them off and then on, the reported page counter
246          may be lower than the real number of pages printed.
247          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
[909]248          We unconditionnally set the last job's page count to
249          abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2))
250          in this case.
[908]251          For a more accurate accounting, never switch your HP printers
252          off.
[901]253         
254        - A fix is provided for printers which only have a volatile 
255          page counter (reset to 0 every time you switch the printer on)
[908]256          This should allow PyKota to work reasonably fine with HP Laserjet
257          4L/5L/6L, not perfect, but better than nothing.
[901]258          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
[908]259          For a more accurate accounting, never switch your HP printers
[925]260          off. This is untested, please report any problem.
[901]261         
[907]262        - A bug was fixed when edpykota --add was used with users who already
263          had a quota on the specified printer.
264         
[913]265        - A small display bug in repykota was introduced in preliminary
266          1.03 versions, and fixed later on.
[915]267         
268        - Some minor bugs which happened in rare situations were fixed.
[913]269       
[919]270        - Support for AppleTalk printers was added, see sample configuration
271          file for details.
[925]272         
273        - Users and group printing can now be controlled (limited) either by 
274          print quota or by account balance.
[919]275       
[877]276    - 1.02 :
[859]277   
[871]278        - The installation script now checks for software availability
279          and in case a software is missing asks the user if he
280          wants to continue with the installation or abort it.
281         
[872]282        - The configuration file pykota.conf is now expected to be
283          found in /etc instead of in /etc/cups
284          The installation script prompts the user to see if he
285          wants to move an old configuration file to the new location
286          if needed.
287         
[859]288        - Improved documentation.
289       
290        - You can now set the tcp/ip port on which the Quota Storage
291          Server is listening, see sample configuration file for details.
292       
[872]293        - Better general error handling.
[859]294       
[875]295        - Upgrade script for pre 1.01 PostgreSQL database schema is now
296          included as well.
297       
[852]298    - 1.01 :
299   
300        - The configuration file now accepts an option   
301          to choose the recipient(s) of the email messages :
302         
303            - DevNull means no one will receive them.
304            - User means only the user will receive them.
305            - Admin means only the admin will receive them.
306            - Both means the User and the Admin will receive them.
307           
[853]308        - The configuration file now uses hard-coded default values
309          when an option is not set. See sample configuration file
310          for details.
311         
[852]312        - Manual pages are included since 1.00, but I forgot to   
313          add this information to this file.
314         
[855]315        - Redistribution terms for the official package have 
316          softened and are now fully GPL compatible :
317          unrestricted modification is now allowed even for
318          the version number.
319         
[846]320    - 1.00 :
321   
322        - edpykota now accepts a --noquota option. This
323          disable quota checking while still doing page
324          accounting. This is really useful for people
325          who don't want to limit their users but want
326          to know how much pages they print.
327         
328        - Some untested scripts were added to retrieve
329          the life time page counter of non-SNMP printers.
330         
331        - Every directory now has a specific README file. 
332       
[833]333    - 0.99 :
334   
335        - Under some circumstances while the user wasn't allowed
336          to print, he didn't receive any email message. It is
337          now fixed.
338         
339        - When an user wasn't allowed to print, the quota for
[835]340          the previous user wasn't updated. This is now fixed.
[833]341         
[827]342    - 0.98 :
343   
344        - Correctly handle the case where the printer is switched off.
345       
[828]346        - Small bug wrt syslog fixed.
347       
[819]348    - 0.97 :
349   
350        - edpykota accepts wildcards on its command line for users/groups too
351          if the --add option is not set, e.g. :
352         
353              $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*"
354             
[821]355        - If no user name is passed at all, then a default wildcard of "*"
[819]356          which means apply the command on ALL users for this printer is used.
357         
358        - Small bug fixes.
359       
[803]360    - 0.96 :
361
[808]362        - Options requester, policy, admin, adminmail and gracedelay can now
[807]363          be set either globally or per printer. The printer option has
364          priority if both are defined.
[803]365
[807]366        - More powerful configuration parser.
367       
368        - If all options are defined globally, there's no need to
369          define a section for each printer in the configuration
370          file anymore. Just define a [global] section and it's ok.
[803]371
[797]372    - 0.95 :
373
[798]374        - External requesters for printers finally added.
[797]375
376        - Full internationalization (english and french are supported)
377 
378        - More complete quota usage report
379
380        - CGI script to access to the quota usage report
381
382        - Several bugs fixed.
383
384
385    - 0.9 :
386
387        - First public version
Note: See TracBrowser for help on using the browser.