1 | # $Id$ |
---|
2 | |
---|
3 | PyKota - Print Quota for CUPS |
---|
4 | |
---|
5 | (c) 2003 Jerome Alet <alet@librelogiciel.com> |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2 of the License, or |
---|
9 | (at your option) any later version. |
---|
10 | |
---|
11 | This program is distributed in the hope that it will be useful, |
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | GNU General Public License for more details. |
---|
15 | |
---|
16 | You should have received a copy of the GNU General Public License |
---|
17 | along with this program; if not, write to the Free Software |
---|
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. |
---|
19 | |
---|
20 | ============================================================ |
---|
21 | |
---|
22 | PyKota NEWS : |
---|
23 | |
---|
24 | - 1.03alpha : |
---|
25 | |
---|
26 | - IMPORTANT : DataBase schema has changed. |
---|
27 | DON'T TRY TO UPGRADE AN EXISTING PYKOTA INSTALLATION ! |
---|
28 | The upgrade script will be finalized ASAP, be patient, |
---|
29 | or drop your old quota database to start anew. |
---|
30 | |
---|
31 | - The new database schema allows to keep an history of all |
---|
32 | jobs as well as charge users per page and/or per job, |
---|
33 | and track users' account balance. |
---|
34 | |
---|
35 | - edpykota now accepts much more command line options to |
---|
36 | use the new functionnalities. See edpykota --help for |
---|
37 | details. |
---|
38 | |
---|
39 | - The installation script now allows to install the sample |
---|
40 | configuration file during first installation. |
---|
41 | |
---|
42 | - More group quota code works, but still not finished. |
---|
43 | |
---|
44 | - The CGI script displays a link to PyKota's website. |
---|
45 | |
---|
46 | - The job history is now kept, this will allow per-period |
---|
47 | reports in the future. |
---|
48 | |
---|
49 | - After having modified the quota for an user with edpykota, |
---|
50 | a quota check is done to eventually warn the user/admin about |
---|
51 | a quota which is too low to print. |
---|
52 | |
---|
53 | - A workaround is provided for HP Printers : their internal |
---|
54 | page counter is only saved to NVRAM in a 10 increment, so |
---|
55 | if you switch them off and then on, the reported page counter |
---|
56 | may be lower than the real number of pages printed. |
---|
57 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
58 | We unconditionnally set the last job's page count to |
---|
59 | abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2)) |
---|
60 | in this case. |
---|
61 | For a more accurate accounting, never switch your HP printers |
---|
62 | off. |
---|
63 | |
---|
64 | - A fix is provided for printers which only have a volatile |
---|
65 | page counter (reset to 0 every time you switch the printer on) |
---|
66 | This should allow PyKota to work reasonably fine with HP Laserjet |
---|
67 | 4L/5L/6L, not perfect, but better than nothing. |
---|
68 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
69 | For a more accurate accounting, never switch your HP printers |
---|
70 | off. |
---|
71 | |
---|
72 | - A bug was fixed when edpykota --add was used with users who already |
---|
73 | had a quota on the specified printer. |
---|
74 | |
---|
75 | - A small display bug in repykota was introduced in preliminary |
---|
76 | 1.03 versions, and fixed later on. |
---|
77 | |
---|
78 | - Some minor bugs which happened in rare situations were fixed. |
---|
79 | |
---|
80 | - Support for AppleTalk printers was added, see sample configuration |
---|
81 | file for details. |
---|
82 | |
---|
83 | - 1.02 : |
---|
84 | |
---|
85 | - The installation script now checks for software availability |
---|
86 | and in case a software is missing asks the user if he |
---|
87 | wants to continue with the installation or abort it. |
---|
88 | |
---|
89 | - The configuration file pykota.conf is now expected to be |
---|
90 | found in /etc instead of in /etc/cups |
---|
91 | The installation script prompts the user to see if he |
---|
92 | wants to move an old configuration file to the new location |
---|
93 | if needed. |
---|
94 | |
---|
95 | - Improved documentation. |
---|
96 | |
---|
97 | - You can now set the tcp/ip port on which the Quota Storage |
---|
98 | Server is listening, see sample configuration file for details. |
---|
99 | |
---|
100 | - Better general error handling. |
---|
101 | |
---|
102 | - Upgrade script for pre 1.01 PostgreSQL database schema is now |
---|
103 | included as well. |
---|
104 | |
---|
105 | - 1.01 : |
---|
106 | |
---|
107 | - The configuration file now accepts an option |
---|
108 | to choose the recipient(s) of the email messages : |
---|
109 | |
---|
110 | - DevNull means no one will receive them. |
---|
111 | - User means only the user will receive them. |
---|
112 | - Admin means only the admin will receive them. |
---|
113 | - Both means the User and the Admin will receive them. |
---|
114 | |
---|
115 | - The configuration file now uses hard-coded default values |
---|
116 | when an option is not set. See sample configuration file |
---|
117 | for details. |
---|
118 | |
---|
119 | - Manual pages are included since 1.00, but I forgot to |
---|
120 | add this information to this file. |
---|
121 | |
---|
122 | - Redistribution terms for the official package have |
---|
123 | softened and are now fully GPL compatible : |
---|
124 | unrestricted modification is now allowed even for |
---|
125 | the version number. |
---|
126 | |
---|
127 | - 1.00 : |
---|
128 | |
---|
129 | - edpykota now accepts a --noquota option. This |
---|
130 | disable quota checking while still doing page |
---|
131 | accounting. This is really useful for people |
---|
132 | who don't want to limit their users but want |
---|
133 | to know how much pages they print. |
---|
134 | |
---|
135 | - Some untested scripts were added to retrieve |
---|
136 | the life time page counter of non-SNMP printers. |
---|
137 | |
---|
138 | - Every directory now has a specific README file. |
---|
139 | |
---|
140 | - 0.99 : |
---|
141 | |
---|
142 | - Under some circumstances while the user wasn't allowed |
---|
143 | to print, he didn't receive any email message. It is |
---|
144 | now fixed. |
---|
145 | |
---|
146 | - When an user wasn't allowed to print, the quota for |
---|
147 | the previous user wasn't updated. This is now fixed. |
---|
148 | |
---|
149 | - 0.98 : |
---|
150 | |
---|
151 | - Correctly handle the case where the printer is switched off. |
---|
152 | |
---|
153 | - Small bug wrt syslog fixed. |
---|
154 | |
---|
155 | - 0.97 : |
---|
156 | |
---|
157 | - edpykota accepts wildcards on its command line for users/groups too |
---|
158 | if the --add option is not set, e.g. : |
---|
159 | |
---|
160 | $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*" |
---|
161 | |
---|
162 | - If no user name is passed at all, then a default wildcard of "*" |
---|
163 | which means apply the command on ALL users for this printer is used. |
---|
164 | |
---|
165 | - Small bug fixes. |
---|
166 | |
---|
167 | - 0.96 : |
---|
168 | |
---|
169 | - Options requester, policy, admin, adminmail and gracedelay can now |
---|
170 | be set either globally or per printer. The printer option has |
---|
171 | priority if both are defined. |
---|
172 | |
---|
173 | - More powerful configuration parser. |
---|
174 | |
---|
175 | - If all options are defined globally, there's no need to |
---|
176 | define a section for each printer in the configuration |
---|
177 | file anymore. Just define a [global] section and it's ok. |
---|
178 | |
---|
179 | - 0.95 : |
---|
180 | |
---|
181 | - External requesters for printers finally added. |
---|
182 | |
---|
183 | - Full internationalization (english and french are supported) |
---|
184 | |
---|
185 | - More complete quota usage report |
---|
186 | |
---|
187 | - CGI script to access to the quota usage report |
---|
188 | |
---|
189 | - Several bugs fixed. |
---|
190 | |
---|
191 | |
---|
192 | - 0.9 : |
---|
193 | |
---|
194 | - First public version |
---|