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