Author: avi
-
Per-extension logging in MediaWiki
This is another of those things that took me rather longer to work out than I would have liked, so hopefully this’ll appear in the sorts of searches I should have done. MediaWiki has this nifty feature where you can split the logging for particular extensions out into individual files by doing things like this:…
-
Allowing uploads of arbitrary files in MediaWiki
I did RTFM and I did what it said, and still my Mediawiki complained when I tried to upload executable files and things with funny file extensions or mime types. if $wgFileExtensions is empty but $wgEnableUploads = true and $wgStrictFileExtensions = false it should just let me upload anything. I can’t think what other behaviour…
-
Tagging images by path in Shotwell
I’ve finally decided to use an image manager, and since it comes with Ubuntu this week I’ve gone with Shotwell. I’ve got a directory hierarchy containing most of my images which is sort-of sorted already, and I’m probably going to keep adding to it, if for no other reason than force of habit. I know…
-
Postfixadmin with clear-text passwords
One of my projects at the minute is converting vpopmail mail servers to postfixadmin. One _really_ handy thing about some of these vpopmail machines is that they store a cleartext copy of all the users’ passwords, so I can feed them straight into the new system. So, I’ve now got a postfixadmin system that stores…
-
Fail2Ban and date formats
Fail2Ban is utterly daft in at least one respect. Here’s me testing a regex on a date format it doesn’t recognise: # fail2ban-regex ‘2010-12-14 15:12:31 – 80.87.131.48’ ‘ – <HOST>$’ Found a match but no valid date/time found for 2010-12-14 15:12:31 – 80.87.131.48. Please contact the author in order to get support for this format…