]>
git.ipfire.org Git - thirdparty/cups.git/log
Zdenek Dohnal [Tue, 10 Jun 2025 12:57:49 +0000 (14:57 +0200)]
Introduce print-as-raster as printer/job attribute
Some printers do not take kindly newer PDF versions which results in
omitting font characters in the printout. Such jobs print fine as a
raster, however retrying as raster depends on benevolence of the printer
firmware what it counts as an unrecoverable printing error.
In the past, we preferred raster over PDF in cups-filters, causing other
issues like with finishings, or solutions like generating PCLm PPD were
mentioned, however it would require a way how to define for which models
it should be used, and take of such database.
Thus introducing `print-as-raster` job attribute, which makes the job
to be printed as raster, and `print-as-raster-default` printer attributes,
which makes any job coming into the printer object to be printed as raster.
Internally it uses similar mechanism as raster retry, which was adjusted
to match both use cases now.
Michael R Sweet [Sun, 8 Jun 2025 15:44:41 +0000 (11:44 -0400)]
Revert changes to use timeout command (restart was targeting timeout PID
Michael R Sweet [Sat, 7 Jun 2025 21:49:28 +0000 (17:49 -0400)]
Merge pull request #1289 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
Daniel Nylander [Sat, 7 Jun 2025 11:51:19 +0000 (13:51 +0200)]
Translated using Weblate (Swedish)
Currently translated at 92.7% (3852 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/sv/
marcelocripe [Fri, 6 Jun 2025 17:29:07 +0000 (19:29 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 54.8% (2281 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
Michael R Sweet [Fri, 6 Jun 2025 17:57:11 +0000 (13:57 -0400)]
Merge pull request #1288 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
marcelocripe [Fri, 6 Jun 2025 16:03:30 +0000 (18:03 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 54.6% (2269 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
Michael R Sweet [Fri, 6 Jun 2025 13:31:29 +0000 (09:31 -0400)]
Bump copyright.
Michael R Sweet [Fri, 6 Jun 2025 13:30:29 +0000 (09:30 -0400)]
Use timeout command on Linux to limit test run time.
Zdenek Dohnal [Fri, 6 Jun 2025 09:06:38 +0000 (11:06 +0200)]
CI - fix indentation
Zdenek Dohnal [Fri, 6 Jun 2025 08:10:15 +0000 (10:10 +0200)]
Enable the GNUTLS build for now
Michael R Sweet [Fri, 6 Jun 2025 02:45:58 +0000 (22:45 -0400)]
Merge pull request #1284 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
marcelocripe [Wed, 4 Jun 2025 15:59:47 +0000 (17:59 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 54.2% (2256 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
Michael R Sweet [Wed, 4 Jun 2025 15:16:52 +0000 (11:16 -0400)]
Merge pull request #1283 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
marcelocripe [Wed, 4 Jun 2025 13:09:23 +0000 (15:09 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.9% (2243 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
Michael R Sweet [Wed, 4 Jun 2025 15:16:04 +0000 (11:16 -0400)]
Slovak (sk) message catalog didn't translate Yes or No.
Michael R Sweet [Wed, 4 Jun 2025 14:26:04 +0000 (10:26 -0400)]
Fix regression in username handling (Issue #1145)
Michael R Sweet [Fri, 30 May 2025 13:40:22 +0000 (09:40 -0400)]
Merge pull request #1280 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
P.O [Thu, 29 May 2025 12:33:39 +0000 (14:33 +0200)]
Translated using Weblate (Swedish)
Currently translated at 92.6% (3849 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/sv/
marcelocripe [Thu, 29 May 2025 12:56:07 +0000 (14:56 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.8% (2238 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
Michael R Sweet [Thu, 29 May 2025 11:59:15 +0000 (07:59 -0400)]
Merge pull request #1279 from weblate/weblate-cups-cups
Translations update from Hosted Weblate
marcelocripe [Wed, 28 May 2025 16:39:46 +0000 (18:39 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.8% (2237 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
marcelocripe [Wed, 28 May 2025 16:37:05 +0000 (18:37 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.8% (2237 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
marcelocripe [Wed, 28 May 2025 12:53:48 +0000 (14:53 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.8% (2237 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
Luiz Carlos Lucasv [Wed, 28 May 2025 02:25:14 +0000 (04:25 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.8% (2237 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
peter cerny [Fri, 23 May 2025 09:43:52 +0000 (11:43 +0200)]
Translated using Weblate (Slovak)
Currently translated at 1.5% (64 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/sk/
marcelocripe [Fri, 23 May 2025 17:46:08 +0000 (19:46 +0200)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 53.2% (2211 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pt_BR/
peter cerny [Fri, 23 May 2025 09:41:08 +0000 (11:41 +0200)]
Added translation using Weblate (Slovak)
Francisco Serrador [Sat, 10 May 2025 22:53:42 +0000 (00:53 +0200)]
Translated using Weblate (Spanish)
Currently translated at 71.9% (2991 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Francisco Serrador [Sat, 10 May 2025 21:42:31 +0000 (23:42 +0200)]
Translated using Weblate (Spanish)
Currently translated at 65.7% (2731 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Temuri Doghonadze [Thu, 8 May 2025 12:11:58 +0000 (14:11 +0200)]
Translated using Weblate (Georgian)
Currently translated at 91.2% (3792 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/ka/
Francisco Serrador [Fri, 25 Apr 2025 22:09:21 +0000 (00:09 +0200)]
Translated using Weblate (Spanish)
Currently translated at 58.0% (2412 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Francisco Serrador [Fri, 25 Apr 2025 17:57:31 +0000 (19:57 +0200)]
Translated using Weblate (Spanish)
Currently translated at 50.2% (2088 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Francisco Serrador [Fri, 25 Apr 2025 14:43:01 +0000 (16:43 +0200)]
Translated using Weblate (Spanish)
Currently translated at 45.2% (1880 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Francisco Serrador [Wed, 23 Apr 2025 10:00:06 +0000 (12:00 +0200)]
Translated using Weblate (Spanish)
Currently translated at 44.2% (1840 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Francisco Serrador [Tue, 22 Apr 2025 22:41:39 +0000 (00:41 +0200)]
Translated using Weblate (Spanish)
Currently translated at 40.1% (1670 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Kristoffer Grundström [Fri, 18 Apr 2025 00:27:41 +0000 (02:27 +0200)]
Translated using Weblate (Swedish)
Currently translated at 92.5% (3844 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/sv/
Anders Jackson [Fri, 18 Apr 2025 00:09:23 +0000 (02:09 +0200)]
Translated using Weblate (Swedish)
Currently translated at 92.5% (3844 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/sv/
Francisco Serrador [Tue, 8 Apr 2025 23:06:12 +0000 (01:06 +0200)]
Translated using Weblate (Spanish)
Currently translated at 39.8% (1655 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Francisco Serrador [Mon, 7 Apr 2025 20:54:18 +0000 (22:54 +0200)]
Translated using Weblate (Spanish)
Currently translated at 38.8% (1613 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Ettore Atalan [Sat, 5 Apr 2025 22:04:19 +0000 (00:04 +0200)]
Translated using Weblate (German)
Currently translated at 74.0% (3077 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/de/
Francisco Serrador [Fri, 4 Apr 2025 11:59:39 +0000 (13:59 +0200)]
Translated using Weblate (Spanish)
Currently translated at 33.6% (1397 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/es/
Matthaiks [Thu, 3 Apr 2025 19:49:09 +0000 (21:49 +0200)]
Translated using Weblate (Polish)
Currently translated at 45.8% (1905 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/
Matthaiks [Thu, 3 Apr 2025 19:36:54 +0000 (21:36 +0200)]
Translated using Weblate (Polish)
Currently translated at 45.8% (1905 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/
Matthaiks [Thu, 3 Apr 2025 19:33:15 +0000 (21:33 +0200)]
Translated using Weblate (Polish)
Currently translated at 45.5% (1893 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/
Matthaiks [Thu, 3 Apr 2025 17:35:11 +0000 (19:35 +0200)]
Translated using Weblate (Polish)
Currently translated at 45.5% (1892 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/
Matthaiks [Thu, 3 Apr 2025 17:14:04 +0000 (19:14 +0200)]
Translated using Weblate (Polish)
Currently translated at 43.3% (1800 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/
Matthaiks [Thu, 3 Apr 2025 16:41:03 +0000 (18:41 +0200)]
Translated using Weblate (Polish)
Currently translated at 41.2% (1712 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/
Matthaiks [Thu, 3 Apr 2025 16:13:43 +0000 (18:13 +0200)]
Translated using Weblate (Polish)
Currently translated at 32.5% (1351 of 4155 strings)
Translation: CUPS/CUPS
Translate-URL: https://hosted.weblate.org/projects/cups/cups/pl/
Michael R Sweet [Wed, 28 May 2025 16:38:30 +0000 (12:38 -0400)]
Fix typo in programming manual.
Michael R Sweet [Wed, 28 May 2025 16:32:36 +0000 (12:32 -0400)]
Remove bogus httpSetCredentialsAndKey prototype.
Michael R Sweet [Tue, 27 May 2025 18:55:47 +0000 (14:55 -0400)]
Update PPD cache private API to support getting custom size names (Issue #1238)
Michael R Sweet [Tue, 27 May 2025 15:49:55 +0000 (11:49 -0400)]
Make sure to reopen error log if server name is being substituted (Issue #1277)
Michael R Sweet [Wed, 21 May 2025 12:04:00 +0000 (08:04 -0400)]
Roll back a very old change to complete the freeze fix (Issue #1264)
Michael R Sweet [Tue, 20 May 2025 22:40:54 +0000 (18:40 -0400)]
Update CUPS IPP documentation.
Michael R Sweet [Fri, 16 May 2025 22:46:17 +0000 (18:46 -0400)]
Use per-type mode when saving OAuth values.
Michael R Sweet [Fri, 16 May 2025 22:35:15 +0000 (18:35 -0400)]
More OAuth/OpenID changes for the scheduler:
- Instead of treating the bearer token as a JWT, use the userinfo endpoint
(via cupsOAuthGetUserId) to get the user information and (as a side-effect)
validate the bearer token.
- Set the verified AuthType when get have a valid token.
- Support OAuth group files relative to the cupsd.conf file.
Michael R Sweet [Fri, 16 May 2025 22:32:07 +0000 (18:32 -0400)]
Redirect to home page on logout.
Michael R Sweet [Fri, 16 May 2025 22:31:29 +0000 (18:31 -0400)]
Remove old files/targets.
Michael R Sweet [Fri, 16 May 2025 22:29:09 +0000 (18:29 -0400)]
OAuth/OpenID improvements/bug fixes:
- Add cupsOAuthGetUserId and start caching user_id tokens with the access_token.
- Support sharing of client_id, client_secret, server metadata, and server JWKS
from the sysconfig directory (typically /etc/cups).
Michael R Sweet [Fri, 16 May 2025 22:28:38 +0000 (18:28 -0400)]
Update cupsJWTNew to accept a claims argument with the initial JSON claims.
Michael R Sweet [Fri, 16 May 2025 22:28:19 +0000 (18:28 -0400)]
Add support for CUPS_USERCONFIG and CUPS_SYSCONFIG environment variables.
Michael R Sweet [Fri, 16 May 2025 22:27:20 +0000 (18:27 -0400)]
Refactor "add new printers" template to look better with new buttons.
Michael R Sweet [Wed, 14 May 2025 16:36:02 +0000 (12:36 -0400)]
Changelog and update configure script.
Michael R Sweet [Wed, 14 May 2025 16:34:38 +0000 (12:34 -0400)]
Merge pull request #1258 from MaxKellermann/at_secure
cups/globals: use getauxval(AT_SECURE) for SUID check
Michael R Sweet [Wed, 14 May 2025 16:19:43 +0000 (12:19 -0400)]
Sanitize requesting-user-name as needed (Issue #1145)
Michael R Sweet [Wed, 14 May 2025 16:15:50 +0000 (12:15 -0400)]
Sanitize requesting-user-name as needed (Issue #1145)
Michael R Sweet [Wed, 14 May 2025 11:25:55 +0000 (07:25 -0400)]
Fix apparent cupsd freeze with zombie clients (Issue #1264)
Michael R Sweet [Tue, 13 May 2025 14:56:47 +0000 (10:56 -0400)]
Use locale-insensitive decoding of real numbers (Issue #1263)
Michael R Sweet [Sun, 11 May 2025 14:43:04 +0000 (10:43 -0400)]
Send printer-added/modified events after creating and installing IPP Everywhere PPDs (Issue #1244)
Michael R Sweet [Sun, 11 May 2025 14:31:35 +0000 (10:31 -0400)]
Stop trying to CI an i386 build of CUPS - always fails.
Michael R Sweet [Sat, 10 May 2025 22:22:53 +0000 (18:22 -0400)]
Fix header.tmpl and associated makefiles for updated language stuff.
Max Kellermann [Sat, 10 May 2025 20:54:48 +0000 (22:54 +0200)]
cups/globals: use getauxval(AT_SECURE) for SUID check
Comparing effective and real uid/gid is not a proper way to check for
SUID execution:
1. this does not consider file capabilities
2. this check breaks when NO_NEW_PRIVS is used as the Linux kernel
resets effective ids during execve(); this means the check is
false, but the process still has raised capabilities
For more details about the NO_NEW_PRIVS problem, check this post and
the surrounding thread:
https://lore.kernel.org/lkml/
20250509184105 .840928-1-max.kellermann@ionos.com/
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Michael R Sweet [Fri, 9 May 2025 12:30:56 +0000 (08:30 -0400)]
Merge pull request #1255 from OpenPrinting/oauth-web-ui
Integrate OAuth Web UI changes to master.
Michael R Sweet [Fri, 9 May 2025 12:29:31 +0000 (08:29 -0400)]
Disable new 'guarded free' warning. This is not an error...
Michael R Sweet [Wed, 7 May 2025 15:50:50 +0000 (11:50 -0400)]
Use printer-modified event when changing the default printer (Issue #1246)
Michael R Sweet [Wed, 7 May 2025 15:40:51 +0000 (11:40 -0400)]
Fix NuGet dependency on LibreSSL 4.0.0.
Michael R Sweet [Wed, 7 May 2025 15:38:18 +0000 (11:38 -0400)]
Fix testppd unit test - wrong fullbleed size name.
Michael R Sweet [Wed, 7 May 2025 14:34:32 +0000 (10:34 -0400)]
Fix IPP/PPD names with period and underscore (Issue #1249)
Michael R Sweet [Tue, 6 May 2025 01:12:32 +0000 (21:12 -0400)]
Update cups-x509 and cups-oauth commands to be consistent with man pages.
Michael R Sweet [Tue, 6 May 2025 01:00:00 +0000 (21:00 -0400)]
Update cups-oauth and cups-x509 man pages.
Michael R Sweet [Mon, 5 May 2025 22:42:18 +0000 (18:42 -0400)]
Sync up with libcups code (minor changes).
Michael R Sweet [Mon, 5 May 2025 12:07:52 +0000 (08:07 -0400)]
Move CUPS_SID to cgi.h and use it as the state string for OAuth.
Increase buffer sizes to allow for very large JWTs.
Michael R Sweet [Mon, 5 May 2025 12:07:39 +0000 (08:07 -0400)]
Add support for JWKS URL.
Michael R Sweet [Fri, 2 May 2025 18:21:44 +0000 (14:21 -0400)]
Save work on OAuth login/logout workflow (still having some difficulties)
Michael R Sweet [Fri, 2 May 2025 18:19:18 +0000 (14:19 -0400)]
Fix default client_id for MS Entrada ID in cupsOAuthGetTokens.
Michael R Sweet [Fri, 2 May 2025 17:56:55 +0000 (13:56 -0400)]
Add some debugging to HTTP field APIs.
Provide the same default scopes for both authorization APIs.
Michael R Sweet [Thu, 1 May 2025 23:09:25 +0000 (19:09 -0400)]
Save the new cookie pointer.
Michael R Sweet [Thu, 1 May 2025 22:43:53 +0000 (18:43 -0400)]
Update httpSetCookie to support multiple Set-Cookie values.
Michael R Sweet [Thu, 1 May 2025 19:21:19 +0000 (15:21 -0400)]
Wire up support for CUPS_BEARER cookie in authentication, and add
REMOTE_USER (username/sub), REMOTE_NAME (real name), and REMOTE_EMAIL
(email address) environment variables that get copied from the JWT or
GECOS data.
Michael R Sweet [Thu, 1 May 2025 18:27:38 +0000 (14:27 -0400)]
Cookie handling support:
- Add httpGetCookieValue API.
- Increase CGI cookie value size limit to 2k.
Michael R Sweet [Wed, 30 Apr 2025 19:25:01 +0000 (15:25 -0400)]
Make home page another CGI - we'll need it for OAuth login/logout and
that will allow us to provide whole-server search and simple dashboard
alert functionality..
Michael R Sweet [Wed, 30 Apr 2025 17:26:03 +0000 (13:26 -0400)]
Bump copyright.
Michael R Sweet [Wed, 30 Apr 2025 17:24:48 +0000 (13:24 -0400)]
Fix typo in ipptool man page.
Michael R Sweet [Fri, 25 Apr 2025 14:51:04 +0000 (10:51 -0400)]
Fix user URIs.
Michael R Sweet [Thu, 17 Apr 2025 19:29:03 +0000 (15:29 -0400)]
Only enable and accept jobs for temporary queues once IPP Everywhere PPD is created (Issue #1235)
Michael R Sweet [Thu, 17 Apr 2025 19:09:10 +0000 (15:09 -0400)]
Fix VC++ ippeveprinter project.
Michael R Sweet [Thu, 17 Apr 2025 19:02:06 +0000 (15:02 -0400)]
Fix typo.
Michael R Sweet [Thu, 17 Apr 2025 18:56:07 +0000 (14:56 -0400)]
Fix dbus notifier (Issue #1235)
Michael R Sweet [Thu, 17 Apr 2025 18:34:53 +0000 (14:34 -0400)]
Add rwlock to Subscriptions and subscription objects since we send
events from a background thread.