[797] | 1 | # $Id$ |
---|
| 2 | |
---|
| 3 | PyKota - Print Quota for CUPS |
---|
| 4 | |
---|
[1257] | 5 | (c) 2003-2004 Jerome Alet <alet@librelogiciel.com> |
---|
[873] | 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. |
---|
[797] | 10 | |
---|
[873] | 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. |
---|
[797] | 15 | |
---|
[873] | 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 | |
---|
[797] | 20 | ============================================================ |
---|
| 21 | |
---|
| 22 | PyKota NEWS : |
---|
| 23 | |
---|
[1396] | 24 | - 1.18alpha15 : |
---|
[1398] | 25 | |
---|
| 26 | - waitprinter.sh replaced by a new and possibly faster |
---|
| 27 | and more powerful one. |
---|
[1396] | 28 | |
---|
| 29 | - Names can now begin with a digit. |
---|
| 30 | |
---|
[1398] | 31 | - Stability improvement for quotas set on printers groups. |
---|
[1396] | 32 | |
---|
[1381] | 33 | - 1.18alpha14 : |
---|
| 34 | |
---|
[1384] | 35 | - Catches more (all ?) problems with SMTP servers instead |
---|
| 36 | of breaking. |
---|
| 37 | |
---|
[1381] | 38 | - Italian translation added. |
---|
| 39 | |
---|
[1376] | 40 | - 1.18alpha13 : |
---|
| 41 | |
---|
| 42 | - Pre and Post hooks are now available in the pykota |
---|
| 43 | filter as well. |
---|
| 44 | |
---|
| 45 | - The pykota filter doesn't check last user's quota |
---|
[1377] | 46 | anymore when delayed hardware accounting is used : |
---|
| 47 | this will be done anyway the next time the last |
---|
| 48 | user will print again. This saves some database |
---|
| 49 | queries which are unneeded. |
---|
[1376] | 50 | |
---|
[1372] | 51 | - 1.18alpha12 : |
---|
| 52 | |
---|
[1376] | 53 | - Pre and Post hooks to external commands with many |
---|
[1372] | 54 | many environment variables available are useable |
---|
| 55 | from the cupspykota backend. |
---|
| 56 | See sample configuration file for details and help. |
---|
| 57 | |
---|
[1368] | 58 | - 1.18alpha11 : |
---|
| 59 | |
---|
| 60 | - Hopefully final fix wrt groups (users and printers) |
---|
| 61 | |
---|
[1365] | 62 | - 1.18alpha10 : |
---|
| 63 | |
---|
| 64 | - Fixed nested printer groups accounting. |
---|
| 65 | |
---|
| 66 | - Fixed user groups + printer groups problem. |
---|
| 67 | |
---|
[1360] | 68 | - 1.18alpha9 : |
---|
| 69 | |
---|
[1363] | 70 | - Fix for LDAP problem when job price was 0. |
---|
| 71 | |
---|
[1362] | 72 | - Fix for empty user groups with LDAP. |
---|
| 73 | |
---|
[1360] | 74 | - Preliminary version of the snmpprinterstatus command added. |
---|
| 75 | |
---|
[1358] | 76 | - 1.18alpha8 : |
---|
| 77 | |
---|
| 78 | - Don't retrieve data when not needed. |
---|
| 79 | This avoids many database queries. |
---|
| 80 | |
---|
[1356] | 81 | - 1.18alpha7 : |
---|
| 82 | |
---|
| 83 | - New experimental ldapcache directive to improve |
---|
| 84 | LDAP caching. |
---|
| 85 | |
---|
[1353] | 86 | - 1.18alpha6 : |
---|
| 87 | |
---|
| 88 | - New configuration directive added : maildomain |
---|
| 89 | to specify the domain to send mail to when user |
---|
| 90 | email address is not set in PyKota database. |
---|
| 91 | |
---|
| 92 | - More complete email message headers. |
---|
| 93 | |
---|
[1351] | 94 | - 1.18alpha5 : |
---|
| 95 | |
---|
| 96 | - Debian packaging specific files, contributed by |
---|
| 97 | Peter Hawkins are now included in the project's tree. |
---|
| 98 | |
---|
| 99 | - Preliminary work on future low-level LDAP caching to speed |
---|
| 100 | up modifications (at least). |
---|
| 101 | |
---|
[1338] | 102 | - 1.18alpha4 : |
---|
| 103 | |
---|
[1345] | 104 | - Applied some of the modifications suggested by |
---|
| 105 | Peter Hawkins, for better Debian integration. |
---|
| 106 | Most notably cupspykota, pykota, and the shell |
---|
| 107 | scripts are now installed into /usr/share/pykota |
---|
| 108 | instead of into /usr/bin |
---|
| 109 | BEWARE : double check that your symbolic link |
---|
| 110 | to cupspykota is correct, and that your pykota.conf |
---|
| 111 | file use correct path for the shell scripts like |
---|
| 112 | waitprinter.sh and al. |
---|
| 113 | |
---|
[1338] | 114 | - pkhint command added, to help in configuring correct |
---|
| 115 | accounting method for PyKota. |
---|
| 116 | |
---|
[1336] | 117 | - 1.18alpha3 : |
---|
| 118 | |
---|
| 119 | - Fixed a rare bug in cupspykota backend which gave |
---|
| 120 | incorrect "CUPS backend died abnormally" messages. |
---|
| 121 | |
---|
[1330] | 122 | - 1.18alpha2 : |
---|
| 123 | |
---|
| 124 | - Added the pkprinters command line tool to manage printers |
---|
| 125 | exclusively. |
---|
| 126 | |
---|
[1328] | 127 | - 1.18alpha1 : |
---|
| 128 | |
---|
| 129 | - Preliminary work on Relationnal Database Independance. |
---|
| 130 | |
---|
| 131 | - Sample report made from OpenOffice.org added as PDF and SXC. |
---|
| 132 | |
---|
[1323] | 133 | - 1.17 : |
---|
| 134 | |
---|
| 135 | - Finalized release. |
---|
| 136 | |
---|
[1321] | 137 | - 1.17alpha2 : |
---|
| 138 | |
---|
| 139 | - Fix stupid software accounting bug in the CUPS backend. |
---|
| 140 | |
---|
[1318] | 141 | - 1.17alpha1 : |
---|
| 142 | |
---|
| 143 | - User/Group deletion code in edpykota rewritten. |
---|
| 144 | |
---|
[1308] | 145 | - 1.16 : |
---|
| 146 | |
---|
| 147 | - Preliminary documentation on how to use OpenOffice.org |
---|
| 148 | to create personnalized reports for PyKota + PostgreSQL. |
---|
| 149 | |
---|
| 150 | - Spanish installation guide for CUPS+PyKota+PostgreSQL |
---|
| 151 | added to the documentation. Doesn't yet document v1.16 |
---|
| 152 | though. |
---|
| 153 | |
---|
| 154 | - Portuguese Portuguese translation replaces Brasilian |
---|
| 155 | Portuguese Translation. Brasilian portuguese |
---|
| 156 | translation is still available under the 'br' locale. |
---|
| 157 | |
---|
[1301] | 158 | - 1.16beta3 : |
---|
| 159 | |
---|
| 160 | - Swedish translation added. |
---|
| 161 | |
---|
| 162 | - Small fix in documentation. |
---|
| 163 | |
---|
[1291] | 164 | - 1.16beta2 : |
---|
| 165 | |
---|
| 166 | - Small fix for job cancelling code while job already |
---|
| 167 | printing in CUPS backend. |
---|
[1293] | 168 | |
---|
| 169 | - Big fix wrt printing policies for unknown users. |
---|
[1291] | 170 | |
---|
[1287] | 171 | - 1.16beta1 : |
---|
| 172 | |
---|
| 173 | - Manpages upgraded. |
---|
| 174 | |
---|
[1285] | 175 | - 1.16alpha26 : |
---|
| 176 | |
---|
| 177 | - Job price is now computed like this : |
---|
| 178 | |
---|
| 179 | SUM((NbPages * PricePerPage) + PricePerJob) |
---|
| 180 | |
---|
| 181 | For current printer and all the printers groups it is |
---|
[1286] | 182 | a member of, if any. |
---|
[1285] | 183 | |
---|
| 184 | This may be difficult to grasp, but offers unprecedented |
---|
| 185 | flexibility. |
---|
| 186 | |
---|
[1284] | 187 | - 1.16alpha25 : |
---|
| 188 | |
---|
| 189 | - Email address can be set at user creation time, |
---|
| 190 | using the following syntax : |
---|
| 191 | |
---|
| 192 | $ edpykota --add username/email@yourdomain.com |
---|
| 193 | |
---|
[1271] | 194 | - 1.16alpha24 : |
---|
| 195 | |
---|
[1274] | 196 | - CGI script now can show the printing history. |
---|
| 197 | |
---|
[1272] | 198 | - Bug wrt number of copies should be fixed. |
---|
| 199 | |
---|
[1271] | 200 | - Major code refactoring => It is now possible to |
---|
| 201 | automatically add printers on first print. |
---|
| 202 | |
---|
[1269] | 203 | - 1.16alpha23 : |
---|
| 204 | |
---|
[1270] | 205 | - Fixed potential accuracy problem if a user printed on |
---|
| 206 | several printers at the very same time. |
---|
[1269] | 207 | |
---|
[1258] | 208 | - 1.16alpha22 : |
---|
| 209 | |
---|
| 210 | - edpykota now allows adding printers to printer groups |
---|
| 211 | |
---|
[1248] | 212 | - 1.16alpha21 : |
---|
| 213 | |
---|
| 214 | - Allows the dot in user and printer names. |
---|
| 215 | |
---|
[1249] | 216 | - Printer groups are now cached too. |
---|
| 217 | |
---|
[1240] | 218 | - 1.16alpha20 : |
---|
| 219 | |
---|
| 220 | - Fixed several small bugs with the help of PyChecker. |
---|
| 221 | |
---|
| 222 | - 1.16alpha19 : |
---|
| 223 | |
---|
| 224 | - Fixed a bug in PostgreSQL backend's code. |
---|
| 225 | |
---|
| 226 | - 1.16alpha18 : |
---|
| 227 | |
---|
| 228 | - Initial code for printer groups support. Printer groups have |
---|
| 229 | to be added with external tools like psql or gq for example. |
---|
| 230 | Printer groups seems to work fine with users. Untested with user |
---|
| 231 | groups for now. |
---|
| 232 | |
---|
| 233 | - Several minor visual problems fixed in reports. |
---|
| 234 | |
---|
| 235 | - Fixed a bug in LDAP date handling. |
---|
| 236 | |
---|
| 237 | - Fix for LDAP problem with some combination of OpenLDAP + Python-LDAP |
---|
| 238 | + some particular settings. |
---|
| 239 | |
---|
| 240 | - mailandpopup.sh shell script added. See sample configuration file |
---|
| 241 | for details. |
---|
| 242 | |
---|
| 243 | - Several environment variables are now exported when executing |
---|
| 244 | external commands (accounters, requesters, mailers) : |
---|
| 245 | |
---|
| 246 | PYKOTAUSERNAME => user who is printing |
---|
| 247 | PYKOTAPRINTERNAME => printer on which the job is being sent |
---|
| 248 | PYKOTATITLE => Job's title |
---|
| 249 | PYKOTAFILENAME => Job's filename |
---|
| 250 | PYKOTACOPIES => number of copies asked |
---|
| 251 | PYKOTAOPTIONS => print command options (-o with CUPS) |
---|
| 252 | |
---|
[1239] | 253 | - 1.16alpha17 : |
---|
[1227] | 254 | |
---|
[1239] | 255 | - Added portugues translation. |
---|
| 256 | |
---|
| 257 | - Major code refactoring in accounters. |
---|
| 258 | |
---|
| 259 | - 1.16alpha16 : |
---|
| 260 | |
---|
[1235] | 261 | - Code refactoring, and addition of a real HTML reporter, to |
---|
| 262 | have nice looking and useful web based reports (in the future). |
---|
| 263 | |
---|
[1227] | 264 | - Added utolower configuration option to convert all usernames |
---|
| 265 | to lowercase during printing. |
---|
| 266 | |
---|
[1226] | 267 | - 1.15alpha15 : |
---|
| 268 | |
---|
| 269 | - Now includes the papwaitprinter.sh shell script to wait for |
---|
| 270 | AppleTalk enabled printers. |
---|
| 271 | |
---|
[1221] | 272 | - 1.16alpha14 : |
---|
| 273 | |
---|
| 274 | - Now printing on a printer not defined in the Quota Storage, |
---|
| 275 | results in the job being cancelled or stopped, depending |
---|
| 276 | on the printing system. |
---|
| 277 | |
---|
[1212] | 278 | - 1.16alpha13 : |
---|
| 279 | |
---|
| 280 | - Small bugfix wrt Python v2.1 |
---|
| 281 | |
---|
[1215] | 282 | - If username is an empty string, user root is assumed. |
---|
[1220] | 283 | |
---|
| 284 | - 'postgresql' is not recognized anymore as a storage backend, |
---|
| 285 | you have to use 'pgstorage' instead. 'postgresql' used to |
---|
| 286 | be supported for compatibility with very old PyKota versions, |
---|
| 287 | this is not the case anymore. |
---|
[1212] | 288 | |
---|
[1203] | 289 | - 1.16alpha12 : |
---|
| 290 | |
---|
| 291 | - Job price added to job history, to keep accounting correct |
---|
| 292 | if a printer price per page or per job is modified and the |
---|
| 293 | history is not reset : the history would have given a false |
---|
| 294 | amount of money charged before the printer's prices were |
---|
| 295 | modified, this addition solves the problem. |
---|
| 296 | |
---|
[1200] | 297 | - 1.16alpha11 : |
---|
| 298 | |
---|
| 299 | - Some preliminary modifications to the database structure for |
---|
| 300 | PostgreSQL and OpenLDAP. A script to upgrade a PostgreSQL |
---|
| 301 | database is now provided. LDAP attributes now support |
---|
| 302 | eq, pres and sub indexes. |
---|
| 303 | |
---|
| 304 | - Job history now contains additional informations : |
---|
| 305 | number of copies, filename, title and print options. |
---|
| 306 | |
---|
[1194] | 307 | - 1.16alpha10 : |
---|
[1196] | 308 | |
---|
| 309 | - Some modifications done to external policy handling. |
---|
| 310 | See sample configuration file for details. |
---|
[1194] | 311 | |
---|
| 312 | - Spanish translation added. |
---|
| 313 | |
---|
[1192] | 314 | - 1.16alpha9 : |
---|
| 315 | |
---|
| 316 | - mailto can be set to external(...) to warn users above |
---|
| 317 | quota with any command of your choice (e.g. linpopup). |
---|
| 318 | Several parameters are available, see sample configuration |
---|
| 319 | file for details. |
---|
| 320 | |
---|
[1189] | 321 | - 1.16alpha8 : |
---|
| 322 | |
---|
[1191] | 323 | - Now cupspykota transmits SIGTERMS to the original |
---|
| 324 | backend when the user deletes a job being processed. |
---|
| 325 | |
---|
[1189] | 326 | - The documentation is now licensed under the terms of the |
---|
| 327 | GNU GPL too. |
---|
| 328 | |
---|
[1185] | 329 | - 1.16alpha7 : |
---|
| 330 | |
---|
| 331 | - The CUPS backend is now fully functionnal (it seems). |
---|
| 332 | |
---|
| 333 | - From now on, the use of the pykota filter with CUPS |
---|
| 334 | is deprecated. The pykota filter still has to be |
---|
| 335 | used with LPRng though. |
---|
| 336 | |
---|
[1179] | 337 | - 1.16alpha6 : |
---|
| 338 | |
---|
| 339 | - Bug fixed : when edpykota was used to add a printer |
---|
| 340 | with no user or group name, a bad user/group name "*" was |
---|
| 341 | added to the database. |
---|
| 342 | |
---|
[1178] | 343 | - 1.16alpha5 : |
---|
| 344 | |
---|
| 345 | - New CUPS backend supports device enumeration ! |
---|
| 346 | This means that NO manual CUPS configuration has to |
---|
| 347 | be done. All can now be done from CUPS web interface. |
---|
| 348 | |
---|
[1177] | 349 | - 1.16alpha4 : |
---|
| 350 | |
---|
| 351 | - New CUPS backend added. |
---|
| 352 | |
---|
[1175] | 353 | - 1.16alpha3 : |
---|
| 354 | |
---|
| 355 | - Minimal FAQ document added. |
---|
| 356 | |
---|
[1172] | 357 | - 1.16alpha2 : |
---|
| 358 | |
---|
| 359 | - CGI script now partially supports browser's language preference |
---|
| 360 | |
---|
[1170] | 361 | - 1.16alpha1 : |
---|
| 362 | |
---|
| 363 | - Ensures that the LDAP connection is really closed at end. |
---|
| 364 | |
---|
| 365 | - More complete error messages in case of LDAP operation failure. |
---|
| 366 | |
---|
[1168] | 367 | - 1.15 : |
---|
| 368 | |
---|
| 369 | - Documentation improved. |
---|
| 370 | |
---|
[1156] | 371 | - 1.15beta : |
---|
| 372 | |
---|
| 373 | - Command line tools now accept multiple printer |
---|
| 374 | names or wildcards, separated with commas. |
---|
| 375 | |
---|
[1152] | 376 | - 1.15alpha9 : |
---|
| 377 | |
---|
| 378 | - External policy can be used to auto-add unknown users |
---|
| 379 | and any other interesting things you may want to do. |
---|
| 380 | WARNING : You can't auto-add printers for now. |
---|
| 381 | They have to be created manually before. |
---|
| 382 | Look at sample configuration file for examples. |
---|
| 383 | |
---|
[1149] | 384 | - 1.15alpha8 : |
---|
| 385 | |
---|
| 386 | - Job history can be disabled if needed. |
---|
| 387 | This feature may be useful for people who use the LDAP |
---|
| 388 | backend and don't want their LDAP tree to grow out of |
---|
| 389 | control. |
---|
| 390 | |
---|
[1138] | 391 | - 1.15alpha7 : |
---|
| 392 | |
---|
| 393 | - More work done on caching wrt groups. |
---|
| 394 | |
---|
[1135] | 395 | - 1.15alpha6 : |
---|
| 396 | |
---|
| 397 | - Performance bottleneck with LDAP solved. |
---|
| 398 | |
---|
[1130] | 399 | - 1.15alpha5 : |
---|
| 400 | |
---|
| 401 | - Caching mechanism for all database queries. |
---|
| 402 | |
---|
[1123] | 403 | - 1.15alpha4 : |
---|
| 404 | |
---|
| 405 | - Problem with Python 2.3 fixed. Needs some definitive |
---|
| 406 | modification. |
---|
| 407 | |
---|
[1121] | 408 | - 1.15alpha3 : |
---|
| 409 | |
---|
| 410 | - CGI script now tries to restrict view when the |
---|
| 411 | REMOTE_USER environment variable is set. This allows |
---|
| 412 | people to protect its use with .htaccess files. |
---|
| 413 | When unprotected, or if REMOTE_USER is 'root', then |
---|
| 414 | unrestricted access is granted. |
---|
[1122] | 415 | NB : REMOTE_USER is automatically set by the web server |
---|
| 416 | (e.g. Apache) when a page with restricted access is viewed. |
---|
[1121] | 417 | |
---|
[1116] | 418 | - 1.15alpha2 : |
---|
| 419 | |
---|
| 420 | - Better detection of LPRng. |
---|
| 421 | |
---|
| 422 | - Outputs a warning if printing system is unknown. |
---|
| 423 | |
---|
[1115] | 424 | - 1.15alpha1 : |
---|
| 425 | |
---|
| 426 | - Bug fix in SQL code. |
---|
| 427 | |
---|
[1113] | 428 | - 1.14 : |
---|
| 429 | |
---|
| 430 | - The PostgreSQL database connection is now always closed before |
---|
| 431 | exit. The LDAP database connection too, but it didn't suffer |
---|
| 432 | from the problem anyway, AFAICT. |
---|
| 433 | |
---|
[1111] | 434 | - 1.14beta2 : |
---|
| 435 | |
---|
| 436 | - An LDAP-specific configuration field was introduced, usermail. |
---|
| 437 | Use it to specify which LDAP attribute contains a valid email |
---|
| 438 | address for the user. See sample configuration file for |
---|
| 439 | details. |
---|
| 440 | |
---|
[1105] | 441 | - 1.14beta : |
---|
| 442 | |
---|
| 443 | - Two new LDAP-specific configuration fields were introduced, |
---|
| 444 | newuser and newgroup. Use them to specify if you want to add |
---|
| 445 | quota information to existing entries or elsewhere. |
---|
| 446 | See sample configuration file for details. |
---|
| 447 | |
---|
[1099] | 448 | - 1.14alpha9 : |
---|
| 449 | |
---|
| 450 | - Documentation improved. |
---|
| 451 | |
---|
| 452 | - pykotme now also prints the user's account balance value |
---|
| 453 | if the user is registered in the Quota Storage and his |
---|
| 454 | limiting factor is "balance". |
---|
| 455 | |
---|
[1095] | 456 | - 1.14alpha8 : |
---|
| 457 | |
---|
| 458 | - bin/waitprinter.sh is now included to wait for |
---|
| 459 | SNMP enabled printers to be idle again before |
---|
| 460 | asking for their internal page counter. |
---|
| 461 | See sample configuration file for details. |
---|
| 462 | |
---|
[1089] | 463 | - 1.14alpha7 : |
---|
| 464 | |
---|
| 465 | - edpykota now doesn't check if the user/group is above |
---|
| 466 | quota. The check is only done at print time. This |
---|
| 467 | prevents the sending of email messages when creating |
---|
| 468 | user quotas if quota is already reached at creation |
---|
| 469 | time. |
---|
| 470 | |
---|
[1087] | 471 | - 1.14alpha6 : |
---|
| 472 | |
---|
| 473 | - Configuration file split and moved to /etc/pykota/pykota.conf |
---|
| 474 | and /etc/pykota/pykotadmin.conf to prevent simple users to |
---|
| 475 | have Read/Write access to the Quota Database. |
---|
| 476 | Don't forget to : |
---|
| 477 | |
---|
| 478 | $ chmod 640 /etc/pykota/pykotadmin.conf |
---|
| 479 | |
---|
| 480 | - storageuser and storageuserpw configuration fields reintroduced |
---|
| 481 | for the same reason. |
---|
| 482 | |
---|
| 483 | - Code cleaning for future implementation of email addresses |
---|
| 484 | support in the PostgreSQL and LDAP backends. |
---|
| 485 | |
---|
[1085] | 486 | - 1.14alpha5 : |
---|
| 487 | |
---|
| 488 | - Big bug fixed when changing the prices for a printer |
---|
| 489 | |
---|
[1082] | 490 | - 1.14alpha4 : |
---|
| 491 | |
---|
| 492 | - When adding an user, the user itself and its account balance |
---|
| 493 | are now added in the same LDAP entry. Before they were added |
---|
| 494 | as two different LDAP entries. |
---|
| 495 | |
---|
[1079] | 496 | - 1.14alpha3 : |
---|
| 497 | |
---|
| 498 | - Email field added to PostgreSQL database. An upgrade script |
---|
| 499 | is included in initscripts/postgresql. |
---|
| 500 | |
---|
[1078] | 501 | - 1.14alpha2 : |
---|
| 502 | |
---|
| 503 | - Typo fixed when using the --prototype option to edpykota |
---|
| 504 | |
---|
[1077] | 505 | - 1.14alpha1 : |
---|
| 506 | |
---|
| 507 | - Poor man's treshold included : users with a low account |
---|
| 508 | balance (below 1.0 by default, configurable) are sent |
---|
| 509 | a warning message. |
---|
| 510 | |
---|
| 511 | - All warning messages to users are now configurable. |
---|
| 512 | NB : Warning messages to the administrator are not. |
---|
| 513 | |
---|
[1068] | 514 | - 1.13 : |
---|
| 515 | |
---|
[1072] | 516 | - Some small fixes wrt group handling. |
---|
| 517 | |
---|
[1068] | 518 | - The whole module code was passed through PyChecker and |
---|
| 519 | several small code inconsistencies were fixed, |
---|
| 520 | as well as a bug in the groups code. |
---|
| 521 | |
---|
[1067] | 522 | - 1.13alpha1 : |
---|
| 523 | |
---|
| 524 | - Bug fix wrt LDAP. |
---|
| 525 | |
---|
[1065] | 526 | - 1.12 : |
---|
| 527 | |
---|
| 528 | - More complete test added in edpykota. |
---|
| 529 | |
---|
[1062] | 530 | - 1.12alpha2 : |
---|
| 531 | |
---|
| 532 | - The previous bug fix was incomplete. This is corrected. |
---|
| 533 | |
---|
[1061] | 534 | - 1.12alpha1 : |
---|
| 535 | |
---|
| 536 | - Small bug fix. |
---|
| 537 | |
---|
[1057] | 538 | - 1.11 : |
---|
| 539 | |
---|
| 540 | - Now includes the pykotme command line tool, to produce |
---|
| 541 | printing quotes for users. |
---|
| 542 | |
---|
[1056] | 543 | - 1.10 : |
---|
| 544 | |
---|
| 545 | - Bug fixed wrt quota reports when print limiting is by |
---|
| 546 | account balance. |
---|
| 547 | |
---|
[1052] | 548 | - 1.09 : |
---|
| 549 | |
---|
| 550 | - Translations finalized. |
---|
| 551 | |
---|
| 552 | - Manpages updated. |
---|
| 553 | |
---|
| 554 | - Installation documentation improved wrt LDAP support. |
---|
| 555 | |
---|
[1049] | 556 | - 1.09beta2 : |
---|
| 557 | |
---|
| 558 | - The CGI script for quota reports works again, and |
---|
| 559 | is much more powerful. |
---|
| 560 | |
---|
[1043] | 561 | - 1.09beta : |
---|
| 562 | |
---|
| 563 | - edpykota finalized |
---|
| 564 | |
---|
[1041] | 565 | - 1.09alpha2 : |
---|
| 566 | |
---|
| 567 | - LDAP schema modified a bit. Please upgrade. |
---|
| 568 | |
---|
| 569 | - LDAP backend works ! |
---|
| 570 | |
---|
| 571 | - repykota and warnpykota allow the root user to pass |
---|
| 572 | users or groups names on the command line. Users |
---|
| 573 | and groups names may contain wildcards. |
---|
| 574 | |
---|
| 575 | - repykota and warnpykota only reports or warns the |
---|
| 576 | current user when launched by non-root users. |
---|
| 577 | |
---|
| 578 | - Minor bug fixes. |
---|
| 579 | |
---|
[1029] | 580 | - 1.09alpha1 : |
---|
| 581 | |
---|
| 582 | - More work on LDAP storage backend. Many options |
---|
| 583 | were added to /etc/pykota.conf to give some |
---|
| 584 | hints to the LDAP storage backend. |
---|
[1044] | 585 | |
---|
| 586 | - Severe database access optimizations were done by |
---|
| 587 | rewriting most of the Quota Storage backends drivers. |
---|
[1029] | 588 | |
---|
[1027] | 589 | - 1.08 : |
---|
| 590 | |
---|
| 591 | - Major bug fix wrt LPRng support for remote jobs. |
---|
[1029] | 592 | |
---|
[1027] | 593 | - Major bug fix wrt increase/decrease account balances. |
---|
| 594 | |
---|
[1021] | 595 | - 1.08alpha8 : |
---|
| 596 | |
---|
| 597 | - Code refactoring. |
---|
[1029] | 598 | |
---|
[1021] | 599 | - A single user/password pair is used to connect |
---|
| 600 | to the database backend. The storageuser configuration |
---|
| 601 | field, and its associated passwords storageuserpw, are |
---|
| 602 | not used anymore. |
---|
[1029] | 603 | |
---|
[1022] | 604 | - You can now set PyKota in debug mode, see sample configuration |
---|
| 605 | file for details. |
---|
| 606 | WARNING : only Quota Storage backend queries are logged in |
---|
| 607 | debug mode, for now. |
---|
[1021] | 608 | |
---|
[1019] | 609 | - 1.08alpha7 : |
---|
| 610 | |
---|
| 611 | - Very latest LDAP schema. |
---|
[1029] | 612 | |
---|
[1019] | 613 | - Code enhancement wrt easy pluggability of PyKota attributes |
---|
| 614 | and object classes into an existing LDAP directory. |
---|
| 615 | |
---|
[1017] | 616 | - 1.08alpha6 : |
---|
| 617 | |
---|
| 618 | - Minor bug corrections |
---|
[1029] | 619 | |
---|
[1017] | 620 | - More work on LDAP : new schema |
---|
| 621 | |
---|
[1016] | 622 | - 1.08alpha5 : |
---|
| 623 | |
---|
[1017] | 624 | - More good work on LDAP storage. |
---|
| 625 | repykota now works reasonably well with the sample LDAP directory. |
---|
[1016] | 626 | |
---|
[1014] | 627 | - 1.08alpha4 : |
---|
| 628 | |
---|
| 629 | - LDAP schema included. |
---|
| 630 | THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS. |
---|
| 631 | LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA |
---|
| 632 | MAY CHANGE IN THE FUTURE. PLEASE TELL US |
---|
| 633 | WHAT YOU THINK ABOUT THIS SCHEMA ON THE |
---|
| 634 | MAILING LIST. |
---|
| 635 | |
---|
[1000] | 636 | - 1.08alpha3 : |
---|
| 637 | |
---|
| 638 | - External accounting methods were partly rewritten : |
---|
| 639 | |
---|
| 640 | - No more "broken pipe" should happen. |
---|
| 641 | |
---|
| 642 | - They now take care of the number of copies |
---|
| 643 | This may be unneeded though, if the postscript |
---|
| 644 | file already does this, because this would |
---|
| 645 | overcharge users (number of copies counted |
---|
| 646 | two times). NEEDS MORE TESTING. |
---|
| 647 | |
---|
| 648 | - The sample configuration file now contains |
---|
| 649 | an external accounting method example which should |
---|
| 650 | work with all DSC compliant Postscript files. |
---|
| 651 | |
---|
| 652 | - Some small bugs were fixed. |
---|
| 653 | |
---|
[998] | 654 | - 1.08alpha2 : |
---|
| 655 | |
---|
| 656 | - Now works with net-snmp v5.0 and above. |
---|
| 657 | It already worked, but the sample configuration |
---|
[1000] | 658 | file didn't contain appropriate values... |
---|
[998] | 659 | |
---|
[991] | 660 | - 1.07 : Release of the Shame ! |
---|
| 661 | |
---|
| 662 | - The external accounting methods driver was left out of |
---|
| 663 | the CVS tree. Nobody could use it since it wasn't included ! |
---|
| 664 | |
---|
[989] | 665 | - 1.06 : |
---|
| 666 | |
---|
| 667 | - Severe bug fixed : if you had a printer in |
---|
| 668 | power saving state which couldn't answer immediately, |
---|
| 669 | a bug was triggered. |
---|
| 670 | It was caused by a bad copy/paste which |
---|
| 671 | forgot to import a Python module at run time. |
---|
| 672 | |
---|
[980] | 673 | - 1.05 : |
---|
| 674 | |
---|
| 675 | - External accounters are finally available ! |
---|
| 676 | This means that you can plug any page accounting |
---|
| 677 | method you like by setting the appropriate |
---|
| 678 | 'accounter' field in /etc/pykota.conf |
---|
| 679 | See the sample conf/pykota.conf.sample to |
---|
| 680 | learn how to do. |
---|
| 681 | |
---|
| 682 | NB : Both 'external' and 'stupid' accounting methods |
---|
| 683 | account a job size just before *this* job is |
---|
| 684 | sent to the printer. |
---|
| 685 | The original 'querying' method accounts a job |
---|
| 686 | size just before *the next* job is sent to |
---|
| 687 | the printer. |
---|
| 688 | |
---|
[976] | 689 | - 1.05alpha3 : |
---|
| 690 | |
---|
| 691 | - A 'stupid' and unreliable accounting method was |
---|
| 692 | implemented to serve as an example on how to |
---|
| 693 | do this sort of things. This method only counts |
---|
| 694 | the 'showpage' statements in the input data. |
---|
| 695 | See sample configuration file for details. |
---|
| 696 | Pluggable accounting methods work, but I advise |
---|
| 697 | you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE. |
---|
| 698 | It is not reliable enough to be used. |
---|
[978] | 699 | Use the 'querying' accounting method instead. |
---|
[976] | 700 | |
---|
[973] | 701 | - 1.05alpha2 : |
---|
| 702 | |
---|
| 703 | - Pluggable accounting methods. |
---|
| 704 | |
---|
[975] | 705 | - Better error handling. |
---|
| 706 | |
---|
[962] | 707 | - 1.05alpha1 : |
---|
| 708 | |
---|
[969] | 709 | - SECURITY file added to help improve PyKota's security. |
---|
| 710 | |
---|
[962] | 711 | - Extracting the printer's internal page counter is now |
---|
| 712 | tried several times, waiting several seconds between |
---|
| 713 | two tries. This lets the time to warm up for some printers |
---|
| 714 | which don't answer when they are sleeping (my Apple |
---|
| 715 | LaserWriter 16/600 PS is in this case, maybe others too) |
---|
| 716 | |
---|
[970] | 717 | - Small display bug fixed in repykota |
---|
| 718 | |
---|
[960] | 719 | - 1.04 : |
---|
[956] | 720 | |
---|
| 721 | - Default print policy for users/groups unknown from |
---|
| 722 | the print quota system is now DENY instead of ALLOW, |
---|
| 723 | since ALLOW can generate inaccurate results |
---|
| 724 | (incorrect job sizes charged to the wrong persons) |
---|
| 725 | |
---|
[954] | 726 | - LPRng support works ! |
---|
| 727 | |
---|
[953] | 728 | - A bug was introduced some time ago wrt printers' default |
---|
| 729 | policy for unknown users. It is now corrected. |
---|
| 730 | |
---|
[950] | 731 | - repykota now displays prices per job and per page for each |
---|
| 732 | printer, if they are defined. |
---|
| 733 | |
---|
[947] | 734 | - Minor display bug fixed in repykota. |
---|
| 735 | |
---|
| 736 | - Problem when running repykota with an empty database was fixed. |
---|
| 737 | |
---|
[942] | 738 | - 1.03 : |
---|
| 739 | |
---|
| 740 | - Upgrade script included for earlier versions. |
---|
| 741 | Please look inside the initscripts subdirectory. |
---|
[965] | 742 | THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE. |
---|
[942] | 743 | |
---|
[932] | 744 | - repykota now reports account balances too. |
---|
[929] | 745 | |
---|
[932] | 746 | - PyKota now has a nice logo, see the logos |
---|
| 747 | subdirectory. |
---|
| 748 | |
---|
[936] | 749 | - Manual pages were finally updated. |
---|
| 750 | |
---|
[927] | 751 | - Group quotas seem to work now ! |
---|
| 752 | |
---|
[910] | 753 | - The new database schema allows to keep an history of all |
---|
| 754 | jobs as well as charge users per page and/or per job, |
---|
| 755 | and track users' account balance. |
---|
| 756 | |
---|
[917] | 757 | - edpykota now accepts much more command line options to |
---|
| 758 | use the new functionnalities. See edpykota --help for |
---|
| 759 | details. |
---|
| 760 | |
---|
[885] | 761 | - The installation script now allows to install the sample |
---|
| 762 | configuration file during first installation. |
---|
[892] | 763 | |
---|
| 764 | - More group quota code works, but still not finished. |
---|
[885] | 765 | |
---|
[894] | 766 | - The CGI script displays a link to PyKota's website. |
---|
| 767 | |
---|
[899] | 768 | - The job history is now kept, this will allow per-period |
---|
| 769 | reports in the future. |
---|
[900] | 770 | |
---|
| 771 | - After having modified the quota for an user with edpykota, |
---|
| 772 | a quota check is done to eventually warn the user/admin about |
---|
| 773 | a quota which is too low to print. |
---|
| 774 | |
---|
[901] | 775 | - A workaround is provided for HP Printers : their internal |
---|
| 776 | page counter is only saved to NVRAM in a 10 increment, so |
---|
| 777 | if you switch them off and then on, the reported page counter |
---|
| 778 | may be lower than the real number of pages printed. |
---|
| 779 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
[909] | 780 | We unconditionnally set the last job's page count to |
---|
| 781 | abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2)) |
---|
| 782 | in this case. |
---|
[908] | 783 | For a more accurate accounting, never switch your HP printers |
---|
| 784 | off. |
---|
[901] | 785 | |
---|
| 786 | - A fix is provided for printers which only have a volatile |
---|
| 787 | page counter (reset to 0 every time you switch the printer on) |
---|
[908] | 788 | This should allow PyKota to work reasonably fine with HP Laserjet |
---|
| 789 | 4L/5L/6L, not perfect, but better than nothing. |
---|
[901] | 790 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
[908] | 791 | For a more accurate accounting, never switch your HP printers |
---|
[925] | 792 | off. This is untested, please report any problem. |
---|
[901] | 793 | |
---|
[907] | 794 | - A bug was fixed when edpykota --add was used with users who already |
---|
| 795 | had a quota on the specified printer. |
---|
| 796 | |
---|
[913] | 797 | - A small display bug in repykota was introduced in preliminary |
---|
| 798 | 1.03 versions, and fixed later on. |
---|
[915] | 799 | |
---|
| 800 | - Some minor bugs which happened in rare situations were fixed. |
---|
[913] | 801 | |
---|
[919] | 802 | - Support for AppleTalk printers was added, see sample configuration |
---|
| 803 | file for details. |
---|
[925] | 804 | |
---|
| 805 | - Users and group printing can now be controlled (limited) either by |
---|
| 806 | print quota or by account balance. |
---|
[919] | 807 | |
---|
[877] | 808 | - 1.02 : |
---|
[859] | 809 | |
---|
[871] | 810 | - The installation script now checks for software availability |
---|
| 811 | and in case a software is missing asks the user if he |
---|
| 812 | wants to continue with the installation or abort it. |
---|
| 813 | |
---|
[872] | 814 | - The configuration file pykota.conf is now expected to be |
---|
| 815 | found in /etc instead of in /etc/cups |
---|
| 816 | The installation script prompts the user to see if he |
---|
| 817 | wants to move an old configuration file to the new location |
---|
| 818 | if needed. |
---|
| 819 | |
---|
[859] | 820 | - Improved documentation. |
---|
| 821 | |
---|
| 822 | - You can now set the tcp/ip port on which the Quota Storage |
---|
| 823 | Server is listening, see sample configuration file for details. |
---|
| 824 | |
---|
[872] | 825 | - Better general error handling. |
---|
[859] | 826 | |
---|
[875] | 827 | - Upgrade script for pre 1.01 PostgreSQL database schema is now |
---|
| 828 | included as well. |
---|
| 829 | |
---|
[852] | 830 | - 1.01 : |
---|
| 831 | |
---|
| 832 | - The configuration file now accepts an option |
---|
| 833 | to choose the recipient(s) of the email messages : |
---|
| 834 | |
---|
| 835 | - DevNull means no one will receive them. |
---|
| 836 | - User means only the user will receive them. |
---|
| 837 | - Admin means only the admin will receive them. |
---|
| 838 | - Both means the User and the Admin will receive them. |
---|
| 839 | |
---|
[853] | 840 | - The configuration file now uses hard-coded default values |
---|
| 841 | when an option is not set. See sample configuration file |
---|
| 842 | for details. |
---|
| 843 | |
---|
[852] | 844 | - Manual pages are included since 1.00, but I forgot to |
---|
| 845 | add this information to this file. |
---|
| 846 | |
---|
[855] | 847 | - Redistribution terms for the official package have |
---|
| 848 | softened and are now fully GPL compatible : |
---|
| 849 | unrestricted modification is now allowed even for |
---|
| 850 | the version number. |
---|
| 851 | |
---|
[846] | 852 | - 1.00 : |
---|
| 853 | |
---|
| 854 | - edpykota now accepts a --noquota option. This |
---|
| 855 | disable quota checking while still doing page |
---|
| 856 | accounting. This is really useful for people |
---|
| 857 | who don't want to limit their users but want |
---|
| 858 | to know how much pages they print. |
---|
| 859 | |
---|
| 860 | - Some untested scripts were added to retrieve |
---|
| 861 | the life time page counter of non-SNMP printers. |
---|
| 862 | |
---|
| 863 | - Every directory now has a specific README file. |
---|
| 864 | |
---|
[833] | 865 | - 0.99 : |
---|
| 866 | |
---|
| 867 | - Under some circumstances while the user wasn't allowed |
---|
| 868 | to print, he didn't receive any email message. It is |
---|
| 869 | now fixed. |
---|
| 870 | |
---|
| 871 | - When an user wasn't allowed to print, the quota for |
---|
[835] | 872 | the previous user wasn't updated. This is now fixed. |
---|
[833] | 873 | |
---|
[827] | 874 | - 0.98 : |
---|
| 875 | |
---|
| 876 | - Correctly handle the case where the printer is switched off. |
---|
| 877 | |
---|
[828] | 878 | - Small bug wrt syslog fixed. |
---|
| 879 | |
---|
[819] | 880 | - 0.97 : |
---|
| 881 | |
---|
| 882 | - edpykota accepts wildcards on its command line for users/groups too |
---|
| 883 | if the --add option is not set, e.g. : |
---|
| 884 | |
---|
| 885 | $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*" |
---|
| 886 | |
---|
[821] | 887 | - If no user name is passed at all, then a default wildcard of "*" |
---|
[819] | 888 | which means apply the command on ALL users for this printer is used. |
---|
| 889 | |
---|
| 890 | - Small bug fixes. |
---|
| 891 | |
---|
[803] | 892 | - 0.96 : |
---|
| 893 | |
---|
[808] | 894 | - Options requester, policy, admin, adminmail and gracedelay can now |
---|
[807] | 895 | be set either globally or per printer. The printer option has |
---|
| 896 | priority if both are defined. |
---|
[803] | 897 | |
---|
[807] | 898 | - More powerful configuration parser. |
---|
| 899 | |
---|
| 900 | - If all options are defined globally, there's no need to |
---|
| 901 | define a section for each printer in the configuration |
---|
| 902 | file anymore. Just define a [global] section and it's ok. |
---|
[803] | 903 | |
---|
[797] | 904 | - 0.95 : |
---|
| 905 | |
---|
[798] | 906 | - External requesters for printers finally added. |
---|
[797] | 907 | |
---|
| 908 | - Full internationalization (english and french are supported) |
---|
| 909 | |
---|
| 910 | - More complete quota usage report |
---|
| 911 | |
---|
| 912 | - CGI script to access to the quota usage report |
---|
| 913 | |
---|
| 914 | - Several bugs fixed. |
---|
| 915 | |
---|
| 916 | |
---|
| 917 | - 0.9 : |
---|
| 918 | |
---|
| 919 | - First public version |
---|