[737] | 1 | # $Id$ |
---|
| 2 | |
---|
[952] | 3 | PyKota - Print Quota for CUPS and LPRng |
---|
[737] | 4 | |
---|
[2028] | 5 | (c) 2003, 2004, 2005 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. |
---|
[737] | 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. |
---|
[737] | 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 | |
---|
[737] | 20 | ============================================================ |
---|
| 21 | |
---|
[1322] | 22 | TODO, in no particular order : |
---|
[737] | 23 | |
---|
[2150] | 24 | - Pass-through mode for printers : history correctly filled (including |
---|
| 25 | job size) but no impact on user's page counter or account |
---|
| 26 | balance : this is meant to be a temporary situation for |
---|
| 27 | a printer to be in pass-through mode, for example during |
---|
| 28 | an exam where the faculty pays for the printouts and we |
---|
| 29 | don't want our users to complain about their credits being |
---|
| 30 | "eaten" for mandatory printouts. |
---|
| 31 | |
---|
[2208] | 32 | - Allow several levels of administrative priviledges by allowing |
---|
| 33 | files like ~pykota/pykotadmin.someusername.conf (readonly by |
---|
| 34 | user 'someusername'), and have the database server deal |
---|
| 35 | with the permissions : no need for additionnal code or data |
---|
| 36 | in PyKota's database ! |
---|
| 37 | |
---|
[2207] | 38 | - Add a "printing denied" indicator on user print quota entries, |
---|
| 39 | to temporarily forbid an user to print on a particular printer. |
---|
| 40 | |
---|
[2123] | 41 | - Maybe per user "denyduplicates" : my 5 years old daughter |
---|
| 42 | just prints again when the printer is off... |
---|
| 43 | |
---|
[2108] | 44 | - Now that the job size is ALWAYS precomputed, add a |
---|
| 45 | MaxJobSize attribute to users and groups (printers as |
---|
| 46 | well, maybe ?) to limit each job's size if needed. |
---|
| 47 | |
---|
[1973] | 48 | - Add precomputed job size (and price) to the history for |
---|
| 49 | controlling purpose. |
---|
| 50 | |
---|
[1882] | 51 | - Try to talk to education based distribution coordinators |
---|
| 52 | (SambaEdu, SkoleLinux, K12LTSP, ...) to see how to |
---|
| 53 | better integrate PyKota with these. |
---|
| 54 | |
---|
[1876] | 55 | - Allow soft and hard limits to be increased/decreased. |
---|
| 56 | |
---|
[2054] | 57 | - Web enabled pykotme. |
---|
[1844] | 58 | |
---|
[2123] | 59 | - Maybe put "gracedelay" and "denyduplicates" into the database. |
---|
[1709] | 60 | |
---|
[1634] | 61 | - Ink accounting ala PrintBill. |
---|
| 62 | |
---|
[1679] | 63 | - Price and statistics per page format. |
---|
| 64 | |
---|
[1623] | 65 | - Add a description field to users/groups. |
---|
| 66 | |
---|
[1598] | 67 | - Allow the admin to choose an action to take when the database |
---|
[1892] | 68 | is unavailable (server is down or something like that), so |
---|
[1598] | 69 | introduce two directives : |
---|
| 70 | |
---|
| 71 | nodb: accept|reject|hold |
---|
| 72 | lognodb: /path/to/file/for/later/batch/update/of/database |
---|
| 73 | |
---|
[1585] | 74 | - CUPS accepts the "STATE: ..." message as backchannel |
---|
| 75 | data : use this to tell CUPS what action has been taken |
---|
| 76 | for current job. |
---|
| 77 | |
---|
[1501] | 78 | - Think about some possible client <=> PyKota dialog |
---|
| 79 | possibilities, like embedding a small web server in |
---|
[1507] | 80 | PyKota for example, or something like that. |
---|
[1501] | 81 | |
---|
| 82 | - Log something when --add is used with existing entries. |
---|
| 83 | Maybe add a new command line option to force/not force |
---|
| 84 | modification of existing entries. |
---|
| 85 | |
---|
[1440] | 86 | - Finish implementation of quota-then-balance and |
---|
| 87 | balance-then-quota. |
---|
| 88 | |
---|
[1640] | 89 | - Introduce the pkusers command. |
---|
| 90 | pkusers --nogroup |
---|
[1378] | 91 | pkusers --ingroups gr1,gr2,... --outgroups gr3,gr4,... |
---|
[1370] | 92 | |
---|
[1319] | 93 | - Allow the --ingroups command line option to repykota, to |
---|
| 94 | report only users members of the specified groups. |
---|
| 95 | |
---|
[1157] | 96 | - Documentation... |
---|
| 97 | |
---|
[2054] | 98 | - Learn more bits of PHP to help with phpPyKotaAdmin, which |
---|
| 99 | is a GREAT tool ! |
---|
[1045] | 100 | |
---|
[737] | 101 | - Group administrators (think quotagrpdmins for disk quotas). |
---|
[1157] | 102 | Won't be implemented for now. |
---|
[1385] | 103 | |
---|
| 104 | - Multidatabase support, e.g. store users in LDAP, quota |
---|
| 105 | related datas in PostgreSQL, history in text file, |
---|
| 106 | and so on... For 2.0, probably not before. |
---|
[737] | 107 | |
---|
| 108 | |
---|
| 109 | ============================================================ |
---|
| 110 | |
---|
| 111 | Please e-mail bugs to: alet@librelogiciel.com (Jerome Alet) |
---|