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