bpgallery.git
9 years ago* Check image exists in size matching code master
Brett Parker [Tue, 25 May 2010 08:41:43 +0000 (09:41 +0100)]
* Check image exists in size matching code

11 years ago* Update licence to have correct address
Brett Parker [Tue, 1 Jan 2008 20:09:34 +0000 (20:09 +0000)]
* Update licence to have correct address
* Update Copyright years to the correct range

11 years ago* Up version number ready for release release-1.1.3
Brett Parker [Tue, 1 Jan 2008 18:17:37 +0000 (18:17 +0000)]
* Up version number ready for release

11 years ago* Update documentation
Brett Parker [Tue, 1 Jan 2008 18:17:00 +0000 (18:17 +0000)]
* Update documentation

11 years ago* Use the bounding box properly
Brett Parker [Tue, 1 Jan 2008 18:10:21 +0000 (18:10 +0000)]
* Use the bounding box properly
* Shift large chunk of image size checks in to own function

11 years ago* Update README for release release-1.1.2
Brett Parker [Sat, 22 Dec 2007 19:20:13 +0000 (19:20 +0000)]
* Update README for release

11 years ago* Update version number ready for release
Brett Parker [Sat, 22 Dec 2007 19:15:51 +0000 (19:15 +0000)]
* Update version number ready for release

11 years ago* Update changelog
Brett Parker [Sat, 22 Dec 2007 19:14:28 +0000 (19:14 +0000)]
* Update changelog

11 years ago* Add support for bounding box based image resize
Brett Parker [Sat, 22 Dec 2007 19:13:12 +0000 (19:13 +0000)]
* Add support for bounding box based image resize
* Remove related item from TODO list

12 years agoCheck tools are available
Brett Parker [Tue, 15 May 2007 00:32:07 +0000 (00:32 +0000)]
Check tools are available

Check tools we use are available.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-12

12 years agoMake icons and medium image directories non-hardcoded
Brett Parker [Mon, 14 May 2007 22:09:15 +0000 (22:09 +0000)]
Make icons and medium image directories non-hardcoded

  * Icon directory can now be specified with ICONDIRECTORY
  * Medium directory can now be specified with MEDIUMDIRECTORY

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-11

12 years agoAdd ability to generate pages in a seperate directory
Brett Parker [Mon, 14 May 2007 17:11:11 +0000 (17:11 +0000)]
Add ability to generate pages in a seperate directory

If PAGESDIRECTORY is set, write all pages except the index in to that directory

To accomodate this, filename in the generate page is automatically set to the right path, for anything else (e.g. linked stylesheets, or the stylesheet generated by bpgallery, use ${BASEURL} infront of the filename and it'll automatically get ../ when required.)

Also adds a (not very good) changelog - will improve that later!

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-10

12 years agoUp version for release release-1.1.1
Brett Parker [Mon, 14 May 2007 00:29:30 +0000 (00:29 +0000)]
Up version for release

Up version number for release

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-9

12 years agoFix caption generation code
Brett Parker [Mon, 14 May 2007 00:28:15 +0000 (00:28 +0000)]
Fix caption generation code

* Fixes captions
* Removes silly logging

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-8

12 years agoUpdate version number for release release-1.1.0
Brett Parker [Sun, 13 May 2007 10:53:09 +0000 (10:53 +0000)]
Update version number for release

Update version number for release

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-7

12 years agoFix medium sized page generation
Brett Parker [Sun, 13 May 2007 10:28:17 +0000 (10:28 +0000)]
Fix medium sized page generation

Declare the function even if we're not generating fullsize pages.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-6

12 years agoFix index page generation code
Brett Parker [Sun, 13 May 2007 09:15:20 +0000 (09:15 +0000)]
Fix index page generation code

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-5

12 years agoUpdate TODO list
Brett Parker [Sat, 12 May 2007 14:20:31 +0000 (14:20 +0000)]
Update TODO list

Update TODO list and remove things that are already done.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-4

12 years agoExit on failure of being able to write medium sized images
Brett Parker [Sat, 12 May 2007 14:11:14 +0000 (14:11 +0000)]
Exit on failure of being able to write medium sized images

* Exit on failure of being able to write medium sized images
* Fix up README to contain the new variables for medium sized images

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-3

13 years agoFix xargs for a BSD environment
Brett Parker [Mon, 12 Jun 2006 19:09:07 +0000 (19:09 +0000)]
Fix xargs for a BSD environment

Change --replace to -I {} so that the xargs commands work in a BSD environment.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-2

13 years agoPreliminary addition of Medium Sized images and pages
Brett Parker [Mon, 22 May 2006 19:20:34 +0000 (19:20 +0000)]
Preliminary addition of Medium Sized images and pages

* First draft attempt at medium sized images and the pages to go with it.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.1--patch-1

13 years agoUp version for release
Brett Parker [Sat, 13 May 2006 16:50:38 +0000 (16:50 +0000)]
Up version for release

Up the version number for release

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-24

13 years agoFix potential security hole
Brett Parker [Sat, 13 May 2006 16:49:38 +0000 (16:49 +0000)]
Fix potential security hole

Make pages work for fullsized images.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-23

13 years agoUp version number ready for release release-1.0.3
Brett Parker [Sat, 13 May 2006 15:33:14 +0000 (15:33 +0000)]
Up version number ready for release

* Here we go in to the wild once more!

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-22

13 years agoAdd in themed pages for the fullsize images
Brett Parker [Sat, 13 May 2006 15:32:06 +0000 (15:32 +0000)]
Add in themed pages for the fullsize images

* Adds in option to generate pages for the fullsized images

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-21

13 years agoGeneral clean up
Brett Parker [Sat, 13 May 2006 10:25:16 +0000 (10:25 +0000)]
General clean up

* Fix bad typo in BPGALLERY_THEME_DIR that stopped the script working
* Check permissions on files that we already know about before even trying
  to run

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-20

13 years agoAdd in a setable path for themes
Brett Parker [Sat, 13 May 2006 09:57:35 +0000 (09:57 +0000)]
Add in a setable path for themes

Add in extra environmental variable to specify extra location to look for themes

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-19

13 years agoAdd in OUTPUTHTML Option
Brett Parker [Sat, 13 May 2006 09:41:25 +0000 (09:41 +0000)]
Add in OUTPUTHTML Option

Simplistic output of HTML from the script (just wraps it in a pre block)

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-18

13 years agoGeneral bug fixes
Brett Parker [Sat, 13 May 2006 08:37:55 +0000 (08:37 +0000)]
General bug fixes

* Make the README indented nicely and mention the BPGALLERY_THEME environmental variable
* Reindent the default stylesheet to be all tabs
* Add in more verbosity about what the script is doing

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-17

13 years agoReversion for arch development
Brett Parker [Mon, 17 Apr 2006 09:24:27 +0000 (09:24 +0000)]
Reversion for arch development

Add +arch to the version string

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-16

13 years agoUpdate VERSION to 1.0.2
Brett Parker [Mon, 17 Apr 2006 09:21:28 +0000 (09:21 +0000)]
Update VERSION to 1.0.2

Forgot to do this in initial tag, naughty.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-15

13 years agoAdd in per gallery config file release-1.0.2
Brett Parker [Sun, 16 Apr 2006 12:20:12 +0000 (12:20 +0000)]
Add in per gallery config file

Source the file .bpgallery.rc in the directory that we're pointed to for gallery specific options.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-14

13 years agoClean up thumbnail generation code
Brett Parker [Sun, 16 Apr 2006 12:05:50 +0000 (12:05 +0000)]
Clean up thumbnail generation code

Stop duplication of code and wrap thumbnail code in a nice function

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-13

13 years agofix icon resizing code
Brett Parker [Sun, 16 Apr 2006 10:06:12 +0000 (10:06 +0000)]
fix icon resizing code

Now understands that it needs to replace icons that are a different width to that specified on the command line in the case of updating a gallery.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-12

13 years agoBump version number for release release-1.0.1
Brett Parker [Sun, 22 Jan 2006 09:10:14 +0000 (09:10 +0000)]
Bump version number for release

Set version to 1.0.1 ready for release.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-11

13 years agoFixes XHTML Compliance
Brett Parker [Sun, 22 Jan 2006 09:00:03 +0000 (09:00 +0000)]
Fixes XHTML Compliance

Adds in a default Alt tag if it's missing

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-10

13 years agoEscape image src and href URLs
Brett Parker [Fri, 26 Aug 2005 12:29:16 +0000 (12:29 +0000)]
Escape image src and href URLs

 * Fix bug in the find options
 * URL escape filenames

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-9

13 years agoUpdate the documentation
Brett Parker [Tue, 16 Aug 2005 00:02:26 +0000 (00:02 +0000)]
Update the documentation

Add some entries to the TODO list, and, also, add documentation on the Theme support to the README file.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-8

13 years agoBump version to indicate arch development
Brett Parker [Tue, 16 Aug 2005 00:01:13 +0000 (00:01 +0000)]
Bump version to indicate arch development

Bump version to indicate arch development

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-7

14 years agoFixes override of environment by config files
Brett Parker [Mon, 25 Apr 2005 20:01:52 +0000 (20:01 +0000)]
Fixes override of environment by config files

Config files now have a lower priority than than the environment, so if BPGALLERY_THEME is set in the config, and you declare it on the command line, it does the right thing (previously it ignored the version on the command line). Also locked the functions for the default theme so that other theme files can not overload them.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-6

14 years agoUpdate version number, ready for release release-1.0.0
Brett Parker [Sun, 24 Apr 2005 12:05:46 +0000 (12:05 +0000)]
Update version number, ready for release

Bump version number ready for release.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-5

14 years agoUpdate TODO and README
Brett Parker [Sun, 24 Apr 2005 12:04:03 +0000 (12:04 +0000)]
Update TODO and README

Update the TODO and README to reflect the changes.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-4

14 years agoAdd in update method
Brett Parker [Sun, 24 Apr 2005 11:30:27 +0000 (11:30 +0000)]
Add in update method

Change the behaviour from quitting when we spot an icons directory to checking to see which images need updating.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-3

14 years agoHandle no captions.txt nicer
Brett Parker [Sat, 23 Apr 2005 08:33:51 +0000 (08:33 +0000)]
Handle no captions.txt nicer

If there's no captions.txt, then don't try to grep it for the caption.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-2

14 years agoFix the image height code
Brett Parker [Tue, 19 Apr 2005 22:01:24 +0000 (22:01 +0000)]
Fix the image height code

Make the max height of the icons actually be calculated.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-1

14 years agoBump revision number for 0.9.3 release release-0.9.3
Brett Parker [Tue, 19 Apr 2005 19:19:23 +0000 (19:19 +0000)]
Bump revision number for 0.9.3 release

0.9.3 release

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-10

14 years agoAdd rudimentary captions
Brett Parker [Tue, 19 Apr 2005 18:29:17 +0000 (18:29 +0000)]
Add rudimentary captions

Very simple caption addition code, using a file called "captions.txt" in the photos directory.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-9

14 years agoAdd rudimentary theme support
Brett Parker [Mon, 18 Apr 2005 22:43:39 +0000 (22:43 +0000)]
Add rudimentary theme support

Should now look for functions named bpgallery_${BPGALLERY_THEME}_{head,tail,thumbsline,stylesheet} and use them for generating the index.html and stylesheet files. If the functions don't exist it defaults to the theme called default, which is contained in the script.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-8

14 years agoStart theme support
Brett Parker [Mon, 18 Apr 2005 22:01:52 +0000 (22:01 +0000)]
Start theme support

Functions now used for printing parts of the index.html file and the stylesheet. These need to be extended to check for the presence of a BPGALLERY_THEME variable and automagically load the associated theme file from /etc/bpgallery.sh/themes/ or /usr/local/etc/bpgallery.sh/themes/ or ~/.bpgallery.themes/

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-7

14 years agoRemove extra todo data
Brett Parker [Mon, 18 Apr 2005 21:03:10 +0000 (21:03 +0000)]
Remove extra todo data

Removed the To Be Done section from the README file

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-6

14 years agoTODO list
Brett Parker [Mon, 18 Apr 2005 20:57:39 +0000 (20:57 +0000)]
TODO list

Add a TODO file listing current planned features.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-5

14 years agoAdd a very rough progress meter
Brett Parker [Wed, 26 Jan 2005 21:40:06 +0000 (21:40 +0000)]
Add a very rough progress meter

Adds a progress type meter while creating the icons, processes (up to) 4 icons
at a time using xargs.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-4

14 years agohead command
Brett Parker [Wed, 26 Jan 2005 19:11:19 +0000 (19:11 +0000)]
head command

* Make the head command also specifiable.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-3

14 years agoRemove all hard coded commands
Brett Parker [Wed, 26 Jan 2005 18:54:27 +0000 (18:54 +0000)]
Remove all hard coded commands

* All commands are now specifiable via the environment

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-2

14 years agoMake more configurable for different paths for external programs
Brett Parker [Tue, 25 Jan 2005 22:37:04 +0000 (22:37 +0000)]
Make more configurable for different paths for external programs

* Make the find command be built once and used several times
* add XARGSCOMMAND and a sensible default
* add ECHOCOMMAND and a sensible default
* sort the images in (general) numeric order before writing the HTML page

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--patch-1

14 years agoInitial Import
Brett Parker [Tue, 25 Jan 2005 19:40:41 +0000 (19:40 +0000)]
Initial Import

First import of the gallery code, mostly working, needs tidying.

git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--0.9.2--base-0