[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 | |
---|
[1761] | 24 | - 1.20alpha19 : |
---|
| 25 | |
---|
[1769] | 26 | - Improved user groups and user groups quotas dumps in dumpykota. |
---|
| 27 | |
---|
[1768] | 28 | - Finished implementation of LDAP support in dumpykota. |
---|
| 29 | |
---|
[1766] | 30 | - The md5 sum of the job's datas is now available as an |
---|
| 31 | hexadecimal digest in the PYKOTAMD5SUM environment variable. |
---|
| 32 | |
---|
[1761] | 33 | - The description, filename, title, and options fields |
---|
| 34 | are now stored as UTF-8 strings in both LDAP and PostgreSQL. |
---|
| 35 | Proper charset is used during extraction from the database. |
---|
| 36 | |
---|
[1757] | 37 | - 1.20alpha18 : |
---|
| 38 | |
---|
[1758] | 39 | - Experimental autopykota command to initialize user |
---|
| 40 | account and quota entries on first print while not |
---|
| 41 | resetting the balance value if not needed. |
---|
| 42 | |
---|
[1757] | 43 | - Added the new "winbind_separator" directive to strip |
---|
| 44 | out the Samba/Winbind domain name while printing if |
---|
| 45 | needed (Off by default). |
---|
| 46 | |
---|
[1751] | 47 | - 1.20alpha17 : |
---|
| 48 | |
---|
[1755] | 49 | - Added --hardreset command line option to edpykota. |
---|
| 50 | |
---|
[1751] | 51 | - Fixed problem with accented chars in title, filename |
---|
| 52 | or options and LDAP backend. |
---|
| 53 | |
---|
[1746] | 54 | - 1.20alpha16 : |
---|
| 55 | |
---|
| 56 | - Internal handling of socket based PJL queries over |
---|
| 57 | port tcp/9100 is now available with the magic |
---|
| 58 | 'pjl' value in the hardware accounter. |
---|
| 59 | |
---|
[1742] | 60 | - 1.20alpha15 : |
---|
| 61 | |
---|
| 62 | - LDAP pykotaAccountBalance objects were always created |
---|
| 63 | attached to the pykotaUser objects. This is now |
---|
| 64 | fixed and the value of balancebase in pykota.conf |
---|
| 65 | is now correctly used. |
---|
| 66 | |
---|
[1740] | 67 | - 1.20alpha14 : |
---|
| 68 | |
---|
[1741] | 69 | - Belgian translations added (copy of the french ones). |
---|
| 70 | |
---|
[1740] | 71 | - External hardware accounter now loops until |
---|
| 72 | a result can be read correctly. |
---|
| 73 | |
---|
| 74 | - pkhint now suggest the internal snmp handling instead |
---|
| 75 | of the external one. |
---|
| 76 | |
---|
[1729] | 77 | - 1.20alpha13 : |
---|
| 78 | |
---|
| 79 | - Hardware accounter now accepts the special |
---|
| 80 | 'snmp' value, meaning ALL is done from main code |
---|
| 81 | without launching any subprocess. |
---|
| 82 | You need the http://pysnmp.sf.net Python module |
---|
| 83 | for this to work (tested with v3.4.2) |
---|
| 84 | |
---|
[1731] | 85 | - Increased delay between two loops iterations |
---|
| 86 | to 2 seconds in waitprinter.sh to diminish |
---|
| 87 | CPU load. |
---|
| 88 | |
---|
[1723] | 89 | - 1.20alpha12 : |
---|
| 90 | |
---|
| 91 | - waitprinter.sh rewritten from scratch to wait |
---|
| 92 | for printer status stabilization. |
---|
| 93 | |
---|
[1717] | 94 | - 1.20alpha11 : |
---|
| 95 | |
---|
| 96 | - Generic data dumper 'dumpykota' introduced. |
---|
| 97 | Works only with PostgreSQL backend for now. |
---|
| 98 | |
---|
[1713] | 99 | - 1.20alpha10 : |
---|
| 100 | |
---|
| 101 | - Added fix for incorrect job's size computation when |
---|
| 102 | hardware accounting fails. |
---|
| 103 | |
---|
[1705] | 104 | - 1.20alpha9 : |
---|
| 105 | |
---|
| 106 | - Small fixes wrt subprocesses. |
---|
| 107 | |
---|
[1701] | 108 | - 1.20alpha8 : |
---|
| 109 | |
---|
| 110 | - Added full support of PCL3 : HP Deskjet printers are now |
---|
| 111 | supported. |
---|
| 112 | |
---|
[1699] | 113 | - 1.20alpha7 : |
---|
| 114 | |
---|
| 115 | - First draft of PCL3GUI (Deskjet 640C for example) analyzer. |
---|
| 116 | Needs more work, but no documentation is available. |
---|
| 117 | |
---|
[1692] | 118 | - 1.20alpha6 : |
---|
| 119 | |
---|
[1697] | 120 | - Improved mailandpopup.sh script. |
---|
| 121 | |
---|
[1696] | 122 | - Small fixes for LPRng. |
---|
[1695] | 123 | |
---|
[1694] | 124 | - Now exports PYKOTAPRINTERHOSTNAME for network printers' |
---|
| 125 | hostname or IP address. Set to 'localhost' when not |
---|
| 126 | meaningful. |
---|
| 127 | |
---|
[1693] | 128 | - Fixed issue with how mod_auth_ldap Apache modules |
---|
| 129 | fills the REMOTE_USER environment variable. |
---|
| 130 | |
---|
[1692] | 131 | - Fixed a bug in LDAP user deletion code. |
---|
| 132 | |
---|
[1687] | 133 | - 1.20alpha5 : |
---|
| 134 | |
---|
| 135 | - Introduces the new configuration directive 'onaccountererror' |
---|
| 136 | to specify what must be done whenever the software or |
---|
| 137 | hardware accounter fails. Allowed values are 'continue' and |
---|
| 138 | 'stop' (default). |
---|
| 139 | |
---|
| 140 | - Minor fix in software accounter for a recently introduced |
---|
| 141 | problem. |
---|
| 142 | |
---|
[1686] | 143 | - 1.20alpha4 : |
---|
| 144 | |
---|
| 145 | - Added support for more ghostscript devices in ESC/P2 |
---|
| 146 | analyzer : stcolor, st800, escp, escpc are now supported. |
---|
| 147 | |
---|
[1680] | 148 | - 1.20alpha3 : |
---|
| 149 | |
---|
[1683] | 150 | - Small improvement in PostScript parser to avoid being |
---|
| 151 | fooled by a change in number of copies : |
---|
| 152 | The user can't ask for 200 copies of page 1 and 1 copy |
---|
| 153 | of page 2 to fool PyKota anymore : |
---|
| 154 | this would have been accounted for as 1 copy only, but |
---|
| 155 | now the maximum value seen is used. |
---|
| 156 | |
---|
[1681] | 157 | - Relax checks for PCL5 header to accomodate some strange |
---|
| 158 | printer drivers. |
---|
| 159 | |
---|
[1680] | 160 | - Now hardware accounting method works like software |
---|
| 161 | accounting method wrt the subprocess' output. |
---|
| 162 | |
---|
[1681] | 163 | - Hardware and Software accounting stop the print queue |
---|
| 164 | when the accounting subprocess didn't work. This will |
---|
| 165 | be configurable in the near future. |
---|
| 166 | |
---|
[1676] | 167 | - 1.20alpha2 : |
---|
| 168 | |
---|
[1678] | 169 | - Now software accounting method reads accounter's |
---|
| 170 | answer until a line with a single integer is |
---|
| 171 | obtained or until all of its output has been read. |
---|
| 172 | This should fix the problem some people have |
---|
| 173 | when strange locale related messages are sent |
---|
| 174 | when running subprocesses (Solaris only ?). |
---|
| 175 | |
---|
[1676] | 176 | - First version of ESC/P2 analyzer. Seems to work |
---|
| 177 | ok at least with 'epson', 'epsonc', 'eps9mid' |
---|
| 178 | and 'esp9high' ghostscript devices. Needs more |
---|
| 179 | work to correctly analyze other devices. |
---|
| 180 | |
---|
[1665] | 181 | - 1.20alpha1 : |
---|
| 182 | |
---|
[1675] | 183 | - Fixed problem with number of copies in PCLXL parser. |
---|
| 184 | |
---|
[1674] | 185 | - Fixed problem with number of copies in PCL5 parser, |
---|
| 186 | when number of copies was set outside of and before first |
---|
| 187 | page. |
---|
| 188 | |
---|
[1673] | 189 | - Added workaround for number of copies directly set in |
---|
| 190 | PostScript code. |
---|
| 191 | |
---|
[1671] | 192 | - Added german translation. |
---|
| 193 | |
---|
[1665] | 194 | - Fixed problem on first print for user group quota when |
---|
| 195 | "enforcement: strict" is used. |
---|
| 196 | |
---|
| 197 | - Fixed interpolation problem in french translation. |
---|
| 198 | |
---|
[1664] | 199 | - 1.19 : |
---|
| 200 | |
---|
| 201 | - Updated existing translations. |
---|
| 202 | |
---|
| 203 | - Added final Thai and Greek translations. |
---|
| 204 | |
---|
| 205 | - Minor last minute bug fixes. |
---|
| 206 | |
---|
[1629] | 207 | - 1.19beta : |
---|
| 208 | |
---|
| 209 | - LPRng support for both software and hardware accounting seems |
---|
| 210 | to be OK. |
---|
| 211 | |
---|
| 212 | - Translation files fixed because of fuzzy matching problem. |
---|
| 213 | |
---|
[1639] | 214 | - Fixed path to Swedish translation: 'sv' instead of 'se'. |
---|
[1633] | 215 | |
---|
[1639] | 216 | - Added first draft of Thai translation. |
---|
| 217 | |
---|
| 218 | - Fixed some minor bugs with Pychecker. |
---|
| 219 | |
---|
[1622] | 220 | - 1.19alpha35 : |
---|
| 221 | |
---|
| 222 | - Generic PDL analyzer now supports Binary PostScript documents |
---|
| 223 | in addition to DSC compliant ones. |
---|
| 224 | |
---|
[1611] | 225 | - 1.19alpha34 : |
---|
| 226 | |
---|
| 227 | - LPRng support : software accounting seems to work fine, |
---|
| 228 | but hardware accounting doesn't work yet. |
---|
| 229 | |
---|
[1605] | 230 | - 1.19alpha33 : |
---|
| 231 | |
---|
| 232 | - pykosd now accepts command line arguments. Enjoy ! |
---|
| 233 | NB : due to a bug in xosd, you need xosd version 2.2.8 |
---|
| 234 | or higher if you don't use the default C locale. |
---|
| 235 | |
---|
[1600] | 236 | - 1.19alpha32 : |
---|
| 237 | |
---|
[1604] | 238 | - Early (not working) version of the LPRng support rewrite. |
---|
[1600] | 239 | |
---|
[1604] | 240 | - Saner default configuration file. |
---|
| 241 | |
---|
[1599] | 242 | - 1.19alpha31 : |
---|
| 243 | |
---|
| 244 | - Fixed a double Python2.1 incompatibility with newer versions, |
---|
| 245 | which prevented the PCL5 and the PCLXL parsers to work with |
---|
| 246 | this older version of Python. |
---|
| 247 | |
---|
[1592] | 248 | - 1.19alpha30 : |
---|
| 249 | |
---|
[1595] | 250 | - Introduction of preliminary version of the pykosd command |
---|
| 251 | |
---|
[1593] | 252 | - Usernames, Groupnames and Printernames can now contain |
---|
| 253 | ANY character, expected '/' and '@'. |
---|
| 254 | |
---|
[1592] | 255 | - Integrated most of the Debian work from Sergio |
---|
| 256 | Gonz�z Gonz�z |
---|
| 257 | |
---|
[1584] | 258 | - 1.19alpha29 : |
---|
| 259 | |
---|
[1591] | 260 | - PCLXL parser should now correctly handle number of |
---|
| 261 | copies set for each page. |
---|
| 262 | |
---|
[1588] | 263 | - Added testsuite for generic PDL analyzer. |
---|
| 264 | |
---|
| 265 | - Typo fixed in PCLXL parser. |
---|
| 266 | |
---|
[1584] | 267 | - Correctly dispatches error messages depending on the |
---|
| 268 | situation : tools which can be run interactively will |
---|
| 269 | ALWAYS output their logs to stderr, excepted for |
---|
| 270 | their DEBUG messages, for which the "logger:" |
---|
| 271 | directive as set in pykota.conf will be honored. |
---|
| 272 | Tools which can't be run interactively will ALWAYS |
---|
| 273 | honor the "logger:" directive as set in pykota.conf |
---|
| 274 | |
---|
[1575] | 275 | - 1.19alpha28 : |
---|
| 276 | |
---|
[1582] | 277 | - The description field for printers can now be set, |
---|
| 278 | and is displayed in reports. |
---|
| 279 | |
---|
| 280 | - Fixed a small problem in SQL backend code. |
---|
| 281 | |
---|
[1578] | 282 | - Improved pkhint |
---|
| 283 | |
---|
[1575] | 284 | - First working PCL6 (aka PCLXL) parser ! |
---|
| 285 | Doesn't handle copies yet. |
---|
| 286 | |
---|
[1570] | 287 | - 1.19alpha27 : |
---|
| 288 | |
---|
[1573] | 289 | - Additionnal 10% speed increase in PCL5 parser for GhostScript |
---|
| 290 | generated files (untested yet with other PCL files). |
---|
| 291 | |
---|
[1572] | 292 | - Reintroduced the use of mmap in PCL5 parser : this speedups |
---|
| 293 | PCL5 parsing by almost 4 times. |
---|
| 294 | This 4x with the 3x below give us in fact a twelvefold increase |
---|
| 295 | in performance for PCL5 parsing ! |
---|
| 296 | |
---|
[1570] | 297 | - The Python accelerator Psyco is now used if available |
---|
| 298 | in the generic PDL parser : it speedups PCL5 parsing by |
---|
[1572] | 299 | almost three times automagically. |
---|
[1570] | 300 | |
---|
[1564] | 301 | - 1.19alpha26 : |
---|
| 302 | |
---|
| 303 | - Fixed PCL5 parser according to the sources of rastertohp. |
---|
| 304 | |
---|
[1566] | 305 | - Fixed number of copies handling in PCL5 parser : the number |
---|
| 306 | of copies could vary from page to page. |
---|
[1568] | 307 | |
---|
| 308 | - Added more debug information to PCLXL parser. |
---|
[1566] | 309 | |
---|
[1556] | 310 | - 1.19alpha25 : |
---|
| 311 | |
---|
[1558] | 312 | - Added new "description" field to printers in both |
---|
[1556] | 313 | PostgreSQL and LDAP. No code to handle this yet. |
---|
| 314 | |
---|
[1558] | 315 | - Reversed the fix for power save mode in printers : |
---|
[1557] | 316 | no paper or tray open would have caused people to |
---|
| 317 | be undercharged. |
---|
| 318 | |
---|
[1558] | 319 | - Preliminary version of MySQL initialization script. |
---|
| 320 | |
---|
[1552] | 321 | - 1.19alpha24 : |
---|
| 322 | |
---|
| 323 | - Native PDF parsing code now works perfectly with |
---|
| 324 | Python 2.1 and above, and is way faster than before. |
---|
| 325 | GhostScript is not used anymore to convert PDF to PS, |
---|
| 326 | because PDF is parsed directly. |
---|
| 327 | |
---|
[1545] | 328 | - 1.19alpha23 : |
---|
| 329 | |
---|
[1549] | 330 | - Fixed waitprinter.sh wrt PowerSave mode and some |
---|
| 331 | printers. Thanks to Ryan Suarez. |
---|
| 332 | |
---|
[1550] | 333 | - Smart PDL analyzer now recognizes PDF too : two |
---|
| 334 | PDF parsing methods are used : a native one which |
---|
| 335 | is very fast but requires Python 2.3 or above, and |
---|
| 336 | a slower one which uses Ghostscript. PyKota detects |
---|
| 337 | automatically which method to use depending on your |
---|
| 338 | version of Python. |
---|
[1547] | 339 | |
---|
[1546] | 340 | - All tracebacks now include PyKota's version number. |
---|
[1545] | 341 | |
---|
[1542] | 342 | - 1.19alpha22 : |
---|
| 343 | |
---|
[1544] | 344 | - Ensures that the file pointer for job's data is |
---|
| 345 | reset to the start of the job's datas after the |
---|
| 346 | job's size pre-computation phase. |
---|
| 347 | |
---|
[1543] | 348 | - Improved PostScript detection code for bad drivers |
---|
| 349 | which don't correctly switch languages between PJL |
---|
| 350 | and PS. |
---|
| 351 | |
---|
[1542] | 352 | - Even better debugging code. |
---|
| 353 | |
---|
[1541] | 354 | - 1.19alpha21 : |
---|
| 355 | |
---|
[1542] | 356 | - Additionnal check. |
---|
[1541] | 357 | |
---|
[1536] | 358 | - 1.19alpha20 : |
---|
| 359 | |
---|
| 360 | - More complete logging messages wrt accounters. |
---|
| 361 | |
---|
[1539] | 362 | - Now catches early failures occuring when the configuration |
---|
| 363 | files are parsed. |
---|
| 364 | |
---|
[1526] | 365 | - 1.19alpha19 : |
---|
| 366 | |
---|
| 367 | - Fixed over-verbose exits when displaying help |
---|
| 368 | or version. |
---|
[1527] | 369 | |
---|
| 370 | - Extended some PATH in the shell scripts |
---|
[1532] | 371 | |
---|
| 372 | - Deleting an user now also deletes his payments history. |
---|
| 373 | |
---|
| 374 | - Doesn't explicitely ignore SIGCHLD anymore. This seems to |
---|
| 375 | cause problems. |
---|
[1500] | 376 | |
---|
[1522] | 377 | - 1.19alpha18 : |
---|
| 378 | |
---|
| 379 | - History of payments is now stored in the database, and |
---|
| 380 | updated each time an user's balance is modified with |
---|
| 381 | edpykota --balance. This history represents each time |
---|
| 382 | the user was given some positive or negative credit, |
---|
| 383 | but doesn't reflect price paid for jobs, which appear |
---|
| 384 | in the jobs history instead. |
---|
| 385 | |
---|
[1524] | 386 | - Jobs history web reports now include the job's size in |
---|
| 387 | bytes. Also columns were reordered to render the report |
---|
| 388 | more easily readable. |
---|
| 389 | |
---|
[1517] | 390 | - 1.19alpha17 : |
---|
| 391 | |
---|
| 392 | - Mysterious bug (program exited unexpectedly without leaving |
---|
| 393 | any log message) which occured once in a while when |
---|
| 394 | cancelling jobs should be fixed now. |
---|
| 395 | |
---|
| 396 | - New 'crashrecipient' directive. Disabled by |
---|
| 397 | default. See sample configuration file to see how |
---|
| 398 | to activate it. It is suggested that you activate it. |
---|
| 399 | |
---|
| 400 | - New PYKOTAJOBSIZEBYTES environment variable exported, |
---|
[1519] | 401 | which contains the job's size in bytes. Empty jobs |
---|
[1521] | 402 | are now denied. This value is now stored in the job |
---|
| 403 | history (but not yet displayed from the web interface) |
---|
[1517] | 404 | |
---|
[1521] | 405 | - Preliminary work on payments storage : the PostgreSQL |
---|
| 406 | and LDAP schemas should be OK now, but no code is written |
---|
| 407 | yet to support this functionnality. |
---|
| 408 | |
---|
[1502] | 409 | - 1.19alpha16 : |
---|
| 410 | |
---|
[1510] | 411 | - the newuser and newgroup LDAP specific directives now accept |
---|
| 412 | a second parameter to attach(), "fail" or "warn". If no entry |
---|
| 413 | is found to attach PyKota attributes to, and "fail" was used, |
---|
| 414 | then action is aborted and program exits in error. If "warn" |
---|
| 415 | is used, a new entry is created but a warning message is logged. |
---|
| 416 | |
---|
[1502] | 417 | - The job's originating hostname is now stored in the database, |
---|
| 418 | and exported as PYKOTAJOBORIGINATINGHOSTNAME in the environment. |
---|
| 419 | |
---|
[1500] | 420 | - 1.19alpha15 : |
---|
| 421 | |
---|
| 422 | - The old pykota filter is now removed. This means that |
---|
| 423 | currently PyKota doesn't support LPRng anymore, but |
---|
| 424 | LPRng support will be re-added, improved, in the near future. |
---|
| 425 | |
---|
[1495] | 426 | - 1.19alpha14 : |
---|
| 427 | |
---|
[1499] | 428 | - PYKOTAPRECOMPUTEDJOBSIZE and PYKOTAPRECOMPUTEDJOBPRICE |
---|
| 429 | are now exported as environment variables. |
---|
| 430 | |
---|
[1498] | 431 | - Heavy CPU usage is now completely fixed it seems, by |
---|
| 432 | introducing some 0.01 second sleeping when nothing to do. |
---|
| 433 | |
---|
[1497] | 434 | - Pre-computation of the job's size is now only |
---|
| 435 | done when enforcement is "STRICT", this saves |
---|
| 436 | CPU for people who don't want to use this new |
---|
| 437 | feature. |
---|
| 438 | |
---|
[1495] | 439 | - New 'enforcement' directive which accepts either |
---|
| 440 | STRICT or LAXIST. See sample configuration file |
---|
| 441 | for details. |
---|
| 442 | |
---|
[1494] | 443 | - 1.19alpha13 : |
---|
| 444 | |
---|
| 445 | - Get back to an old version of the polling loop which |
---|
| 446 | worked fine, but non-optimally. Will be optimized |
---|
| 447 | as time permits. |
---|
| 448 | |
---|
[1492] | 449 | - 1.19alpha12 : |
---|
| 450 | |
---|
| 451 | - Job's size is now precomputed unconditionnally using |
---|
| 452 | the generic PDL analyzer. |
---|
| 453 | NB : This value is not yet used to pre-allow/deny the |
---|
| 454 | job. |
---|
| 455 | |
---|
[1490] | 456 | - 1.19alpha11 : |
---|
| 457 | |
---|
| 458 | - The pykota filter is now completely deprecated and |
---|
| 459 | can't be used anymore. LPRng users MUST download |
---|
| 460 | an older version of PyKota. CUPS users MUST use |
---|
| 461 | cupspykota. Better support for LPRng will come |
---|
| 462 | in the near future. |
---|
| 463 | |
---|
[1483] | 464 | - 1.19alpha10 : |
---|
| 465 | |
---|
[1488] | 466 | - pykotme now uses generic PDL Analyzer directly instead |
---|
| 467 | of spawning a new process. |
---|
| 468 | |
---|
[1487] | 469 | - Improvements to generic PDL Analyzer. |
---|
| 470 | |
---|
[1485] | 471 | - 25% Speedup in PCL parser. Getting more of the Python version |
---|
| 472 | will probably be difficult, since the completely table driven |
---|
| 473 | parser I wrote is slower than the original algorithm. Then, |
---|
| 474 | the original algorithm is still used for now. |
---|
| 475 | Probable that more speed could be achieved using mmap, at the |
---|
| 476 | expense of severe memory consumption. |
---|
| 477 | |
---|
[1483] | 478 | - configuration simplifications : the "accounter" directive's |
---|
| 479 | 'hardware' arguments now accepts what was in the "requester" |
---|
| 480 | directive as it's content. The "requester" directive is not |
---|
| 481 | supported anymore. See sample configuration file for details. |
---|
| 482 | |
---|
[1478] | 483 | - 1.19alpha9 : |
---|
| 484 | |
---|
[1482] | 485 | - pkpgcounter is now just a wrapper around the PDLAnalyzer class |
---|
| 486 | |
---|
[1480] | 487 | - pykotaOptions LDAP attribute now accepts non-ascii characters |
---|
| 488 | too. |
---|
| 489 | |
---|
[1478] | 490 | - First try at cupspykota main loop rewrite |
---|
| 491 | |
---|
[1475] | 492 | - 1.19alpha8 : |
---|
| 493 | |
---|
| 494 | - 'querying' accounting method is now called 'hardware' |
---|
| 495 | |
---|
| 496 | - 'external' accounting method is now called 'software' |
---|
| 497 | |
---|
| 498 | - 'stupid' accounting method doesn't exist anymore |
---|
| 499 | |
---|
| 500 | - 'snmp' requester doesn't exist anymore |
---|
| 501 | |
---|
| 502 | - code simplifications in external requester |
---|
| 503 | |
---|
[1473] | 504 | - 1.19alpha7 : |
---|
| 505 | |
---|
| 506 | - Database schema change (both LDAP and PostgreSQL) to |
---|
| 507 | allow storage of the job-originating-hostname attribute. |
---|
| 508 | An SQL upgrade script is present. The code is not yet |
---|
| 509 | capable of setting/retrieving this attribute. Support |
---|
| 510 | for this functionnality will be added in the future. |
---|
| 511 | |
---|
[1463] | 512 | - 1.19alpha6 : |
---|
| 513 | |
---|
[1471] | 514 | - problems connecting to SMTP servers are now catched. |
---|
| 515 | |
---|
[1463] | 516 | - pykotme now uses pkpgcounter to compute the size of the |
---|
| 517 | job. This modification adds PCL5 and soon PCLXL (PCL6) |
---|
| 518 | support. You can now get quotes for PCL in addition to |
---|
| 519 | PostScript. |
---|
| 520 | |
---|
[1464] | 521 | - pkpgcounter now includes first try at PCLXL parser. |
---|
| 522 | It is currently disabled until it's finished. |
---|
| 523 | |
---|
[1451] | 524 | - 1.19alpha5 : |
---|
| 525 | |
---|
[1458] | 526 | - cupspykota polling loop fix for MacOSX (at least) |
---|
| 527 | |
---|
[1459] | 528 | - logging subsystem now logs PID too, to ease diagnosing |
---|
| 529 | problems under heavy load. |
---|
| 530 | |
---|
[1456] | 531 | - pkpgcounter enhancements. |
---|
| 532 | |
---|
[1453] | 533 | - pkprinters --skipexisting now tells pkprinters to not |
---|
| 534 | modify existing printers when --add is used. |
---|
| 535 | pkprinters logs a warning message whenever --add is |
---|
| 536 | used and a printer already exists. |
---|
[1451] | 537 | |
---|
[1455] | 538 | - LDAP schema now allows accented chars in pykotaFileName |
---|
| 539 | and pykotaTitle attributes. |
---|
| 540 | |
---|
[1447] | 541 | - 1.19alpha4 : |
---|
| 542 | |
---|
| 543 | - a bad copy&paste prevented pkpgcounter to work at all, this |
---|
| 544 | is now fixed. |
---|
| 545 | |
---|
[1451] | 546 | - improved PCL support in pkpgcounter, with the use of |
---|
| 547 | HP PCL/PJL Reference Set |
---|
| 548 | PCL5 Printer Language Technical Quick Reference Guide |
---|
[1449] | 549 | |
---|
| 550 | - pkpgcounter now uses mmap to speed things up : duration |
---|
[1450] | 551 | is halved with the sample 87 pages PCL document I use for |
---|
| 552 | testing. |
---|
[1448] | 553 | |
---|
[1437] | 554 | - 1.19alpha3 : |
---|
| 555 | |
---|
| 556 | - pkprinters now accepts the --list command line argument |
---|
| 557 | to list informations about printers. |
---|
| 558 | |
---|
[1430] | 559 | - 1.19alpha2 : |
---|
| 560 | |
---|
| 561 | - pkpgcounter is now included as a smart external |
---|
| 562 | accounter which can handle both PostScript and PCL. |
---|
| 563 | |
---|
[1417] | 564 | - 1.19alpha1 : |
---|
| 565 | |
---|
[1421] | 566 | - PYKOTALIMITBY environment variable is now exported too. |
---|
| 567 | |
---|
[1417] | 568 | - Inclusion of Michele Baldessari's work on autotools. |
---|
| 569 | |
---|
[1415] | 570 | - 1.18 : |
---|
| 571 | |
---|
| 572 | - Improved documentation |
---|
| 573 | |
---|
[1411] | 574 | - 1.18beta2 : |
---|
| 575 | |
---|
| 576 | - Fix for raw jobs with cupspykota |
---|
| 577 | |
---|
[1404] | 578 | - 1.18beta : |
---|
| 579 | |
---|
[1405] | 580 | - Small fix for new waitprinter.sh script |
---|
| 581 | |
---|
[1404] | 582 | - Better tracebacks on error conditions |
---|
| 583 | |
---|
| 584 | - Improved translations |
---|
| 585 | |
---|
| 586 | - Improved documentation |
---|
| 587 | |
---|
[1396] | 588 | - 1.18alpha15 : |
---|
[1398] | 589 | |
---|
| 590 | - waitprinter.sh replaced by a new and possibly faster |
---|
[1404] | 591 | and more powerful one. |
---|
[1396] | 592 | |
---|
| 593 | - Names can now begin with a digit. |
---|
| 594 | |
---|
[1398] | 595 | - Stability improvement for quotas set on printers groups. |
---|
[1396] | 596 | |
---|
[1381] | 597 | - 1.18alpha14 : |
---|
| 598 | |
---|
[1384] | 599 | - Catches more (all ?) problems with SMTP servers instead |
---|
| 600 | of breaking. |
---|
| 601 | |
---|
[1381] | 602 | - Italian translation added. |
---|
| 603 | |
---|
[1376] | 604 | - 1.18alpha13 : |
---|
| 605 | |
---|
| 606 | - Pre and Post hooks are now available in the pykota |
---|
| 607 | filter as well. |
---|
| 608 | |
---|
| 609 | - The pykota filter doesn't check last user's quota |
---|
[1377] | 610 | anymore when delayed hardware accounting is used : |
---|
| 611 | this will be done anyway the next time the last |
---|
| 612 | user will print again. This saves some database |
---|
| 613 | queries which are unneeded. |
---|
[1376] | 614 | |
---|
[1372] | 615 | - 1.18alpha12 : |
---|
| 616 | |
---|
[1376] | 617 | - Pre and Post hooks to external commands with many |
---|
[1372] | 618 | many environment variables available are useable |
---|
| 619 | from the cupspykota backend. |
---|
| 620 | See sample configuration file for details and help. |
---|
| 621 | |
---|
[1368] | 622 | - 1.18alpha11 : |
---|
| 623 | |
---|
| 624 | - Hopefully final fix wrt groups (users and printers) |
---|
| 625 | |
---|
[1365] | 626 | - 1.18alpha10 : |
---|
| 627 | |
---|
| 628 | - Fixed nested printer groups accounting. |
---|
| 629 | |
---|
| 630 | - Fixed user groups + printer groups problem. |
---|
| 631 | |
---|
[1360] | 632 | - 1.18alpha9 : |
---|
| 633 | |
---|
[1363] | 634 | - Fix for LDAP problem when job price was 0. |
---|
| 635 | |
---|
[1362] | 636 | - Fix for empty user groups with LDAP. |
---|
| 637 | |
---|
[1360] | 638 | - Preliminary version of the snmpprinterstatus command added. |
---|
| 639 | |
---|
[1358] | 640 | - 1.18alpha8 : |
---|
| 641 | |
---|
| 642 | - Don't retrieve data when not needed. |
---|
| 643 | This avoids many database queries. |
---|
| 644 | |
---|
[1356] | 645 | - 1.18alpha7 : |
---|
| 646 | |
---|
| 647 | - New experimental ldapcache directive to improve |
---|
| 648 | LDAP caching. |
---|
| 649 | |
---|
[1353] | 650 | - 1.18alpha6 : |
---|
| 651 | |
---|
| 652 | - New configuration directive added : maildomain |
---|
| 653 | to specify the domain to send mail to when user |
---|
| 654 | email address is not set in PyKota database. |
---|
| 655 | |
---|
| 656 | - More complete email message headers. |
---|
| 657 | |
---|
[1351] | 658 | - 1.18alpha5 : |
---|
| 659 | |
---|
| 660 | - Debian packaging specific files, contributed by |
---|
| 661 | Peter Hawkins are now included in the project's tree. |
---|
| 662 | |
---|
| 663 | - Preliminary work on future low-level LDAP caching to speed |
---|
| 664 | up modifications (at least). |
---|
| 665 | |
---|
[1338] | 666 | - 1.18alpha4 : |
---|
| 667 | |
---|
[1345] | 668 | - Applied some of the modifications suggested by |
---|
| 669 | Peter Hawkins, for better Debian integration. |
---|
| 670 | Most notably cupspykota, pykota, and the shell |
---|
| 671 | scripts are now installed into /usr/share/pykota |
---|
| 672 | instead of into /usr/bin |
---|
| 673 | BEWARE : double check that your symbolic link |
---|
| 674 | to cupspykota is correct, and that your pykota.conf |
---|
| 675 | file use correct path for the shell scripts like |
---|
| 676 | waitprinter.sh and al. |
---|
| 677 | |
---|
[1338] | 678 | - pkhint command added, to help in configuring correct |
---|
| 679 | accounting method for PyKota. |
---|
| 680 | |
---|
[1336] | 681 | - 1.18alpha3 : |
---|
| 682 | |
---|
| 683 | - Fixed a rare bug in cupspykota backend which gave |
---|
| 684 | incorrect "CUPS backend died abnormally" messages. |
---|
| 685 | |
---|
[1330] | 686 | - 1.18alpha2 : |
---|
| 687 | |
---|
| 688 | - Added the pkprinters command line tool to manage printers |
---|
| 689 | exclusively. |
---|
| 690 | |
---|
[1328] | 691 | - 1.18alpha1 : |
---|
| 692 | |
---|
| 693 | - Preliminary work on Relationnal Database Independance. |
---|
| 694 | |
---|
| 695 | - Sample report made from OpenOffice.org added as PDF and SXC. |
---|
| 696 | |
---|
[1323] | 697 | - 1.17 : |
---|
| 698 | |
---|
| 699 | - Finalized release. |
---|
| 700 | |
---|
[1321] | 701 | - 1.17alpha2 : |
---|
| 702 | |
---|
| 703 | - Fix stupid software accounting bug in the CUPS backend. |
---|
| 704 | |
---|
[1318] | 705 | - 1.17alpha1 : |
---|
| 706 | |
---|
| 707 | - User/Group deletion code in edpykota rewritten. |
---|
| 708 | |
---|
[1308] | 709 | - 1.16 : |
---|
| 710 | |
---|
| 711 | - Preliminary documentation on how to use OpenOffice.org |
---|
| 712 | to create personnalized reports for PyKota + PostgreSQL. |
---|
| 713 | |
---|
| 714 | - Spanish installation guide for CUPS+PyKota+PostgreSQL |
---|
| 715 | added to the documentation. Doesn't yet document v1.16 |
---|
| 716 | though. |
---|
| 717 | |
---|
| 718 | - Portuguese Portuguese translation replaces Brasilian |
---|
| 719 | Portuguese Translation. Brasilian portuguese |
---|
| 720 | translation is still available under the 'br' locale. |
---|
| 721 | |
---|
[1301] | 722 | - 1.16beta3 : |
---|
| 723 | |
---|
| 724 | - Swedish translation added. |
---|
| 725 | |
---|
| 726 | - Small fix in documentation. |
---|
| 727 | |
---|
[1291] | 728 | - 1.16beta2 : |
---|
| 729 | |
---|
| 730 | - Small fix for job cancelling code while job already |
---|
| 731 | printing in CUPS backend. |
---|
[1293] | 732 | |
---|
| 733 | - Big fix wrt printing policies for unknown users. |
---|
[1291] | 734 | |
---|
[1287] | 735 | - 1.16beta1 : |
---|
| 736 | |
---|
| 737 | - Manpages upgraded. |
---|
| 738 | |
---|
[1285] | 739 | - 1.16alpha26 : |
---|
| 740 | |
---|
| 741 | - Job price is now computed like this : |
---|
| 742 | |
---|
| 743 | SUM((NbPages * PricePerPage) + PricePerJob) |
---|
| 744 | |
---|
| 745 | For current printer and all the printers groups it is |
---|
[1286] | 746 | a member of, if any. |
---|
[1285] | 747 | |
---|
| 748 | This may be difficult to grasp, but offers unprecedented |
---|
| 749 | flexibility. |
---|
| 750 | |
---|
[1284] | 751 | - 1.16alpha25 : |
---|
| 752 | |
---|
| 753 | - Email address can be set at user creation time, |
---|
| 754 | using the following syntax : |
---|
| 755 | |
---|
| 756 | $ edpykota --add username/email@yourdomain.com |
---|
| 757 | |
---|
[1271] | 758 | - 1.16alpha24 : |
---|
| 759 | |
---|
[1274] | 760 | - CGI script now can show the printing history. |
---|
| 761 | |
---|
[1272] | 762 | - Bug wrt number of copies should be fixed. |
---|
| 763 | |
---|
[1271] | 764 | - Major code refactoring => It is now possible to |
---|
| 765 | automatically add printers on first print. |
---|
| 766 | |
---|
[1269] | 767 | - 1.16alpha23 : |
---|
| 768 | |
---|
[1270] | 769 | - Fixed potential accuracy problem if a user printed on |
---|
| 770 | several printers at the very same time. |
---|
[1269] | 771 | |
---|
[1258] | 772 | - 1.16alpha22 : |
---|
| 773 | |
---|
| 774 | - edpykota now allows adding printers to printer groups |
---|
| 775 | |
---|
[1248] | 776 | - 1.16alpha21 : |
---|
| 777 | |
---|
| 778 | - Allows the dot in user and printer names. |
---|
| 779 | |
---|
[1249] | 780 | - Printer groups are now cached too. |
---|
| 781 | |
---|
[1240] | 782 | - 1.16alpha20 : |
---|
| 783 | |
---|
| 784 | - Fixed several small bugs with the help of PyChecker. |
---|
| 785 | |
---|
| 786 | - 1.16alpha19 : |
---|
| 787 | |
---|
| 788 | - Fixed a bug in PostgreSQL backend's code. |
---|
| 789 | |
---|
| 790 | - 1.16alpha18 : |
---|
| 791 | |
---|
| 792 | - Initial code for printer groups support. Printer groups have |
---|
| 793 | to be added with external tools like psql or gq for example. |
---|
| 794 | Printer groups seems to work fine with users. Untested with user |
---|
| 795 | groups for now. |
---|
| 796 | |
---|
| 797 | - Several minor visual problems fixed in reports. |
---|
| 798 | |
---|
| 799 | - Fixed a bug in LDAP date handling. |
---|
| 800 | |
---|
| 801 | - Fix for LDAP problem with some combination of OpenLDAP + Python-LDAP |
---|
| 802 | + some particular settings. |
---|
| 803 | |
---|
| 804 | - mailandpopup.sh shell script added. See sample configuration file |
---|
| 805 | for details. |
---|
| 806 | |
---|
| 807 | - Several environment variables are now exported when executing |
---|
| 808 | external commands (accounters, requesters, mailers) : |
---|
| 809 | |
---|
| 810 | PYKOTAUSERNAME => user who is printing |
---|
| 811 | PYKOTAPRINTERNAME => printer on which the job is being sent |
---|
| 812 | PYKOTATITLE => Job's title |
---|
| 813 | PYKOTAFILENAME => Job's filename |
---|
| 814 | PYKOTACOPIES => number of copies asked |
---|
| 815 | PYKOTAOPTIONS => print command options (-o with CUPS) |
---|
| 816 | |
---|
[1239] | 817 | - 1.16alpha17 : |
---|
[1227] | 818 | |
---|
[1239] | 819 | - Added portugues translation. |
---|
| 820 | |
---|
| 821 | - Major code refactoring in accounters. |
---|
| 822 | |
---|
| 823 | - 1.16alpha16 : |
---|
| 824 | |
---|
[1235] | 825 | - Code refactoring, and addition of a real HTML reporter, to |
---|
| 826 | have nice looking and useful web based reports (in the future). |
---|
| 827 | |
---|
[1227] | 828 | - Added utolower configuration option to convert all usernames |
---|
| 829 | to lowercase during printing. |
---|
| 830 | |
---|
[1226] | 831 | - 1.15alpha15 : |
---|
| 832 | |
---|
| 833 | - Now includes the papwaitprinter.sh shell script to wait for |
---|
| 834 | AppleTalk enabled printers. |
---|
| 835 | |
---|
[1221] | 836 | - 1.16alpha14 : |
---|
| 837 | |
---|
| 838 | - Now printing on a printer not defined in the Quota Storage, |
---|
| 839 | results in the job being cancelled or stopped, depending |
---|
| 840 | on the printing system. |
---|
| 841 | |
---|
[1212] | 842 | - 1.16alpha13 : |
---|
| 843 | |
---|
| 844 | - Small bugfix wrt Python v2.1 |
---|
| 845 | |
---|
[1215] | 846 | - If username is an empty string, user root is assumed. |
---|
[1220] | 847 | |
---|
| 848 | - 'postgresql' is not recognized anymore as a storage backend, |
---|
| 849 | you have to use 'pgstorage' instead. 'postgresql' used to |
---|
| 850 | be supported for compatibility with very old PyKota versions, |
---|
| 851 | this is not the case anymore. |
---|
[1212] | 852 | |
---|
[1203] | 853 | - 1.16alpha12 : |
---|
| 854 | |
---|
| 855 | - Job price added to job history, to keep accounting correct |
---|
| 856 | if a printer price per page or per job is modified and the |
---|
| 857 | history is not reset : the history would have given a false |
---|
| 858 | amount of money charged before the printer's prices were |
---|
| 859 | modified, this addition solves the problem. |
---|
| 860 | |
---|
[1200] | 861 | - 1.16alpha11 : |
---|
| 862 | |
---|
| 863 | - Some preliminary modifications to the database structure for |
---|
| 864 | PostgreSQL and OpenLDAP. A script to upgrade a PostgreSQL |
---|
| 865 | database is now provided. LDAP attributes now support |
---|
| 866 | eq, pres and sub indexes. |
---|
| 867 | |
---|
| 868 | - Job history now contains additional informations : |
---|
| 869 | number of copies, filename, title and print options. |
---|
| 870 | |
---|
[1194] | 871 | - 1.16alpha10 : |
---|
[1196] | 872 | |
---|
| 873 | - Some modifications done to external policy handling. |
---|
| 874 | See sample configuration file for details. |
---|
[1194] | 875 | |
---|
| 876 | - Spanish translation added. |
---|
| 877 | |
---|
[1192] | 878 | - 1.16alpha9 : |
---|
| 879 | |
---|
| 880 | - mailto can be set to external(...) to warn users above |
---|
| 881 | quota with any command of your choice (e.g. linpopup). |
---|
| 882 | Several parameters are available, see sample configuration |
---|
| 883 | file for details. |
---|
| 884 | |
---|
[1189] | 885 | - 1.16alpha8 : |
---|
| 886 | |
---|
[1191] | 887 | - Now cupspykota transmits SIGTERMS to the original |
---|
| 888 | backend when the user deletes a job being processed. |
---|
| 889 | |
---|
[1189] | 890 | - The documentation is now licensed under the terms of the |
---|
| 891 | GNU GPL too. |
---|
| 892 | |
---|
[1185] | 893 | - 1.16alpha7 : |
---|
| 894 | |
---|
| 895 | - The CUPS backend is now fully functionnal (it seems). |
---|
| 896 | |
---|
| 897 | - From now on, the use of the pykota filter with CUPS |
---|
| 898 | is deprecated. The pykota filter still has to be |
---|
| 899 | used with LPRng though. |
---|
| 900 | |
---|
[1179] | 901 | - 1.16alpha6 : |
---|
| 902 | |
---|
| 903 | - Bug fixed : when edpykota was used to add a printer |
---|
| 904 | with no user or group name, a bad user/group name "*" was |
---|
| 905 | added to the database. |
---|
| 906 | |
---|
[1178] | 907 | - 1.16alpha5 : |
---|
| 908 | |
---|
| 909 | - New CUPS backend supports device enumeration ! |
---|
| 910 | This means that NO manual CUPS configuration has to |
---|
| 911 | be done. All can now be done from CUPS web interface. |
---|
| 912 | |
---|
[1177] | 913 | - 1.16alpha4 : |
---|
| 914 | |
---|
| 915 | - New CUPS backend added. |
---|
| 916 | |
---|
[1175] | 917 | - 1.16alpha3 : |
---|
| 918 | |
---|
| 919 | - Minimal FAQ document added. |
---|
| 920 | |
---|
[1172] | 921 | - 1.16alpha2 : |
---|
| 922 | |
---|
| 923 | - CGI script now partially supports browser's language preference |
---|
| 924 | |
---|
[1170] | 925 | - 1.16alpha1 : |
---|
| 926 | |
---|
| 927 | - Ensures that the LDAP connection is really closed at end. |
---|
| 928 | |
---|
| 929 | - More complete error messages in case of LDAP operation failure. |
---|
| 930 | |
---|
[1168] | 931 | - 1.15 : |
---|
| 932 | |
---|
| 933 | - Documentation improved. |
---|
| 934 | |
---|
[1156] | 935 | - 1.15beta : |
---|
| 936 | |
---|
| 937 | - Command line tools now accept multiple printer |
---|
| 938 | names or wildcards, separated with commas. |
---|
| 939 | |
---|
[1152] | 940 | - 1.15alpha9 : |
---|
| 941 | |
---|
| 942 | - External policy can be used to auto-add unknown users |
---|
| 943 | and any other interesting things you may want to do. |
---|
| 944 | WARNING : You can't auto-add printers for now. |
---|
| 945 | They have to be created manually before. |
---|
| 946 | Look at sample configuration file for examples. |
---|
| 947 | |
---|
[1149] | 948 | - 1.15alpha8 : |
---|
| 949 | |
---|
| 950 | - Job history can be disabled if needed. |
---|
| 951 | This feature may be useful for people who use the LDAP |
---|
| 952 | backend and don't want their LDAP tree to grow out of |
---|
| 953 | control. |
---|
| 954 | |
---|
[1138] | 955 | - 1.15alpha7 : |
---|
| 956 | |
---|
| 957 | - More work done on caching wrt groups. |
---|
| 958 | |
---|
[1135] | 959 | - 1.15alpha6 : |
---|
| 960 | |
---|
| 961 | - Performance bottleneck with LDAP solved. |
---|
| 962 | |
---|
[1130] | 963 | - 1.15alpha5 : |
---|
| 964 | |
---|
| 965 | - Caching mechanism for all database queries. |
---|
| 966 | |
---|
[1123] | 967 | - 1.15alpha4 : |
---|
| 968 | |
---|
| 969 | - Problem with Python 2.3 fixed. Needs some definitive |
---|
| 970 | modification. |
---|
| 971 | |
---|
[1121] | 972 | - 1.15alpha3 : |
---|
| 973 | |
---|
| 974 | - CGI script now tries to restrict view when the |
---|
| 975 | REMOTE_USER environment variable is set. This allows |
---|
| 976 | people to protect its use with .htaccess files. |
---|
| 977 | When unprotected, or if REMOTE_USER is 'root', then |
---|
| 978 | unrestricted access is granted. |
---|
[1122] | 979 | NB : REMOTE_USER is automatically set by the web server |
---|
| 980 | (e.g. Apache) when a page with restricted access is viewed. |
---|
[1121] | 981 | |
---|
[1116] | 982 | - 1.15alpha2 : |
---|
| 983 | |
---|
| 984 | - Better detection of LPRng. |
---|
| 985 | |
---|
| 986 | - Outputs a warning if printing system is unknown. |
---|
| 987 | |
---|
[1115] | 988 | - 1.15alpha1 : |
---|
| 989 | |
---|
| 990 | - Bug fix in SQL code. |
---|
| 991 | |
---|
[1113] | 992 | - 1.14 : |
---|
| 993 | |
---|
| 994 | - The PostgreSQL database connection is now always closed before |
---|
| 995 | exit. The LDAP database connection too, but it didn't suffer |
---|
| 996 | from the problem anyway, AFAICT. |
---|
| 997 | |
---|
[1111] | 998 | - 1.14beta2 : |
---|
| 999 | |
---|
| 1000 | - An LDAP-specific configuration field was introduced, usermail. |
---|
| 1001 | Use it to specify which LDAP attribute contains a valid email |
---|
| 1002 | address for the user. See sample configuration file for |
---|
| 1003 | details. |
---|
| 1004 | |
---|
[1105] | 1005 | - 1.14beta : |
---|
| 1006 | |
---|
| 1007 | - Two new LDAP-specific configuration fields were introduced, |
---|
| 1008 | newuser and newgroup. Use them to specify if you want to add |
---|
| 1009 | quota information to existing entries or elsewhere. |
---|
| 1010 | See sample configuration file for details. |
---|
| 1011 | |
---|
[1099] | 1012 | - 1.14alpha9 : |
---|
| 1013 | |
---|
| 1014 | - Documentation improved. |
---|
| 1015 | |
---|
| 1016 | - pykotme now also prints the user's account balance value |
---|
| 1017 | if the user is registered in the Quota Storage and his |
---|
| 1018 | limiting factor is "balance". |
---|
| 1019 | |
---|
[1095] | 1020 | - 1.14alpha8 : |
---|
| 1021 | |
---|
| 1022 | - bin/waitprinter.sh is now included to wait for |
---|
| 1023 | SNMP enabled printers to be idle again before |
---|
| 1024 | asking for their internal page counter. |
---|
| 1025 | See sample configuration file for details. |
---|
| 1026 | |
---|
[1089] | 1027 | - 1.14alpha7 : |
---|
| 1028 | |
---|
| 1029 | - edpykota now doesn't check if the user/group is above |
---|
| 1030 | quota. The check is only done at print time. This |
---|
| 1031 | prevents the sending of email messages when creating |
---|
| 1032 | user quotas if quota is already reached at creation |
---|
| 1033 | time. |
---|
| 1034 | |
---|
[1087] | 1035 | - 1.14alpha6 : |
---|
| 1036 | |
---|
| 1037 | - Configuration file split and moved to /etc/pykota/pykota.conf |
---|
| 1038 | and /etc/pykota/pykotadmin.conf to prevent simple users to |
---|
| 1039 | have Read/Write access to the Quota Database. |
---|
| 1040 | Don't forget to : |
---|
| 1041 | |
---|
| 1042 | $ chmod 640 /etc/pykota/pykotadmin.conf |
---|
| 1043 | |
---|
| 1044 | - storageuser and storageuserpw configuration fields reintroduced |
---|
| 1045 | for the same reason. |
---|
| 1046 | |
---|
| 1047 | - Code cleaning for future implementation of email addresses |
---|
| 1048 | support in the PostgreSQL and LDAP backends. |
---|
| 1049 | |
---|
[1085] | 1050 | - 1.14alpha5 : |
---|
| 1051 | |
---|
| 1052 | - Big bug fixed when changing the prices for a printer |
---|
| 1053 | |
---|
[1082] | 1054 | - 1.14alpha4 : |
---|
| 1055 | |
---|
| 1056 | - When adding an user, the user itself and its account balance |
---|
| 1057 | are now added in the same LDAP entry. Before they were added |
---|
| 1058 | as two different LDAP entries. |
---|
| 1059 | |
---|
[1079] | 1060 | - 1.14alpha3 : |
---|
| 1061 | |
---|
| 1062 | - Email field added to PostgreSQL database. An upgrade script |
---|
| 1063 | is included in initscripts/postgresql. |
---|
| 1064 | |
---|
[1078] | 1065 | - 1.14alpha2 : |
---|
| 1066 | |
---|
| 1067 | - Typo fixed when using the --prototype option to edpykota |
---|
| 1068 | |
---|
[1077] | 1069 | - 1.14alpha1 : |
---|
| 1070 | |
---|
| 1071 | - Poor man's treshold included : users with a low account |
---|
| 1072 | balance (below 1.0 by default, configurable) are sent |
---|
| 1073 | a warning message. |
---|
| 1074 | |
---|
| 1075 | - All warning messages to users are now configurable. |
---|
| 1076 | NB : Warning messages to the administrator are not. |
---|
| 1077 | |
---|
[1068] | 1078 | - 1.13 : |
---|
| 1079 | |
---|
[1072] | 1080 | - Some small fixes wrt group handling. |
---|
| 1081 | |
---|
[1068] | 1082 | - The whole module code was passed through PyChecker and |
---|
| 1083 | several small code inconsistencies were fixed, |
---|
| 1084 | as well as a bug in the groups code. |
---|
| 1085 | |
---|
[1067] | 1086 | - 1.13alpha1 : |
---|
| 1087 | |
---|
| 1088 | - Bug fix wrt LDAP. |
---|
| 1089 | |
---|
[1065] | 1090 | - 1.12 : |
---|
| 1091 | |
---|
| 1092 | - More complete test added in edpykota. |
---|
| 1093 | |
---|
[1062] | 1094 | - 1.12alpha2 : |
---|
| 1095 | |
---|
| 1096 | - The previous bug fix was incomplete. This is corrected. |
---|
| 1097 | |
---|
[1061] | 1098 | - 1.12alpha1 : |
---|
| 1099 | |
---|
| 1100 | - Small bug fix. |
---|
| 1101 | |
---|
[1057] | 1102 | - 1.11 : |
---|
| 1103 | |
---|
| 1104 | - Now includes the pykotme command line tool, to produce |
---|
| 1105 | printing quotes for users. |
---|
| 1106 | |
---|
[1056] | 1107 | - 1.10 : |
---|
| 1108 | |
---|
| 1109 | - Bug fixed wrt quota reports when print limiting is by |
---|
| 1110 | account balance. |
---|
| 1111 | |
---|
[1052] | 1112 | - 1.09 : |
---|
| 1113 | |
---|
| 1114 | - Translations finalized. |
---|
| 1115 | |
---|
| 1116 | - Manpages updated. |
---|
| 1117 | |
---|
| 1118 | - Installation documentation improved wrt LDAP support. |
---|
| 1119 | |
---|
[1049] | 1120 | - 1.09beta2 : |
---|
| 1121 | |
---|
| 1122 | - The CGI script for quota reports works again, and |
---|
| 1123 | is much more powerful. |
---|
| 1124 | |
---|
[1043] | 1125 | - 1.09beta : |
---|
| 1126 | |
---|
| 1127 | - edpykota finalized |
---|
| 1128 | |
---|
[1041] | 1129 | - 1.09alpha2 : |
---|
| 1130 | |
---|
| 1131 | - LDAP schema modified a bit. Please upgrade. |
---|
| 1132 | |
---|
| 1133 | - LDAP backend works ! |
---|
| 1134 | |
---|
| 1135 | - repykota and warnpykota allow the root user to pass |
---|
| 1136 | users or groups names on the command line. Users |
---|
| 1137 | and groups names may contain wildcards. |
---|
| 1138 | |
---|
| 1139 | - repykota and warnpykota only reports or warns the |
---|
| 1140 | current user when launched by non-root users. |
---|
| 1141 | |
---|
| 1142 | - Minor bug fixes. |
---|
| 1143 | |
---|
[1029] | 1144 | - 1.09alpha1 : |
---|
| 1145 | |
---|
| 1146 | - More work on LDAP storage backend. Many options |
---|
| 1147 | were added to /etc/pykota.conf to give some |
---|
| 1148 | hints to the LDAP storage backend. |
---|
[1044] | 1149 | |
---|
| 1150 | - Severe database access optimizations were done by |
---|
| 1151 | rewriting most of the Quota Storage backends drivers. |
---|
[1029] | 1152 | |
---|
[1027] | 1153 | - 1.08 : |
---|
| 1154 | |
---|
| 1155 | - Major bug fix wrt LPRng support for remote jobs. |
---|
[1029] | 1156 | |
---|
[1027] | 1157 | - Major bug fix wrt increase/decrease account balances. |
---|
| 1158 | |
---|
[1021] | 1159 | - 1.08alpha8 : |
---|
| 1160 | |
---|
| 1161 | - Code refactoring. |
---|
[1029] | 1162 | |
---|
[1021] | 1163 | - A single user/password pair is used to connect |
---|
| 1164 | to the database backend. The storageuser configuration |
---|
| 1165 | field, and its associated passwords storageuserpw, are |
---|
| 1166 | not used anymore. |
---|
[1029] | 1167 | |
---|
[1022] | 1168 | - You can now set PyKota in debug mode, see sample configuration |
---|
| 1169 | file for details. |
---|
| 1170 | WARNING : only Quota Storage backend queries are logged in |
---|
| 1171 | debug mode, for now. |
---|
[1021] | 1172 | |
---|
[1019] | 1173 | - 1.08alpha7 : |
---|
| 1174 | |
---|
| 1175 | - Very latest LDAP schema. |
---|
[1029] | 1176 | |
---|
[1019] | 1177 | - Code enhancement wrt easy pluggability of PyKota attributes |
---|
| 1178 | and object classes into an existing LDAP directory. |
---|
| 1179 | |
---|
[1017] | 1180 | - 1.08alpha6 : |
---|
| 1181 | |
---|
| 1182 | - Minor bug corrections |
---|
[1029] | 1183 | |
---|
[1017] | 1184 | - More work on LDAP : new schema |
---|
| 1185 | |
---|
[1016] | 1186 | - 1.08alpha5 : |
---|
| 1187 | |
---|
[1017] | 1188 | - More good work on LDAP storage. |
---|
| 1189 | repykota now works reasonably well with the sample LDAP directory. |
---|
[1016] | 1190 | |
---|
[1014] | 1191 | - 1.08alpha4 : |
---|
| 1192 | |
---|
| 1193 | - LDAP schema included. |
---|
| 1194 | THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS. |
---|
| 1195 | LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA |
---|
| 1196 | MAY CHANGE IN THE FUTURE. PLEASE TELL US |
---|
| 1197 | WHAT YOU THINK ABOUT THIS SCHEMA ON THE |
---|
| 1198 | MAILING LIST. |
---|
| 1199 | |
---|
[1000] | 1200 | - 1.08alpha3 : |
---|
| 1201 | |
---|
| 1202 | - External accounting methods were partly rewritten : |
---|
| 1203 | |
---|
| 1204 | - No more "broken pipe" should happen. |
---|
| 1205 | |
---|
| 1206 | - They now take care of the number of copies |
---|
| 1207 | This may be unneeded though, if the postscript |
---|
| 1208 | file already does this, because this would |
---|
| 1209 | overcharge users (number of copies counted |
---|
| 1210 | two times). NEEDS MORE TESTING. |
---|
| 1211 | |
---|
| 1212 | - The sample configuration file now contains |
---|
| 1213 | an external accounting method example which should |
---|
| 1214 | work with all DSC compliant Postscript files. |
---|
| 1215 | |
---|
| 1216 | - Some small bugs were fixed. |
---|
| 1217 | |
---|
[998] | 1218 | - 1.08alpha2 : |
---|
| 1219 | |
---|
| 1220 | - Now works with net-snmp v5.0 and above. |
---|
| 1221 | It already worked, but the sample configuration |
---|
[1000] | 1222 | file didn't contain appropriate values... |
---|
[998] | 1223 | |
---|
[991] | 1224 | - 1.07 : Release of the Shame ! |
---|
| 1225 | |
---|
| 1226 | - The external accounting methods driver was left out of |
---|
| 1227 | the CVS tree. Nobody could use it since it wasn't included ! |
---|
| 1228 | |
---|
[989] | 1229 | - 1.06 : |
---|
| 1230 | |
---|
| 1231 | - Severe bug fixed : if you had a printer in |
---|
| 1232 | power saving state which couldn't answer immediately, |
---|
| 1233 | a bug was triggered. |
---|
| 1234 | It was caused by a bad copy/paste which |
---|
| 1235 | forgot to import a Python module at run time. |
---|
| 1236 | |
---|
[980] | 1237 | - 1.05 : |
---|
| 1238 | |
---|
| 1239 | - External accounters are finally available ! |
---|
| 1240 | This means that you can plug any page accounting |
---|
| 1241 | method you like by setting the appropriate |
---|
| 1242 | 'accounter' field in /etc/pykota.conf |
---|
| 1243 | See the sample conf/pykota.conf.sample to |
---|
| 1244 | learn how to do. |
---|
| 1245 | |
---|
| 1246 | NB : Both 'external' and 'stupid' accounting methods |
---|
| 1247 | account a job size just before *this* job is |
---|
| 1248 | sent to the printer. |
---|
| 1249 | The original 'querying' method accounts a job |
---|
| 1250 | size just before *the next* job is sent to |
---|
| 1251 | the printer. |
---|
| 1252 | |
---|
[976] | 1253 | - 1.05alpha3 : |
---|
| 1254 | |
---|
| 1255 | - A 'stupid' and unreliable accounting method was |
---|
| 1256 | implemented to serve as an example on how to |
---|
| 1257 | do this sort of things. This method only counts |
---|
| 1258 | the 'showpage' statements in the input data. |
---|
| 1259 | See sample configuration file for details. |
---|
| 1260 | Pluggable accounting methods work, but I advise |
---|
| 1261 | you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE. |
---|
| 1262 | It is not reliable enough to be used. |
---|
[978] | 1263 | Use the 'querying' accounting method instead. |
---|
[976] | 1264 | |
---|
[973] | 1265 | - 1.05alpha2 : |
---|
| 1266 | |
---|
| 1267 | - Pluggable accounting methods. |
---|
| 1268 | |
---|
[975] | 1269 | - Better error handling. |
---|
| 1270 | |
---|
[962] | 1271 | - 1.05alpha1 : |
---|
| 1272 | |
---|
[969] | 1273 | - SECURITY file added to help improve PyKota's security. |
---|
| 1274 | |
---|
[962] | 1275 | - Extracting the printer's internal page counter is now |
---|
| 1276 | tried several times, waiting several seconds between |
---|
| 1277 | two tries. This lets the time to warm up for some printers |
---|
| 1278 | which don't answer when they are sleeping (my Apple |
---|
| 1279 | LaserWriter 16/600 PS is in this case, maybe others too) |
---|
| 1280 | |
---|
[970] | 1281 | - Small display bug fixed in repykota |
---|
| 1282 | |
---|
[960] | 1283 | - 1.04 : |
---|
[956] | 1284 | |
---|
| 1285 | - Default print policy for users/groups unknown from |
---|
| 1286 | the print quota system is now DENY instead of ALLOW, |
---|
| 1287 | since ALLOW can generate inaccurate results |
---|
| 1288 | (incorrect job sizes charged to the wrong persons) |
---|
| 1289 | |
---|
[954] | 1290 | - LPRng support works ! |
---|
| 1291 | |
---|
[953] | 1292 | - A bug was introduced some time ago wrt printers' default |
---|
| 1293 | policy for unknown users. It is now corrected. |
---|
| 1294 | |
---|
[950] | 1295 | - repykota now displays prices per job and per page for each |
---|
| 1296 | printer, if they are defined. |
---|
| 1297 | |
---|
[947] | 1298 | - Minor display bug fixed in repykota. |
---|
| 1299 | |
---|
| 1300 | - Problem when running repykota with an empty database was fixed. |
---|
| 1301 | |
---|
[942] | 1302 | - 1.03 : |
---|
| 1303 | |
---|
| 1304 | - Upgrade script included for earlier versions. |
---|
| 1305 | Please look inside the initscripts subdirectory. |
---|
[965] | 1306 | THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE. |
---|
[942] | 1307 | |
---|
[932] | 1308 | - repykota now reports account balances too. |
---|
[929] | 1309 | |
---|
[932] | 1310 | - PyKota now has a nice logo, see the logos |
---|
| 1311 | subdirectory. |
---|
| 1312 | |
---|
[936] | 1313 | - Manual pages were finally updated. |
---|
| 1314 | |
---|
[927] | 1315 | - Group quotas seem to work now ! |
---|
| 1316 | |
---|
[910] | 1317 | - The new database schema allows to keep an history of all |
---|
| 1318 | jobs as well as charge users per page and/or per job, |
---|
| 1319 | and track users' account balance. |
---|
| 1320 | |
---|
[917] | 1321 | - edpykota now accepts much more command line options to |
---|
| 1322 | use the new functionnalities. See edpykota --help for |
---|
| 1323 | details. |
---|
| 1324 | |
---|
[885] | 1325 | - The installation script now allows to install the sample |
---|
| 1326 | configuration file during first installation. |
---|
[892] | 1327 | |
---|
| 1328 | - More group quota code works, but still not finished. |
---|
[885] | 1329 | |
---|
[894] | 1330 | - The CGI script displays a link to PyKota's website. |
---|
| 1331 | |
---|
[899] | 1332 | - The job history is now kept, this will allow per-period |
---|
| 1333 | reports in the future. |
---|
[900] | 1334 | |
---|
| 1335 | - After having modified the quota for an user with edpykota, |
---|
| 1336 | a quota check is done to eventually warn the user/admin about |
---|
| 1337 | a quota which is too low to print. |
---|
| 1338 | |
---|
[901] | 1339 | - A workaround is provided for HP Printers : their internal |
---|
| 1340 | page counter is only saved to NVRAM in a 10 increment, so |
---|
| 1341 | if you switch them off and then on, the reported page counter |
---|
| 1342 | may be lower than the real number of pages printed. |
---|
| 1343 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
[909] | 1344 | We unconditionnally set the last job's page count to |
---|
| 1345 | abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2)) |
---|
| 1346 | in this case. |
---|
[908] | 1347 | For a more accurate accounting, never switch your HP printers |
---|
| 1348 | off. |
---|
[901] | 1349 | |
---|
| 1350 | - A fix is provided for printers which only have a volatile |
---|
| 1351 | page counter (reset to 0 every time you switch the printer on) |
---|
[908] | 1352 | This should allow PyKota to work reasonably fine with HP Laserjet |
---|
| 1353 | 4L/5L/6L, not perfect, but better than nothing. |
---|
[901] | 1354 | See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html |
---|
[908] | 1355 | For a more accurate accounting, never switch your HP printers |
---|
[925] | 1356 | off. This is untested, please report any problem. |
---|
[901] | 1357 | |
---|
[907] | 1358 | - A bug was fixed when edpykota --add was used with users who already |
---|
| 1359 | had a quota on the specified printer. |
---|
| 1360 | |
---|
[913] | 1361 | - A small display bug in repykota was introduced in preliminary |
---|
| 1362 | 1.03 versions, and fixed later on. |
---|
[915] | 1363 | |
---|
| 1364 | - Some minor bugs which happened in rare situations were fixed. |
---|
[913] | 1365 | |
---|
[919] | 1366 | - Support for AppleTalk printers was added, see sample configuration |
---|
| 1367 | file for details. |
---|
[925] | 1368 | |
---|
| 1369 | - Users and group printing can now be controlled (limited) either by |
---|
| 1370 | print quota or by account balance. |
---|
[919] | 1371 | |
---|
[877] | 1372 | - 1.02 : |
---|
[859] | 1373 | |
---|
[871] | 1374 | - The installation script now checks for software availability |
---|
| 1375 | and in case a software is missing asks the user if he |
---|
| 1376 | wants to continue with the installation or abort it. |
---|
| 1377 | |
---|
[872] | 1378 | - The configuration file pykota.conf is now expected to be |
---|
| 1379 | found in /etc instead of in /etc/cups |
---|
| 1380 | The installation script prompts the user to see if he |
---|
| 1381 | wants to move an old configuration file to the new location |
---|
| 1382 | if needed. |
---|
| 1383 | |
---|
[859] | 1384 | - Improved documentation. |
---|
| 1385 | |
---|
| 1386 | - You can now set the tcp/ip port on which the Quota Storage |
---|
| 1387 | Server is listening, see sample configuration file for details. |
---|
| 1388 | |
---|
[872] | 1389 | - Better general error handling. |
---|
[859] | 1390 | |
---|
[875] | 1391 | - Upgrade script for pre 1.01 PostgreSQL database schema is now |
---|
| 1392 | included as well. |
---|
| 1393 | |
---|
[852] | 1394 | - 1.01 : |
---|
| 1395 | |
---|
| 1396 | - The configuration file now accepts an option |
---|
| 1397 | to choose the recipient(s) of the email messages : |
---|
| 1398 | |
---|
| 1399 | - DevNull means no one will receive them. |
---|
| 1400 | - User means only the user will receive them. |
---|
| 1401 | - Admin means only the admin will receive them. |
---|
| 1402 | - Both means the User and the Admin will receive them. |
---|
| 1403 | |
---|
[853] | 1404 | - The configuration file now uses hard-coded default values |
---|
| 1405 | when an option is not set. See sample configuration file |
---|
| 1406 | for details. |
---|
| 1407 | |
---|
[852] | 1408 | - Manual pages are included since 1.00, but I forgot to |
---|
| 1409 | add this information to this file. |
---|
| 1410 | |
---|
[855] | 1411 | - Redistribution terms for the official package have |
---|
| 1412 | softened and are now fully GPL compatible : |
---|
| 1413 | unrestricted modification is now allowed even for |
---|
| 1414 | the version number. |
---|
| 1415 | |
---|
[846] | 1416 | - 1.00 : |
---|
| 1417 | |
---|
| 1418 | - edpykota now accepts a --noquota option. This |
---|
| 1419 | disable quota checking while still doing page |
---|
| 1420 | accounting. This is really useful for people |
---|
| 1421 | who don't want to limit their users but want |
---|
| 1422 | to know how much pages they print. |
---|
| 1423 | |
---|
| 1424 | - Some untested scripts were added to retrieve |
---|
| 1425 | the life time page counter of non-SNMP printers. |
---|
| 1426 | |
---|
| 1427 | - Every directory now has a specific README file. |
---|
| 1428 | |
---|
[833] | 1429 | - 0.99 : |
---|
| 1430 | |
---|
| 1431 | - Under some circumstances while the user wasn't allowed |
---|
| 1432 | to print, he didn't receive any email message. It is |
---|
| 1433 | now fixed. |
---|
| 1434 | |
---|
| 1435 | - When an user wasn't allowed to print, the quota for |
---|
[835] | 1436 | the previous user wasn't updated. This is now fixed. |
---|
[833] | 1437 | |
---|
[827] | 1438 | - 0.98 : |
---|
| 1439 | |
---|
| 1440 | - Correctly handle the case where the printer is switched off. |
---|
| 1441 | |
---|
[828] | 1442 | - Small bug wrt syslog fixed. |
---|
| 1443 | |
---|
[819] | 1444 | - 0.97 : |
---|
| 1445 | |
---|
| 1446 | - edpykota accepts wildcards on its command line for users/groups too |
---|
| 1447 | if the --add option is not set, e.g. : |
---|
| 1448 | |
---|
| 1449 | $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*" |
---|
| 1450 | |
---|
[821] | 1451 | - If no user name is passed at all, then a default wildcard of "*" |
---|
[819] | 1452 | which means apply the command on ALL users for this printer is used. |
---|
| 1453 | |
---|
| 1454 | - Small bug fixes. |
---|
| 1455 | |
---|
[803] | 1456 | - 0.96 : |
---|
| 1457 | |
---|
[808] | 1458 | - Options requester, policy, admin, adminmail and gracedelay can now |
---|
[807] | 1459 | be set either globally or per printer. The printer option has |
---|
| 1460 | priority if both are defined. |
---|
[803] | 1461 | |
---|
[807] | 1462 | - More powerful configuration parser. |
---|
| 1463 | |
---|
| 1464 | - If all options are defined globally, there's no need to |
---|
| 1465 | define a section for each printer in the configuration |
---|
| 1466 | file anymore. Just define a [global] section and it's ok. |
---|
[803] | 1467 | |
---|
[797] | 1468 | - 0.95 : |
---|
| 1469 | |
---|
[798] | 1470 | - External requesters for printers finally added. |
---|
[797] | 1471 | |
---|
| 1472 | - Full internationalization (english and french are supported) |
---|
| 1473 | |
---|
| 1474 | - More complete quota usage report |
---|
| 1475 | |
---|
| 1476 | - CGI script to access to the quota usage report |
---|
| 1477 | |
---|
| 1478 | - Several bugs fixed. |
---|
| 1479 | |
---|
| 1480 | |
---|
| 1481 | - 0.9 : |
---|
| 1482 | |
---|
| 1483 | - First public version |
---|