pr0n
12 years agoAdd server-side support for unselecting images.
Steinar H. Gunderson [Sat, 17 Apr 2010 10:40:49 +0000 (12:40 +0200)]
Add server-side support for unselecting images.

12 years agoWorkarounds for OS X 10.5's WebDAV client, which doesn't send Content-Length.
root [Tue, 30 Mar 2010 12:57:24 +0000 (14:57 +0200)]
Workarounds for OS X 10.5's WebDAV client, which doesn't send Content-Length.

12 years agoFix a typo in the do-not-need-to-scale code.
Steinar H. Gunderson [Wed, 4 Nov 2009 14:26:47 +0000 (15:26 +0100)]
Fix a typo in the do-not-need-to-scale code.

12 years agoFix display of long shutter times.
Steinar H. Gunderson [Sun, 1 Nov 2009 20:48:54 +0000 (21:48 +0100)]
Fix display of long shutter times.

12 years agoBump to v2.71.
Steinar H. Gunderson [Sat, 24 Oct 2009 11:44:14 +0000 (13:44 +0200)]
Bump to v2.71.

12 years agoAdd a script to regenerate all the image cache.
Steinar H. Gunderson [Sat, 24 Oct 2009 11:43:56 +0000 (13:43 +0200)]
Add a script to regenerate all the image cache.

12 years agoFix a ne/!= issue, for the second time.
Steinar H. Gunderson [Sat, 24 Oct 2009 11:41:11 +0000 (13:41 +0200)]
Fix a ne/!= issue, for the second time.

12 years agoDisable Digest auth for now.
Steinar H. Gunderson [Sat, 24 Oct 2009 09:09:29 +0000 (11:09 +0200)]
Disable Digest auth for now.

12 years agoNew JPEG settings:
Steinar H. Gunderson [Sat, 24 Oct 2009 09:05:19 +0000 (11:05 +0200)]
New JPEG settings:

 - Use Lanczos everywhere (Mitchell really isn't that good for mipmap scaling)
 - Use 1x1 subsampling everywhere (the discoloration just isn't worth it)
 - Tone down to quality 87 to get the file sizes back down to almost-normal level.

Mainly tuned for fullscreen viewing (I haven't looked at thumbnails). About 8%
increased file size, it seems.

12 years agoUpdate FAQ with PostgreSQL version and new database size.
Steinar H. Gunderson [Sun, 18 Oct 2009 21:37:15 +0000 (23:37 +0200)]
Update FAQ with PostgreSQL version and new database size.

12 years agoUse absolute path for mv.
Steinar H. Gunderson [Fri, 16 Oct 2009 22:35:34 +0000 (00:35 +0200)]
Use absolute path for mv.

12 years agoTry to handle aborted rotation a bit better.
Steinar H. Gunderson [Mon, 13 Jul 2009 19:10:13 +0000 (21:10 +0200)]
Try to handle aborted rotation a bit better.

12 years agoqscale integration broke multi-image thumbnailing; restoring it.
Steinar H. Gunderson [Mon, 13 Jul 2009 15:42:19 +0000 (17:42 +0200)]
qscale integration broke multi-image thumbnailing; restoring it.

12 years agoFix a missing purging URL.
Steinar H. Gunderson [Mon, 13 Jul 2009 14:30:38 +0000 (16:30 +0200)]
Fix a missing purging URL.

12 years agoFix a syntax error.
Steinar H. Gunderson [Mon, 13 Jul 2009 14:29:50 +0000 (16:29 +0200)]
Fix a syntax error.

12 years agoRegister as a printing provider as well, for the benefit of Vista users.
Steinar H. Gunderson [Mon, 13 Jul 2009 14:22:31 +0000 (16:22 +0200)]
Register as a printing provider as well, for the benefit of Vista users.

12 years agoFix event adding from the wizard.
Steinar H. Gunderson [Mon, 13 Jul 2009 14:22:03 +0000 (16:22 +0200)]
Fix event adding from the wizard.

12 years agoAuto-update the Digest auth hash on successful Basica auth.
Steinar H. Gunderson [Sat, 4 Jul 2009 20:56:42 +0000 (22:56 +0200)]
Auto-update the Digest auth hash on successful Basica auth.

12 years agoWorkaround for Chrome in fullscreen mode.
Steinar H. Gunderson [Sat, 4 Jul 2009 13:16:24 +0000 (15:16 +0200)]
Workaround for Chrome in fullscreen mode.

12 years agoRemove stray debugging code.
Steinar H. Gunderson [Tue, 30 Jun 2009 11:45:07 +0000 (13:45 +0200)]
Remove stray debugging code.

12 years agoRemove some unneeded parameters from check_401.
Steinar H. Gunderson [Tue, 30 Jun 2009 11:38:58 +0000 (13:38 +0200)]
Remove some unneeded parameters from check_401.

12 years agoImplement support for HTTP digest authentication (RFC2617).
Steinar H. Gunderson [Tue, 30 Jun 2009 11:34:44 +0000 (13:34 +0200)]
Implement support for HTTP digest authentication (RFC2617).

12 years agoRefactor the authentication a bit, in anticipation of digest-auth support.
Steinar H. Gunderson [Mon, 29 Jun 2009 09:37:58 +0000 (11:37 +0200)]
Refactor the authentication a bit, in anticipation of digest-auth support.

13 years agoUnbroke infobox=0 for fullscreen mode.
Steinar H. Gunderson [Sun, 17 May 2009 21:58:47 +0000 (23:58 +0200)]
Unbroke infobox=0 for fullscreen mode.

13 years agoWe are in 2009 now.
Steinar H. Gunderson [Sun, 3 May 2009 17:36:09 +0000 (19:36 +0200)]
We are in 2009 now.

13 years agoAdd a mechanism for invalidating the front-end cache, if any. Currently it spits...
Steinar H. Gunderson [Sun, 3 May 2009 17:35:22 +0000 (19:35 +0200)]
Add a mechanism for invalidating the front-end cache, if any. Currently it spits out a regex in a special header, but you could easily imagine calling PURGE, for instance.

13 years agoAdded a question about image removals to the FAQ.
Steinar H. Gunderson [Sun, 22 Mar 2009 23:30:42 +0000 (00:30 +0100)]
Added a question about image removals to the FAQ.

13 years agoFix a warning about uninitialized values.
Steinar H. Gunderson [Sat, 31 Jan 2009 14:15:18 +0000 (15:15 +0100)]
Fix a warning about uninitialized values.

13 years agoFix a broken link in the TG05 templates.
Steinar H. Gunderson [Sat, 31 Jan 2009 14:14:50 +0000 (15:14 +0100)]
Fix a broken link in the TG05 templates.

13 years agoTreat CR2 the same as NEF.
Steinar H. Gunderson [Sun, 25 Jan 2009 20:03:24 +0000 (21:03 +0100)]
Treat CR2 the same as NEF.

13 years agoFix typo.
Steinar H. Gunderson [Fri, 28 Nov 2008 13:57:56 +0000 (14:57 +0100)]
Fix typo.

13 years agoSome atomicity fix to QscaleProxy that I don't seem to remember if was
Steinar H. Gunderson [Sun, 16 Nov 2008 13:34:59 +0000 (14:34 +0100)]
Some atomicity fix to QscaleProxy that I don't seem to remember if was
sane or not, but has been in production for a while. :-)

13 years agoUpdate the FAQ.
Steinar H. Gunderson [Sun, 16 Nov 2008 13:34:51 +0000 (14:34 +0100)]
Update the FAQ.

13 years agoActually add the SQL upgrade.
Steinar H. Gunderson [Mon, 4 Aug 2008 21:37:11 +0000 (23:37 +0200)]
Actually add the SQL upgrade.

13 years agoFixed a leftover in the last_updated column move.
Steinar H. Gunderson [Mon, 4 Aug 2008 21:34:16 +0000 (23:34 +0200)]
Fixed a leftover in the last_updated column move.

13 years agoFix another deadlock-when-many-people-upload bug, like the one we fixed in r14
Steinar H. Gunderson [Sun, 3 Aug 2008 23:24:51 +0000 (01:24 +0200)]
Fix another deadlock-when-many-people-upload bug, like the one we fixed in r14
(see that revision for full explanation).

13 years agoMinor JavaScript refactoring.
Steinar H. Gunderson [Fri, 25 Jul 2008 11:28:46 +0000 (13:28 +0200)]
Minor JavaScript refactoring.

13 years agoMore window.location.hash usage/fixups.
Steinar H. Gunderson [Fri, 25 Jul 2008 11:25:50 +0000 (13:25 +0200)]
More window.location.hash usage/fixups.

13 years agoVarious ugliness to track hash changes from pastes etc. better.
Steinar H. Gunderson [Fri, 25 Jul 2008 11:15:09 +0000 (13:15 +0200)]
Various ugliness to track hash changes from pastes etc. better.

13 years agoHave slightly less irksome anchor parsing in the JavaScript.
Steinar H. Gunderson [Fri, 25 Jul 2008 10:58:13 +0000 (12:58 +0200)]
Have slightly less irksome anchor parsing in the JavaScript.

13 years agoUpdated FAQ: Hardware changes, why not Flickr, and size updates as always.
Steinar H. Gunderson [Mon, 21 Jul 2008 12:15:16 +0000 (14:15 +0200)]
Updated FAQ: Hardware changes, why not Flickr, and size updates as always.

13 years agoAdded qscale to the modules list.
Steinar H. Gunderson [Mon, 21 Jul 2008 12:12:37 +0000 (14:12 +0200)]
Added qscale to the modules list.

13 years agoHandle decimal exposure times -- for instance, it seems like the D70 sometimes
Steinar H. Gunderson [Mon, 14 Jul 2008 17:54:56 +0000 (19:54 +0200)]
Handle decimal exposure times -- for instance, it seems like the D70 sometimes
specifies "0.4" seconds.

13 years agoFix a few can_use_qscale-issues.
Steinar H. Gunderson [Mon, 14 Jul 2008 13:37:33 +0000 (15:37 +0200)]
Fix a few can_use_qscale-issues.

13 years agoBump version number to 2.70.
Steinar H. Gunderson [Sat, 12 Jul 2008 22:31:38 +0000 (00:31 +0200)]
Bump version number to 2.70.

13 years agoSupport Mitchell filtering via qscale.
Steinar H. Gunderson [Sat, 12 Jul 2008 22:30:48 +0000 (00:30 +0200)]
Support Mitchell filtering via qscale.

13 years agoAdd support for scaling using qscale instead of ImageMagick in the situations
Steinar H. Gunderson [Sat, 12 Jul 2008 21:50:07 +0000 (23:50 +0200)]
Add support for scaling using qscale instead of ImageMagick in the situations
where all we need is scaling (ie. nobox and mipmap scaling).

13 years agoRemove a log line.
Steinar H. Gunderson [Thu, 3 Jul 2008 19:49:25 +0000 (21:49 +0200)]
Remove a log line.

13 years agoFix NEF handling; it was broken by mipmap generation at some point.
Steinar H. Gunderson [Thu, 3 Jul 2008 19:44:09 +0000 (21:44 +0200)]
Fix NEF handling; it was broken by mipmap generation at some point.

13 years agoFix the cache generation at WebDAV time.
Steinar H. Gunderson [Thu, 3 Jul 2008 19:43:44 +0000 (21:43 +0200)]
Fix the cache generation at WebDAV time.

13 years agoAdd a hack to ensure mipmapping on new uploads is re-enabled.
Steinar H. Gunderson [Wed, 11 Jun 2008 14:55:08 +0000 (16:55 +0200)]
Add a hack to ensure mipmapping on new uploads is re-enabled.

13 years agoFix another bug relating to the "-1x-1" (ie. original size, but still with
Steinar H. Gunderson [Mon, 9 Jun 2008 02:11:11 +0000 (04:11 +0200)]
Fix another bug relating to the "-1x-1" (ie. original size, but still with
pr0n processing) size.

14 years agoAdd two extra notches of resolution, for the Googlers with huge screens.
Steinar H. Gunderson [Thu, 29 May 2008 01:31:15 +0000 (03:31 +0200)]
Add two extra notches of resolution, for the Googlers with huge screens.

14 years agoBump version to v2.65.
Steinar H. Gunderson [Mon, 26 May 2008 22:06:25 +0000 (00:06 +0200)]
Bump version to v2.65.

14 years agoYet more hacks to get the PNG file size down. This time, drop the alpha
Steinar H. Gunderson [Mon, 26 May 2008 21:14:51 +0000 (23:14 +0200)]
Yet more hacks to get the PNG file size down. This time, drop the alpha
channel forcibly.

14 years agoMore weird hacks to get the PNG file size down. GIMP still gets it 25% better
Steinar H. Gunderson [Mon, 26 May 2008 21:05:22 +0000 (23:05 +0200)]
More weird hacks to get the PNG file size down. GIMP still gets it 25% better
since I can actually make it output something indexed, but this will do for now.

14 years agoMake the box PNGs a bit smaller. They're still smaller than what we get out
Steinar H. Gunderson [Mon, 26 May 2008 20:33:39 +0000 (22:33 +0200)]
Make the box PNGs a bit smaller. They're still smaller than what we get out
of pngcrush, and they have a silly comment at the end (tEXt chunks) that
I can't find out where comes from, but it's at least better.

14 years agoMake the IE hack only kick in for IE older than IE7. This makes the new box
Steinar H. Gunderson [Mon, 26 May 2008 20:13:16 +0000 (22:13 +0200)]
Make the IE hack only kick in for IE older than IE7. This makes the new box
stuff work fine for IE7, but probably still not for IE6 and older. Oh well...

14 years agoAssorted infobox bugfixing.
Steinar H. Gunderson [Mon, 26 May 2008 19:59:53 +0000 (21:59 +0200)]
Assorted infobox bugfixing.

14 years agoMake the fullscreen view use the new box-only cache.
Steinar H. Gunderson [Mon, 26 May 2008 19:40:24 +0000 (21:40 +0200)]
Make the fullscreen view use the new box-only cache.

14 years agoSupport a new form of image: box/, which is exactly the opposite of nobox/
Steinar H. Gunderson [Mon, 26 May 2008 18:59:39 +0000 (20:59 +0200)]
Support a new form of image: box/, which is exactly the opposite of nobox/
(ie. the infobox only, no image), as a PNG file. Will be used by the fullscreen
part soonish.

14 years agoAdd 1152x864 as a resolution; I browse enough fullscreen pictures on my
Steinar H. Gunderson [Sat, 10 May 2008 19:56:42 +0000 (21:56 +0200)]
Add 1152x864 as a resolution; I browse enough fullscreen pictures on my
1280x800 screen (where 3:2 images fit pretty well) that it's worth it
over 1024x768.

14 years agoParse the focal length information from the D300 correctly.
Steinar H. Gunderson [Thu, 17 Apr 2008 09:34:49 +0000 (11:34 +0200)]
Parse the focal length information from the D300 correctly.

14 years agoFix a bug with scaling from non-mipmaps.
Steinar H. Gunderson [Fri, 21 Mar 2008 22:59:10 +0000 (23:59 +0100)]
Fix a bug with scaling from non-mipmaps.

14 years agoUpdate FAQ and bump version number.
Steinar H. Gunderson [Fri, 21 Mar 2008 18:31:55 +0000 (19:31 +0100)]
Update FAQ and bump version number.

14 years agoUpdate FAQ.
Steinar H. Gunderson [Fri, 21 Mar 2008 18:30:20 +0000 (19:30 +0100)]
Update FAQ.

14 years agoAdd mip-map support. Slower uploading, more space used, faster on-demand scaling.
Steinar H. Gunderson [Fri, 21 Mar 2008 18:28:51 +0000 (19:28 +0100)]
Add mip-map support. Slower uploading, more space used, faster on-demand scaling.
Hopefully no new memory leaks...

Should really add qscale support at some point.

14 years agoDon't use YCbCr if we need to draw an info box; ImageMagick is too broken
Steinar H. Gunderson [Mon, 28 Jan 2008 02:54:52 +0000 (03:54 +0100)]
Don't use YCbCr if we need to draw an info box; ImageMagick is too broken
for that (stuff drawn with "white" in YCbCr gets pink, and even working around
that, Freetype antialiasing in YCbCr is broken).

14 years agoKeep JPEGs in the YCbCr colorspace instead of going between YCbCr and RGB
Steinar H. Gunderson [Fri, 25 Jan 2008 18:47:23 +0000 (19:47 +0100)]
Keep JPEGs in the YCbCr colorspace instead of going between YCbCr and RGB
just to scale it. Seems to improve overall performance about 10% for
400x600 (800x600 portrait :-) ) images, from 1.1 to 1.0 seconds.

14 years agoExtract the number only from the ISO value.
Steinar H. Gunderson [Sat, 19 Jan 2008 22:25:33 +0000 (23:25 +0100)]
Extract the number only from the ISO value.

14 years agoMake ISO prioritized over ISOSetting (D70 fix).
Steinar H. Gunderson [Sat, 19 Jan 2008 22:19:13 +0000 (23:19 +0100)]
Make ISO prioritized over ISOSetting (D70 fix).

14 years agoUpdate the FAQ.
Steinar H. Gunderson [Sun, 30 Dec 2007 12:28:58 +0000 (13:28 +0100)]
Update the FAQ.

14 years agoFixed warning.
Steinar H. Gunderson [Sun, 30 Dec 2007 10:37:01 +0000 (11:37 +0100)]
Fixed warning.

14 years agoBump version to 2.53.
Steinar H. Gunderson [Wed, 28 Nov 2007 22:48:55 +0000 (23:48 +0100)]
Bump version to 2.53.

14 years agoReplace the link-background hack by a much neater one, inspired by
Steinar H. Gunderson [Wed, 28 Nov 2007 22:47:33 +0000 (23:47 +0100)]
Replace the link-background hack by a much neater one, inspired by
PicasaWeb's handling of the issue. No non-pr0n source code was harmed
(ie. read) during the production of this feature. :-)

14 years agoDo proper NULLS LAST handling, now that we have 8.3.
Steinar H. Gunderson [Thu, 15 Nov 2007 21:42:55 +0000 (22:42 +0100)]
Do proper NULLS LAST handling, now that we have 8.3.

14 years agoSupport EOS 350D EXIF ISO fields.
Steinar H. Gunderson [Fri, 12 Oct 2007 23:32:12 +0000 (01:32 +0200)]
Support EOS 350D EXIF ISO fields.

14 years agoFix a spelling mistake.
Steinar H. Gunderson [Sat, 29 Sep 2007 15:08:34 +0000 (17:08 +0200)]
Fix a spelling mistake.

14 years agoFix some issues with the WebDAV server and post-10.4 OS X.
Steinar H. Gunderson [Sat, 22 Sep 2007 15:22:28 +0000 (17:22 +0200)]
Fix some issues with the WebDAV server and post-10.4 OS X.

14 years agoBump to v2.52.
Steinar H. Gunderson [Sun, 2 Sep 2007 21:08:13 +0000 (23:08 +0200)]
Bump to v2.52.

14 years agoThrough a fun set of hacks for the whole family (it's amazing that this should
Steinar H. Gunderson [Sun, 2 Sep 2007 19:01:32 +0000 (21:01 +0200)]
Through a fun set of hacks for the whole family (it's amazing that this should
be so hard), make the fullscreen background become a clickable link, for easy
bookmarking, URL copying, etc. etc. etc..

14 years agoUpdate the IE fullscreen CSS hacks for IE7.
Steinar H. Gunderson [Sun, 2 Sep 2007 17:12:40 +0000 (19:12 +0200)]
Update the IE fullscreen CSS hacks for IE7.

14 years agoHandle files ending in .NEF, not just .nef.
Steinar H. Gunderson [Sun, 2 Sep 2007 15:36:29 +0000 (17:36 +0200)]
Handle files ending in .NEF, not just .nef.

14 years agoRework the infobox code. (Not 100% satisfied with the vertical placement,
Steinar H. Gunderson [Sun, 2 Sep 2007 13:44:12 +0000 (15:44 +0200)]
Rework the infobox code. (Not 100% satisfied with the vertical placement,
perhaps, but should work OK.) The biggest user-visible change is that shutter
time or f-number is bolded if the picture was taken using the respective
priority program mode.

14 years agoPush v2.51 -- too many bugfixes to let the version number stay.
Steinar H. Gunderson [Mon, 27 Aug 2007 07:49:00 +0000 (09:49 +0200)]
Push v2.51 -- too many bugfixes to let the version number stay.

14 years agoFix a bug where the fullscreen code would ask for "1600x1087" etc. due to
Steinar H. Gunderson [Mon, 27 Aug 2007 07:46:34 +0000 (09:46 +0200)]
Fix a bug where the fullscreen code would ask for "1600x1087" etc. due to
the cropping code modifying fixed_sizes when it shouldn't.

14 years agoIn fullscreen mode, crop the image div to the screen. This makes sure the
Steinar H. Gunderson [Sat, 25 Aug 2007 01:02:17 +0000 (03:02 +0200)]
In fullscreen mode, crop the image div to the screen. This makes sure the
new "oversized"-image code doesn't make a div that is too high and allows
the user to scroll by accident.

14 years agoYet more issues with the -1 width/height transformation -- this time, fix
Steinar H. Gunderson [Sat, 25 Aug 2007 00:34:49 +0000 (02:34 +0200)]
Yet more issues with the -1 width/height transformation -- this time, fix
so WebDAV uploads get cached at upload time again.

14 years agoWe want the human-readable values for the EXIF stuff, not the machine-readable
Steinar H. Gunderson [Wed, 22 Aug 2007 06:24:48 +0000 (08:24 +0200)]
We want the human-readable values for the EXIF stuff, not the machine-readable
ones.

14 years agoFix a double-correction that would mess up images where width=NULL/height=NULL.
Steinar H. Gunderson [Wed, 22 Aug 2007 06:06:49 +0000 (08:06 +0200)]
Fix a double-correction that would mess up images where width=NULL/height=NULL.

14 years agoBump the version number to 2.50, and update the FAQ.
Steinar H. Gunderson [Tue, 21 Aug 2007 05:25:33 +0000 (07:25 +0200)]
Bump the version number to 2.50, and update the FAQ.

14 years agoAdd a no less true, but slightly more encouraging comment.
Steinar H. Gunderson [Tue, 21 Aug 2007 05:23:44 +0000 (07:23 +0200)]
Add a no less true, but slightly more encouraging comment.

14 years agoAdd a sad but true warning.
Steinar H. Gunderson [Tue, 21 Aug 2007 05:22:43 +0000 (07:22 +0200)]
Add a sad but true warning.

14 years agoMake upgrade SQL for the empty-is-NULL change as well.
Steinar H. Gunderson [Tue, 21 Aug 2007 05:22:26 +0000 (07:22 +0200)]
Make upgrade SQL for the empty-is-NULL change as well.

14 years agoTreat empty lens/model as NULL. Doesn't actually appear to happen much in
Steinar H. Gunderson [Tue, 21 Aug 2007 05:18:29 +0000 (07:18 +0200)]
Treat empty lens/model as NULL. Doesn't actually appear to happen much in
practice.

14 years agoDon't forget deleted_images, again. Grmf.
Steinar H. Gunderson [Tue, 21 Aug 2007 05:16:56 +0000 (07:16 +0200)]
Don't forget deleted_images, again. Grmf.

14 years agoQuery against the new model/lens fields instead of the exif_info table.
Steinar H. Gunderson [Tue, 21 Aug 2007 05:15:46 +0000 (07:15 +0200)]
Query against the new model/lens fields instead of the exif_info table.
Significantly less complex queries.

14 years agoAdd model/lens fields to the images table, and make upgrade code to populate
Steinar H. Gunderson [Tue, 21 Aug 2007 05:12:06 +0000 (07:12 +0200)]
Add model/lens fields to the images table, and make upgrade code to populate
the fields. Also make update_image_info() populate them on new uploads etc.

The idea is to get rid of all SELECTs against exif_info, as EAV is quite evil
and is not needed in this case.

14 years agoRemember to do the width/height -1 => NULL change in the actual original schema
Steinar H. Gunderson [Tue, 21 Aug 2007 04:49:25 +0000 (06:49 +0200)]
Remember to do the width/height -1 => NULL change in the actual original schema
as well. Also remember to do deleted_images, not just images.

14 years agoRemove some really long-standing silliness: If we have no idea about width
Steinar H. Gunderson [Tue, 21 Aug 2007 04:28:51 +0000 (06:28 +0200)]
Remove some really long-standing silliness: If we have no idea about width
or height, we used to have -1 as a default, and have the field NOT NULL.
SQL has a perfectly good value for "unknown data" -- it's called NULL. Make
upgrade SQL, and clean up the few code places that was used to the field being
-1.