Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
  log_buffer
  settings
default_di_wirings.rb 117 Bytes
default_plugin_validators.rb 395 Bytes
dependency_injection.rb 2.09 KB
error.rb 430 Bytes
file_lock.rb 316 Bytes
helpers.rb 4.19 KB
http_download.rb 1.65 KB
kerberos.rb 622 Bytes
log.rb 3.94 KB
logging_resolv.rb 1.51 KB
memory_store.rb 1.16 KB
pluggable.rb 4.63 KB
plugin.rb 1.9 KB
plugin_initializer.rb 12.9 KB
plugin_validators.rb 2.61 KB
plugins.rb 1.33 KB
provider.rb 297 Bytes
request.rb 2.24 KB
request_id_middleware.rb 459 Bytes
settings.rb 1.01 KB
signal_handler.rb 919 Bytes
time_utils.rb 275 Bytes
util.rb 3 KB
validations.rb 1.77 KB

Latest revisions

# Date Author Comment
e8fe59f8 02/26/2024 02:03 PM Ewoud Kohl van Wijngaarden

Fixes #37147 - Pass --fail option to curl

This prevents curl from writing out error pages, for example when the
URL returns a HTTP 404.

It still doesn't return any error to Foreman since the TFTP
/fetch_boot_file only starts a thread and there's no way to monitor it....

dc06c076 09/26/2023 12:11 PM Ewoud Kohl van Wijngaarden

Fixes #34163 - Allow clearing the log buffer

In testing it can be useful to reset the log buffer. This is not
intended to be used as a public API but tests can use:

Proxy::LogBuffer::Buffer.instance.send(:clear)
31778c3d 05/22/2023 05:40 PM Leos Stejskal

refs #36243 - Templates - Return Foreman's API status code

Bugfixes and improvements

refs 70073c07e991cbe85a332a00e90d4196d8cbcaaf

70073c07 04/03/2023 12:54 PM Leos Stejskal

Fixes #36243 - Templates - Return Foreman's API status code instead of 500

90d7cc85 03/23/2023 07:12 PM Leos Stejskal

Fixes #36209 - tftp initrd/vmlinux generation: curl malformed

PR #856 was fixing invalid curl --time-cont condition,
but it actually break it and now files are not downloaded at all.

This reverts commit fba49ab1eb9bbe383572575309558ff628f5de60.

fba49ab1 03/09/2023 06:44 PM Leos Stejskal

Fixes #36138 - Invalid syntax for curl --time-cond

According to Curl man page, syntax for --time-cond attribute
should be "--time-cond file <path>", not "--time-cond <path>".

This can cause issues with outdated vmlinuz and initrd.im files,
once the files are downloaded, they are never replaced with never versions....

c8e23502 10/31/2022 04:47 PM Stejskal Leos

Refs #35639 - Add OptionalUrl validator

a48da738 09/15/2022 02:48 PM Ewoud Kohl van Wijngaarden

Fixes #31118 - Remove daemonize support

Currently Smart Proxy is able to daemonize and manage a pid file.
However, in the common deployments under systemd and Windows this isn't
actually used. There are also other solutions out there to manage it
externally if it's needed....

6b0b9098 08/29/2022 10:28 AM Ewoud Kohl van Wijngaarden

Fixes #33881 - Remove deprecated plugin methods

Version 1.12.0 (342eeda9a14422a30f08f3ce6539577ea6a740c8) added these
methods, but with a note that they will be removed.

231c7658 08/29/2022 10:28 AM Ewoud Kohl van Wijngaarden

Refs #33881 - Remove unused Proxy::ProviderFactory

Unused since 1.11.0 (42b958156808eb2a16bd895863b196fca8f2977d).

View revisions

Also available in: Atom