Update the Copyright year.
A subsequent commit will deal with .po's.
Add product_label global variable
Introduce product_label global variable, by default with same value ofproduct_name. The idea is to make it easier for rebranded products tochange the name on all visual texts while internal structures arepreserved.
While here, remove deprecated $g['platform'] and also replace places...
Remove use of deprecated $g['platform']
Fixed #11062 by adding support for fingerprint specification
Fix #8870
When it's not possible to check if a new version is available for anyreason, show a proper message instead of keep using cached information
Remove old comment
Use init_config_arr() to initialize config items
Style fixes
Simplify logic
Create a pointer to reduce really long lines
Combine 2 similar tests to simplify logic
Remove unnecessary variable
Move 'unable to find config' condition early and reduce indentation
Leave function when debug file could not be opened
Send correct version to prodtrack
Use $g['product_version'] to get running version. The way it wasimplemented before was getting version of pfSense-base package fromremote metadata
Apply style and space fixes
Replace pfSense by global var product_name
Add a note to convert it to json_encode
Include platform name in update check JSON
RAM Disk robustness improvements. Fixes NG 3173
This is 2020. Issue #9245
Add packages to version string to support composite update
Fix random typos
Make factory test case insensitive
Revise update check to provide a more consistent version string, and to provide it in JSON format
Fix copyright message years to reflect BSDP -> ESF -> Netgate
Update copyright notices to 2019. Happy New Year
Fix #9121: Initialize arrays to prevent PHP 7 errors
Fix #9102: Suppress stream_select() undesired warnings
Initialize package arrays before use. Fixes #9067
Fix #7604: Rework pkg reinstall on config restore
- Remove old code needed to upgrade fom < 2.3 to 2.3- Simplify logic using a single file /conf/needs_package_sync- Create /etc/rc.package_reinstall_all, a script used to reinstall all packages present in config but not on pkg database...
Do not remove needs_package_sync file when it's not needed
Remove code used to upgrade from < 2.3 to 2.3
Skip repo check for base packages
Revert "Parameter must be an array or 'all'"
Fix #8715 respecting get_pkg_info parameter when it doesn't start withpfSense-pkg
This reverts commit 70a7c029fbe61935da7474358e7359bb9dc1bcc3.
Make sure additional packages are provided by official pkg repo
Fix style
Parameter must be an array or 'all'
Add missing global $g declaration
Create pkg_conf_setup() to setup pkg.conf
It will be necessary in near future for thoth setup
Add a global to keep valid meta package suffixes
PHP7 - Resolve Warning: Use of undefined constant āpā in System->Update
Change reported version to installed version rather than product version for more detail
Fix #8208
When restoring backup, delete packages not present in new config.xml
Ticket #8208
When restoring backup, set default pkg repository
Do not call get_pkg_info() when it's not going to be used
Respect default repo
Deduplicate build_repo_list() and get_repo_name()
Update the Copyright notice for pfSense.
Merge pull request #3866 from PiBa-NL/20171104-pkg-reinstallmissingpackage
Use a strict check of array_search() result
Remove empty items from output
Detect when system is running a newer version than the one available on remote repository
Always do rquery when pkg search is not used
Fix #7946: Display installed packages missing on remote repo to let user to delete it
Provide mechanism to allow for transition to a new package repository server
pkg, reinstall missing packagechange the reference from install_package(.) as this function does not exist.
Fixed #8035
(cherry picked from commit 9c4e7fd3e155d08911feb0afc527af21d79ce917)
Use pkg-static binary to prevent errors when moving to new major FreeBSD version
Update cache when GUI successfully update pkg metadata
Speedup get_system_pkg_version() considering only installed packages
Use cache file to show pfSense version information
Run rc.update_pkg_metadata in background when repository changes
Remove extra spaces from User Agent
Send uniqueid instead of UUID on user-agent
Declare user_agent variable in the function it's used
Refine some syslogd restarts, add a way to send it a HUP to reload w/o a full restart. Part of ticket #7256
get_pkg_info improve installed_pkgs_only case
Merge pull request #3659 from PiBa-NL/plugin_optimize_20170321
Remove redundant check, get_pkg_info() call uses a parameter to return only installed packages
Fix indent and spaces
Use correct function (is_pkg_installed) and unbreak get_pkg_info()
pkg_call_plugins put includefile and supported plugins in the normal config.xml so there is no need to parse the package xml for them. this improves performance significantly for several pages like such as 'ipsec overview' and 'openvpn server edit page' which use certificates and gatewaygroups which acquire some information from plugins.
load package add-on tabs into config to avoid parsing all installed package xml's, fix tabgroup filter
Run custom deinstall commands during the deinstall phase instead of post-deinstall, otherwise they will never get run. Fixes #7401
Some small improvements to help with ticket #7256
They don't fix the problem but avoid some pitfalls that could contribute to it.
Fix the pkg_call() and set the timeout to a sane value (Bug #6594)
Fix #7257: Use pfSense-upgrade to look for new versions
Code with multiple %s in etc
Misc cleanups at get_pkg_info()
fix copy/paste - I think!
use wrapped version of pkg info -e instead
get_pkg_info() fallback using pkg info if no local copy of repo catalog (resubmit)
Resubmit of PR #3157 with fix.
The issue in #3157 was that `pkg info` and `pkg search`, undocumented in man pages, seem to handle things differently if no packages match the pattern string. `pkg search` gives an error "No packages match [$pkgs]", whereas `pkg search` doesn't give an error....
Revert "get_pkg_info() fallback using pkg info if no local copy of repo catalog"
This reverts commit e47af756de79d4e8b0356cf22f72f62f09e9ad7d.
get_pkg_info() fallback using pkg info if no local copy of repo catalog
Current behaviour
At the moment, get_pkg_info() is used to get all information on packages. The parameter $local_only is set to request info directly from the local copy of the repo catalog (using -U) without requesting the remote repo catalog or updating the local copy from the remote repo catalog. If the calling code wants only installed pkgs, it filters the returned list of pkgs looking for $pkg['installed'] == true....
Populate the HTTP_PROXY_AUTH env var. Ticket #6949
Deprecate nanobsd platform and remove all conditionals that uses it
Remove all calls to conf_mount_r* functions
Merge pull request #3156 from stilez/patch-43
Create pkg.conf with ABI settings
Remove unused arg in get_pkg_info()
The 2nd argument ($info) isn't used in that function, and doesn't seem to be used anywhere else in the codebase.
Move copyright from ESF to Netgate
Protect package_reinstall_all()
If one restores a config.xml without packages, there will be a warning about invalid argument supplied for foreach(). This commit fixes the problem.
Move to Apache License 2.0
Review license / copyright on all files (1st round)
Add missing -R parameter to pkg call
Implement pkg_valid_name()