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