]>
git.ipfire.org Git - thirdparty/cups.git/log
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:40:51 +0000 (11:40 -0400)]
Fix NuGet dependency on LibreSSL 4.0.0.
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.
Michael R Sweet [Thu, 17 Apr 2025 17:51:03 +0000 (13:51 -0400)]
Coverity fixes to new tools.
Michael R Sweet [Wed, 16 Apr 2025 20:50:36 +0000 (16:50 -0400)]
Fix coverity-detected issues.
Michael R Sweet [Wed, 16 Apr 2025 19:14:38 +0000 (15:14 -0400)]
Merge pull request #1234 from AZero13/okds
Add missing commas in list
Rose [Wed, 16 Apr 2025 17:30:01 +0000 (13:30 -0400)]
Add missing commas in list
Michael R Sweet [Wed, 16 Apr 2025 16:49:00 +0000 (12:49 -0400)]
Use HTTP_AUTHORIZATION in CGI programs (Issue #246)
Michael R Sweet [Wed, 16 Apr 2025 16:37:46 +0000 (12:37 -0400)]
Add CUPS_OAUTH_SCOPES, CUPS_OAUTH_SERVER, and HTTP_AUTHORIZATION environment
variables for CGI programs (Issue #246)
Michael R Sweet [Wed, 16 Apr 2025 16:30:32 +0000 (12:30 -0400)]
Clear realname, email, and autherror fields between requests (Issue #246)
Michael R Sweet [Wed, 16 Apr 2025 16:29:03 +0000 (12:29 -0400)]
Set job-originating-user-xxx attributes using OAuth values when possible (Issue #246)
Michael R Sweet [Wed, 16 Apr 2025 16:22:08 +0000 (12:22 -0400)]
Add OAuth support to cupsdIsAuthorized (Issue #246)
Michael R Sweet [Wed, 16 Apr 2025 15:59:38 +0000 (11:59 -0400)]
More OAuth additions (Issue #246):
- Make cupsOAuthGetJWKS a public API (previously just a static function) since
any service will need it for validating JWTs.
- Implement OAuth support in cupsdAuthorize().
- Add OAuthJWKS global and manage it in cupsdReadConfiguration().
Michael R Sweet [Wed, 16 Apr 2025 14:35:20 +0000 (10:35 -0400)]
Add -a option to lookup and report addresses, and --help option to show all of the things you can do with testhttp...
Michael R Sweet [Tue, 15 Apr 2025 17:51:22 +0000 (13:51 -0400)]
Update client code to issue proper Bearer response, potentially with an error
message. Still need to hook everything up...
Michael R Sweet [Tue, 15 Apr 2025 15:41:33 +0000 (11:41 -0400)]
Add OAuth directives.
Michael R Sweet [Tue, 15 Apr 2025 14:52:10 +0000 (10:52 -0400)]
Fix potential memory leak.
Michael R Sweet [Tue, 15 Apr 2025 00:10:23 +0000 (20:10 -0400)]
Address some clang-reported warnings.
Michael R Sweet [Mon, 14 Apr 2025 23:43:44 +0000 (19:43 -0400)]
Add default client ID for MS Entrada ID.
Michael R Sweet [Mon, 14 Apr 2025 23:40:49 +0000 (19:40 -0400)]
Move hostname change logic (not sure why git didn't commit this earlier...
Michael R Sweet [Mon, 14 Apr 2025 14:40:41 +0000 (10:40 -0400)]
Fix DNS-SD sharing issues (Issue #1217)
- Follow mDNS hostname changes unless explicitly configured with the
DNSSDHostName directive.
- Add DNSSDComputerName directive to control the "@ computer name" suffix on
share names.
- Update registrations whenever we detect a conflict or a hostname change.
- Add RWLock for Printers array so that we can iterate over the printers list
in the registration callback (separate thread).
- Update cupsd.conf man page.
Michael R Sweet [Fri, 11 Apr 2025 14:39:53 +0000 (10:39 -0400)]
Fix loop in fix for httpClose (Issue #1223)
Michael R Sweet [Fri, 11 Apr 2025 13:51:00 +0000 (09:51 -0400)]
Fix memory leak in httpClose (Issue #1223)
Michael R Sweet [Thu, 10 Apr 2025 20:44:48 +0000 (16:44 -0400)]
Merge pull request #1216 from zdohnal/idleexittimout-noondemand
cupsd.conf: Remove IdleExitTimeout if no ondemand support
Zdenek Dohnal [Thu, 10 Apr 2025 06:14:04 +0000 (08:14 +0200)]
cupsd.conf: Remove IdleExitTimeout if no ondemand support
There are distributions using CUPS without ondemand support, where
IdleExitTimeout in cupsd.conf causes error in logs...
Related #1215
Michael R Sweet [Mon, 7 Apr 2025 19:19:30 +0000 (15:19 -0400)]
Add httpGetSecurity API.
Michael R Sweet [Mon, 7 Apr 2025 14:30:52 +0000 (10:30 -0400)]
Mirror ippfind timeout fix from 2.4.x.
Michael R Sweet [Mon, 7 Apr 2025 12:26:08 +0000 (08:26 -0400)]
Update fix for ippDateToTime.
Michael R Sweet [Fri, 4 Apr 2025 16:35:28 +0000 (12:35 -0400)]
Fix code formatting.
Michael R Sweet [Fri, 4 Apr 2025 15:31:49 +0000 (11:31 -0400)]
Bump copyright.
Michael R Sweet [Fri, 4 Apr 2025 15:26:37 +0000 (11:26 -0400)]
Fix copy/paste error in Avahi cupsDNSSDBrowseNew code.
Use cupsGetClock API in ippfind to measure time, and timeout if nothing
comes in after 2.5 seconds in "forever" mode.
Michael R Sweet [Tue, 21 May 2024 19:09:56 +0000 (15:09 -0400)]
Fix snapshot version number.
Michael R Sweet [Thu, 3 Apr 2025 15:27:24 +0000 (11:27 -0400)]
Update localizations and fix issues.
Michael R Sweet [Thu, 3 Apr 2025 14:52:49 +0000 (10:52 -0400)]
Fix conditional to match.
Michael R Sweet [Thu, 3 Apr 2025 14:45:27 +0000 (10:45 -0400)]
Use cupsGetClock for cupsEnumDests (Issue #1084)
Michael R Sweet [Thu, 3 Apr 2025 01:24:54 +0000 (21:24 -0400)]
Fix language tests on macOS.
Michael R Sweet [Thu, 3 Apr 2025 00:53:00 +0000 (20:53 -0400)]
Temporarily disable string tests on macOS - need to remove bundle localization code.
Michael R Sweet [Wed, 2 Apr 2025 20:05:03 +0000 (16:05 -0400)]
Log debug history if the backend fails (Issue #1205)
Michael R Sweet [Wed, 2 Apr 2025 19:41:28 +0000 (15:41 -0400)]
Use cupsdCreateConfFile and friends when updating a PPD file (Issue #1109)
Michael R Sweet [Wed, 2 Apr 2025 19:27:36 +0000 (15:27 -0400)]
Ignore PageSize, PageRegion, InputSlot, and MediaType when media is specified (Issue #1125)
Michael R Sweet [Wed, 2 Apr 2025 19:22:39 +0000 (15:22 -0400)]
Allow media to override PageSize, InputSlot, and MediaType (Issue #1125)
Michael R Sweet [Wed, 2 Apr 2025 19:13:05 +0000 (15:13 -0400)]
Drop non-keyword characters from PPD names (Issue #1118)
Michael R Sweet [Wed, 2 Apr 2025 15:31:08 +0000 (11:31 -0400)]
Update new Swedish templates for latest web interface changes.
Michael R Sweet [Wed, 2 Apr 2025 15:24:39 +0000 (11:24 -0400)]
Changelog for translation updates.
Michael R Sweet [Wed, 2 Apr 2025 15:24:16 +0000 (11:24 -0400)]
Merge pull request #1153 from multi-stager/patch-1
Update Dockerfile to Multi-Stage
Michael R Sweet [Wed, 2 Apr 2025 15:22:22 +0000 (11:22 -0400)]
Merge pull request #1161 from Matthaiks/pl
Update Polish translation
Michael R Sweet [Wed, 2 Apr 2025 15:21:53 +0000 (11:21 -0400)]
Merge branch 'master' into pl
Michael R Sweet [Wed, 2 Apr 2025 15:20:46 +0000 (11:20 -0400)]
Merge pull request #1164 from EkaterinePapava/master
locale: Add Georgian translation
Michael R Sweet [Wed, 2 Apr 2025 15:19:31 +0000 (11:19 -0400)]
Merge pull request #1146 from yeager/master
Adding Swedish translation
Michael R Sweet [Wed, 2 Apr 2025 15:17:57 +0000 (11:17 -0400)]
Merge pull request #1120 from zdohnal/no-queue-override
libcups: Don't overwrite permanent queue with network during discovery
Michael R Sweet [Wed, 2 Apr 2025 15:17:35 +0000 (11:17 -0400)]
Merge branch 'master' into no-queue-override
Michael R Sweet [Wed, 2 Apr 2025 14:11:14 +0000 (10:11 -0400)]
Fix job-completed event notifications for jobs that are canceled before they are started (Issue #1209)
Michael R Sweet [Tue, 1 Apr 2025 23:33:30 +0000 (19:33 -0400)]
More web interface tweaks (Issue #1207)
Michael R Sweet [Tue, 1 Apr 2025 23:29:50 +0000 (19:29 -0400)]
Fix heading spacing on the home page.
Michael R Sweet [Tue, 1 Apr 2025 23:25:32 +0000 (19:25 -0400)]
More logging cleanup.
Michael R Sweet [Tue, 1 Apr 2025 21:57:20 +0000 (17:57 -0400)]
More web interface cleanup (Issue #1207)
Michael R Sweet [Tue, 1 Apr 2025 18:53:22 +0000 (14:53 -0400)]
Avoid double make strings (Make Make Model)
Michael R Sweet [Tue, 1 Apr 2025 17:45:37 +0000 (13:45 -0400)]
Multiple fixes:
- Fix encryption support (new httpSetEncryption function returns true on success)
- Demote many developer messages to debug2 log level.
- Adopt cupsdLogPrinter in a few places.
- Normalize a few other messages.
Michael R Sweet [Tue, 1 Apr 2025 17:29:54 +0000 (13:29 -0400)]
Publish DNS-SD services and normalize log messages.
Michael R Sweet [Tue, 1 Apr 2025 17:29:28 +0000 (13:29 -0400)]
Add cupsdLogPrinter function.
Michael R Sweet [Sun, 30 Mar 2025 23:32:07 +0000 (19:32 -0400)]
Update Xcode/VC++ config.h headers.
Michael R Sweet [Sun, 30 Mar 2025 23:21:30 +0000 (19:21 -0400)]
Fix ippDateToTime when the timezone is not GMT/UTC (Issue #1208)
Michael R Sweet [Sun, 30 Mar 2025 13:00:34 +0000 (09:00 -0400)]
Update the web interface templates for better usability/discoverability
(Issue #1207)
- Made the navbar larger with more space around the link/title content.
- Now use the OpenPrinting CUPS logo rather than the text in the navbar.
- Added proper section titles and links to common admin functions on the
home page.
- Translations copied from the admin template, may require some tweaking...
Michael R Sweet [Wed, 26 Mar 2025 19:59:20 +0000 (15:59 -0400)]
Fix response from Create-Xxx-Subscriptions request to include all Subscription object attributes (Issue #1204)
Michael R Sweet [Tue, 18 Mar 2025 19:04:10 +0000 (15:04 -0400)]
More VC++ updates.
Michael R Sweet [Tue, 18 Mar 2025 18:56:43 +0000 (14:56 -0400)]
Fix VC++ projects.
Michael R Sweet [Tue, 18 Mar 2025 18:52:35 +0000 (14:52 -0400)]
Update dependencies.
Michael R Sweet [Tue, 18 Mar 2025 18:46:54 +0000 (14:46 -0400)]
Update Windows DLL exports.
Michael R Sweet [Tue, 18 Mar 2025 18:43:02 +0000 (14:43 -0400)]
Mirror Win32 DNS-SD changes from libcups project.
Michael R Sweet [Mon, 17 Mar 2025 16:27:56 +0000 (12:27 -0400)]
Extend datwTime validation to UTC+14 (Issue #1201)
zdohnal [Fri, 14 Mar 2025 06:15:15 +0000 (07:15 +0100)]
Add Kyocera KM-1635 soft-reset quirk
This device needs soft-reset, otherwise all data sent to
it is consumed but nothing is printed on occasion.
zdohnal [Fri, 14 Mar 2025 05:44:45 +0000 (06:44 +0100)]
backend/ipp.c: Avoid NULL strcmp argument
It is possible for format to be NULL (as described in the function signature) which causes a segmentation fault when it is passed to strcmp. This patch changes the conditional to short-circuit if format is NULL and only call strcmp otherwise.
Ekaterine Papava [Fri, 14 Mar 2025 03:12:32 +0000 (04:12 +0100)]
Update cups_ka.po
Michael R Sweet [Thu, 13 Mar 2025 20:51:15 +0000 (16:51 -0400)]
Fix duplex mode mapping (Issue #1200)
ValdikSS [Thu, 13 Mar 2025 06:28:07 +0000 (09:28 +0300)]
Add Kyocera KM-1635 USB quirks
This device needs soft-reset, otherwise all data sent to
it is consumed but nothing is printed on occasion.
Erik [Thu, 13 Mar 2025 03:44:39 +0000 (23:44 -0400)]
Avoid NULL strcmp argument
It is possible for format to be NULL (as described in the function signature) which causes a segmentation fault when it is passed to strcmp. This patch changes the conditional to short-circuit if format is NULL and only call strcmp otherwise.
zdohnal [Wed, 12 Mar 2025 15:22:43 +0000 (16:22 +0100)]
cupsd.conf.5: JobRetry* is not used for 'retry-current-job'
JobRetryInterval and JobRetryLimit are not used for 'retry-current-job' error policy.
Fixes #1194
Zdenek Dohnal [Wed, 12 Mar 2025 15:21:21 +0000 (16:21 +0100)]
cupsd.conf.5: JobRetry* is not used for 'retry-current-job'
JobRetryInterval and JobRetryLimit are not used for 'retry-current-job'
error policy.
Fixes #1194
zdohnal [Wed, 12 Mar 2025 12:41:44 +0000 (13:41 +0100)]
backend/ipp.c: Raise alert if there is issue with cert
Currently we show more detailed info about this error in debug logs, but since there are not many desktops to pick up our dBUS notification, it would be great to report it in CUPS log too.
Zdenek Dohnal [Wed, 12 Mar 2025 12:19:04 +0000 (13:19 +0100)]
backend/ipp.c: Raise alert if there is issue with cert
Currently we show more detailed info about this error in debug logs, but
since there are not many desktops to pick up our dBUS notification, it
would be great to report it in CUPS log too.