Nuke upload progress bar helper.
MFC 9548Shift serial port toggle routine to pfsense-utils.inc. Call this function after configuration import to setup needed bits on system for serial console if need be. Shift console locjout routine to pfsense-utils.inc. Call this function from serial port code to setup if auto login / console lockout is enabled after config restore
s/reload/reboot/
Enable reboot after restore
Remove #!/usr/local/bin/php
Note why we are rebooting. Comment this reason.
Parse the configuration file so we can deterimine if captive portal is enabled
Reboot when restoring a m0n0wall configuration or if captive portal is enabled.
We no longer reboot. We reload.
Eliminate needed reboot.
MFC 6921Fix fend.inc alignment Fix tab links
assign parsed $config
Convert_config() on next boot
Only parse config on m0n0wall upgrade
Only convert config on m0n0wall upgrade
Do not mount ro too early
Unset the traffic shaper when importing from m0n0wall
Correct () usage
Pass file handle to $fd
Ticket #587
Reboot after restore
Do not restore a full configuration if there is no pfsense or m0n0wall tag
Swap the arguments.
Found-by: lurking-irc-chatroom
Swap button ordering
Ticket #523
Do not restore a configuration section if the tag is not found
Ticket #527
progress.php needed to only be called upon upload not download or reinstall of packages
Swap Local and Remote
return_filename_as_string -> file_get_contents
Reload configuration after page is displyaed if needed
Fix tabs.
Code cleanup
Last of the bottom round fixesTurn top rounding back on now that those are all fixed
Use $pgtitle for consistency
Reverse Local and Remote tabs
include head.inc and round corners on tabs
Don't offer to restore all packages if none are installed.
Don't require xmlparse.inc again.
No more xmlparse_pkg.
Allow uploading of captive portal files
Do it in the right order.
Correct create temporary file
Set a package needs syncing flag after a restore operation
Add aliases backup & restore item
Revert.
"Local" -> "Configuration History"
suggested-by: hoba
Tabify.
Trim some more code.
Remove config version control from diag_backup.php - this will be moved into diag_confbak.php.
remove hardcoded path
Add $Id$ tag
Mount flash r/w to remove /usr/local/www/trigger_initial_wizard
readfile only takes one argument
let there be descriptions (warning, this could be slow)
revert prior less correct change
Pass the correct post variable to spit_out_select_items
Fix config restore
wake -> take
Allow most areas of xml configuration to be restored and backed up individually.
Correctly restore configuration "areas"
Pass correct amount of paramaters to unlink
Move the note to the bottom of the td cell
Allow the user to backup and restore specific areas of their configuration. To start off with, we'll allow the user to backup and restore just the traffic shaper section.
write_config can now be passed a description of the changewill be used for version control descriptions
don't lie...it "works"
breath life into the restore config code
Nicer display for revisions
Initial commit of onbox version control (broken).
Really upgrade m0n0wall -> pfsense during configuration restore
Correctly handle the new "Do not backup packages" flag
Add option to exclude package configuration from backup.
fopen requires to paramaters. be sure to include "r"
During restore, if m0n0wall is found, change to pfsense so that the configuration can automatically be upgraded.
Add package reinstallation button to Backup/Restore area. The script will basically reinstall any packages needed by your configuration after a restore ;)
Change m0n0wall -> pfSense.
Noticed-by: Brianm
Synchornize with m0n0wall 1.2b3. These files have not really beenmodified too much so a straight copy works. 9 files remain to bepatched by hand.
Update (C)
m0n0wall -> pfSense
Initial revision