Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix fsync, thanks Phil Davis for noticing | Chris Buechler | 2015-07-10 | 1 | -1/+1 |
| | |||||
* | fix fsync | Chris Buechler | 2015-07-10 | 1 | -1/+1 |
| | |||||
* | fsync after fclose here, clean up some white space while here. | Chris Buechler | 2015-07-10 | 1 | -2/+9 |
| | | | | | Conflicts: etc/inc/config.lib.inc | ||||
* | fsync conf_path here too | Chris Buechler | 2015-07-10 | 1 | -0/+1 |
| | |||||
* | fix typo | Chris Buechler | 2015-07-10 | 1 | -1/+1 |
| | |||||
* | Make sure config.xml is safe on disk when restoring a backup, ticket #4803 | Renato Botelho | 2015-07-06 | 1 | -0/+1 |
| | |||||
* | Make sure temporary config file is safe on disk before rename, ticket #4803 | Renato Botelho | 2015-07-06 | 1 | -1/+1 |
| | |||||
* | Use right function pfSense_fsync to make sure config file is safe on disk, ↵ | Renato Botelho | 2015-07-06 | 1 | -4/+2 |
| | | | | ticket #4803 | ||||
* | Code spacing | Phil Davis | 2015-06-15 | 1 | -5/+5 |
| | | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting. | ||||
* | Do not call fsck just out of nowhere here since it cannot be the problem or ↵ | Ermal LUÇI | 2015-06-09 | 1 | -6/+4 |
| | | | | fix. | ||||
* | Code style bits and pieces from etc | Phil Davis | 2015-05-31 | 1 | -4/+5 |
| | |||||
* | php error logging should 're-fix' with less side effects for now.. ↵ | PiBa-NL | 2015-04-05 | 1 | -1/+6 |
| | | | | https://redmine.pfsense.org/issues/4143 | ||||
* | Code style guide etc in a to e | Phil Davis | 2015-02-26 | 1 | -120/+175 |
| | |||||
* | disable this PHP error logging, errors that are really significant end up ↵ | Chris Buechler | 2015-01-09 | 1 | -2/+3 |
| | | | | with a crash report, this is more noise than useful at this stage in 2.2. | ||||
* | Log PHP errors. Ticket #4143 | Chris Buechler | 2015-01-07 | 1 | -0/+10 |
| | |||||
* | Add a parameter on platform_booting to help detect if it's on GUI on console ↵ | Renato Botelho | 2014-11-28 | 1 | -3/+3 |
| | | | | and use it in appropriate places, it fixes #4049 | ||||
* | Rather than set the g['booting'] on globals provide a function to test for ↵ | Ermal LUÇI | 2014-11-26 | 1 | -14/+13 |
| | | | | that doing the right checks | ||||
* | Split the various calls here to avoid php warnings with new versions. | Ermal LUÇI | 2014-11-20 | 1 | -1/+4 |
| | |||||
* | Remove even the config.cache from /tmp to avoid issues while here | Ermal | 2014-07-30 | 1 | -0/+1 |
| | |||||
* | Convert almost all /sbin/sysctl calls to php functions | Renato Botelho | 2014-07-07 | 1 | -1/+1 |
| | |||||
* | Remove more backtick abuse | Renato Botelho | 2014-06-19 | 1 | -5/+9 |
| | |||||
* | Restore 989d361e88d08bd9e71bf7daafcb3b39af65bd3d to preserve a scenario that ↵ | Ermal | 2014-05-20 | 1 | -0/+2 |
| | | | | seems useful as suggested from @fitchner. | ||||
* | Remove commented out code since long time | Ermal | 2014-05-20 | 1 | -11/+0 |
| | |||||
* | Remove a line spotted by @fitchner which is not needed at all | Ermal | 2014-05-20 | 1 | -1/+0 |
| | |||||
* | Put a line on logs when this situation happens! | Ermal | 2014-05-20 | 1 | -0/+1 |
| | |||||
* | Get rid of embedded platform. Its time to GC this | Ermal | 2014-04-14 | 1 | -1/+1 |
| | |||||
* | Add an option for users to be able to adjust how many configuration ↵ | jim-p | 2013-12-26 | 1 | -7/+16 |
| | | | | revisions are kept in the local backup cache. | ||||
* | Show backup file size in config history. | jim-p | 2013-12-26 | 1 | -7/+8 |
| | |||||
* | Do not register the _ENV superglobal since its not required and probably not ↵ | Ermal | 2013-12-20 | 1 | -3/+2 |
| | | | | very useful in a [F]CGI world and its limit is restricted nowdays in pfSense. | ||||
* | Register a function to unset certain globals after requests finish ↵ | Ermal | 2013-12-16 | 1 | -0/+24 |
| | | | | processing to release memory early | ||||
* | Fix #3235 | Renato Botelho | 2013-10-24 | 1 | -5/+5 |
| | | | | | | | | | | | . diag_nanobsd.php: . Since conf_mount_ro() is always being called, always call conf_mount_rw to keep refcount correct . Do not show refcount_read() return when it's -1 . config.lib.inc . Increment and decrement refcount even if nanobsd_force_rw is set. This is necessary to avoid partition being mounted as RO when nanobsd_force_rw is disabled and any process requested it to be RW | ||||
* | Bring back static routes to fix issues reported on Ticext #3179 | Ermal | 2013-09-03 | 1 | -8/+10 |
| | |||||
* | Track user/time a firewall rule was created and last updated, and show this ↵ | jim-p | 2013-03-20 | 1 | -23/+36 |
| | | | | information at the bottom of the page when viewing the firewall rule. Have various places in the system that create rules add a proper entry to indicate their origin. | ||||
* | Better test if we're running at the cli or in lighty. Also suppress output ↵ | jim-p | 2013-01-15 | 1 | -2/+2 |
| | | | | for the session start if it fails. | ||||
* | Put protection for session functions even here | Ermal | 2013-01-05 | 1 | -1/+2 |
| | |||||
* | Make the logic a bit more robust and readble | Ermal | 2013-01-05 | 1 | -1/+8 |
| | |||||
* | While here try to hint the user from _ENV['USER'] if no session info | Ermal | 2013-01-05 | 1 | -1/+1 |
| | |||||
* | Since php_sapi_name() is useless in pfSense test if argc has been registered ↵ | Ermal | 2013-01-05 | 1 | -7/+9 |
| | | | | or not to avoid warnings on bootup | ||||
* | Always commit the session fast to allow other consumers to proceed to their ↵ | Ermal | 2013-01-03 | 1 | -1/+8 |
| | | | | requests. This unbreaks now the lock up the GUI had allowing only one action from same source per time. Now even if you run a command that blocks indefinitely for example the GUI want lock anymore but allow you to proceed to other actions | ||||
* | Add button to switch between read/write and read-only on Diag > NanoBSD; Add ↵ | jim-p | 2012-11-12 | 1 | -4/+7 |
| | | | | setting to keep the media read/write at all times; Add indication of ro/rw status on Dashboard. | ||||
* | Make sure admin can always write the config | jim-p | 2012-10-09 | 1 | -1/+1 |
| | |||||
* | Add initial support for a privilege that denies write access to the config. | jim-p | 2012-10-09 | 1 | -0/+5 |
| | | | | NOTE: This only prevents writing to config.xml - it does NOT prevent other changes/execution that do not involve writing to config.xml (e.g. applying settings, exec, killing states, etc) | ||||
* | Remove extra curly to allow checking braces closure easily in vi[m] | Ermal | 2012-08-14 | 1 | -1/+1 |
| | |||||
* | The function split() is replaced by the function explode(). Starting with ↵ | smos | 2012-01-19 | 1 | -1/+1 |
| | | | | | | PHP 5.3 this is deprecated and with version 6 gone. Replacing it surpresses all the warnings | ||||
* | Add version to backup.cache in one more place | jim-p | 2011-11-22 | 1 | -1/+4 |
| | |||||
* | Also show the config version in the backup history. | jim-p | 2011-11-22 | 1 | -3/+5 |
| | |||||
* | Setup the serial port in the factory reset as well, in case the default ↵ | jim-p | 2011-11-21 | 1 | -1/+1 |
| | | | | config in a rebrand has the serial console active. | ||||
* | Ticket #1279. Decrease the refcount even though we're in booting phase. This ↵ | Ermal | 2011-08-17 | 1 | -2/+2 |
| | | | | helps the refcount to work as intended and help in making filesystem read only correctly on embedded platfroms. While here put some exceptions to refcount API and silent any related errors that might trigger. Also take not of the NOTE on the php manual that after a share memory is opened further references to it for size and access mode should be 0. | ||||
* | Merge remote-tracking branch 'mainline/master' into inc | Vinicius Coque | 2011-07-06 | 1 | -0/+2 |
|\ | | | | | | | | | Conflicts: etc/inc/priv.defs.inc | ||||
| * | Use empty() so we don't use it if it's defined but blank. | jim-p | 2011-07-01 | 1 | -1/+1 |
| | |