pr0n
14 months agoModernize the Bcrypt demands. master
Steinar H. Gunderson [Fri, 6 Jul 2018 12:22:56 +0000 (14:22 +0200)]
Modernize the Bcrypt demands.

14 months agoFAQ update.
Steinar H. Gunderson [Fri, 6 Jul 2018 12:22:44 +0000 (14:22 +0200)]
FAQ update.

16 months agoFix keyboard navigation for Firefox.
Steinar H. Gunderson [Sun, 22 Apr 2018 18:34:02 +0000 (20:34 +0200)]
Fix keyboard navigation for Firefox.

3 years agoAdd more resolutions; it's the 4K era.
Steinar H. Gunderson [Wed, 29 Jun 2016 17:06:18 +0000 (19:06 +0200)]
Add more resolutions; it's the 4K era.

3 years agoPassword-protect the upload form, so that the browser does not need to send the first...
Steinar H. Gunderson [Mon, 6 Jun 2016 11:33:44 +0000 (13:33 +0200)]
Password-protect the upload form, so that the browser does not need to send the first image twice (first for 401, then for the actual upload).

3 years agoAdd a (hidden) feature for filtering authors down to a set, not just one.
Steinar H. Gunderson [Tue, 22 Mar 2016 17:32:05 +0000 (18:32 +0100)]
Add a (hidden) feature for filtering authors down to a set, not just one.

3 years agoFlip the order of the fields in the exif_info primary key again; we need to delete...
Steinar H. Gunderson [Fri, 5 Feb 2016 11:00:34 +0000 (12:00 +0100)]
Flip the order of the fields in the exif_info primary key again; we need to delete based on image sometimes. Sadly reduces the usefulness of the clustering.

3 years agoRemove a redundant and quite big index on exif_info.
Steinar H. Gunderson [Fri, 8 Jan 2016 01:06:01 +0000 (02:06 +0100)]
Remove a redundant and quite big index on exif_info.

3 years agoAdd a concept where an image can be a rendering of another, which means it is not...
Steinar H. Gunderson [Wed, 6 Jan 2016 23:27:52 +0000 (00:27 +0100)]
Add a concept where an image can be a rendering of another, which means it is not shown by itself, but is used for all JPEG conversions of the other one. The intended use-case is a NEF+JPEG pair, where the NEF has the JPEG as a render. Note that there is nothing in place to actually populate this data yet.

3 years agoFix text fading.
Steinar H. Gunderson [Sun, 3 Jan 2016 13:41:18 +0000 (14:41 +0100)]
Fix text fading.

3 years agoAdd a field for hiding an event from the main listing.
Steinar H. Gunderson [Sun, 3 Jan 2016 10:52:18 +0000 (11:52 +0100)]
Add a field for hiding an event from the main listing.

3 years agoPipe PUTs through Varnish by default.
Steinar H. Gunderson [Sun, 13 Dec 2015 00:27:42 +0000 (01:27 +0100)]
Pipe PUTs through Varnish by default.

3 years agoSupport multiple parallel uploads in the HTML5 interface.
Steinar H. Gunderson [Sun, 13 Dec 2015 00:26:48 +0000 (01:26 +0100)]
Support multiple parallel uploads in the HTML5 interface.

3 years agoSome template fixups for SSL on itk-bilder.samfundet.no.
Steinar H. Gunderson [Sun, 13 Dec 2015 00:25:55 +0000 (01:25 +0100)]
Some template fixups for SSL on itk-bilder.samfundet.no.

3 years agoBump version number to 3.10.
Steinar H. Gunderson [Mon, 30 Nov 2015 21:40:13 +0000 (22:40 +0100)]
Bump version number to 3.10.

3 years agoRemove now unused fake/shadow file tables.
Steinar H. Gunderson [Mon, 30 Nov 2015 21:40:56 +0000 (22:40 +0100)]
Remove now unused fake/shadow file tables.

3 years agoVarnish, not Squid.
Steinar H. Gunderson [Mon, 30 Nov 2015 21:39:54 +0000 (22:39 +0100)]
Varnish, not Squid.

3 years agoUpdate the FAQ for death of WebDAV.
Steinar H. Gunderson [Mon, 30 Nov 2015 21:39:29 +0000 (22:39 +0100)]
Update the FAQ for death of WebDAV.

3 years agoKill WebDAV entirely; now only the PUT and OPTIONS are left.
Steinar H. Gunderson [Mon, 30 Nov 2015 21:38:30 +0000 (22:38 +0100)]
Kill WebDAV entirely; now only the PUT and OPTIONS are left.

3 years agoDecouple pr0n-upload.pl from WebDAV.
Steinar H. Gunderson [Mon, 30 Nov 2015 21:27:09 +0000 (22:27 +0100)]
Decouple pr0n-upload.pl from WebDAV.

3 years agoUnbreak rotation.
Steinar H. Gunderson [Mon, 30 Nov 2015 21:23:41 +0000 (22:23 +0100)]
Unbreak rotation.

3 years agoAdd a very simple HTML5 uploader.
Steinar H. Gunderson [Mon, 30 Nov 2015 20:52:52 +0000 (21:52 +0100)]
Add a very simple HTML5 uploader.

3 years agoRemove an unused parameter.
Steinar H. Gunderson [Sat, 28 Nov 2015 15:51:48 +0000 (16:51 +0100)]
Remove an unused parameter.

3 years agoMany more fixes from the infobox cleanup fallout.
Steinar H. Gunderson [Sat, 28 Nov 2015 15:51:11 +0000 (16:51 +0100)]
Many more fixes from the infobox cleanup fallout.

3 years agoRemove some unused templates.
Steinar H. Gunderson [Sat, 28 Nov 2015 15:42:26 +0000 (16:42 +0100)]
Remove some unused templates.

3 years agoBump version number to 3.02, with all the bugfixes.
Steinar H. Gunderson [Sat, 28 Nov 2015 15:40:50 +0000 (16:40 +0100)]
Bump version number to 3.02, with all the bugfixes.

3 years agoDo not generate 80x64 thumbnails anymore, as we are locked to 320x256.
Steinar H. Gunderson [Sat, 28 Nov 2015 15:38:51 +0000 (16:38 +0100)]
Do not generate 80x64 thumbnails anymore, as we are locked to 320x256.

3 years agoSplit infobox generation out into its own function.
Steinar H. Gunderson [Sat, 28 Nov 2015 15:37:54 +0000 (16:37 +0100)]
Split infobox generation out into its own function.

3 years agoUnbreak a weird special case.
Steinar H. Gunderson [Sat, 28 Nov 2015 13:46:58 +0000 (14:46 +0100)]
Unbreak a weird special case.

3 years agoUnbreak file uploading.
Steinar H. Gunderson [Sat, 28 Nov 2015 13:46:13 +0000 (14:46 +0100)]
Unbreak file uploading.

3 years agoDo not run the app server as root.
Steinar H. Gunderson [Sat, 28 Nov 2015 13:35:03 +0000 (14:35 +0100)]
Do not run the app server as root.

3 years agoMake the example VCL stub ignore the port number.
Steinar H. Gunderson [Sat, 28 Nov 2015 12:03:19 +0000 (13:03 +0100)]
Make the example VCL stub ignore the port number.

3 years agoIf we are showing a RAW image, show an extra download link.
Steinar H. Gunderson [Sat, 28 Nov 2015 10:29:24 +0000 (11:29 +0100)]
If we are showing a RAW image, show an extra download link.

3 years agoShow the right link to download the original.
Steinar H. Gunderson [Sat, 28 Nov 2015 10:25:51 +0000 (11:25 +0100)]
Show the right link to download the original.

3 years agoUnbreak immersive mode.
Steinar H. Gunderson [Sat, 28 Nov 2015 00:45:35 +0000 (01:45 +0100)]
Unbreak immersive mode.

3 years agoBetter scoping.
Steinar H. Gunderson [Fri, 27 Nov 2015 22:04:04 +0000 (23:04 +0100)]
Better scoping.

3 years agoMove all the fullscreen events to the JavaScript file.
Steinar H. Gunderson [Fri, 27 Nov 2015 21:03:07 +0000 (22:03 +0100)]
Move all the fullscreen events to the JavaScript file.

3 years agoFix an issue where static files would have no content-type or -length set.
Steinar H. Gunderson [Fri, 27 Nov 2015 16:49:44 +0000 (17:49 +0100)]
Fix an issue where static files would have no content-type or -length set.

3 years agoWhen closing fullscreen mode, go back to where we clicked from.
Steinar H. Gunderson [Thu, 26 Nov 2015 18:03:26 +0000 (19:03 +0100)]
When closing fullscreen mode, go back to where we clicked from.

3 years agoUse anchors instead of start= on fullscreen link; fixes the close button.
Steinar H. Gunderson [Tue, 24 Nov 2015 19:43:58 +0000 (20:43 +0100)]
Use anchors instead of start= on fullscreen link; fixes the close button.

3 years agoMake query strings deterministic.
Steinar H. Gunderson [Tue, 24 Nov 2015 19:41:35 +0000 (20:41 +0100)]
Make query strings deterministic.

3 years agoConvert some http links in templates to protocol-relative links.
Steinar H. Gunderson [Tue, 24 Nov 2015 00:00:48 +0000 (01:00 +0100)]
Convert some http links in templates to protocol-relative links.

3 years agoRemove unused wizard templates.
Steinar H. Gunderson [Mon, 23 Nov 2015 23:59:44 +0000 (00:59 +0100)]
Remove unused wizard templates.

3 years agoFix UTF-8 issues in reading templates.
Steinar H. Gunderson [Fri, 20 Nov 2015 14:30:54 +0000 (15:30 +0100)]
Fix UTF-8 issues in reading templates.

3 years agoBump version number to 3.01, and update the FAQ.
Steinar H. Gunderson [Fri, 20 Nov 2015 01:02:37 +0000 (02:02 +0100)]
Bump version number to 3.01, and update the FAQ.

3 years agoSome opacity tweaks for the immersive experience.
Steinar H. Gunderson [Fri, 20 Nov 2015 01:01:16 +0000 (02:01 +0100)]
Some opacity tweaks for the immersive experience.

3 years agoRemove support for the old unsalted SHA-1 passwords.
Steinar H. Gunderson [Fri, 20 Nov 2015 00:47:21 +0000 (01:47 +0100)]
Remove support for the old unsalted SHA-1 passwords.

3 years agoFix some UTF-8 issues in template output.
Steinar H. Gunderson [Fri, 20 Nov 2015 00:43:24 +0000 (01:43 +0100)]
Fix some UTF-8 issues in template output.

3 years agoRelease pr0n v3.00.
Steinar H. Gunderson [Thu, 19 Nov 2015 20:20:50 +0000 (21:20 +0100)]
Release pr0n v3.00.

3 years agoMake images go to fullscreen mode if the browser has JavaScript.
Steinar H. Gunderson [Thu, 19 Nov 2015 20:19:58 +0000 (21:19 +0100)]
Make images go to fullscreen mode if the browser has JavaScript.

3 years agoAdd an overflow/options/hamburger menu to download the original file, and also turn...
Steinar H. Gunderson [Thu, 19 Nov 2015 19:52:14 +0000 (20:52 +0100)]
Add an overflow/options/hamburger menu to download the original file, and also turn off all decorations, including the infobox.

3 years agoRemove more obsolete browser hacks.
Steinar H. Gunderson [Thu, 19 Nov 2015 18:58:04 +0000 (19:58 +0100)]
Remove more obsolete browser hacks.

3 years agoRemove hacks for pre-IE7.
Steinar H. Gunderson [Thu, 19 Nov 2015 18:53:51 +0000 (19:53 +0100)]
Remove hacks for pre-IE7.

3 years agoRemove the unused icon.
Steinar H. Gunderson [Thu, 19 Nov 2015 18:48:51 +0000 (19:48 +0100)]
Remove the unused icon.

3 years agoThere is no blah.png.
Steinar H. Gunderson [Thu, 19 Nov 2015 18:48:08 +0000 (19:48 +0100)]
There is no blah.png.

3 years agoRemove obsolete wizard files.
Steinar H. Gunderson [Thu, 19 Nov 2015 18:47:25 +0000 (19:47 +0100)]
Remove obsolete wizard files.

3 years agoAlways show dates in GMT; it is the law.
Steinar H. Gunderson [Thu, 19 Nov 2015 18:42:31 +0000 (19:42 +0100)]
Always show dates in GMT; it is the law.

3 years agoHide the viewing resolution choice.
Steinar H. Gunderson [Thu, 19 Nov 2015 18:38:34 +0000 (19:38 +0100)]
Hide the viewing resolution choice.

3 years agoRemove burned-in infoboxes. Turn infobox always on in fullscreen mode (for now).
Steinar H. Gunderson [Thu, 19 Nov 2015 18:30:29 +0000 (19:30 +0100)]
Remove burned-in infoboxes. Turn infobox always on in fullscreen mode (for now).

3 years agoFix the pr0n.pm regex for image URLs with no /WxH/ or /original.
Steinar H. Gunderson [Thu, 19 Nov 2015 18:29:01 +0000 (19:29 +0100)]
Fix the pr0n.pm regex for image URLs with no /WxH/ or /original.

3 years agoLock the number of pictures per page at 250.
Steinar H. Gunderson [Thu, 19 Nov 2015 18:08:26 +0000 (19:08 +0100)]
Lock the number of pictures per page at 250.

3 years agoRemove the thumbsize selector; 320x256 is where it is at.
Steinar H. Gunderson [Thu, 19 Nov 2015 18:01:13 +0000 (19:01 +0100)]
Remove the thumbsize selector; 320x256 is where it is at.

3 years agoRemove the tag support; nobody is using it anymore.
Steinar H. Gunderson [Thu, 19 Nov 2015 17:29:50 +0000 (18:29 +0100)]
Remove the tag support; nobody is using it anymore.

3 years agoMove from mod_perl to being a PSGI app.
Steinar H. Gunderson [Thu, 19 Nov 2015 00:16:54 +0000 (01:16 +0100)]
Move from mod_perl to being a PSGI app.

You can still run under mod_perl if you want to, but the default configuration
is now PSGI via Starlet.

Unfortunately the nice meets_requirement() checks are no longer there,
but Varnish in front should handle that for us.

3 years agoRemove the now unused global_vhost variable.
Steinar H. Gunderson [Wed, 18 Nov 2015 23:27:01 +0000 (00:27 +0100)]
Remove the now unused global_vhost variable.

3 years agoFix JavaScript issues with TLS and/or non-default ports.
Steinar H. Gunderson [Wed, 18 Nov 2015 23:24:29 +0000 (00:24 +0100)]
Fix JavaScript issues with TLS and/or non-default ports.

3 years agoRemove some unused WebDAV upload code.
Steinar H. Gunderson [Wed, 18 Nov 2015 22:12:09 +0000 (23:12 +0100)]
Remove some unused WebDAV upload code.

3 years agoRemove everything related to digest authentication; it was disabled anyway, and thoro...
Steinar H. Gunderson [Wed, 18 Nov 2015 21:21:57 +0000 (22:21 +0100)]
Remove everything related to digest authentication; it was disabled anyway, and thoroughly obsolete with SSL.

3 years agoStop mobile browsers from messing with the fullscreen page.
Steinar H. Gunderson [Tue, 20 Oct 2015 20:07:01 +0000 (22:07 +0200)]
Stop mobile browsers from messing with the fullscreen page.

3 years agoHandle non-integral device pixel ratios.
Steinar H. Gunderson [Tue, 20 Oct 2015 19:49:11 +0000 (21:49 +0200)]
Handle non-integral device pixel ratios.

3 years agoMuch better high-dpi support; makes images and text much clearer on such displays.
Steinar H. Gunderson [Tue, 20 Oct 2015 19:39:47 +0000 (21:39 +0200)]
Much better high-dpi support; makes images and text much clearer on such displays.

4 years agoUpdate the FAQ.
Steinar H. Gunderson [Fri, 7 Aug 2015 09:35:46 +0000 (11:35 +0200)]
Update the FAQ.

4 years agoBump version number to 2.81.
Steinar H. Gunderson [Tue, 28 Jul 2015 10:35:37 +0000 (12:35 +0200)]
Bump version number to 2.81.

4 years agoUpdate default number of uploader threads (new pannekake).
Steinar H. Gunderson [Tue, 28 Jul 2015 10:35:26 +0000 (12:35 +0200)]
Update default number of uploader threads (new pannekake).

4 years agoSave passwords as bcrypt instead of plain SHA-1 hashes (includes migration of old...
Steinar H. Gunderson [Mon, 27 Jul 2015 15:23:06 +0000 (17:23 +0200)]
Save passwords as bcrypt instead of plain SHA-1 hashes (includes migration of old passwords).

4 years agoUpdated FAQ with new version number and s/bzr/git/
Torstein Husebø [Sat, 9 May 2015 12:41:48 +0000 (14:41 +0200)]
Updated FAQ with new version number and s/bzr/git/

4 years agoRemove all Encode::decode_utf8 calls, as seemingly scalars from PostgreSQL comes...
Steinar H. Gunderson [Sun, 26 Apr 2015 05:34:24 +0000 (07:34 +0200)]
Remove all Encode::decode_utf8 calls, as seemingly scalars from PostgreSQL comes already as UTF-8 in jessie.

4 years agoAdd a new 2304x1728 resolution (twice 1152x864), for fitting better into 30-inch...
Steinar H. Gunderson [Tue, 7 Apr 2015 15:52:31 +0000 (17:52 +0200)]
Add a new 2304x1728 resolution (twice 1152x864), for fitting better into 30-inch 16:9 screens.

5 years agoA small fix to make some loads of /box/ redundant.
Steinar H. Gunderson [Mon, 14 Jul 2014 11:06:10 +0000 (13:06 +0200)]
A small fix to make some loads of /box/ redundant.

5 years agoRemove the now-obsolete upload wizard (it was never much used).
Steinar H. Gunderson [Mon, 5 May 2014 01:07:33 +0000 (03:07 +0200)]
Remove the now-obsolete upload wizard (it was never much used).

5 years agoBump version number to 2.80.
Steinar H. Gunderson [Sun, 4 May 2014 23:11:01 +0000 (01:11 +0200)]
Bump version number to 2.80.

5 years agoIn fullscreen mode, avoid an extra HTTP round-trip to re-validate the preloaded image.
Steinar H. Gunderson [Sat, 3 May 2014 19:52:05 +0000 (21:52 +0200)]
In fullscreen mode, avoid an extra HTTP round-trip to re-validate the preloaded image.

6 years agoFix a GRANT statement.
Steinar H. Gunderson [Sat, 11 May 2013 09:47:11 +0000 (11:47 +0200)]
Fix a GRANT statement.

6 years agoOverride id sequence name, since later Postgres versions have changed the naming.
Steinar H. Gunderson [Sun, 5 May 2013 11:21:52 +0000 (13:21 +0200)]
Override id sequence name, since later Postgres versions have changed the naming.

6 years agoFix Digest::SHA1 use; it is under Digest::SHA in modern Perl.
Steinar H. Gunderson [Sun, 5 May 2013 11:11:11 +0000 (13:11 +0200)]
Fix Digest::SHA1 use; it is under Digest::SHA in modern Perl.

6 years agoMove .bzrignore to .gitignore.
Steinar H. Gunderson [Sun, 5 May 2013 11:05:57 +0000 (13:05 +0200)]
Move .bzrignore to .gitignore.

6 years agoTry XMP-dc:Subject if Keywords does not work. Patch from xim.
sgunderson@bigfoot.com [Fri, 9 Nov 2012 21:48:10 +0000 (22:48 +0100)]
Try XMP-dc:Subject if Keywords does not work. Patch from xim.

6 years agoFix some Perl deprecation warnings. Patches from xim.
sgunderson@bigfoot.com [Fri, 9 Nov 2012 21:32:35 +0000 (22:32 +0100)]
Fix some Perl deprecation warnings. Patches from xim.

8 years agoMake pr0n-upload.pl output a list of failed files at the end, so it's easier to do...
Steinar H. Gunderson [Sun, 3 Apr 2011 07:46:49 +0000 (09:46 +0200)]
Make pr0n-upload.pl output a list of failed files at the end, so it's easier to do retries etc.

8 years agoFix a typo in a query against shadow_files.
Steinar H. Gunderson [Sun, 12 Dec 2010 23:03:24 +0000 (00:03 +0100)]
Fix a typo in a query against shadow_files.

8 years agoMake the unlimited setting be selectable also when there are no NEFs. Patch adapted...
Steinar H. Gunderson [Mon, 25 Oct 2010 22:31:04 +0000 (00:31 +0200)]
Make the unlimited setting be selectable also when there are no NEFs. Patch adapted from xim.

8 years agoRemove some debugging stuff.
Steinar H. Gunderson [Sat, 9 Oct 2010 11:05:38 +0000 (13:05 +0200)]
Remove some debugging stuff.

8 years agoIndent fix.
Steinar H. Gunderson [Sat, 9 Oct 2010 11:05:26 +0000 (13:05 +0200)]
Indent fix.

8 years agoAuto-create images/NN and cache/NN directories on demand.
Steinar H. Gunderson [Sat, 9 Oct 2010 11:05:10 +0000 (13:05 +0200)]
Auto-create images/NN and cache/NN directories on demand.

9 years ago(Finally!) check for existing images and refuse their upload with a 403 instead of...
Steinar H. Gunderson [Sun, 12 Sep 2010 09:52:23 +0000 (11:52 +0200)]
(Finally!) check for existing images and refuse their upload with a 403 instead of failing with an internal server error due to a database constraing conflict.

9 years agoDo some changes to the uploader script that seemingly newer versions of the Perl...
Steinar H. Gunderson [Sun, 12 Sep 2010 09:46:16 +0000 (11:46 +0200)]
Do some changes to the uploader script that seemingly newer versions of the Perl modules need.

9 years agoAdd a simple multithreaded uploader.
Steinar H. Gunderson [Sun, 22 Aug 2010 12:07:25 +0000 (14:07 +0200)]
Add a simple multithreaded uploader.

9 years agoBump to v2.72.
Steinar H. Gunderson [Sun, 22 Aug 2010 11:23:52 +0000 (13:23 +0200)]
Bump to v2.72.

9 years agoRanges in English should be with en dash; update templates correspondingly.
Steinar H. Gunderson [Sun, 22 Aug 2010 11:23:37 +0000 (13:23 +0200)]
Ranges in English should be with en dash; update templates correspondingly.

9 years agoUpdate copyright year to 2010.
Steinar H. Gunderson [Sun, 22 Aug 2010 11:22:58 +0000 (13:22 +0200)]
Update copyright year to 2010.