-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Squid - dashboard widget bootstrap facelift + fixes #270
Conversation
doktornotor
commented
Jan 27, 2017
•
edited
Loading
edited
- replace inline base64 images with bootstrap icons
- tidy up tables and remove old styling
- fix squiclamav version detection and use pkg_exec() to get packages' versions in general
- fix version and HTML on squid_clwarn.php page
- replace inline base64 images with bootstrap icons - tidy up tables and remove old styling - fix squiclamav version detection and use pkg_exec() to get packages' versions in general
@@ -19,7 +19,9 @@ | |||
* See the License for the specific language governing permissions and | |||
* limitations under the License. | |||
*/ | |||
$VERSION = '6.10'; | |||
require_once("pkg-utils.inc"); | |||
pkg_exec("query '%v' squidclamav", $version, $err); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's missing to check pkg_exec return code to make sure it succeeded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well it is working perfectly fine here? confused The version is in $version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkg_exec returns 0 for success and != 0 when it fails. It would be good to check if return is 0 before assume $version really contains a valid value
@rbgarga - No idea what scripts are you guys using for the cherrypick stuff, but they are broken. Completely screwed people's access to WebGUI. https://forum.pfsense.org/index.php?topic=124814.msg689342#msg689342 Can we get rid of this licensing schizo, perhaps? |
@doktornotor fixed. Thanks! |
ChangeLog: [decof/du/tru64] Remove support because the os is no longer updated for more than 10 years [openstep/nextstep] Remove support because the os is no longer updated for more than 20 years Add experimental build system based on Autotools (#270) Fixed LTsock testing on darwin (#272) Remove NEW and OLD folders (#6) Fix FreeBSD testcases (#271) Rewrite documentation and publish at https://lsof.readthedocs.io/
ChangeLog: https://www.nlnetlabs.nl/news/2023/Jun/07/nsd-4.7.0-released/ 4.7.0 ================ FEATURES: - Merge #263: Add bash autocompletion script for nsd-control. - Fix #267: Allow unencrypted local operation of nsd-control. - Merge #269 from Fale: Add systemd service unit. - Fix #271: DNSTAP over TCP, with dnstap-ip: "127.0.0.1@3333". - dnstap over TLS, default enabled. Configured with the options dnstap-tls, dnstap-tls-server-name, dnstap-tls-cert-bundle, dnstap-tls-client-key-file and dnstap-tls-client-cert-file. BUG FIXES: - Fix #239: -Wincompatible-pointer-types warning in remote.c. - Fix configure for -Wstrict-prototypes. - Fix #262: Zone(s) not synchronizing properly via TLS. - Fix for #262: More error logging for SSL read failures for zone transfers. - Merge #265: Fix C99 compatibility issue. - Fix #266: Fix build with --without-ssl. - Fix for #267: neater variable definitions. - Fix #270: reserved identifier violation. - Fix to clean more memory on exit of dnstap collector. - Fix dnstap to not check socket path when using IP address. - Fix to compile without ssl with dnstap-tls code. - Dnstap tls code fixes. - Fix include brackets for ssl.h include statements, instead of quotes. - Fix static analyzer warning about nsd_event_method initialization. - Fix #273: Large TXT record breaks AXFR. - Fix ixfr create from adding too many record types. - Fix cirrus script for submit to coverity scan to libtoolize the configure script components config.guess and config.sub. - Fix readme status badge links. - make depend. - Fix for build to run flex and bison before compiling code that needs the headers. - Fix to remove unused whitespace from acx_nlnetlabs.m4 and config.h. - For #279: Note that autoreconf -fi creates the configure script and also the needed auxiliary files, for autoconf 2.69 and 2.71. - Fix unused variable warning in unit test, from clang compile. - Fix #240: Prefix messages originating from verifier. - Fix #275: Drop unnecessary root server checks. PR: 272096 Reported by: [email protected] (maintainer)