Added scheduled config backupFixed: #8947
(cherry picked from commit a1aa91dec887ba929be08c993170803396a669b2)
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/