Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-28 | Remove tracking of the reconnecting state: it's not used. | Vincent Untz | 1 | -6/+0 | |
2009-02-28 | Code style fixes. | Vincent Untz | 2 | -16/+32 | |
2009-02-28 | Add job related functions + reconnect ability | Marek Kasik | 6 | -5/+406 | |
Add _cph_mechanism_get_callers_user_name() function. This function returns caller's user name. Add handling of "file:" backend in cph_cups_is_printer_uri_local(). Signed-off-by: Vincent Untz <vuntz@novell.com> | |||||
2009-01-27 | Only use send_destination. | Vincent Untz | 1 | -2/+1 | |
The send_interface part is redundant, and as it was, it also matched other services with the same interface name. | |||||
2008-11-21 | Update NEWS/configure.ac for 0.0.3.cups-pk-helper-0.0.3 | Vincent Untz | 2 | -1/+13 | |
2008-11-21 | Implement FileGet/FilePut methods. | Vincent Untz | 5 | -2/+130 | |
Took me long hours to make it work, with a workaround. See https://bugzilla.novell.com/show_bug.cgi?id=447422 for details. | |||||
2008-11-21 | Use class-edit check when classes are involved. | Vincent Untz | 1 | -12/+30 | |
2008-11-21 | Add cph_cups_is_class(). | Vincent Untz | 2 | -0/+41 | |
2008-11-21 | Also take into account printer-X-edit for set-default/printer-enable. | Vincent Untz | 2 | -5/+33 | |
This is actually important if we don't want to ask for password too many different times. That's why we even prefer printer-X-edit over set-default/printer-enable when requesting authentication. | |||||
2008-11-21 | Add _check_polkit_for_printer(). | Vincent Untz | 1 | -15/+43 | |
It looks it the printer is local or remote, and does the right thing. And use it to check right actions for most remaining methods. | |||||
2008-11-21 | Fix check for remote hplip. | Vincent Untz | 1 | -0/+1 | |
2008-11-21 | Add cph_cups_is_printer_local(), to make life easier. | Vincent Untz | 2 | -0/+32 | |
2008-11-21 | Check right actions for class methods. | Vincent Untz | 1 | -3/+9 | |
2008-11-21 | Rename policies with dashes, and add class-edit. | Vincent Untz | 2 | -10/+19 | |
2008-11-21 | Add cph_cups_printer_get_uri() to get the URI of a printer based on its | Vincent Untz | 2 | -0/+61 | |
name. Also, a printer with an empty URI is local. | |||||
2008-11-20 | Make it possible to check for more than one authorization for a given | Vincent Untz | 1 | -21/+85 | |
method. And use this for enable/set default. | |||||
2008-11-20 | Fix a bug where most of the changes to a printer didn't work. | Vincent Untz | 1 | -2/+8 | |
A lot of changes are done by sending a new PPD file. And it didn't work because we were sending it with an empty URI (instead of no URI). | |||||
2008-11-20 | Add some commented out code useful for debugging. | Vincent Untz | 1 | -0/+4 | |
2008-11-20 | Add new policies for PK, and start using them. | Vincent Untz | 2 | -4/+50 | |
Step 1: serversettings. | |||||
2008-11-20 | s/_cps/_cph/ (typo in namespace) | Vincent Untz | 2 | -2/+2 | |
2008-11-20 | Implement ClassAddPrinter/ClassDeletePrinter/ClassDelete methods. | Vincent Untz | 5 | -3/+353 | |
2008-11-20 | Mark adminGetServerSettings/adminSetServerSettings as done. | Vincent Untz | 1 | -2/+2 | |
2008-11-20 | Add cps_cups_is_printer_uri_local() function. | Vincent Untz | 2 | -0/+64 | |
It will be used to implement different policies, depending on the local vs remote printer. | |||||
2008-11-20 | s/_cps/_cph/ (typo in namespace) | Vincent Untz | 1 | -3/+3 | |
2008-11-20 | Add ServerGetSettings/ServerSetSettings | Vincent Untz | 5 | -0/+169 | |
2008-11-20 | Fix stupid crash in _cps_cups_printer_class_set_users(). | Vincent Untz | 2 | -7/+4 | |
And remove debug output committed by accident. | |||||
2008-11-20 | Skip empty user names when setting Allowed/Denied. | Vincent Untz | 2 | -9/+36 | |
2008-11-20 | Accept an empty string array for deleting an option. | Vincent Untz | 1 | -1/+1 | |
(instead of just accepting NULL) | |||||
2008-11-20 | Add (untested) PrinterSetUsersAllowed/PrinterSetUsersDenied. | Vincent Untz | 5 | -4/+187 | |
2008-11-20 | Change the signature of PrinterAddOptionDefault to take as. | Vincent Untz | 5 | -68/+42 | |
Some options need an array of string, instead of just a string (setPrinterUsersAllowed, eg). And it actually simplifies code :-) | |||||
2008-11-17 | Fill NEWS for the past releases. | Vincent Untz | 1 | -0/+12 | |
2008-11-17 | Release 0.0.2cups-pk-helper-0.0.2 | Vincent Untz | 1 | -1/+1 | |
2008-11-13 | Fix a crash in validity checks. | Vincent Untz | 1 | -2/+2 | |
When a string was NULL and we accepted NULL strings, we were calling strlen() on it... | |||||
2008-11-13 | Add some code in the python test for accepting jobs. | Vincent Untz | 1 | -0/+13 | |
2008-11-13 | Add some code in the python test for changing an option. | Vincent Untz | 1 | -0/+13 | |
2008-11-13 | Add remaining safety checks. | Vincent Untz | 1 | -12/+44 | |
2008-11-13 | Add lots of checks. | Vincent Untz | 1 | -15/+45 | |
2008-11-13 | Create a macro to easily add some checks. | Vincent Untz | 1 | -15/+19 | |
2008-11-13 | Validity check for printer URI. | Vincent Untz | 1 | -1/+40 | |
2008-11-13 | Add small comment. | Vincent Untz | 1 | -0/+1 | |
2008-11-13 | Add checks for the printer name. | Vincent Untz | 1 | -4/+43 | |
2008-11-13 | Add infrastructure to have a non-cups internal status. | Vincent Untz | 1 | -1/+26 | |
2008-11-13 | Implement _cph_cups_is_printer_name_valid() | Vincent Untz | 1 | -1/+12 | |
Based on the checks done in s-c-p. | |||||
2008-10-27 | The patch for system-config-printer is now in a git branch of s-c-p. | Vincent Untz | 1 | -534/+0 | |
2008-10-27 | Make it possible to specify the resource to use for cups requests. | Vincent Untz | 1 | -26/+65 | |
This brings us closer to what pycups is doing. | |||||
2008-10-27 | Make AcceptJobs actually work. | Vincent Untz | 1 | -0/+3 | |
reason has to be NULL when calling cph_cups_printer_set_accept_jobs(). | |||||
2008-09-23 | Update s-c-p patch. | Vincent Untz | 1 | -0/+12 | |
2008-09-22 | Improve s-c-p patch (UI not blocking, no repeating password dialogs)cups-pk-helper-0.0.1 | Vincent Untz | 6 | -39/+146 | |
And pass distcheck. | |||||
2008-09-22 | Add quite some stuff, and the current patch to s-c-p. | Vincent Untz | 10 | -52/+1127 | |
2008-09-21 | First pass at this. | Vincent Untz | 16 | -23/+1212 | |
There are two smalls test program to show this works :-) |