Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | write_rcfile() does not handle custom restart command | doktornotor | 2015-10-02 | 1 | -7/+0 | |
| | ||||||
* | Do not use the c-icap rcfile to stop c-icap when AV is being disabled - the ↵ | doktornotor | 2015-10-01 | 1 | -1/+1 | |
| | | | | rcfile may not exist | |||||
* | Remove useless buggy /etc/rc.conf.local crap | doktornotor | 2015-10-01 | 1 | -26/+1 | |
| | | | Adding to the file was broken -- when run multiple times, it added a separate ="YES" line to the file. Moreover, the _enable variable is being patched to default to YES in individual rc scripts, so this junk is just not needed. Leaving the squid_deinstall_command() stuff in here for now, hopefully most users will get the "settings" removed and never added back. | |||||
* | Implement a generic setting to enable/disable Squid services, bugfixes and ↵ | doktornotor | 2015-10-01 | 1 | -87/+158 | |
| | | | | | | | cleanups - add squid_enabled() function to check whether Squid is enabled; if not, disable all services (proxy, clamav, c-icap, monitor script) and cronjobs - handle antivirus services in a separate function - make it possible to disable Google Safe Browsing via the antivirus GUI options | |||||
* | Fix the numdirs comparison here (int vs. string), make this more readable as ↵ | doktornotor | 2015-10-01 | 1 | -1/+1 | |
| | | | | | well Cache is getting always recreated because of strict comparison. | |||||
* | Implement a generic setting to enable/disable Squid services | doktornotor | 2015-10-01 | 1 | -0/+11 | |
| | | | Desperately needed, currently getting rid of configured and running Squid is impossible without uninstalling. | |||||
* | Implement keep data/settings features | doktornotor | 2015-10-01 | 1 | -1/+13 | |
| | ||||||
* | Implement keep data/settings features | doktornotor | 2015-10-01 | 1 | -25/+74 | |
| | ||||||
* | Code style and whitespace fixes | doktornotor | 2015-10-01 | 1 | -20/+8 | |
| | ||||||
* | Remove squid_resync_redirector() | doktornotor | 2015-10-01 | 1 | -15/+0 | |
| | | | Deprecated dead cruft. See http://www.freshports.org/www/squirm | |||||
* | Mute rename() to stop spitting out useless junk in console... | doktornotor | 2015-10-01 | 1 | -2/+2 | |
| | ||||||
* | Antivirus GUI behaviour sanitization - first part | doktornotor | 2015-10-01 | 1 | -0/+27 | |
| | | | Add manual configuration toggle. When disabled, the 'Advanced Options" only show the AV/C-ICAP config file but do not allow editing, and vice versa. | |||||
* | Antivirus GUI behaviour sanitization - first part | doktornotor | 2015-10-01 | 1 | -0/+42 | |
| | | | Use JS to toggle access to different parts of the GUI, depending on whether the users want to configure things by editing config files or via the GUI options. | |||||
* | Fix C-ICAP | doktornotor | 2015-10-01 | 1 | -22/+50 | |
| | ||||||
* | Fix C-ICAP and cleanup useless things here | doktornotor | 2015-10-01 | 1 | -7/+4 | |
| | ||||||
* | Move fielddescr away from rowhelperfield (another pkg_edit.php bug) | doktornotor | 2015-10-01 | 1 | -9/+9 | |
| | ||||||
* | Move fielddescr away from rowhelperfield (another pkg_edit.php bug) | doktornotor | 2015-10-01 | 1 | -10/+10 | |
| | ||||||
* | Improve some descriptions, nuke useless tags that do not show in rowhelpers | doktornotor | 2015-10-01 | 1 | -6/+4 | |
| | ||||||
* | Improve some descriptions, nuke useless tags that do not show in rowhelpers | doktornotor | 2015-10-01 | 1 | -6/+4 | |
| | ||||||
* | Add Google Safe Browsing feature | doktornotor | 2015-09-30 | 1 | -0/+13 | |
| | ||||||
* | Add Google Safe Browsing feature | doktornotor | 2015-09-30 | 1 | -1/+12 | |
| | ||||||
* | Fix squidclamav.conf.sample handling to match the rest of the config files | doktornotor | 2015-09-30 | 1 | -9/+7 | |
| | ||||||
* | Do not do useless checks for freshclam cronjob | doktornotor | 2015-09-30 | 1 | -5/+1 | |
| | ||||||
* | 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 | |
| |