1 | # $Id$ |
---|
2 | |
---|
3 | PyKota - Print Quota for CUPS and LPRng |
---|
4 | |
---|
5 | (c) 2003, 2004, 2005 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 | - Very good idea from Martin Oesterund : comment field for |
---|
25 | payments !!! |
---|
26 | |
---|
27 | - Another one : add a third value like 'nocheck' or something |
---|
28 | like that to allow an user to print with no limitation while |
---|
29 | still updating the balance and number of pages printed. |
---|
30 | |
---|
31 | - Make the SNMP and PJL delay and number of loops a new configuration |
---|
32 | directive. |
---|
33 | |
---|
34 | - Ensure that deleted or modified entries are flushed from the cache. |
---|
35 | |
---|
36 | - Adds configurability to what happens when the user/group doesn't exist |
---|
37 | when running edpykota. Rewrite the main loop to be able to abort |
---|
38 | early, before any modification has taken place. |
---|
39 | |
---|
40 | - Add the listing of the member printers in pkprinters if the printer |
---|
41 | is a printer group. |
---|
42 | |
---|
43 | - Allow several levels of administrative priviledges by allowing |
---|
44 | files like ~pykota/pykotadmin.someusername.conf (readonly by |
---|
45 | user 'someusername'), and have the database server deal |
---|
46 | with the permissions : no need for additionnal code or data |
---|
47 | in PyKota's database ! |
---|
48 | |
---|
49 | - Try to talk to education based distribution coordinators |
---|
50 | (SambaEdu, SkoleLinux, K12LTSP, ...) to see how to |
---|
51 | better integrate PyKota with these. |
---|
52 | |
---|
53 | - Allow soft and hard limits to be increased/decreased. |
---|
54 | |
---|
55 | - Add most configuration directives to the database itself, |
---|
56 | while still allowing to overwrite them with the configuration |
---|
57 | files at run time. |
---|
58 | |
---|
59 | - Ink accounting ala PrintBill. |
---|
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 | - Think about some possible client <=> PyKota dialog |
---|
76 | possibilities, like embedding a small web server in |
---|
77 | PyKota for example, or something like that. |
---|
78 | |
---|
79 | - Log something when --add is used with existing entries. |
---|
80 | Maybe add a new command line option to force/not force |
---|
81 | modification of existing entries. |
---|
82 | |
---|
83 | - Finish implementation of quota-then-balance and |
---|
84 | balance-then-quota. |
---|
85 | |
---|
86 | - Introduce the pkusers command. |
---|
87 | pkusers --nogroup |
---|
88 | pkusers --ingroups gr1,gr2,... --outgroups gr3,gr4,... |
---|
89 | |
---|
90 | - Allow the --ingroups command line option to repykota, to |
---|
91 | report only users members of the specified groups. |
---|
92 | |
---|
93 | - Documentation... |
---|
94 | |
---|
95 | - Learn more bits of PHP to help with phpPyKotaAdmin, which |
---|
96 | is a GREAT tool ! |
---|
97 | |
---|
98 | - Multidatabase support, e.g. store users in LDAP, quota |
---|
99 | related datas in PostgreSQL, history in text file, |
---|
100 | and so on... For 2.0, probably not before. |
---|
101 | |
---|
102 | |
---|
103 | ============================================================ |
---|
104 | |
---|
105 | Please e-mail bugs to: alet@librelogiciel.com (Jerome Alet) |
---|