summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-08-11release: post-release bump to 0.2.8HEADmasterMarek Kasik1-1/+1
2022-08-09release: 0.2.70.2.7Marek Kasik1-0/+15
2022-08-09Update HACKING and README filesMarek Kasik2-14/+16
2022-07-15l10n: Add/update translations from transifexMarek Kasik41-126/+689
Added Afrikaans, Asturian, Estonian, Hebrew and Sinhala translations. Updated Czech, Finnish, Croatian and Turkish translations.
2021-11-29Don't compare signed and unsigned intGuido Günther1-4/+5
CC cups_pk_helper_mechanism-cups.o cups.c: In function ‘cph_cups_printer_class_rename’: cups.c:2272:39: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (i = 0; i < g_strv_length (member_names); i++) { ^ cups.c:2331:39: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] for (i = 0; i < g_strv_length (member_names); i++) { ^
2021-11-29Add default statements to silence compiler warningsGuido Günther1-0/+6
cups-pk-helper-mechanism.c: In function ‘cph_mechanism_job_set_hold_until’: cups-pk-helper-mechanism.c:1402:9: error: switch missing default case [-Werror=switch-default] switch (job_status) { ^ cc1: all warnings being treated as errors
2021-05-04Remove obsolete [encoding: UTF-8] from POTFILES.inMarek Kasik1-1/+0
2021-04-27Remove code using CUPS 1.5 and lowerMarek Kasik1-173/+12
This is not needed as we require CUPS 1.6 and newer now.
2021-04-27Remove calls to deprecated g_type_init()Marek Kasik3-6/+0
These are not needed as we require glib 2.36 and newer now.
2021-04-27Use meson build systemMarek Kasik11-461/+131
Use meson build system instead of autoconf tools. Set dependency on CUPS 1.6 and newer and glib 2.36 and newer so we can remove some compatibility code.
2021-04-09Move D-Bus conf file to $(datadir)/dbus-1/system.dworldofpeace1-1/+1
Since D-Bus 1.9.18 configuration files installed by third-party should go in share/dbus-1/system.d. The old location is for sysadmin overrides.
2019-04-08Update lt.poMoo1-1/+1
2019-04-08l10n: Create lt.poMoo1-0/+126
2019-04-08Update LINGUASMoo1-0/+1
2018-08-29Code of ConductMarek Kasik1-0/+12
2018-04-12l10n: Add/update translations from transifexMarek Kasik35-119/+232
Added Friulian translation. Updated Croatian and Kazakh translations.
2016-02-03release: post-release bump to 0.2.7Marek Kasik1-1/+1
2016-02-03release: 0.2.60.2.6Marek Kasik1-0/+10
2016-02-03Enable UTF-8 chars in names and textsMarek Kasik1-42/+57
This commit adds ability to process IPP_TAG_NAME and IPP_TAG_TEXT values which contain UTF-8 characters. This is required by RFC 2911 and CUPS is able to handle such strings. Users will be able to handle printers with names containing printable UTF-8 characters now. https://bugzilla.redhat.com/show_bug.cgi?id=982727
2016-01-28Introduce CPH_PATH_MAXPino Toscano1-1/+7
PATH_MAX is optional in POSIX, and not provided on GNU/Hurd; due to the shotcoming of cupsTempFile2(), a dynamically allocated buffer cannot be provided, so define CPH_PATH_MAX as PATH_MAX (or 1024, if not available), and use it. https://bugs.freedesktop.org/show_bug.cgi?id=59263
2015-12-17l10n: Add/update translations from transifexMarek Kasik16-87/+989
2015-11-12Add function for printer renamingMartin Hatina4-0/+282
New method PrinterRename for printer renaming, it actually deletes old printer and add new one. It is also possible to rename classes and their members. https://bugs.freedesktop.org/show_bug.cgi?id=92463
2013-06-07release: post-release bump to 0.2.6Marek Kasik1-1/+1
2013-06-07release: 0.2.50.2.5Marek Kasik1-0/+7
2013-06-07l10n: Add/update translations from transifexMarek Kasik16-285/+729
2013-03-01Add Marek to AUTHORSVincent Untz1-0/+1
He made enough significant changes to be listed there!
2013-03-01Remove myself from maintainersVincent Untz1-6/+0
Marek now has all the access rights to maintain cups-pk-helper, so I'm not needed anymore :-)
2013-02-08Update my mail addressVincent Untz2-2/+2
2013-02-08Add Marek as co-maintainerVincent Untz1-0/+6
He agreed to step up, that's great news!
2012-12-10Document our source for validating printer namesVincent Untz1-1/+7
Since the change that got reverted was justified by some cups documentation, it's important to clearly document where the current validation scheme comes from (lpadmin man page and cups source). Also, fix the size check: the cups source code limits this to 127.
2012-12-10Revert "Be stricter when validating printer names"Vincent Untz1-11/+9
Apparently, this is way too strict. The lpadmin man page says: CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". So the previous code was (mostly) correct. This reverts commit 7bf9cbe43ef8f648f308e4760f75c2aa6b61fa8e.
2012-10-12release: post-release bump to 0.2.5Vincent Untz1-1/+1
2012-10-12release: 0.2.40.2.4Vincent Untz1-0/+6
2012-10-12Fix detection of CUPS versionVincent Untz1-1/+1
This really fixes build with CUPS >= 1.6, this time. Thanks to Jürg Billeter <j@bitron.ch> for spotting the issue.
2012-10-12release: post-release bump to 0.2.4Vincent Untz1-1/+1
2012-10-12release: 0.2.30.2.3Vincent Untz1-0/+11
2012-10-10Also change supplementary groups when changing effective uid/gidVincent Untz1-7/+66
Thanks to Alexander Peslyak <solar@openwall.com> and Sebastian Krahmer <krahmer@suse.de> for catching this. Part of fix for CVE-2012-4510.
2012-10-10Fix a bunch of issues when getting/putting a file from cupsVincent Untz3-36/+183
There was basically no check for permissions. Now, we temporarily change our effective uid/gid to the one of the user to open the file for writing (when getting) or reading (when putting). We then only use operations that work on the file descriptor to avoid potential race conditions. Before that, people could: - overwrite any file with the content of a cups resource - put any file in a cups resource Part of fix for CVE-2012-4510.
2012-10-04Fix compiler warningVincent Untz1-1/+1
2012-10-03Fix coding style issues in previous commitVincent Untz1-14/+16
2012-10-03Fix build with CUPS >= 1.6 by using accessors for IPP APIJiri Popelka1-57/+96
CUPS 1.6 makes various structures private and introduces ippGet* and ippSet* functions for all of the fields in these structures. See http://www.cups.org/str.php?L3928 For compatibility with CUPS < 1.6, we manually define the needed accessors if building against the old CUPS. https://bugs.freedesktop.org/show_bug.cgi?id=52265
2012-10-02l10n: Add/update translations from transifexVincent Untz10-93/+768
2012-03-27Be stricter when validating printer namesVincent Untz1-9/+11
Only alphanumerical characters and the underscore are valid, and the name must not be longer than 127 characters. See http://www.cups.org/documentation.php/doc-1.1/sam.html#4_1
2012-03-27Escape printer/class names before putting them in URIsVincent Untz1-5/+16
2012-03-16release: post-release bump to 0.2.3Vincent Untz1-1/+1
2012-03-16release: 0.2.20.2.2Vincent Untz1-0/+10
2012-03-16l10n: Add/update translations from transifexVincent Untz5-5/+340
2012-03-13Use requesting-user-name parameter for all requestsMarek Kasik1-1/+22
This has to be set explicitly for operations requiring authentication starting with CUPS 1.5. https://bugs.freedesktop.org/show_bug.cgi?id=46890
2012-03-02Cleanup cph_cups_printer_class_set_option_default()Vincent Untz1-29/+8
Check if the name we have is a printer or a class, and create the right request, instead of first assuming it's a printer, and trying for a class in case of failure.
2012-03-02Use _cph_cups_add_requesting_user_name() instead of manual tagVincent Untz1-8/+4
We have a nice function, let's use it :-)