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