]>
git.ipfire.org Git - thirdparty/cups.git/log
Zdenek Dohnal [Tue, 26 Oct 2021 15:33:40 +0000 (17:33 +0200)]
Test suite: Add regression test for cupsSNMP/IPPSupplies
lpadmin can set cupsSNMPSupplies and cupsIPPSupplies keywords in the PPD
file which was broken in the past (Apple Issue #5610).
Until we get rid of PPD files completely or if we use the options in the
no-PPD future, it would be great if we had a regression test in the test
suite.
Michael R Sweet [Tue, 26 Oct 2021 00:54:08 +0000 (20:54 -0400)]
Merge pull request #279 from AlaskanEmily/master
Avoid a crash when an Avahi or mDNS printer has neither device-uri nor printer-uri-supported set.
AlaskanEmily [Mon, 25 Oct 2021 22:14:44 +0000 (15:14 -0700)]
Avoid a crash when an Avahi or mDNS printer has neither device-uri nor printer-uri-supported set.
Michael R Sweet [Wed, 20 Oct 2021 21:38:27 +0000 (17:38 -0400)]
Increase the size of the attribute value buffer to 1MB for large media-col-database values.
Michael R Sweet [Wed, 20 Oct 2021 21:32:30 +0000 (17:32 -0400)]
Add JSON output support to ipptool.
zdohnal [Mon, 18 Oct 2021 16:28:42 +0000 (18:28 +0200)]
Update CHANGES.md
Add 'Issue' word to keep the style
Zdenek Dohnal [Mon, 18 Oct 2021 15:03:53 +0000 (17:03 +0200)]
Update CHANGES.md
zdohnal [Mon, 18 Oct 2021 14:57:06 +0000 (16:57 +0200)]
Merge pull request #274 from pablofsf/pwdnam-thread-safe
Use getpwnam_r instead of getpwnam in multi-threaded code
Pablo Correa Gómez [Sat, 16 Oct 2021 22:09:16 +0000 (00:09 +0200)]
Use thread-safe getpwnam_r and getpwuid_r in multi-threaded code
getpwnam and getpwuid are thread-unsafe and potentially dangerous
in multi-threaded code. Substitue all their occurrences in
multi-threaded code with getpwnam_r and getpwuid_r, which are
thread-safe.
Michael R Sweet [Tue, 12 Oct 2021 12:16:47 +0000 (08:16 -0400)]
Merge pull request #271 from zdohnal/scx-3405w-no-quirks
org.cups.usb-quirks: Samsung SCX-3405W works without quirks
Zdenek Dohnal [Tue, 12 Oct 2021 04:31:15 +0000 (06:31 +0200)]
org.cups.usb-quirks: Samsung SCX-3405W works without quirks
Till Kamppeter [Sun, 10 Oct 2021 07:37:21 +0000 (09:37 +0200)]
Use cast for snapd_client_run_snapctl2_sync() not remove "const" from args
Till Kamppeter [Sat, 9 Oct 2021 22:34:43 +0000 (00:34 +0200)]
cupsd: Added debug log message if admin access from own utility is accepted
On Snap mediation there is always a debug message telling why the
administrative task was accepted or denied, it was only missing if the
client is our CUPS Snap itself.
Till Kamppeter [Sat, 9 Oct 2021 17:47:00 +0000 (19:47 +0200)]
More copy/paste fixes for the "Snap redux" ...
This time also checked in Snap mode ("--with-container=snap") and also
doing a test with unsnapped CUPS vs. snapped client.
Till Kamppeter [Sat, 9 Oct 2021 15:06:36 +0000 (17:06 +0200)]
Fixed Copy/Paste errors of "Snap redux" (PR #269)
Some variable declarations got lost by the changes which made the code
not building.
Michael R Sweet [Thu, 7 Oct 2021 16:29:10 +0000 (12:29 -0400)]
Use have_qdraft for draft preset.
Michael R Sweet [Thu, 7 Oct 2021 16:04:27 +0000 (12:04 -0400)]
Fix gray/color presets for IPP Everywhere PPDs (Issue #262)
zdohnal [Thu, 7 Oct 2021 05:13:14 +0000 (07:13 +0200)]
Merge pull request #257 from bmasonrh/master
cgi-bin/ipp-var.c: Use "guest" user for Move Job when no REMOTE_USER given
Michael R Sweet [Wed, 6 Oct 2021 20:52:29 +0000 (16:52 -0400)]
Fix configure test.
Michael R Sweet [Wed, 6 Oct 2021 19:11:06 +0000 (15:11 -0400)]
Merge pull request #269 from OpenPrinting/snap-redux
Snap redux
Bryan Mason [Wed, 6 Oct 2021 18:12:29 +0000 (11:12 -0700)]
Remove braces.
Michael R Sweet [Wed, 6 Oct 2021 15:58:09 +0000 (11:58 -0400)]
Fix Codacy-detected issue - not using path variable.
Michael R Sweet [Wed, 6 Oct 2021 15:56:39 +0000 (11:56 -0400)]
Add badges for Codacy, Coverity, and LGTM.
Michael R Sweet [Wed, 6 Oct 2021 15:05:55 +0000 (11:05 -0400)]
Merge branch 'master' into snap-redux
Michael R Sweet [Wed, 6 Oct 2021 14:42:34 +0000 (10:42 -0400)]
Clean up and simplify snap support.
Michael R Sweet [Wed, 6 Oct 2021 12:13:11 +0000 (08:13 -0400)]
Save work on simplifying snap support.
Michael R Sweet [Tue, 5 Oct 2021 22:53:23 +0000 (18:53 -0400)]
Add Coverity scan action.
Michael R Sweet [Mon, 4 Oct 2021 21:37:41 +0000 (17:37 -0400)]
Initial implementation of OAuth client callback (Issue #100)
Michael R Sweet [Tue, 5 Oct 2021 20:50:39 +0000 (16:50 -0400)]
Fix some clang-reported issues.
Michael R Sweet [Tue, 5 Oct 2021 14:45:47 +0000 (10:45 -0400)]
Add support for CORS/HSTS/OSCORE/Interative Client security headers (Issue #266)
All this does is add HTTP_FIELD_xxx enumerations and the corresponding strings
to allow libcups implementations of HTTP clients/servers that send/receive them.
For the subject bug we'll still need to do a bunch of work in cupsd (later).
Michael R Sweet [Tue, 5 Oct 2021 22:53:23 +0000 (18:53 -0400)]
Add Coverity scan action.
Michael R Sweet [Tue, 5 Oct 2021 21:50:05 +0000 (17:50 -0400)]
Merge pull request #268 from OpenPrinting/oauth
Initial implementation of OAuth client callback (Issue #100)
Michael R Sweet [Tue, 5 Oct 2021 20:50:39 +0000 (16:50 -0400)]
Fix some clang-reported issues.
Michael R Sweet [Tue, 5 Oct 2021 14:45:47 +0000 (10:45 -0400)]
Add support for CORS/HSTS/OSCORE/Interative Client security headers (Issue #266)
All this does is add HTTP_FIELD_xxx enumerations and the corresponding strings
to allow libcups implementations of HTTP clients/servers that send/receive them.
For the subject bug we'll still need to do a bunch of work in cupsd (later).
Michael R Sweet [Tue, 5 Oct 2021 13:57:42 +0000 (09:57 -0400)]
Save work on snap support changes.
Michael R Sweet [Tue, 5 Oct 2021 11:40:18 +0000 (07:40 -0400)]
Merge pull request #267 from AtariDreams/patch-4
Replace the last bzeros with memset
Michael R Sweet [Mon, 4 Oct 2021 21:37:41 +0000 (17:37 -0400)]
Initial implementation of OAuth client callback (Issue #100)
Rose [Sun, 3 Oct 2021 20:37:02 +0000 (16:37 -0400)]
Replace the last bzeros with memset
bzero has been deprecated since 2008
Michael R Sweet [Fri, 1 Oct 2021 15:25:11 +0000 (11:25 -0400)]
Remove non-functional ListenBackLog directive (Apple #5975)
Michael R Sweet [Fri, 1 Oct 2021 14:01:51 +0000 (10:01 -0400)]
Update changelog.
Michael R Sweet [Fri, 1 Oct 2021 13:57:45 +0000 (09:57 -0400)]
Fix Windows build errors.
Michael R Sweet [Fri, 1 Oct 2021 13:47:08 +0000 (09:47 -0400)]
Add Windows support for cupsHashData using CNG API.
Michael R Sweet [Thu, 30 Sep 2021 23:06:41 +0000 (19:06 -0400)]
Fix Windows TLS bug.
Michael R Sweet [Thu, 30 Sep 2021 22:57:25 +0000 (18:57 -0400)]
Add debugging to Windows TLS code.
Michael R Sweet [Thu, 30 Sep 2021 14:18:16 +0000 (10:18 -0400)]
Merge pull request #264 from speachy/master
Expand whitelist for use of "offline-report"
Solomon Peachy [Thu, 30 Sep 2021 11:25:46 +0000 (07:25 -0400)]
Expand whitelist for use of "offline-report"
The old behavior unconditionally cleared the "offline-report"
printer-reason unless the backend was 'usb:' or 'ippusb:' with the
assumption that these were the only two direct-connect USB backends
in use, with everything else being remote.
This is definitely not the case; putting aside proprietary 3rd-party
backends, there is Gutenprint's USB backend, which identifies itself
with 'gutenprint52+usb:' or 'gutenprint53+usb:' depending on the version.
So, generalize the rule to search for the string 'usb:' in the uri
instead, which will allow all three/four usb backends to use the
'offline-report' printer-reason.
(FWIW, I'm not happy with this approach; It seems to me that the
CorrectSolution(tm) is to track the device-class returned by the backend
at discovery time, and ignore 'offline-report' for anything other than
'direct', but that's going to be a lot more involved..)
Michael R Sweet [Wed, 29 Sep 2021 15:53:40 +0000 (11:53 -0400)]
Bump NuGet versions and fix compiler warning.
Till Kamppeter [Tue, 28 Sep 2021 09:59:23 +0000 (11:59 +0200)]
Fixed typo.
Michael R Sweet [Mon, 27 Sep 2021 21:14:47 +0000 (17:14 -0400)]
Comment out debug printfs for now.
Michael R Sweet [Mon, 27 Sep 2021 20:37:30 +0000 (16:37 -0400)]
Fix X.509 certificate generation and user preferences on Windows.
Michael R Sweet [Sun, 26 Sep 2021 15:03:28 +0000 (11:03 -0400)]
Merge pull request #239 from liuli0217/master
fix _cupsGet1284Values
Bryan Mason [Wed, 22 Sep 2021 18:20:16 +0000 (11:20 -0700)]
cgi-bin/ipp-var.c: Use "guest" user for Move Job when no REMOTE_USER given
Michael R Sweet [Wed, 22 Sep 2021 13:24:55 +0000 (09:24 -0400)]
Ignore a 'scratch' directory, if present.
Michael R Sweet [Wed, 22 Sep 2021 11:43:34 +0000 (07:43 -0400)]
Fix 'lp -H restart' when a hold condition is specified (Issue #250)
Michael R Sweet [Tue, 21 Sep 2021 13:59:45 +0000 (09:59 -0400)]
Update mapping of media-source, media-type, and output-bin to match both PPD
and PWG names (Issue #238)
Add printer-privacy-policy-uri, printer-mandatory-job-attributes, and
printer-requested-job-attributes to PPD file.
Michael R Sweet [Tue, 21 Sep 2021 12:11:07 +0000 (08:11 -0400)]
Changelog
Michael R Sweet [Tue, 21 Sep 2021 12:10:03 +0000 (08:10 -0400)]
Merge pull request #250 from bmasonrh/master
scheduler/ipp.c: Change job state to IPP_JOB_HELD when job is restarted with appropriate job-held-until attribute.
Michael R Sweet [Mon, 20 Sep 2021 16:14:01 +0000 (12:14 -0400)]
Fix Codacy-detect error in CSS.
Michael R Sweet [Mon, 20 Sep 2021 12:36:23 +0000 (08:36 -0400)]
Add dark mode CSS for web interface (Issue #152)
Michael R Sweet [Mon, 20 Sep 2021 12:02:42 +0000 (08:02 -0400)]
Fix the generated HTML man pages and mantohtml utility (Issue #256)
Also update the ipptool/ipptoolfile man pages with current operations,
status codes, and tags.
liuli [Sat, 18 Sep 2021 00:19:40 +0000 (08:19 +0800)]
Update options.c
Bryan Mason [Fri, 17 Sep 2021 19:12:29 +0000 (12:12 -0700)]
scheduler/ipp.c: Added requested changes
Michael R Sweet [Fri, 17 Sep 2021 17:51:44 +0000 (13:51 -0400)]
Merge pull request #254 from AtariDreams/patch-3
Use correct argument name
Rose [Fri, 17 Sep 2021 16:13:03 +0000 (12:13 -0400)]
Use correct argument name
Michael R Sweet [Fri, 17 Sep 2021 15:40:54 +0000 (11:40 -0400)]
Fix an interaction between --remote-admin and --remote-any (Issue #158)
Michael R Sweet [Fri, 17 Sep 2021 15:28:22 +0000 (11:28 -0400)]
Show better error messages when a driver interface fails (Issue #148)
Michael R Sweet [Fri, 17 Sep 2021 14:41:46 +0000 (10:41 -0400)]
Merge pull request #253 from AtariDreams/patch-2
Don't use comma after last enum listing
Rose [Fri, 17 Sep 2021 14:33:06 +0000 (10:33 -0400)]
Don't use comma after last enum listing
Michael R Sweet [Fri, 17 Sep 2021 13:45:19 +0000 (09:45 -0400)]
Merge pull request #252 from AtariDreams/patch-1
Fix Macro typo
Michael R Sweet [Fri, 17 Sep 2021 13:40:37 +0000 (09:40 -0400)]
Update all links on ipptool man pages, everywhere.
Rose [Thu, 16 Sep 2021 21:38:35 +0000 (17:38 -0400)]
Fix typo
Wrong macro name was used.
zdohnal [Fri, 17 Sep 2021 04:25:47 +0000 (06:25 +0200)]
Merge pull request #251 from zdohnal/invalid_links
doc/help/man-ipptool.html: Fix links
Michael R Sweet [Fri, 17 Sep 2021 01:50:08 +0000 (21:50 -0400)]
Add security reporting documentation.
Michael R Sweet [Thu, 16 Sep 2021 15:47:36 +0000 (11:47 -0400)]
Fix indentation and add buffer range check.
Michael R Sweet [Thu, 16 Sep 2021 15:39:08 +0000 (11:39 -0400)]
Merge pull request #249 from AtariDreams/comma
Fix missing comma
Zdenek Dohnal [Thu, 16 Sep 2021 12:32:59 +0000 (14:32 +0200)]
doc/help/man-ipptool.html: Fix links
Bryan Mason [Thu, 16 Sep 2021 00:59:22 +0000 (17:59 -0700)]
scheduler/ipp.c: Change job state to IPP_JOB_HELD when job is restarted with appropriate job-held-until attribute.
Alfonso Gregory [Wed, 15 Sep 2021 20:35:55 +0000 (16:35 -0400)]
Fix missing comma
Michael R Sweet [Wed, 15 Sep 2021 20:04:19 +0000 (16:04 -0400)]
Return kDNSServiceErr_ServiceNotRunning when Bonjour for Windows not installed.
Michael R Sweet [Wed, 15 Sep 2021 19:29:09 +0000 (15:29 -0400)]
Merge pull request #247 from AtariDreams/urgent
Fix swapped arguments
Alfonso Gregory [Wed, 15 Sep 2021 17:29:47 +0000 (13:29 -0400)]
Fix swapped arguments
Michael R Sweet [Mon, 13 Sep 2021 12:23:31 +0000 (08:23 -0400)]
Add clarification that OpenPrinting CUPS is the most current, and that Apple CUPS is what ships with macOS and iOS (Issue #215)
Michael R Sweet [Mon, 13 Sep 2021 12:05:18 +0000 (08:05 -0400)]
Fix ippeveprinter on Windows.
Michael R Sweet [Mon, 13 Sep 2021 11:13:07 +0000 (07:13 -0400)]
Merge pull request #231 from AtariDreams/new-configure
Update Xcode and configure.ac files
Alfonso Gregory [Mon, 30 Aug 2021 17:15:12 +0000 (13:15 -0400)]
Update Xcode, configure.ac, and Makefile
Michael R Sweet [Thu, 9 Sep 2021 15:03:13 +0000 (11:03 -0400)]
Update CGI documentation and add testable examples for CGI support (Apple #5940)
Michael R Sweet [Wed, 8 Sep 2021 22:06:07 +0000 (18:06 -0400)]
Merge pull request #222 from evanmiller/patch-1
Only include os/availability.h if needed
Evan Miller [Wed, 8 Sep 2021 12:42:59 +0000 (08:42 -0400)]
Only include os/availability.h if available
Define new _CUPS_API_AVAILABLE and _CUPS_API_DEPRECATED macros to be
empty if <os/availability.h> is not includable (e.g. pre-10.12 Macs)
Zdenek Dohnal [Wed, 8 Sep 2021 06:06:52 +0000 (08:06 +0200)]
Merge branch 'AtariDreams-nullFix'
cgi-bin/admin.c: Prevent accessing ppd_name if ppd_name is NULL
The fix provided by Alfonso Gregory, fixes regression after PR #218.
Zdenek Dohnal [Wed, 8 Sep 2021 06:04:13 +0000 (08:04 +0200)]
cgi-bin/admin.c: Prevent accessing ppd_name if ppd_name is NULL
The fix provided by Alfonso Gregory, fixes regression after PR #218.
Michael R Sweet [Tue, 7 Sep 2021 16:35:42 +0000 (12:35 -0400)]
Merge pull request #218 from zdohnal/webui_driver_deprecated
choose-model.tmpl: Add warning about drivers deprecation
Michael R Sweet [Tue, 7 Sep 2021 16:35:28 +0000 (12:35 -0400)]
Merge branch 'master' into webui_driver_deprecated
Michael R Sweet [Tue, 7 Sep 2021 16:33:40 +0000 (12:33 -0400)]
Merge pull request #230 from AtariDreams/appcode2
Remove redundant code
Michael R Sweet [Tue, 7 Sep 2021 16:31:01 +0000 (12:31 -0400)]
Merge pull request #242 from zdohnal/everywhere_current_model
CUPS Web UI: Fix uninitialized variable during driver selection
Alfonso Gregory [Mon, 30 Aug 2021 16:23:00 +0000 (12:23 -0400)]
Remove redundant code
Michael R Sweet [Tue, 7 Sep 2021 13:28:35 +0000 (09:28 -0400)]
Fix potential deadlock (Issue #243)
Zdenek Dohnal [Mon, 6 Sep 2021 11:24:41 +0000 (13:24 +0200)]
CUPS Web UI: Fix uninitialized variable during driver selection
If device uri doesn't contain model name, `current_make_and_model` is
uninitialized during driver selection in CUPS Web UI.
The issue manifests itself during choosing IPP Everywhere driver, which
has the variable in its name, so it ends up into
`{current_make_and_model} - IPP Everywhere`.
Since we don't have any info about model at the time, I would propose to
just shorten the driver name for such cases. The PR works that way.
Zdenek Dohnal [Mon, 6 Sep 2021 09:27:40 +0000 (11:27 +0200)]
CUPS Web UI: Add warning about printer driver and raw queues deprecation
liuli [Mon, 6 Sep 2021 00:39:43 +0000 (08:39 +0800)]
Update options.c
Michael R Sweet [Sun, 5 Sep 2021 13:01:38 +0000 (09:01 -0400)]
Merge pull request #240 from tbigby-kristin/master
Fix path to libcupsimage.so.2 in EPM packaging