Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Code style and comment tweaks | doktornotor | 2015-09-30 | 1 | -2/+3 |
| | |||||
* | When antivirus/C-ICAP is disabled, actually stop and disable related services | doktornotor | 2015-09-30 | 1 | -0/+27 |
| | |||||
* | Add freshclam mirror settings, manual AV defs update and cron updates | doktornotor | 2015-09-30 | 1 | -1/+78 |
| | |||||
* | Add freshclam mirror settings, manual AV defs update and cron updates | doktornotor | 2015-09-30 | 1 | -9/+94 |
| | |||||
* | Patch squidclamav.conf so that is uses WebGUI URL by default | doktornotor | 2015-09-30 | 1 | -2/+2 |
| | | | Stop nagging users with confusing nonsense and make it work out of the box. | ||||
* | Fix log_dir location for C-ICAP to that it honors custom log_dir | doktornotor | 2015-09-30 | 1 | -1/+6 |
| | |||||
* | If cache dir is located outside of /var/squid hierarchy, log some ↵ | doktornotor | 2015-09-30 | 1 | -0/+7 |
| | | | | instructions and return | ||||
* | Put safety checks here to prevent shooting users from shooting themselves in ↵ | doktornotor | 2015-09-30 | 1 | -12/+41 |
| | | | | foot. | ||||
* | Do not leave orphaned cache dirs if harddisk_cache_location changed | doktornotor | 2015-09-30 | 1 | -0/+30 |
| | | | The old cache dir will ONLY get deleted when located under /var/squid/ to prevent nasty accidents. | ||||
* | Some additional deinstall cleanups | doktornotor | 2015-09-30 | 1 | -14/+7 |
| | |||||
* | If disk cache gets disabled, delete the cachedir if it exists | doktornotor | 2015-09-30 | 1 | -1/+14 |
| | |||||
* | Also check for level 1 subdirs in cachedir for proper cache creation | doktornotor | 2015-09-30 | 1 | -2/+9 |
| | |||||
* | Fix squid_dash_z() logic so that it creates cache dir properly when it has ↵ | doktornotor | 2015-09-30 | 1 | -5/+5 |
| | | | | changed | ||||
* | Remove yet another duplicate squid_dash_z() invocation, also don't log ↵ | doktornotor | 2015-09-30 | 1 | -3/+1 |
| | | | | unless needed | ||||
* | Force delete the PBI initscript that keeps creeping back | doktornotor | 2015-09-30 | 1 | -0/+2 |
| | |||||
* | Force Squid shutdown on stopping service | doktornotor | 2015-09-30 | 1 | -0/+3 |
| | |||||
* | Split disk cache creation to a separate function as well | doktornotor | 2015-09-30 | 1 | -5/+20 |
| | |||||
* | Fix inverted squid_start_monitor() check | doktornotor | 2015-09-30 | 1 | -1/+1 |
| | |||||
* | split Squid services monitoring/handling to separate functions | doktornotor | 2015-09-30 | 1 | -18/+39 |
| | |||||
* | squid3 - fix squid_dash_z() so that cache dir gets created on package install | doktornotor | 2015-09-30 | 1 | -14/+15 |
| | | | Also, don't try to kill Squid needlessly if not running. | ||||
* | remove the squid_dash_z() nonsense from here | doktornotor | 2015-09-30 | 1 | -12/+0 |
| | | | squid_dash_z() is already run as part of squid_resync(), plus the whole logic is broken here (like, leaving old cache dir in place if location changes, or cleaning the cache if the configured size gets increased). But that's for another round of fixes. | ||||
* | squid3 - clean up after itself on uninstall | doktornotor | 2015-09-30 | 1 | -14/+61 |
| | |||||
* | squid_nac.xml - add missing line break | doktornotor | 2015-09-30 | 1 | -1/+1 |
| | |||||
* | squid_monitor.php - improve English | doktornotor | 2015-09-30 | 1 | -3/+3 |
| | |||||
* | squid_cache.xml - add missing line break | doktornotor | 2015-09-30 | 1 | -1/+1 |
| | |||||
* | Remove the advanced advancedfield tags because pkg_edit.php is buggy. | doktornotor | 2015-09-30 | 1 | -8/+8 |
| | | | Also, adjust cols to prevent line wrapping and fix indentation. | ||||
* | Only try to stop Squid if running to prevent useless logspam | doktornotor | 2015-09-30 | 1 | -2/+4 |
| | |||||
* | squid_traffic.xml - fix field tags | doktornotor | 2015-09-30 | 1 | -1/+1 |
| | |||||
* | Stop creating log_dir here to avoid stupid recursive chown on / bug | doktornotor | 2015-09-30 | 1 | -14/+1 |
| | | | It's been already done squid_resync_general() in the first place, not needed at all. Leaving the squid_chown_recursive() safety checks in place, certainly good this to have here regardless. | ||||
* | Add safety belts to squid3 chown function to stop it from breaking the ↵ | jim-p | 2015-09-29 | 2 | -4/+5 |
| | | | | entire filesystem. | ||||
* | Fix log_dir config check | doktornotor | 2015-09-27 | 1 | -1/+1 |
| | |||||
* | Honor logdir settings for reverse proxy as well; always provide a default ↵ | doktornotor | 2015-09-27 | 1 | -3/+8 |
| | | | | value if not configured | ||||
* | Do not run squid_resync() twice on package install | doktornotor | 2015-09-27 | 1 | -1/+0 |
| | | | custom_php_resync_config_command is automatically executed via install_package_xml() on install. | ||||
* | sanitize squid3 package install process | doktornotor | 2015-09-27 | 1 | -41/+32 |
| | | | | | - On package install, custom_php_resync_config_command is automatically called. There is no need to call it yet again. - When squid_resync() is called on install, logdir will get created if needed, cache dir will get set up as needed via squid_dash_z(), and finally firewall will get reconfigured. There is absolutely no need to setup cache 4 times, there is also definitely no need to reconfigure filter 3 times and no need to restart the services (at least) 3 times in one minute. This seriously confuses Squid3 and breaks things, as in Bug #4857 - Finally, modify squid_resync() so that it only (re)starts services if Squid3 is actually enabled, and stops them otherwise | ||||
* | Fix broken PHP syntax | doktornotor | 2015-09-27 | 1 | -26/+26 |
| | |||||
* | Add privileges configuration to squid3 package | doktornotor | 2015-09-26 | 1 | -0/+4 |
| | |||||
* | Add privileges configuration to squid3 package | doktornotor | 2015-09-26 | 1 | -0/+63 |
| | |||||
* | make a backup of default c-icap config file on install | doktornotor | 2015-09-26 | 1 | -0/+7 |
| | |||||
* | Fix broken c-icap.conf handling, fix c-icap logs handling (Bug #4615) | doktornotor | 2015-09-26 | 1 | -9/+21 |
| | |||||
* | Sanitize the cache clear/swapstate rotate cronjob | doktornotor | 2015-09-26 | 1 | -1/+1 |
| | | | This absolutely should NOT be run every 15 minutes, completely insane. | ||||
* | Provide real reason(s) in log when cache is cleared | doktornotor | 2015-09-26 | 1 | -2/+18 |
| | |||||
* | Fix closing tag | doktornotor | 2015-09-25 | 1 | -1/+1 |
| | |||||
* | squid3 - code style fixes, fix file perms, fix error language, improve ↵ | doktornotor | 2015-09-25 | 1 | -213/+366 |
| | | | | descriptions | ||||
* | Remove broken squid_before_form_general() function | doktornotor | 2015-09-25 | 1 | -36/+0 |
| | |||||
* | Remove reference to unused broken squid_before_form_general() function | doktornotor | 2015-09-25 | 1 | -3/+0 |
| | |||||
* | Remove reference to unused broken squid_before_form_general() function | doktornotor | 2015-09-25 | 1 | -3/+0 |
| | |||||
* | Remove reference to unused broken squid_before_form_general() function | doktornotor | 2015-09-25 | 1 | -3/+0 |
| | |||||
* | squid3 - code style fixes, improve descriptions, hide no-op options | doktornotor | 2015-09-25 | 1 | -113/+167 |
| | |||||
* | Fix trailing whitespace | doktornotor | 2015-09-25 | 1 | -1/+1 |
| | |||||
* | Fix trailing whitespaces | doktornotor | 2015-09-25 | 1 | -2/+2 |
| |