Update copyright years to include 2023
Correct RRD backup/restore cmd file handling. Fixes #13935
Rector direct global g accesses
Revert "Remove unused global $config_extra"
This reverts commit e36bc382ae1e0533c328b9dcd99959b17171de2e
Remove unused global $config_extra
Rector some config unsets with complex paths.
Rector some direct config gets with pure scalar paths.
Prevent array/config_get_path() from overriding 0 values
Change the semantics of array_get_path() and config_get_path() so that onlyempty strings at a path are overridden by $default if non-null, so thatlegitimate 0 values set in the config are not overridden as empty() returns true...
Make *_get_path() return $default for empty values. Issue #13446.
When $default is non-null and the path resolves to an empty element, return$default instead of the value. This allows callers to intentionally ignore emptyvalues by specifying $default and simplifies the expressions needed to determine...
Introduce config_init_path for config_* family completeness. For #13446
Introduce array_init_path, refactor init_config_arr, and fix potential race. For #13446
Fix PHP errors. Issue #13446
Make array/config_set_path() create intermediary paths
Add config/array_del_path helper function and associated test
Fix multilevel array access outside config in util.inc
Add config_path_enabled() function and associated tests
Correct required param after optional param syntax errors
Add config_get_path and config_set_path for config element access
config_get_path and config_set_path allow the user to specify a configurationelement by path rather than by direct access to the global config array. Thishas several advantages, including eliminating errors attempting to access...
mkdir before restoring extra data. Fixes #13157
Update the Copyright year of the files owned by Rubicon/Netgate.
Fix SSH keys permissions on restore. Fixes #12637
Backup and Restore SSH Host Key(s). Feature #11118
Keep 'enableserial_force' in /conf when a factory reset is performed.
Ticket: #6880
Log config changes. Implements #12118
Merge pull request #4510 from BBcan177/patch-2
Checking multiple backups when detecting invalid configuration. Fixes #11748
Add missing global declaration
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...
Backup extra data fixes. Issue #11050
Add a warning when write_config() is called without description
Fix some illegal string offset errors. Issue #10659
status.php: Add config history. Implements #10696
Do not halt on configuration file not found error. Implements #10556
This is 2020. Issue #9245
Fix random typos
Fixed #9693Allow ACB to be suppressed by including magic string in the backup descriptionTransmit max number of manual backups in the ACB
Fix copyright message years to reflect BSDP -> ESF -> Netgate
Fix the spamming of warnings about ttyv0 not being available on ARM64 devices.
While here, use a more meaningful name for the function.
Revert "Remove definitions of conf_mount_r[ow]"
Leave functions declaration for now to prevent errors during upgrade.
This reverts commit da3ef5a3b359edb27bb9bb2b88a93cfb5ea8a0d1.
Comment out all pfSense_fsync() calls until it's properly fixed
pfSense_fsync() call just before rename() is breaking it. Comment out for now until it's fixed
Remove definitions of conf_mount_r[ow]
Revert "pfSense_fsync() call just before rename() is breaking it. Comment out for now until it's fixed"
pfSense_fsync() is fixed now
This reverts commit cea9d3b7dc6f7ac8450a2a8f4b630b1b6b69827b.
Update copyright notices to 2019. Happy New Year
Added scheduled config backupFixed: #8947
User login source & proxy fwd addr to user data. Fixes #8813 Fixes #8816
While here, use this info more consistently across log messages andplaces where user info is recorded when making changes.
Add missing -f to make pfSense-upgrade to remove all packages when restore factory default
Add config function init_config_arr()
This function initializes a set of nested keys under $config to avoid multiple levels of manual is_array() checks and creations.
Pass it an array of keys to test and create, for example:
init_config_arr(array('virtualip', 'vip'));...
Add legacy encrytopn password support
Update $config references
Update the Copyright notice for pfSense.
config, xmlparse throw exception instead of calling die(), so corruption check will properly handle the unlink action of the corrupted config
Do not use reference to avoid losing data
Always run additional_config_upgrade() and do it after config is written
Check if specific config upgrade code already ran and skip it
Add a function to be called every time convert_config() runs
Merge pull request #3750 from PiBa-NL/20170606-denyconfigwrite
permissions, log when user tries to save the configuration but has the 'deny config write' permission
Fix preg_match call without delimiter and also use preg_quote() to variable used in pattern
Don't create system notices for errors in user-entered ad-hoc PHP (diag_command.php)
Fix #7508 stop write_config after reset_factory_defaults
phpsessionmanager, this helps starting and committing the php session preventing other requests from being blocked longer than required.
Fix handling of 0 for Backup Count. Fixes #7273
Code with multiple %s in etc
php fatal error logging
Change safe_write_file $content parameter to accept an array
Make $force_binary parameter optional, default to false
Remove all calls to conf_mount_r* functions
Retire cdrom platform support
Obsolete conf_mount_ro() and conf_mount_rw()
Now that nanobsd is gone these functions are not necessary anymore.Keep them around until all calls are cleaned up
Move copyright from ESF to Netgate
Fix handling of backup config count. Fixes #6771
Move to Apache License 2.0
Review license / copyright on all files (final round)
Review license / copyright on all files (1st round)
Use global backup count instead of hardcoded value and remove redundant function
Check for is_array here to avoid possible issues if the config.cache is invalid. Adapted from PR 2925
Skip ro mounting to make nanobsd permanent rw mode regardless of config. Ticket #6184
Includes - Remove Personalizations
Remove "you" personalizations.
Write_Config Function Notes Update
Add write_config_only input arg to write_config function notes.
Merge pull request #2660 from phil-davis/gtetc1
Internationalize etc inc a-i files
Call conf_mount_rw() before run pfSense-upgrade to avoid doing it twice
Break long lines
Remove all additional packages from the system before reset to factory default. Fixes #5829
Update license on files from /etc/inc
Merge pull request #2309 from phil-davis/tiw
Avoid triggering initial wizard before reboot
If you use the the webGUI to reset to factory defaults, then while theexisting system is shutting down you navigate off to the dashboard, theinitial setup wizard will start. The trigger_initial_wizard flag file is...
Redmine #5613 avoid Reset to Factory Defaults PHP warnings
On Reset to Factory Defaults there are some warnings given when unlink_if_exists() tries to unlink() directories in /conf - /conf/backup and /conf/sshd.unlink does not work on directories.This PR avoids the PHP warnings by not trying to remove the directories inside /conf....
Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever was the reason they were added, it was never finished and it's not being used
Write Config Only Option
Add write_config function option to only write the config. Sometimes syncing firewall is not necessary or desirable. ex: changing log display options.
Use product_name global variable in more places
White space and minor bits in etc
Cleaner version of https://github.com/pfsense/pfsense/pull/1846
Move main pfSense content to src/