1 | it's a pyt# $Id$ |
---|
2 | |
---|
3 | PyKota - Print Quotas for CUPS and LPRng |
---|
4 | |
---|
5 | (c) 2003, 2004, 2005, 2006 Jerome Alet <alet@librelogiciel.com> |
---|
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. |
---|
10 | |
---|
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. |
---|
15 | |
---|
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
19 | |
---|
20 | ============================================================ |
---|
21 | |
---|
22 | TODO, in no particular order : |
---|
23 | |
---|
24 | - Document the PYKOTA_HOME environment variable. |
---|
25 | |
---|
26 | - Add a command line option to pknotify to decide what should |
---|
27 | happen if there's no PyKotIcon at the other end. |
---|
28 | |
---|
29 | - LDAP : See if setting cn=ThePrinter for user print quota entries |
---|
30 | could be done, only in the case where userquotabase=user |
---|
31 | (idem for groups). Would make direct modifications (e.g. |
---|
32 | with gq) more easy. |
---|
33 | |
---|
34 | - Allow the disabling of an user print quota entry without |
---|
35 | deleting it. |
---|
36 | |
---|
37 | - Store the value of the user's account balance in the |
---|
38 | printing history (the value at the time of printing) |
---|
39 | as well as in the payments history (as a safety check |
---|
40 | in case an user complains). |
---|
41 | |
---|
42 | - PJL for non-networked backends (see ML's history) |
---|
43 | |
---|
44 | - Add the listing of the member printers in pkprinters if the printer |
---|
45 | is a printer group. |
---|
46 | |
---|
47 | - Allow several levels of administrative priviledges by allowing |
---|
48 | files like ~pykota/pykotadmin.someusername.conf (readonly by |
---|
49 | user 'someusername'), and have the database server deal |
---|
50 | with the permissions : no need for additionnal code or data |
---|
51 | in PyKota's database ! |
---|
52 | |
---|
53 | - Try to talk to education based distribution coordinators |
---|
54 | (SambaEdu, SkoleLinux, K12LTSP, ...) to see how to |
---|
55 | better integrate PyKota with these. |
---|
56 | |
---|
57 | - Add most configuration directives to the database itself, |
---|
58 | while still allowing to overwrite them with the configuration |
---|
59 | files at run time. |
---|
60 | |
---|
61 | - Price and statistics per page format. |
---|
62 | |
---|
63 | - Allow the admin to choose an action to take when the database |
---|
64 | is unavailable (server is down or something like that), so |
---|
65 | introduce two directives : |
---|
66 | |
---|
67 | nodb: accept|reject|hold |
---|
68 | lognodb: /path/to/file/for/later/batch/update/of/database |
---|
69 | |
---|
70 | - CUPS accepts the "STATE: ..." message as backchannel |
---|
71 | data : use this to tell CUPS what action has been taken |
---|
72 | for current job. I did some testing but wasn't able to |
---|
73 | make it work... |
---|
74 | |
---|
75 | - Documentation... |
---|
76 | |
---|
77 | - Learn more bits of PHP to help with phpPyKotaAdmin, which |
---|
78 | is a GREAT tool ! |
---|
79 | |
---|
80 | - Multidatabase support, e.g. store users in LDAP, quota |
---|
81 | related datas in PostgreSQL, history in text file, |
---|
82 | and so on... For 2.0, probably not before. |
---|
83 | |
---|
84 | - Re-add support for LPRng if interest is high enough (it is |
---|
85 | not for now) |
---|
86 | |
---|
87 | |
---|
88 | ============================================================ |
---|
89 | |
---|
90 | Please e-mail bugs to: alet@librelogiciel.com (Jerome Alet) |
---|