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 | - PJL for non-networked backends (see ML's history) |
---|
25 | |
---|
26 | - --freemoney/--freepages command line option for edpykota : |
---|
27 | don't modify the totals or payments, but instead set |
---|
28 | a freemoney/freepages attribute which will be decremented/incremented |
---|
29 | **before** the real one. |
---|
30 | |
---|
31 | - Make the SNMP and PJL delay and number of loops a new configuration |
---|
32 | directive. |
---|
33 | |
---|
34 | - Adds configurability to what happens when the user/group doesn't exist |
---|
35 | when running edpykota. Rewrite the main loop to be able to abort |
---|
36 | early, before any modification has taken place. |
---|
37 | |
---|
38 | - Add the listing of the member printers in pkprinters if the printer |
---|
39 | is a printer group. |
---|
40 | |
---|
41 | - Allow several levels of administrative priviledges by allowing |
---|
42 | files like ~pykota/pykotadmin.someusername.conf (readonly by |
---|
43 | user 'someusername'), and have the database server deal |
---|
44 | with the permissions : no need for additionnal code or data |
---|
45 | in PyKota's database ! |
---|
46 | |
---|
47 | - Try to talk to education based distribution coordinators |
---|
48 | (SambaEdu, SkoleLinux, K12LTSP, ...) to see how to |
---|
49 | better integrate PyKota with these. |
---|
50 | |
---|
51 | - Add most configuration directives to the database itself, |
---|
52 | while still allowing to overwrite them with the configuration |
---|
53 | files at run time. |
---|
54 | |
---|
55 | - Ink accounting ala PrintBill. |
---|
56 | |
---|
57 | - Price and statistics per page format. |
---|
58 | |
---|
59 | - Allow the admin to choose an action to take when the database |
---|
60 | is unavailable (server is down or something like that), so |
---|
61 | introduce two directives : |
---|
62 | |
---|
63 | nodb: accept|reject|hold |
---|
64 | lognodb: /path/to/file/for/later/batch/update/of/database |
---|
65 | |
---|
66 | - CUPS accepts the "STATE: ..." message as backchannel |
---|
67 | data : use this to tell CUPS what action has been taken |
---|
68 | for current job. I did some testing but wasn't able to |
---|
69 | make it work... |
---|
70 | |
---|
71 | - Introduce the pkusers command. |
---|
72 | pkusers --nogroup |
---|
73 | pkusers --ingroups gr1,gr2,... --outgroups gr3,gr4,... |
---|
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 | |
---|
85 | ============================================================ |
---|
86 | |
---|
87 | Please e-mail bugs to: alet@librelogiciel.com (Jerome Alet) |
---|